pidgin: c1f46df9: These code can't get executed, because w...

markdoliner at pidgin.im markdoliner at pidgin.im
Fri Mar 27 06:20:39 EDT 2009


-----------------------------------------------------------------
Revision: c1f46df916c4667fc4757d76b28d5db90e90d58a
Ancestor: 0dce6ba4367250740b35d01312bdec5bb656f336
Author: markdoliner at pidgin.im
Date: 2009-03-27T10:15:38
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/c1f46df916c4667fc4757d76b28d5db90e90d58a

Modified files:
        pidgin/gtkutils.c

ChangeLog: 

These code can't get executed, because we just created a new dialog

-------------- next part --------------
============================================================
--- pidgin/gtkutils.c	28b9a07115f094de2fa584691923e9a453ae1fd3
+++ pidgin/gtkutils.c	0b687a8ca61e1a519312a7f9113b8fd8954c8a20
@@ -2451,11 +2451,6 @@ GtkWidget *pidgin_buddy_icon_chooser_new
 	dialog->callback = callback;
 	dialog->data = data;
 
-	if (dialog->icon_filesel != NULL) {
-		gtk_window_present(GTK_WINDOW(dialog->icon_filesel));
-		return NULL;
-	}
-
 	current_folder = purple_prefs_get_path(PIDGIN_PREFS_ROOT "/filelocations/last_icon_folder");
 #if GTK_CHECK_VERSION(2,4,0) /* FILECHOOSER */
 


More information about the Commits mailing list