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~1^2~479^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=54b895341c8a036b6d4590659dfaffd01c1c8921;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 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]); } /**