tests: Stop using gdk_pango_context_get.

We can just as well get the display ourselves.
This commit is contained in:
Matthias Clasen
2017-10-30 21:35:48 -04:00
parent 1f114b1257
commit ffb3bc438e

View File

@@ -364,7 +364,7 @@ text (guint n)
PangoLayout *layout;
int i;
context = gdk_pango_context_get ();
context = gdk_pango_context_get_for_display (gdk_display_get_default ());
desc = pango_font_description_new ();
pango_font_description_set_family (desc, "Cantarell");