diff options
author | Benjamin Otte <otte@redhat.com> | 2016-11-30 15:52:22 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-11-30 15:52:22 +0100 |
commit | efd04b47aa9089d9d276528423786b0e0d605c5f (patch) | |
tree | 3c6f076c996a185ba9cab4283c0fcdde55a43e96 /gdk/quartz/gdkwindow-quartz.c | |
parent | bdcfc17c436ae3e76ec8f196ff7c1e21ad48bb35 (diff) | |
download | gtk+-efd04b47aa9089d9d276528423786b0e0d605c5f.tar.gz |
gdk: Make GdkDrawingContext not per-backend
No backend is using it, and we can put the backend-specific drawing code
into GdkGLContext.
Diffstat (limited to 'gdk/quartz/gdkwindow-quartz.c')
-rw-r--r-- | gdk/quartz/gdkwindow-quartz.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c index ae2ca22959..3f68c68020 100644 --- a/gdk/quartz/gdkwindow-quartz.c +++ b/gdk/quartz/gdkwindow-quartz.c @@ -25,7 +25,6 @@ #include "gdkwindowimpl.h" #include "gdkprivate-quartz.h" -#include "gdkdrawingcontext-quartz.h" #include "gdkglcontext-quartz.h" #include "gdkquartzscreen.h" #include "gdkquartzcursor.h" @@ -2788,16 +2787,6 @@ gdk_quartz_window_get_scale_factor (GdkWindow *window) return 1; } -static GdkDrawingContext * -gdk_quartz_window_create_draw_context (GdkWindow *window, - const cairo_region_t *region) -{ - return g_object_new (GDK_TYPE_QUARTZ_DRAWING_CONTEXT, - "window", window, - "clip", region, - NULL); -} - static void gdk_window_impl_quartz_class_init (GdkWindowImplQuartzClass *klass) { @@ -2882,7 +2871,6 @@ gdk_window_impl_quartz_class_init (GdkWindowImplQuartzClass *klass) impl_class->delete_property = _gdk_quartz_window_delete_property; impl_class->create_gl_context = gdk_quartz_window_create_gl_context; - impl_class->create_draw_context = gdk_quartz_window_create_draw_context; impl_quartz_class->get_context = gdk_window_impl_quartz_get_context; impl_quartz_class->release_context = gdk_window_impl_quartz_release_context; |