aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-settings-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/e-shell-settings-dialog.c')
-rw-r--r--shell/e-shell-settings-dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/e-shell-settings-dialog.c b/shell/e-shell-settings-dialog.c
index 84cb3ce164..eeadd88885 100644
--- a/shell/e-shell-settings-dialog.c
+++ b/shell/e-shell-settings-dialog.c
@@ -66,7 +66,7 @@ set_dialog_size (EShellSettingsDialog *dialog)
context = pango_layout_get_context (layout);
metrics = pango_context_get_metrics (context,
gtk_widget_get_style (GTK_WIDGET (dialog))->font_desc,
- NULL);
+ pango_context_get_language (context));
pango_layout_get_pixel_size (layout,
&width, NULL);