[gtk+/rendering-cleanup: 3/41] API: x11: Remove gdk_x11_window_get_drawable_impl()



commit d56b62cc04fcb9ff6cb87793fd33580b042baf29
Author: Benjamin Otte <otte redhat com>
Date:   Wed Oct 6 00:19:36 2010 +0200

    API: x11: Remove gdk_x11_window_get_drawable_impl()
    
    It's not used anymore

 docs/reference/gdk/gdk3-sections.txt |    1 -
 gdk/gdk.symbols                      |    1 -
 gdk/x11/gdkdrawable-x11.c            |    6 ------
 gdk/x11/gdkdrawable-x11.h            |    1 -
 gdk/x11/gdkx.h                       |    1 -
 5 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/docs/reference/gdk/gdk3-sections.txt b/docs/reference/gdk/gdk3-sections.txt
index 811266a..6ead743 100644
--- a/docs/reference/gdk/gdk3-sections.txt
+++ b/docs/reference/gdk/gdk3-sections.txt
@@ -1028,7 +1028,6 @@ gdk_x11_get_xatom_name_for_display
 <SUBSECTION Private>
 GDK_HAVE_WCHAR_H
 GDK_HAVE_WCTYPE_H
-gdk_x11_window_get_drawable_impl
 </SECTION>
 
 <SECTION>
diff --git a/gdk/gdk.symbols b/gdk/gdk.symbols
index 5445e5c..b18956a 100644
--- a/gdk/gdk.symbols
+++ b/gdk/gdk.symbols
@@ -981,7 +981,6 @@ gdk_x11_display_error_trap_pop_ignored
 #if IN_FILE(__GDK_DRAWABLE_X11_C__)
 gdk_x11_drawable_get_xdisplay
 gdk_x11_window_get_xid
-gdk_x11_window_get_drawable_impl
 #endif
 
 #if IN_FILE(__GDK_MAIN_X11_C__)
diff --git a/gdk/x11/gdkdrawable-x11.c b/gdk/x11/gdkdrawable-x11.c
index 9d00d02..2447097 100644
--- a/gdk/x11/gdkdrawable-x11.c
+++ b/gdk/x11/gdkdrawable-x11.c
@@ -134,12 +134,6 @@ gdk_x11_drawable_get_xdisplay (GdkDrawable *drawable)
     return GDK_SCREEN_XDISPLAY (GDK_DRAWABLE_IMPL_X11 (get_impl_drawable (drawable))->screen);
 }
 
-GdkDrawable *
-gdk_x11_window_get_drawable_impl (GdkWindow *window)
-{
-  return ((GdkWindowObject *)window)->impl;
-}
-
 static void
 gdk_x11_cairo_surface_destroy (void *data)
 {
diff --git a/gdk/x11/gdkdrawable-x11.h b/gdk/x11/gdkdrawable-x11.h
index e197766..284bba7 100644
--- a/gdk/x11/gdkdrawable-x11.h
+++ b/gdk/x11/gdkdrawable-x11.h
@@ -68,7 +68,6 @@ GType _gdk_drawable_impl_x11_get_type (void);
 /* Note that the following take GdkDrawableImplX11, not the wrapper drawable */
 void _gdk_x11_drawable_finish           (GdkDrawable  *drawable);
 void _gdk_x11_drawable_update_size      (GdkDrawable  *drawable);
-GdkDrawable *gdk_x11_window_get_drawable_impl (GdkWindow *window);
 
 G_END_DECLS
 
diff --git a/gdk/x11/gdkx.h b/gdk/x11/gdkx.h
index bc155ff..1d5c850 100644
--- a/gdk/x11/gdkx.h
+++ b/gdk/x11/gdkx.h
@@ -57,7 +57,6 @@ G_BEGIN_DECLS
 
 Display *gdk_x11_drawable_get_xdisplay    (GdkDrawable *drawable);
 Window   gdk_x11_window_get_xid           (GdkWindow   *window);
-GdkDrawable *gdk_x11_window_get_drawable_impl (GdkWindow *window);
 Display *gdk_x11_cursor_get_xdisplay      (GdkCursor   *cursor);
 Cursor   gdk_x11_cursor_get_xcursor       (GdkCursor   *cursor);
 Display *gdk_x11_display_get_xdisplay     (GdkDisplay  *display);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]