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 746095 - Add g_autoptr support for gom types
Add g_autoptr support for gom types
Status: RESOLVED FIXED
Product: gom
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Gom Maintainers
Gom Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-03-12 13:54 UTC by Alexander Larsson
Modified: 2015-03-12 14:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Support g_autoptr() for all gom object types (2.94 KB, patch)
2015-03-12 13:56 UTC, Alexander Larsson
committed Details | Review

Description Alexander Larsson 2015-03-12 13:54:48 UTC
First one is free...
Comment 1 Alexander Larsson 2015-03-12 13:56:11 UTC
Created attachment 299204 [details] [review]
Support g_autoptr() for all gom object types

This allows you to use e.g. g_autoptr(GomResource) in your code, but
does not make gom itself use g_autoptr, or require a new enough glib
to support it.
Comment 2 Bastien Nocera 2015-03-12 13:59:38 UTC
Review of attachment 299204 [details] [review]:

Looks good.
Comment 3 Alexander Larsson 2015-03-12 14:18:02 UTC
Attachment 299204 [details] pushed as 2e4d297 - Support g_autoptr() for all gom object types