summaryrefslogtreecommitdiff
path: root/gdk/gdkcairo.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-12-03 08:50:05 -0500
committerMatthias Clasen <mclasen@redhat.com>2010-12-03 09:07:06 -0500
commit17e2c5391cdf70f956383d518f0c63a98c425ca1 (patch)
tree63348c4601b5699c4b7c21c2bcd94f8ef56da0dd /gdk/gdkcairo.c
parent4ef86fc500119ce4ab71cdf942b58d58df9d96b1 (diff)
downloadgtk+-17e2c5391cdf70f956383d518f0c63a98c425ca1.tar.gz
Fix up parameter mismatches in the docs
And other minor gdk doc fixes.
Diffstat (limited to 'gdk/gdkcairo.c')
-rw-r--r--gdk/gdkcairo.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/gdk/gdkcairo.c b/gdk/gdkcairo.c
index 7160207ebf..0d4b8bde09 100644
--- a/gdk/gdkcairo.c
+++ b/gdk/gdkcairo.c
@@ -84,7 +84,7 @@ gdk_cairo_get_clip_rectangle (cairo_t *cr,
* gdk_cairo_set_source_color:
* @cr: a #cairo_t
* @color: a #GdkColor
- *
+ *
* Sets the specified #GdkColor as the source color of @cr.
*
* Since: 2.8
@@ -102,6 +102,15 @@ gdk_cairo_set_source_color (cairo_t *cr,
color->blue / 65535.);
}
+/**
+ * gdk_cairo_set_source_rgba:
+ * @cr: a #cairo_t
+ * @rgba: a #GdkRGBA
+ *
+ * Sets the specified #GdkRGBA as the source color of @cr.
+ *
+ * Since: 3.0
+ **/
void
gdk_cairo_set_source_rgba (cairo_t *cr,
const GdkRGBA *rgba)