autocleanups: Remove g_autoptr(gchar)
authorColin Walters <walters@verbum.org>
Mon, 23 Feb 2015 12:56:34 +0000 (07:56 -0500)
committerColin Walters <walters@verbum.org>
Mon, 23 Feb 2015 12:56:34 +0000 (07:56 -0500)
commit1b348a876f84342bb3a197fadd249f8ce95abfeb
treecd59c1619fa79b0f1edc305f8affe6c697bb4aa3
parentd0105f1c0845c1244c8419d0bb24c6f64ac9015f
autocleanups: Remove g_autoptr(gchar)

- It's not sufficient, there are other bare array types
  like guint8, gdouble, etc.

- Other types like GVariant* always come as pointers, whereas
  there's a rather fundamental distinction between "gchar" and
  "gchar*" that has been signified to C programmers for 30+ years via
  the '*' character, and we're hiding that.

https://bugzilla.gnome.org/show_bug.cgi?id=744747
glib/glib-autocleanups.h