aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-notebook.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-notebook.c')
-rw-r--r--src/ephy-notebook.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c
index f3f39011c..3acde1c30 100644
--- a/src/ephy-notebook.c
+++ b/src/ephy-notebook.c
@@ -834,7 +834,8 @@ tab_label_style_set_cb (GtkWidget *label,
LOG ("tab_label_size_request_cb label %p char_width %d total %d",
label, char_width, TAB_WIDTH_N_CHARS * PANGO_PIXELS (char_width))
- gtk_icon_size_lookup (GTK_ICON_SIZE_MENU, &w, &h);
+ gtk_icon_size_lookup_for_settings (gtk_widget_get_settings (label),
+ GTK_ICON_SIZE_MENU, &w, &h);
gtk_widget_set_size_request
(hbox, TAB_WIDTH_N_CHARS * PANGO_PIXELS(char_width) + 2 * w, -1);