pidgin: d57eef2b: I was going to change the g_return_if_fa...

deryni at pidgin.im deryni at pidgin.im
Sun Jul 5 11:19:05 EDT 2009


-----------------------------------------------------------------
Revision: d57eef2b12a0bdad7c1750e84d3ce7959a8219aa
Ancestor: d450042d5d54c83a21c6f1c65e8cf82c7d376d94
Author: deryni at pidgin.im
Date: 2009-06-27T00:05:12
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/d57eef2b12a0bdad7c1750e84d3ce7959a8219aa

Modified files:
        pidgin/gtkconv.c

ChangeLog: 

I was going to change the g_return_if_fail to a normal return but it actually
is something that should scream if it happens (as the dialog should be modal),
so instead this is just some formatting changes.

-------------- next part --------------
============================================================
--- pidgin/gtkconv.c	0ce796e8ff3a1b4d369c975af4099ea18a26580e
+++ pidgin/gtkconv.c	f6508421e7282993dd2e543bf571bc3c428e602f
@@ -8196,15 +8196,11 @@ build_warn_close_dialog(PidginWindow *gt
 static void
 build_warn_close_dialog(PidginWindow *gtkwin)
 {
-	GtkWidget *label;
-	GtkWidget *vbox, *hbox;
-	GtkWidget *img;
+	GtkWidget *label, *vbox, *hbox, *img;
 
 	g_return_if_fail(warn_close_dialog == NULL);
 
-
-	warn_close_dialog = gtk_dialog_new_with_buttons(
-							_("Confirm close"),
+	warn_close_dialog = gtk_dialog_new_with_buttons(_("Confirm close"),
 							GTK_WINDOW(gtkwin->window), GTK_DIALOG_MODAL,
 							GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
 							GTK_STOCK_CLOSE, GTK_RESPONSE_OK, NULL);


More information about the Commits mailing list