mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-30 15:31:34 +00:00
button: Use g_object_notify_by_pspec()
This commit is contained in:
parent
b489a1f6b5
commit
e976825342
@ -1035,7 +1035,7 @@ gtk_button_set_child (GtkButton *button,
|
||||
gtk_widget_set_parent (priv->child, GTK_WIDGET (button));
|
||||
|
||||
gtk_button_set_child_type (button, WIDGET_CHILD);
|
||||
g_object_notify (G_OBJECT (button), "child");
|
||||
g_object_notify_by_pspec (G_OBJECT (button), props[PROP_CHILD]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user