summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-08-29 02:10:19 +0200
committerBenjamin Otte <otte@redhat.com>2010-09-26 15:11:33 +0200
commit504a2d419499d45d19cb1934d95d9375ac540dde (patch)
tree39466deead0b5e1c96166d8a997e93fddaf2245d
parentb5097de481a911d1c4e3947bf25fa1cd3ecf07e5 (diff)
downloadgtk+-504a2d419499d45d19cb1934d95d9375ac540dde.tar.gz
API: Remove gdk_drawable_get_display()
-rw-r--r--docs/reference/gdk/gdk3-sections.txt1
-rw-r--r--docs/reference/gdk/tmpl/drawing.sgml9
-rw-r--r--gdk/gdk.symbols1
-rw-r--r--gdk/gdkdraw.c18
-rw-r--r--gdk/gdkdrawable.h1
5 files changed, 0 insertions, 30 deletions
diff --git a/docs/reference/gdk/gdk3-sections.txt b/docs/reference/gdk/gdk3-sections.txt
index 3b12f7ff59..341a9841ba 100644
--- a/docs/reference/gdk/gdk3-sections.txt
+++ b/docs/reference/gdk/gdk3-sections.txt
@@ -285,7 +285,6 @@ gdk_color_get_type
<TITLE>Drawing Primitives</TITLE>
<FILE>drawing</FILE>
GdkDrawable
-gdk_drawable_get_display
gdk_drawable_get_colormap
gdk_drawable_get_size
gdk_drawable_get_clip_region
diff --git a/docs/reference/gdk/tmpl/drawing.sgml b/docs/reference/gdk/tmpl/drawing.sgml
index 0ff833daa7..1c3df57cc3 100644
--- a/docs/reference/gdk/tmpl/drawing.sgml
+++ b/docs/reference/gdk/tmpl/drawing.sgml
@@ -45,15 +45,6 @@ or a #GdkWindow.
</para>
-<!-- ##### FUNCTION gdk_drawable_get_display ##### -->
-<para>
-
-</para>
-
-@drawable:
-@Returns:
-
-
<!-- ##### FUNCTION gdk_drawable_get_screen ##### -->
<para>
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);