diff options
author | Timm Bäder <mail@baedert.org> | 2020-08-01 15:34:07 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2020-08-01 15:34:07 +0200 |
commit | e976825342510f1c019589eef2fb63742ece44eb (patch) | |
tree | 57cc4a4887c534af34de0cb1c5804946b08de5d7 | |
parent | b489a1f6b55c42d1242ab047cc37c5c868de5133 (diff) | |
download | gtk+-e976825342510f1c019589eef2fb63742ece44eb.tar.gz |
button: Use g_object_notify_by_pspec()
-rw-r--r-- | gtk/gtkbutton.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c index d85d65ca48..ca2d0607d9 100644 --- a/gtk/gtkbutton.c +++ b/gtk/gtkbutton.c @@ -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]); } /** |