/pidgin/main: b0f6d6dadb10: This Find dialog shortcut is not nee...

Elliott Sales de Andrade qulogic at pidgin.im
Sun Jul 8 18:28:09 EDT 2012


Changeset: b0f6d6dadb103fa9c9a25e163924ca59fd0774ab
Author:	 Elliott Sales de Andrade <qulogic at pidgin.im>
Date:	 2012-06-26 00:04 -0400
Branch:	 default
URL: http://hg.pidgin.im/pidgin/main/rev/b0f6d6dadb10

Description:

This Find dialog shortcut is not needed now.

diffstat:

 pidgin/gtkconv.c    |  4 ----
 pidgin/gtkconvwin.h |  6 ------
 2 files changed, 0 insertions(+), 10 deletions(-)

diffs (30 lines):

diff --git a/pidgin/gtkconv.c b/pidgin/gtkconv.c
--- a/pidgin/gtkconv.c
+++ b/pidgin/gtkconv.c
@@ -9923,10 +9923,6 @@
 	purple_prefs_disconnect_by_handle(win);
 	window_list = g_list_remove(window_list, win);
 
-	/* Close the "Find" dialog if it's open */
-	if (win->dialogs.search)
-		gtk_widget_destroy(win->dialogs.search);
-
 	if (win->gtkconvs) {
 		while (win->gtkconvs) {
 			gboolean last = (win->gtkconvs->next == NULL);
diff --git a/pidgin/gtkconvwin.h b/pidgin/gtkconvwin.h
--- a/pidgin/gtkconvwin.h
+++ b/pidgin/gtkconvwin.h
@@ -79,12 +79,6 @@
 
 	} menu;
 
-	struct
-	{
-		GtkWidget *search;
-
-	} dialogs;
-
 	/* Tab dragging stuff. */
 	gboolean in_drag;
 	gboolean in_predrag;



More information about the Commits mailing list