summaryrefslogtreecommitdiff
path: root/gdk/gdkdraw.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-08-29 00:03:01 +0200
committerBenjamin Otte <otte@redhat.com>2010-09-26 15:11:32 +0200
commit894d402c0fe3246b22da0d5e05f96227899c7686 (patch)
treeca8a73b4d0d97f0089769f985c0f9e20685c0218 /gdk/gdkdraw.c
parente316157671d0ab67dc9dd7de8f961df80a84f6db (diff)
downloadgtk+-894d402c0fe3246b22da0d5e05f96227899c7686.tar.gz
API: Remove gdk_drawable_set_colormap()
Diffstat (limited to 'gdk/gdkdraw.c')
-rw-r--r--gdk/gdkdraw.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/gdk/gdkdraw.c b/gdk/gdkdraw.c
index 7ea8e69818..c3e2d4c2a4 100644
--- a/gdk/gdkdraw.c
+++ b/gdk/gdkdraw.c
@@ -151,29 +151,6 @@ gdk_drawable_get_display (GdkDrawable *drawable)
}
/**
- * gdk_drawable_set_colormap:
- * @drawable: a #GdkDrawable
- * @colormap: a #GdkColormap
- *
- * Sets the colormap associated with @drawable. Normally this will
- * happen automatically when the drawable is created; you only need to
- * use this function if the drawable-creating function did not have a
- * way to determine the colormap, and you then use drawable operations
- * that require a colormap. The colormap for all drawables and
- * graphics contexts you intend to use together should match.
- **/
-void
-gdk_drawable_set_colormap (GdkDrawable *drawable,
- GdkColormap *cmap)
-{
- g_return_if_fail (GDK_IS_DRAWABLE (drawable));
- g_return_if_fail (cmap == NULL || gdk_drawable_get_depth (drawable)
- == cmap->visual->depth);
-
- GDK_DRAWABLE_GET_CLASS (drawable)->set_colormap (drawable, cmap);
-}
-
-/**
* gdk_drawable_get_colormap:
* @drawable: a #GdkDrawable
*