summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2009-09-12 13:23:09 +0200
committerVincent Untz <vuntz@gnome.org>2009-09-12 13:23:09 +0200
commit83719cbb90c28cb8d58e32872b762bfaac1ad900 (patch)
treebc1a4fdc10d221b075b70dbdaf7d114c8dd4fe80 /tests
parent63742b3162d7557a6349ce1addbed14c8b9b5728 (diff)
downloadgtk+-83719cbb90c28cb8d58e32872b762bfaac1ad900.tar.gz
Fix warning about pointer/int confusion
https://bugzilla.gnome.org/show_bug.cgi?id=594679
Diffstat (limited to 'tests')
-rw-r--r--tests/testwindows.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testwindows.c b/tests/testwindows.c
index d2d5f0dfe6..24c31546b4 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,