forked from AuroraMiddleware/gtk
text: Simplify
The previous arguments were equivalent to using NULL.
This commit is contained in:
parent
8566218485
commit
3863e44360
@ -2054,9 +2054,7 @@ gtk_text_measure (GtkWidget *widget,
|
|||||||
PangoFontMetrics *metrics;
|
PangoFontMetrics *metrics;
|
||||||
|
|
||||||
context = gtk_widget_get_pango_context (widget);
|
context = gtk_widget_get_pango_context (widget);
|
||||||
metrics = pango_context_get_metrics (context,
|
metrics = pango_context_get_metrics (context, NULL, NULL);
|
||||||
pango_context_get_font_description (context),
|
|
||||||
pango_context_get_language (context));
|
|
||||||
|
|
||||||
if (orientation == GTK_ORIENTATION_HORIZONTAL)
|
if (orientation == GTK_ORIENTATION_HORIZONTAL)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user