summaryrefslogtreecommitdiff
path: root/gdk/gdkgl.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-04-14 02:10:36 +0200
committerBenjamin Otte <otte@redhat.com>2018-04-24 23:16:12 +0200
commita6553b0e20ca9729738aeee91400ff4648f484b3 (patch)
tree5c9e7d98119539d8bb3776338df1d90122917cb0 /gdk/gdkgl.c
parent813e9c95fb6b01fda416701bf4235e8518cf207c (diff)
downloadgtk+-a6553b0e20ca9729738aeee91400ff4648f484b3.tar.gz
gdk: Remove unused GL setting
Diffstat (limited to 'gdk/gdkgl.c')
-rw-r--r--gdk/gdkgl.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gdk/gdkgl.c b/gdk/gdkgl.c
index 214890ad00..24c7802483 100644
--- a/gdk/gdkgl.c
+++ b/gdk/gdkgl.c
@@ -26,16 +26,6 @@
#include <math.h>
#include <string.h>
-static cairo_user_data_key_t direct_key;
-
-void
-gdk_cairo_surface_mark_as_direct (cairo_surface_t *cairo_surface,
- GdkSurface *surface)
-{
- cairo_surface_set_user_data (cairo_surface, &direct_key,
- g_object_ref (surface), g_object_unref);
-}
-
static const char *
get_vertex_type_name (int type)
{