summaryrefslogtreecommitdiff
path: root/testsuite/gsk
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-11-02 21:39:00 +0100
committerBenjamin Otte <otte@redhat.com>2017-11-04 00:07:13 +0100
commitca3c23662cfe515d7de348aa42d07be7d4bb3e83 (patch)
tree725bde3b54c44588e2a7312fded868fb7a1facd5 /testsuite/gsk
parent8ba9ae601283be265e59c6092d61c099f8a17d65 (diff)
downloadgtk+-ca3c23662cfe515d7de348aa42d07be7d4bb3e83.tar.gz
GskTexture => GdkTexture
We want this thing to replace GdkPixbuf, so it has to live in GDK.
Diffstat (limited to 'testsuite/gsk')
-rw-r--r--testsuite/gsk/test-render-nodes.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/gsk/test-render-nodes.c b/testsuite/gsk/test-render-nodes.c
index c1a1d70bf4..19e4a1d0a1 100644
--- a/testsuite/gsk/test-render-nodes.c
+++ b/testsuite/gsk/test-render-nodes.c
@@ -521,7 +521,7 @@ load_node_file (GFile *file, gboolean generate)
GskRenderNode *node;
GskRenderer *renderer;
GdkWindow *window;
- GskTexture *texture = NULL;
+ GdkTexture *texture = NULL;
cairo_surface_t *surface;
char *png_file;
cairo_surface_t *ref_surface;
@@ -554,9 +554,9 @@ load_node_file (GFile *file, gboolean generate)
texture = gsk_renderer_render_texture (renderer, node, NULL);
surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32,
- gsk_texture_get_width (texture),
- gsk_texture_get_height (texture));
- gsk_texture_download (texture,
+ gdk_texture_get_width (texture),
+ gdk_texture_get_height (texture));
+ gdk_texture_download (texture,
cairo_image_surface_get_data (surface),
cairo_image_surface_get_stride (surface));
cairo_surface_mark_dirty (surface);