diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-08-24 07:56:13 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-08-24 07:56:13 -0400 |
commit | c672066fbc4f3f090d1123a940ebfc5e4031875d (patch) | |
tree | 4164c29e6d0f5236f96726ea97019d1b0f6cfaed /tests/prop-editor.c | |
parent | f136ee9b577d4a4640ccf2c47ae4bd72f4555ddc (diff) | |
download | gtk+-c672066fbc4f3f090d1123a940ebfc5e4031875d.tar.gz |
Trivial: Silence a compiler warning
Diffstat (limited to 'tests/prop-editor.c')
-rw-r--r-- | tests/prop-editor.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/prop-editor.c b/tests/prop-editor.c index df983dc52e..bde45c4708 100644 --- a/tests/prop-editor.c +++ b/tests/prop-editor.c @@ -902,10 +902,10 @@ property_widget (GObject *object, label = gtk_label_new (""); button = gtk_button_new_with_label ("Properties"); - g_object_set_data (G_OBJECT (button), "property-name", spec->name); - g_signal_connect (button, "clicked", - G_CALLBACK (object_properties), - object); + g_object_set_data (G_OBJECT (button), "property-name", (gpointer) spec->name); + g_signal_connect (button, "clicked", + G_CALLBACK (object_properties), + object); gtk_container_add (GTK_CONTAINER (prop_edit), label); gtk_container_add (GTK_CONTAINER (prop_edit), button); |