diff src/gtkrequest.c @ 9976:f4ff7d2b9b2c

[gaim-migrate @ 10887] Dave West fixed a few things from his patch to remove the default action for certain dialogs that pop-up committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 08 Sep 2004 03:59:17 +0000
parents b13013595c08
children 9f358a718f38
line wrap: on
line diff
--- a/src/gtkrequest.c	Wed Sep 08 03:33:37 2004 +0000
+++ b/src/gtkrequest.c	Wed Sep 08 03:59:17 2004 +0000
@@ -522,7 +522,7 @@
 	g_free(label_text);
 
 
-    if (default_action == GAIM_DEFAULT_ACTION_NONE && img != NULL) {
+    if (default_action == GAIM_DEFAULT_ACTION_NONE) {
 		GTK_WIDGET_SET_FLAGS(img, GTK_CAN_DEFAULT);		
 		GTK_WIDGET_SET_FLAGS(img, GTK_CAN_FOCUS);		
 		gtk_widget_grab_focus(img);