[gtk+/rendering-cleanup: 3/17] API: x11: Remove gdk_x11_window_get_drawable_impl()
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup: 3/17] API: x11: Remove gdk_x11_window_get_drawable_impl()
- Date: Wed, 6 Oct 2010 02:25:40 +0000 (UTC)
commit f8aaaddbd8cb2df7836316c95fb547f933e74239
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 8e69391..d67f6f0 100644
--- a/docs/reference/gdk/gdk3-sections.txt
+++ b/docs/reference/gdk/gdk3-sections.txt
@@ -1011,7 +1011,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 a6b1743..7d4a9d1 100644
--- a/gdk/gdk.symbols
+++ b/gdk/gdk.symbols
@@ -966,7 +966,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 9f40808..b87ff69 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 16c8953..aba5604 100644
--- a/gdk/x11/gdkdrawable-x11.h
+++ b/gdk/x11/gdkdrawable-x11.h
@@ -69,7 +69,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 cb9fe5e..7ebdaad 100644
--- a/gdk/x11/gdkx.h
+++ b/gdk/x11/gdkx.h
@@ -36,7 +36,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]