After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 789934 - Add nullable return introspection annotation for gdk_pixbuf_scale_simple
Add nullable return introspection annotation for gdk_pixbuf_scale_simple
Status: RESOLVED FIXED
Product: gdk-pixbuf
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gdk-pixbuf-maint
gdk-pixbuf-maint
Depends on:
Blocks:
 
 
Reported: 2017-11-05 14:11 UTC by Iñaki García Etxebarria
Modified: 2017-11-28 15:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch fixing the introspection annotation (977 bytes, patch)
2017-11-05 14:11 UTC, Iñaki García Etxebarria
none Details | Review
gdk-pixbuf-scale: Fix retval introspection for scale_simple() (1.10 KB, patch)
2017-11-28 15:09 UTC, Bastien Nocera
committed Details | Review

Description Iñaki García Etxebarria 2017-11-05 14:11:01 UTC
Created attachment 363015 [details] [review]
Patch fixing the introspection annotation

The return value for gdk_pixbuf_scale_simple can be NULL. This is documented correctly, but there is no corresponding introspection annotation.
Comment 1 Bastien Nocera 2017-11-28 15:09:22 UTC
Created attachment 364570 [details] [review]
gdk-pixbuf-scale: Fix retval introspection for scale_simple()

Add nullable return introspection annotation for
gdk_pixbuf_scale_simple() as per existing API documentation.
Comment 2 Bastien Nocera 2017-11-28 15:16:32 UTC
Attachment 364570 [details] pushed as f7c87d1 - gdk-pixbuf-scale: Fix retval introspection for scale_simple()