GtkHeaderBar: Queue a resize when pack-type is changed

Otherwise, buttons appear to stick to the wrong side in glade.
This commit is contained in:
Matthias Clasen 2014-11-06 01:04:13 -05:00
parent 053b65a21a
commit 5a01208f55

View File

@ -1697,6 +1697,7 @@ gtk_header_bar_set_child_property (GtkContainer *container,
case CHILD_PROP_PACK_TYPE:
child->pack_type = g_value_get_enum (value);
_gtk_header_bar_update_separator_visibility (bar);
gtk_widget_queue_resize (widget);
break;
case CHILD_PROP_POSITION: