GtkHeaderBar: Fix a corner-case in child properties

The child property setting must be prepared to deal with any
child property for any child, even if it doesn't make sense,
like the pack-type for the custom title. This is happening
in glade when undoing a change in the custom-title property.
This commit is contained in:
Matthias Clasen 2014-11-02 17:46:35 -05:00
parent cc22325612
commit 2873195644

View File

@ -1650,6 +1650,9 @@ gtk_header_bar_set_child_property (GtkContainer *container,
Child *child;
l = find_child_link (bar, widget);
if (l == NULL)
return;
child = l->data;
switch (property_id)