summaryrefslogtreecommitdiff
path: root/gtk/gtkstackswitcher.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-12-07 22:11:52 -0500
committerMatthias Clasen <mclasen@redhat.com>2015-12-15 08:41:16 -0500
commitf7466b236a92dd7eb536f80a08e833971cb4566f (patch)
treecc85ad25f0c49e50b264d45a9461b961dd7e660c /gtk/gtkstackswitcher.c
parentad349caa0013996c65b4263c808b0cc5437accfa (diff)
downloadgtk+-f7466b236a92dd7eb536f80a08e833971cb4566f.tar.gz
stackswitcher: Stop hardcoding 100px width
We can now set a min-width in the theme, so we don't have to hardcode the size request here anymore. https://bugzilla.gnome.org/show_bug.cgi?id=726371
Diffstat (limited to 'gtk/gtkstackswitcher.c')
-rw-r--r--gtk/gtkstackswitcher.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gtk/gtkstackswitcher.c b/gtk/gtkstackswitcher.c
index e8f3b9b004..3d1a5ece46 100644
--- a/gtk/gtkstackswitcher.c
+++ b/gtk/gtkstackswitcher.c
@@ -187,11 +187,6 @@ update_button (GtkStackSwitcher *self,
gtk_widget_set_visible (button, gtk_widget_get_visible (widget) && (title != NULL || icon_name != NULL));
- if (icon_name != NULL)
- gtk_widget_set_size_request (button, -1, -1);
- else
- gtk_widget_set_size_request (button, 100, -1);
-
g_free (title);
g_free (icon_name);