[gtk+/rendering-cleanup: 130/141] API: Remove gdk_drawable_get_display()



commit b8f49aa8dffa991cdf7946724e337a48f1073b5a
Author: Benjamin Otte <otte redhat com>
Date:   Sun Aug 29 02:10:19 2010 +0200

    API: Remove gdk_drawable_get_display()

 docs/reference/gdk/gdk3-sections.txt |    1 -
 docs/reference/gdk/tmpl/drawing.sgml |    9 ---------
 gdk/gdk.symbols                      |    1 -
 gdk/gdkdraw.c                        |   18 ------------------
 gdk/gdkdrawable.h                    |    1 -
 5 files changed, 0 insertions(+), 30 deletions(-)
---
diff --git a/docs/reference/gdk/gdk3-sections.txt b/docs/reference/gdk/gdk3-sections.txt
index 46fc167..9c9f52e 100644
--- a/docs/reference/gdk/gdk3-sections.txt
+++ b/docs/reference/gdk/gdk3-sections.txt
@@ -284,7 +284,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 0ff833d..1c3df57 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 ecee325..5466b0b 100644
--- a/gdk/gdk.symbols
+++ b/gdk/gdk.symbols
@@ -533,7 +533,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 366ffab..a6acb8c 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 b4f654d..9e28199 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);



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