summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2023-03-30 14:12:54 -0400
committerMatthias Clasen <mclasen@redhat.com>2023-03-30 14:13:19 -0400
commit54b895341c8a036b6d4590659dfaffd01c1c8921 (patch)
treecf35938eac6ea43105e9c2fd752506fdd1daee69 /gtk
parent5ee0e1956808bed25571e1e727dee098f1e7cb2c (diff)
downloadgtk+-54b895341c8a036b6d4590659dfaffd01c1c8921.tar.gz
listitem: Fix a notification problem
We were notifying ::item when ::child is changed. Oops
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtklistitem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtklistitem.c b/gtk/gtklistitem.c
index 6a357b3dd3..2c54ed976d 100644
--- a/gtk/gtklistitem.c
+++ b/gtk/gtklistitem.c
@@ -320,7 +320,7 @@ gtk_list_item_set_child (GtkListItem *self,
if (self->owner)
gtk_list_item_widget_set_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]);
}
/**