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 693694 - gio: Fix annotations on g_[async_]initable_new() and friends
gio: Fix annotations on g_[async_]initable_new() and friends
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gio
unspecified
Other All
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2013-02-13 06:23 UTC by Stef Walter
Modified: 2013-02-13 15:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gio: Fix annotations on g_[async_]initable_new() and friends (2.38 KB, patch)
2013-02-13 06:23 UTC, Stef Walter
committed Details | Review

Description Stef Walter 2013-02-13 06:23:12 UTC
The following functions have incorrect annotations on their return
values:

g_initable_new()
g_initable_newv()
g_initable_new_valist()
g_async_initable_new_finish()
Comment 1 Stef Walter 2013-02-13 06:23:15 UTC
Created attachment 235871 [details] [review]
gio: Fix annotations on g_[async_]initable_new() and friends

These return a GObject even though in C it's represented as a gpointer
Comment 2 Dan Winship 2013-02-13 14:12:55 UTC
Comment on attachment 235871 [details] [review]
gio: Fix annotations on g_[async_]initable_new() and friends

yup
Comment 3 Stef Walter 2013-02-13 15:55:42 UTC
Attachment 235871 [details] pushed as 035cd81 - gio: Fix annotations on g_[async_]initable_new() and friends