changeset 27423:9c0a18f16fce

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.
author Etan Reisner <pidgin@unreliablesource.net>
date Sat, 27 Jun 2009 00:05:12 +0000
parents 2518c5fcd8a2
children 6ce4c8f80d04
files pidgin/gtkconv.c
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Fri Jun 26 23:49:44 2009 +0000
+++ b/pidgin/gtkconv.c	Sat Jun 27 00:05:12 2009 +0000
@@ -8196,15 +8196,11 @@
 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);