summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2023-03-30 14:12:54 -0400
committerMatthias Clasen <mclasen@redhat.com>2023-04-21 08:48:57 +0200
commit6a566648d29f5298ac86e26100e22486a3f621a9 (patch)
treeaa835222ba23128fc075910ae8aa0ad4103b8d06
parent1b07d02671c9586ed5a143d462362032f643ac35 (diff)
downloadgtk+-6a566648d29f5298ac86e26100e22486a3f621a9.tar.gz
listitem: Fix a notification problem
We were notifying ::item when ::child is changed. Oops
-rw-r--r--gtk/gtklistitem.c2
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]);
}
/**