im.pidgin.pidgin: c34575b85d4a4375e63c5bd64126082a708d46f7

nosnilmot at pidgin.im nosnilmot at pidgin.im
Fri Feb 22 12:30:55 EST 2008


-----------------------------------------------------------------
Revision: c34575b85d4a4375e63c5bd64126082a708d46f7
Ancestor: 7a8f58fc7611c332a05ed1c1b8417be24c9cf981
Author: nosnilmot at pidgin.im
Date: 2008-02-22T17:26:23
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/c34575b85d4a4375e63c5bd64126082a708d46f7

Modified files:
        pidgin/minidialog.c

ChangeLog: 

Don't call NULL callbacks. Fixes #4901

-------------- next part --------------
============================================================
--- pidgin/minidialog.c	d33f6ce5fd7187ad649cd7ee30bca6c9558f9a78
+++ pidgin/minidialog.c	f2ac874abe2a8844067272c7679823f9b97f5e72
@@ -164,7 +164,8 @@ mini_dialog_button_clicked_cb(GtkButton 
 	priv->idle_destroy_cb_id =
 		g_idle_add((GSourceFunc) idle_destroy_cb, data->mini_dialog);
 
-	data->callback(data->mini_dialog, button, data->user_data);
+	if (data->callback != NULL)
+		data->callback(data->mini_dialog, button, data->user_data);
 
 }
 


More information about the Commits mailing list