]> Pileus Git - ~andy/gtk/commitdiff
API: Remove gdk_drawable_get_display()
authorBenjamin Otte <otte@redhat.com>
Sun, 29 Aug 2010 00:10:19 +0000 (02:10 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 26 Sep 2010 13:11:33 +0000 (15:11 +0200)
docs/reference/gdk/gdk3-sections.txt
docs/reference/gdk/tmpl/drawing.sgml
gdk/gdk.symbols
gdk/gdkdraw.c
gdk/gdkdrawable.h

index 3b12f7ff5953b9a71b41256274ca4230a1594588..341a9841baf44e976dfc3e757b91e43622d42503 100644 (file)
@@ -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
index 0ff833daa7a65d852743fc28fbae76a3f1a66d8b..1c3df57cc3776c47a77ee5e848fbbeb77ba35f98 100644 (file)
@@ -45,15 +45,6 @@ or a #GdkWindow.
 </para>
 
 
-<!-- ##### FUNCTION gdk_drawable_get_display ##### -->
-<para>
-
-</para>
-
-@drawable: 
-@Returns: 
-
-
 <!-- ##### FUNCTION gdk_drawable_get_screen ##### -->
 <para>
 
index bd4b477f72a1a93511f215668bd6b9ae030e1665..03631bd2bf212c4a5c8c008ccb6ec46dfb10a1ce 100644 (file)
@@ -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
index 366ffab85512dfecac3af32584af31e55e4eb9dc..a6acb8ca38aea0c14a12f603783e0f96e305b692 100644 (file)
@@ -81,24 +81,6 @@ gdk_drawable_get_size (GdkDrawable *drawable,
   GDK_DRAWABLE_GET_CLASS (drawable)->get_size (drawable, width, height);  
 }
 
-/**
- * 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
index b4f654d27f2600a2f0457eedd3fe18b72ab2f867..9e281994e03fb56c053eaf89c9006a62ec8f5324 100644 (file)
@@ -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);