aboutsummaryrefslogtreecommitdiffstats
path: root/games/monkeybubble/files/patch-src::ui::ui-main.c
blob: c3900ba8bfdaef428a0ff0c754e851a7fe5e9d77 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- src/ui/ui-main.c.orig   Fri Aug 13 14:47:33 2004
+++ src/ui/ui-main.c    Fri Aug 13 14:48:06 2004
@@ -647,6 +647,7 @@
                                const char *message_format, ...) {
         char *message;
         va_list args;
+        GtkWidget *dialog;
     
         if (message_format)    {
                 va_start (args, message_format);
@@ -656,7 +657,6 @@
                 message = NULL;
         }
     
-        GtkWidget *dialog;
         dialog = gtk_message_dialog_new (transient_parent,
                                          GTK_DIALOG_DESTROY_WITH_PARENT,
                                          GTK_MESSAGE_ERROR,