diff options
author | Benjamin Otte <otte@redhat.com> | 2010-08-29 01:49:30 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-09-26 15:11:33 +0200 |
commit | a6ef35610765528cf254bcdd3a9f0d973dcf7959 (patch) | |
tree | 69061c8f0bbbd7df9c96f3949c1c4dab61c70567 /gdk/gdkoffscreenwindow.c | |
parent | ffed0768918fd95d7e80aba61513f99d54617f4c (diff) | |
download | gtk+-a6ef35610765528cf254bcdd3a9f0d973dcf7959.tar.gz |
API: Remove drawable getters for visual, screen and depth
Removed and replaced are:
gdk_drawable_get_visual() => gdk_window_get_visual()
gdk_drawable_get_screen() => gdk_window_get_screen()
gdk_drawable_get_depth() => gdk_visual_get_depth
(gdk_window_get_visual())
Diffstat (limited to 'gdk/gdkoffscreenwindow.c')
-rw-r--r-- | gdk/gdkoffscreenwindow.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/gdk/gdkoffscreenwindow.c b/gdk/gdkoffscreenwindow.c index 37cf41b361..13c78e7343 100644 --- a/gdk/gdkoffscreenwindow.c +++ b/gdk/gdkoffscreenwindow.c @@ -148,30 +148,6 @@ gdk_offscreen_window_get_colormap (GdkDrawable *drawable) return offscreen->colormap; } -static gint -gdk_offscreen_window_get_depth (GdkDrawable *drawable) -{ - GdkOffscreenWindow *offscreen = GDK_OFFSCREEN_WINDOW (drawable); - - return gdk_drawable_get_depth (offscreen->wrapper); -} - -static GdkScreen* -gdk_offscreen_window_get_screen (GdkDrawable *drawable) -{ - GdkOffscreenWindow *offscreen = GDK_OFFSCREEN_WINDOW (drawable); - - return offscreen->screen; -} - -static GdkVisual* -gdk_offscreen_window_get_visual (GdkDrawable *drawable) -{ - GdkOffscreenWindow *offscreen = GDK_OFFSCREEN_WINDOW (drawable); - - return gdk_drawable_get_visual (offscreen->wrapper); -} - void _gdk_offscreen_window_new (GdkWindow *window, GdkScreen *screen, @@ -735,9 +711,6 @@ gdk_offscreen_window_class_init (GdkOffscreenWindowClass *klass) drawable_class->ref_cairo_surface = gdk_offscreen_window_ref_cairo_surface; drawable_class->get_colormap = gdk_offscreen_window_get_colormap; - drawable_class->get_depth = gdk_offscreen_window_get_depth; - drawable_class->get_screen = gdk_offscreen_window_get_screen; - drawable_class->get_visual = gdk_offscreen_window_get_visual; } static void |