GtkStackSwitcher: Make the buttons fill vertically

It fix some cases with different height for the buttons,
like with Hebrew character.

https://bugzilla.gnome.org/show_bug.cgi?id=740642
This commit is contained in:
Yosef Or Boczko
2014-11-24 19:09:02 +02:00
committed by Matthias Clasen
parent 7d066258f3
commit e65112aaef

View File

@@ -101,8 +101,6 @@ rebuild_child (GtkWidget *self,
GtkStyleContext *context;
GtkWidget *button_child;
gtk_widget_set_valign (GTK_WIDGET (self), GTK_ALIGN_CENTER);
button_child = gtk_bin_get_child (GTK_BIN (self));
if (button_child != NULL)
gtk_widget_destroy (button_child);