From: Nicola Fontana Date: Wed, 14 Aug 2013 15:11:21 +0000 (+0200) Subject: adg: "transfer none" on get_cairo_path() X-Git-Tag: 0.7.4~6 X-Git-Url: https://repo.or.cz/w/adg.git/commitdiff_plain/05a1c1caaf971f46bd0903e649ff9780f1f33b3d adg: "transfer none" on get_cairo_path() Having "const" as return value does not automatically set it to "transfer none", so setting it explicitely in the docblock. This should solve issue #110: http://dev.entidi.com/p/adg/issues/110/ --- diff --git a/src/adg/adg-trail.c b/src/adg/adg-trail.c index cca3f9fc..ed2c0108 100644 --- a/src/adg/adg-trail.c +++ b/src/adg/adg-trail.c @@ -250,7 +250,7 @@ adg_trail_new(AdgTrailCallback callback, gpointer user_data) * request is O(1). This cache is cleared only by the * adg_model_clear() method. * - * Returns: a pointer to the internal cairo path or %NULL on errors + * Returns: (transfer none): a pointer to the internal cairo path or %NULL on errors * * Since: 1.0 **/