[gtk+] Fix warning about pointer/int confusion



commit 83719cbb90c28cb8d58e32872b762bfaac1ad900
Author: Vincent Untz <vuntz gnome org>
Date:   Sat Sep 12 13:23:09 2009 +0200

    Fix warning about pointer/int confusion
    
    https://bugzilla.gnome.org/show_bug.cgi?id=594679

 tests/testwindows.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/testwindows.c b/tests/testwindows.c
index d2d5f0d..24c3154 100644
--- a/tests/testwindows.c
+++ b/tests/testwindows.c
@@ -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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]