Mercurial > pidgin.yaz
diff pidgin/gtkconv.c @ 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 | 552b5292f36f |
children | ff18653ef9f4 85fa979b08c2 dbdad6bbf382 42360009f2e5 |
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);