summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIñaki García Etxebarria <garetxe@gmail.com>2017-11-05 15:46:59 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2018-04-25 15:56:49 +0100
commit3e8502a8cbe23d2db84bd91d4f775e57522bfdbe (patch)
treebeef7368d05f6519c96737cec82adeac4cd2869c
parenta17ef43a3c25e09d33a686ba3575667eaf084760 (diff)
downloadgdk-pixbuf-3e8502a8cbe23d2db84bd91d4f775e57522bfdbe.tar.gz
Fix introspection data for gdk_pixbuf_new, gdk_pixbuf_copy and gdk_pixbuf_composite_color_simple
https://bugzilla.gnome.org/show_bug.cgi?id=789935
-rw-r--r--gdk-pixbuf/gdk-pixbuf-scale.c2
-rw-r--r--gdk-pixbuf/gdk-pixbuf.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-scale.c b/gdk-pixbuf/gdk-pixbuf-scale.c
index e9514ef21..e9c244ec6 100644
--- a/gdk-pixbuf/gdk-pixbuf-scale.c
+++ b/gdk-pixbuf/gdk-pixbuf-scale.c
@@ -382,7 +382,7 @@ gdk_pixbuf_scale_simple (const GdkPixbuf *src,
* @dest_height and alpha blending the result with a checkboard of colors
* @color1 and @color2.
*
- * Return value: (transfer full): the new #GdkPixbuf, or %NULL if not enough memory could be
+ * Return value: (nullable) (transfer full): the new #GdkPixbuf, or %NULL if not enough memory could be
* allocated for it.
**/
GdkPixbuf *
diff --git a/gdk-pixbuf/gdk-pixbuf.c b/gdk-pixbuf/gdk-pixbuf.c
index c86d09678..8f220f44b 100644
--- a/gdk-pixbuf/gdk-pixbuf.c
+++ b/gdk-pixbuf/gdk-pixbuf.c
@@ -473,7 +473,7 @@ gdk_pixbuf_calculate_rowstride (GdkColorspace colorspace,
* buffer has an optimal rowstride. Note that the buffer is not cleared;
* you will have to fill it completely yourself.
*
- * Return value: A newly-created #GdkPixbuf with a reference count of 1, or
+ * Return value: (nullable): A newly-created #GdkPixbuf with a reference count of 1, or
* %NULL if not enough memory could be allocated for the image buffer.
**/
GdkPixbuf *
@@ -511,7 +511,7 @@ gdk_pixbuf_new (GdkColorspace colorspace,
* @pixbuf. Note that this does not copy the options set on the original #GdkPixbuf,
* use gdk_pixbuf_copy_options() for this.
*
- * Return value: (transfer full): A newly-created pixbuf with a reference count of 1, or %NULL if
+ * Return value: (nullable) (transfer full): A newly-created pixbuf with a reference count of 1, or %NULL if
* not enough memory could be allocated.
**/
GdkPixbuf *