summaryrefslogtreecommitdiff
path: root/gdk/win32/gdkdrawable-win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/win32/gdkdrawable-win32.c')
-rw-r--r--gdk/win32/gdkdrawable-win32.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/gdk/win32/gdkdrawable-win32.c b/gdk/win32/gdkdrawable-win32.c
index 2ad840ecab..849c901add 100644
--- a/gdk/win32/gdkdrawable-win32.c
+++ b/gdk/win32/gdkdrawable-win32.c
@@ -55,12 +55,6 @@ static cairo_surface_t *gdk_win32_create_cairo_surface (GdkDrawable *drawable,
static GdkColormap* gdk_win32_get_colormap (GdkDrawable *drawable);
-static gint gdk_win32_get_depth (GdkDrawable *drawable);
-
-static GdkScreen * gdk_win32_get_screen (GdkDrawable *drawable);
-
-static GdkVisual* gdk_win32_get_visual (GdkDrawable *drawable);
-
static void gdk_drawable_impl_win32_finalize (GObject *object);
static const cairo_user_data_key_t gdk_win32_cairo_key;
@@ -80,10 +74,6 @@ _gdk_drawable_impl_win32_class_init (GdkDrawableImplWin32Class *klass)
drawable_class->create_cairo_surface = gdk_win32_create_cairo_surface;
drawable_class->get_colormap = gdk_win32_get_colormap;
-
- drawable_class->get_depth = gdk_win32_get_depth;
- drawable_class->get_screen = gdk_win32_get_screen;
- drawable_class->get_visual = gdk_win32_get_visual;
}
static void
@@ -257,26 +247,6 @@ _gdk_windowing_set_cairo_surface_size (cairo_surface_t *surface,
return FALSE;
}
-static gint
-gdk_win32_get_depth (GdkDrawable *drawable)
-{
- /* This is a bit bogus but I'm not sure the other way is better */
-
- return gdk_drawable_get_depth (GDK_DRAWABLE_IMPL_WIN32 (drawable)->wrapper);
-}
-
-static GdkScreen*
-gdk_win32_get_screen (GdkDrawable *drawable)
-{
- return gdk_screen_get_default ();
-}
-
-static GdkVisual*
-gdk_win32_get_visual (GdkDrawable *drawable)
-{
- return gdk_drawable_get_visual (GDK_DRAWABLE_IMPL_WIN32 (drawable)->wrapper);
-}
-
HGDIOBJ
gdk_win32_drawable_get_handle (GdkDrawable *drawable)
{