From 3863e44360a4befcd1c37fffc27c01f5ece9d793 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 8 Mar 2019 14:12:17 +0100 Subject: [PATCH] text: Simplify The previous arguments were equivalent to using NULL. --- gtk/gtktext.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gtk/gtktext.c b/gtk/gtktext.c index 6dd9ecac49..99a5afba37 100644 --- a/gtk/gtktext.c +++ b/gtk/gtktext.c @@ -2054,9 +2054,7 @@ gtk_text_measure (GtkWidget *widget, PangoFontMetrics *metrics; context = gtk_widget_get_pango_context (widget); - metrics = pango_context_get_metrics (context, - pango_context_get_font_description (context), - pango_context_get_language (context)); + metrics = pango_context_get_metrics (context, NULL, NULL); if (orientation == GTK_ORIENTATION_HORIZONTAL) {