listitem: Fix a notification problem

We were notifying ::item when ::child is
changed. Oops
This commit is contained in:
Matthias Clasen 2023-03-30 14:12:54 -04:00
parent 5ee0e19568
commit 54b895341c

View File

@ -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]);
}
/**