]> Pileus Git - ~andy/gtk/commitdiff
Fix warning about pointer/int confusion
authorVincent Untz <vuntz@gnome.org>
Sat, 12 Sep 2009 11:23:09 +0000 (13:23 +0200)
committerVincent Untz <vuntz@gnome.org>
Sat, 12 Sep 2009 11:23:09 +0000 (13:23 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=594679

tests/testwindows.c

index d2d5f0dfe678e9e1badf84e8a9cfc321b42dfe1c..24c31546b48274d3283d2a6bb6450fbfa33608f4 100644 (file)
@@ -1034,7 +1034,7 @@ main (int argc, char **argv)
   button = gtk_button_new_with_label ("Restack above");
   g_signal_connect (button, "clicked",
                    G_CALLBACK (restack_clicked),
-                   1);
+                   GINT_TO_POINTER (1));
   gtk_table_attach_defaults (GTK_TABLE (table),
                             button,
                             2, 3,