diff options
author | Matthias Clasen <mclasen@redhat.com> | 2023-03-30 14:12:54 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2023-04-21 08:48:57 +0200 |
commit | 6a566648d29f5298ac86e26100e22486a3f621a9 (patch) | |
tree | aa835222ba23128fc075910ae8aa0ad4103b8d06 | |
parent | 1b07d02671c9586ed5a143d462362032f643ac35 (diff) | |
download | gtk+-6a566648d29f5298ac86e26100e22486a3f621a9.tar.gz |
listitem: Fix a notification problem
We were notifying ::item when ::child is
changed. Oops
-rw-r--r-- | gtk/gtklistitem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtklistitem.c b/gtk/gtklistitem.c index 28614b62f8..f8a9e36036 100644 --- a/gtk/gtklistitem.c +++ b/gtk/gtklistitem.c @@ -323,7 +323,7 @@ gtk_list_item_set_child (GtkListItem *self, gtk_list_item_widget_add_child (self->owner, child); } - g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_ITEM]); + g_object_notify_by_pspec (G_OBJECT (self), properties[PROP_CHILD]); } /** |