aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ephy-notebook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c
index e06bae075..81dc7ca12 100644
--- a/src/ephy-notebook.c
+++ b/src/ephy-notebook.c
@@ -562,7 +562,7 @@ tab_label_style_set_cb (GtkWidget *hbox,
context = gtk_widget_get_pango_context (hbox);
style = gtk_widget_get_style_context (hbox);
metrics = pango_context_get_metrics (context,
- gtk_style_context_get_font (style, GTK_STATE_FLAG_ACTIVE),
+ gtk_style_context_get_font (style, GTK_STATE_FLAG_NORMAL),
pango_context_get_language (context));
char_width = pango_font_metrics_get_approximate_digit_width (metrics);
pango_font_metrics_unref (metrics);