projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f114b1
)
tests: Stop using gdk_pango_context_get.
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 31 Oct 2017 01:35:48 +0000
(21:35 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 31 Oct 2017 01:35:48 +0000
(21:35 -0400)
We can just as well get the display ourselves.
tests/rendernode-create-tests.c
patch
|
blob
|
history
diff --git
a/tests/rendernode-create-tests.c
b/tests/rendernode-create-tests.c
index 013188ea65913a07db492c951f0edb623e47c5a6..7990824ae4861358234792d59d3acda662a7ddcb 100644
(file)
--- a/
tests/rendernode-create-tests.c
+++ b/
tests/rendernode-create-tests.c
@@
-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");