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 791234 - autocleanups: allow g_autoptr() usage with GtkTreePath
autocleanups: allow g_autoptr() usage with GtkTreePath
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: .General
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2017-12-05 03:34 UTC by Christian Hergert
Modified: 2017-12-05 12:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
autocleanups: allow g_autoptr() usage with GtkTreePath (1.14 KB, patch)
2017-12-05 03:34 UTC, Christian Hergert
committed Details | Review

Description Christian Hergert 2017-12-05 03:34:03 UTC
Simple patch to allow using g_autoptr(GtkTreePath).
Comment 1 Christian Hergert 2017-12-05 03:34:06 UTC
Created attachment 364986 [details] [review]
autocleanups: allow g_autoptr() usage with GtkTreePath

As the summary says, this allows using g_autoptr(GtkTreePath). This is
useful for API that uses out parameters for GtkTreePath that need to be
freed.
Comment 2 Emmanuele Bassi (:ebassi) 2017-12-05 12:29:31 UTC
Review of attachment 364986 [details] [review]:

I'd be happy if we started moving autopointer declarations into the header of the types they refer to, but for now this is okay.
Comment 3 Emmanuele Bassi (:ebassi) 2017-12-05 12:30:14 UTC
Additionally, you pushed commits to libdazzle that reference this patch, and thus broke Continuous ;-)
Comment 4 Christian Hergert 2017-12-05 12:48:58 UTC
Attachment 364986 [details] pushed as 86dd1e3 - autocleanups: allow g_autoptr() usage with GtkTreePath