From: Matthias Clasen Date: Thu, 30 Mar 2023 18:12:54 +0000 (-0400) Subject: listitem: Fix a notification problem X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~4^2~10^2~60 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6a566648d29f5298ac86e26100e22486a3f621a9;p=gtk4.git listitem: Fix a notification problem We were notifying ::item when ::child is changed. Oops --- 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]); } /**