mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
Trivial: Silence a compiler warning
This commit is contained in:
parent
f136ee9b57
commit
c672066fbc
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user