diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-09-17 01:13:03 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-09-17 01:13:03 -0400 |
commit | ca40ad1b1a1079736259a011f1ea414124d5b4a3 (patch) | |
tree | 999734c908e25b0f72ba0cd790eebc95ecb89d52 /gdk/gdkcairo.c | |
parent | a06006c22d658792c17d224e6c979f128e76edbf (diff) | |
download | gtk+-ca40ad1b1a1079736259a011f1ea414124d5b4a3.tar.gz |
Documentation fixes
Diffstat (limited to 'gdk/gdkcairo.c')
-rw-r--r-- | gdk/gdkcairo.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gdk/gdkcairo.c b/gdk/gdkcairo.c index 67fc35acad..5dba69a8f7 100644 --- a/gdk/gdkcairo.c +++ b/gdk/gdkcairo.c @@ -157,7 +157,7 @@ gdk_cairo_rectangle (cairo_t *cr, * Since: 2.8 */ void -gdk_cairo_region (cairo_t *cr, +gdk_cairo_region (cairo_t *cr, const cairo_region_t *region) { cairo_rectangle_int_t box; @@ -184,12 +184,14 @@ gdk_cairo_region (cairo_t *cr, * Creates an image surface with the same contents as * the pixbuf. * + * Returns: a new cairo surface, must be freed with cairo_surface_destroy() + * * Since: 3.10 */ cairo_surface_t * gdk_cairo_surface_create_from_pixbuf (const GdkPixbuf *pixbuf, - int scale, - GdkWindow *for_window) + int scale, + GdkWindow *for_window) { gint width = gdk_pixbuf_get_width (pixbuf); gint height = gdk_pixbuf_get_height (pixbuf); |