diff options
author | Benjamin Otte <otte@redhat.com> | 2018-03-24 21:33:08 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-03-24 21:57:20 +0100 |
commit | e84c6acc4fcced6065d494a20c1feae88877d6c0 (patch) | |
tree | ab3690e603fc298bd4a37fcfbe6c4375cfa48a55 /testsuite/gsk | |
parent | df600669a28f180c4a4958e7651ef2ae203beab4 (diff) | |
download | gtk+-e84c6acc4fcced6065d494a20c1feae88877d6c0.tar.gz |
rendernode: Remove renderer argument
It's not needed to create Cairo nodes anymore.
Diffstat (limited to 'testsuite/gsk')
-rw-r--r-- | testsuite/gsk/test-render-nodes.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/gsk/test-render-nodes.c b/testsuite/gsk/test-render-nodes.c index 6f8a6c69eb..672bfcd25e 100644 --- a/testsuite/gsk/test-render-nodes.c +++ b/testsuite/gsk/test-render-nodes.c @@ -134,7 +134,7 @@ cairo (void) cairo_t *cr; node = gsk_cairo_node_new (&GRAPHENE_RECT_INIT (0, 0, 200, 600)); - cr = gsk_cairo_node_get_draw_context (node, NULL); + cr = gsk_cairo_node_get_draw_context (node); cairo_set_source_rgb (cr, 1, 0, 0); cairo_rectangle (cr, 0, 0, 200, 200); @@ -159,7 +159,7 @@ cairo2 (void) int i, j; node = gsk_cairo_node_new (&GRAPHENE_RECT_INIT (0, 0, 200, 200)); - cr = gsk_cairo_node_get_draw_context (node, NULL); + cr = gsk_cairo_node_get_draw_context (node); cairo_set_source_rgb (cr, 1, 1, 1); @@ -263,7 +263,7 @@ ducky (void) node = gsk_cairo_node_new (&GRAPHENE_RECT_INIT (0, 0, gdk_pixbuf_get_width (pixbuf), gdk_pixbuf_get_height (pixbuf))); - cr = gsk_cairo_node_get_draw_context (node, NULL); + cr = gsk_cairo_node_get_draw_context (node); gdk_cairo_set_source_pixbuf (cr, pixbuf, 0, 0); cairo_paint (cr); cairo_destroy (cr); |