diff options
author | Benjamin Otte <otte@redhat.com> | 2017-01-01 13:40:13 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2017-01-01 19:53:36 +0100 |
commit | 2571036c077b88203039703de7a66b6e45c20566 (patch) | |
tree | 9baaa9aca61fe025792e1ce9bc3f55a7e1d6cb4a /tests | |
parent | 4ead5c3ba8bb1ab570b00f392eb654514ce42c4a (diff) | |
download | gtk+-2571036c077b88203039703de7a66b6e45c20566.tar.gz |
gsk: Turn GskTexture into a GObject
Diffstat (limited to 'tests')
-rw-r--r-- | tests/rendernode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rendernode.c b/tests/rendernode.c index 42781a11f5..292be48fad 100644 --- a/tests/rendernode.c +++ b/tests/rendernode.c @@ -119,7 +119,7 @@ main(int argc, char **argv) for (run = 0; run < runs; run++) { if (run > 0) - gsk_texture_unref (texture); + g_object_unref (texture); start = g_get_monotonic_time (); texture = gsk_renderer_render_texture (renderer, node, NULL); end = g_get_monotonic_time (); @@ -134,7 +134,7 @@ main(int argc, char **argv) cairo_image_surface_get_data (surface), cairo_image_surface_get_stride (surface)); cairo_surface_mark_dirty (surface); - gsk_texture_unref (texture); + g_object_unref (texture); g_object_unref (window); g_object_unref (renderer); } |