Trivial: Silence a compiler warning

This commit is contained in:
Matthias Clasen 2011-08-24 07:56:13 -04:00
parent f136ee9b57
commit c672066fbc

View File

@ -902,10 +902,10 @@ property_widget (GObject *object,
label = gtk_label_new (""); label = gtk_label_new ("");
button = gtk_button_new_with_label ("Properties"); button = gtk_button_new_with_label ("Properties");
g_object_set_data (G_OBJECT (button), "property-name", spec->name); g_object_set_data (G_OBJECT (button), "property-name", (gpointer) spec->name);
g_signal_connect (button, "clicked", g_signal_connect (button, "clicked",
G_CALLBACK (object_properties), G_CALLBACK (object_properties),
object); object);
gtk_container_add (GTK_CONTAINER (prop_edit), label); gtk_container_add (GTK_CONTAINER (prop_edit), label);
gtk_container_add (GTK_CONTAINER (prop_edit), button); gtk_container_add (GTK_CONTAINER (prop_edit), button);