summaryrefslogtreecommitdiff
path: root/gdk/gdkpango.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2001-10-03 18:19:48 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-10-03 18:19:48 +0000
commiteacd03aef25cb0208d13c19e6a807a974c053cff (patch)
tree7c6d0c3f3b16a7267a85f7e14787270aed73d997 /gdk/gdkpango.c
parenta8d54496fb0a642ff3dd6c3bf4c5ee8340e33669 (diff)
downloadgdk-pixbuf-eacd03aef25cb0208d13c19e6a807a974c053cff.tar.gz
Throughout: assorted docs
2001-10-02 Havoc Pennington <hp@redhat.com> Throughout: assorted docs * gdk/gdkwindow.h: deprecate gdk_window_set_hints(), it's broken, gdk_window_set_geometry_hints() should be used instead. * gdk/gdkimage.h: deprecate gdk_image_ref, gdk_image_unref, and document them * gdk/x11/gdkx.h: remove gdk_get_client_window() since it doesn't seem to exist in any .c files * gdk/x11/gdkcolor-x11.c (gdk_colormap_query_color): docs, g_return_if_fail (pixel < colormap->size).
Diffstat (limited to 'gdk/gdkpango.c')
-rw-r--r--gdk/gdkpango.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gdk/gdkpango.c b/gdk/gdkpango.c
index 5c355b343..1040068a4 100644
--- a/gdk/gdkpango.c
+++ b/gdk/gdkpango.c
@@ -126,6 +126,18 @@ gdk_pango_free_gc (PangoContext *context,
gdk_gc_unref (gc);
}
+/**
+ * gdk_pango_context_set_colormap:
+ * @context: a #PangoContext
+ * @colormap: a #GdkColormap
+ *
+ * Sets the colormap to be used for drawing with @context.
+ * If you obtained your context from gtk_widget_get_pango_context() or
+ * gtk_widget_create_pango_context(), the colormap will already be set
+ * to the colormap for the widget, so you shouldn't need this
+ * function.
+ *
+ **/
void
gdk_pango_context_set_colormap (PangoContext *context,
GdkColormap *colormap)