summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-10-06 00:19:36 +0200
committerBenjamin Otte <otte@redhat.com>2010-12-02 20:17:27 +0100
commit3af4432c6f9771f132bddab4ca9bca56d3d1036a (patch)
tree3dbc2315db07bcb676bd3d317c13094e11c9fea7
parentdeffc9e39f19363d8700bcd29c8dedfa8e75256b (diff)
downloadgtk+-3af4432c6f9771f132bddab4ca9bca56d3d1036a.tar.gz
API: x11: Remove gdk_x11_window_get_drawable_impl()
It's not used anymore
-rw-r--r--docs/reference/gdk/gdk3-sections.txt1
-rw-r--r--gdk/gdk.symbols1
-rw-r--r--gdk/x11/gdkdrawable-x11.c6
-rw-r--r--gdk/x11/gdkdrawable-x11.h1
-rw-r--r--gdk/x11/gdkx.h1
5 files changed, 0 insertions, 10 deletions
diff --git a/docs/reference/gdk/gdk3-sections.txt b/docs/reference/gdk/gdk3-sections.txt
index 811266acd4..6ead743311 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 2dbeaccb54..5a9a41e3d2 100644
--- a/gdk/gdk.symbols
+++ b/gdk/gdk.symbols
@@ -567,7 +567,6 @@ gdk_x11_screen_lookup_visual
gdk_x11_screen_supports_net_wm_hint
gdk_x11_ungrab_server
gdk_x11_visual_get_xvisual
-gdk_x11_window_get_drawable_impl
gdk_x11_window_get_xid
gdk_x11_window_move_to_current_desktop
gdk_x11_window_set_user_time
diff --git a/gdk/x11/gdkdrawable-x11.c b/gdk/x11/gdkdrawable-x11.c
index 9d00d02e80..2447097812 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 e197766cba..284bba7eaf 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 bc155ff65f..1d5c850a5c 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);