From fdabee2040637d8ed03f4dd807d0e40a0116630b Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Fri, 17 Jan 2003 23:23:47 +0000 Subject: pass pango_context_get_language to pango_context_get_metrics. 2003-01-17 Chris Toshok * gal/e-text/e-entry.c (canvas_size_request): pass pango_context_get_language to pango_context_get_metrics. svn path=/trunk/; revision=19507 --- widgets/text/e-entry.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/widgets/text/e-entry.c b/widgets/text/e-entry.c index 06826a42d5..a297f1d26a 100644 --- a/widgets/text/e-entry.c +++ b/widgets/text/e-entry.c @@ -201,7 +201,8 @@ canvas_size_request (GtkWidget *widget, GtkRequisition *requisition, d(g_print("%s: width = %d\n", __FUNCTION__, requisition->width)); context = gtk_widget_get_pango_context (widget); - metrics = pango_context_get_metrics (context, gtk_widget_get_style (widget)->font_desc, NULL); + metrics = pango_context_get_metrics (context, gtk_widget_get_style (widget)->font_desc, + pango_context_get_language (context)); requisition->height = (2 + PANGO_PIXELS (pango_font_metrics_get_ascent (metrics) + -- cgit