summaryrefslogtreecommitdiff
path: root/gsk/gskrenderer.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-03-19 14:26:02 +0100
committerTimm Bäder <mail@baedert.org>2017-03-19 15:44:15 +0100
commit6637b20b4ced7e8ba5e555db673be801dcde57fb (patch)
tree11f090a52135668ebbc65dfde807f78b01ef291f /gsk/gskrenderer.c
parent60ed515be9ab822326665126aeb9b9ed9dea2e16 (diff)
downloadgtk+-6637b20b4ced7e8ba5e555db673be801dcde57fb.tar.gz
GdkRenderer: Fix a compiler warning
Diffstat (limited to 'gsk/gskrenderer.c')
-rw-r--r--gsk/gskrenderer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsk/gskrenderer.c b/gsk/gskrenderer.c
index c2c2bf6775..adc504053a 100644
--- a/gsk/gskrenderer.c
+++ b/gsk/gskrenderer.c
@@ -798,7 +798,7 @@ get_renderer_for_display (GdkWindow *window)
GdkDisplay *display = gdk_window_get_display (window);
const char *renderer_name;
- renderer_name = g_object_get_data (display, "gsk-renderer");
+ renderer_name = g_object_get_data (G_OBJECT (display), "gsk-renderer");
return get_renderer_for_name (renderer_name);
}