mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
listitem: Fix a notification problem
We were notifying ::item when ::child is changed. Oops
This commit is contained in:
parent
5ee0e19568
commit
54b895341c
@ -320,7 +320,7 @@ gtk_list_item_set_child (GtkListItem *self,
|
|||||||
if (self->owner)
|
if (self->owner)
|
||||||
gtk_list_item_widget_set_child (self->owner, child);
|
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]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user