diff options
author | Benjamin Otte <otte@redhat.com> | 2010-08-29 02:10:19 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-09-26 15:11:33 +0200 |
commit | 504a2d419499d45d19cb1934d95d9375ac540dde (patch) | |
tree | 39466deead0b5e1c96166d8a997e93fddaf2245d /gdk | |
parent | b5097de481a911d1c4e3947bf25fa1cd3ecf07e5 (diff) | |
download | gtk+-504a2d419499d45d19cb1934d95d9375ac540dde.tar.gz |
API: Remove gdk_drawable_get_display()
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/gdk.symbols | 1 | ||||
-rw-r--r-- | gdk/gdkdraw.c | 18 | ||||
-rw-r--r-- | gdk/gdkdrawable.h | 1 |
3 files changed, 0 insertions, 20 deletions
diff --git a/gdk/gdk.symbols b/gdk/gdk.symbols index bd4b477f72..03631bd2bf 100644 --- a/gdk/gdk.symbols +++ b/gdk/gdk.symbols @@ -534,7 +534,6 @@ gdk_drag_get_protocol #if IN_FILE(__GDK_DRAW_C__) gdk_drawable_get_clip_region gdk_drawable_get_colormap -gdk_drawable_get_display gdk_drawable_get_size gdk_drawable_get_type G_GNUC_CONST gdk_drawable_get_visible_region diff --git a/gdk/gdkdraw.c b/gdk/gdkdraw.c index 366ffab855..a6acb8ca38 100644 --- a/gdk/gdkdraw.c +++ b/gdk/gdkdraw.c @@ -82,24 +82,6 @@ gdk_drawable_get_size (GdkDrawable *drawable, } /** - * gdk_drawable_get_display: - * @drawable: a #GdkDrawable - * - * Gets the #GdkDisplay associated with a #GdkDrawable. - * - * Return value: the #GdkDisplay associated with @drawable - * - * Since: 2.2 - **/ -GdkDisplay* -gdk_drawable_get_display (GdkDrawable *drawable) -{ - g_return_val_if_fail (GDK_IS_DRAWABLE (drawable), NULL); - - return gdk_screen_get_display (gdk_colormap_get_screen (gdk_drawable_get_colormap (drawable))); -} - -/** * gdk_drawable_get_colormap: * @drawable: a #GdkDrawable * diff --git a/gdk/gdkdrawable.h b/gdk/gdkdrawable.h index b4f654d27f..9e281994e0 100644 --- a/gdk/gdkdrawable.h +++ b/gdk/gdkdrawable.h @@ -93,7 +93,6 @@ void gdk_drawable_get_size (GdkDrawable *drawable, gint *width, gint *height); GdkColormap* gdk_drawable_get_colormap (GdkDrawable *drawable); -GdkDisplay* gdk_drawable_get_display (GdkDrawable *drawable); cairo_region_t *gdk_drawable_get_clip_region (GdkDrawable *drawable); cairo_region_t *gdk_drawable_get_visible_region (GdkDrawable *drawable); |