diff options
author | Benjamin Otte <otte@redhat.com> | 2019-03-08 14:12:17 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2019-03-08 14:12:17 +0100 |
commit | 3863e44360a4befcd1c37fffc27c01f5ece9d793 (patch) | |
tree | d895e0cfda353d75f017df69eddb06cc990ba6ae | |
parent | 8566218485f28b69bfee9be603de962d6dfc83b1 (diff) | |
download | gtk+-3863e44360a4befcd1c37fffc27c01f5ece9d793.tar.gz |
text: Simplify
The previous arguments were equivalent to using NULL.
-rw-r--r-- | gtk/gtktext.c | 4 |
1 files changed, 1 insertions, 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) { |