text: Simplify

The previous arguments were equivalent to using NULL.
This commit is contained in:
Benjamin Otte 2019-03-08 14:12:17 +01:00
parent 8566218485
commit 3863e44360

View File

@ -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)
{