[glib] Doc: g_autoptr(gchar) has been replaced by g_autofree
- From: Xavier Claessens <xclaesse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Doc: g_autoptr(gchar) has been replaced by g_autofree
- Date: Mon, 21 Sep 2015 14:48:16 +0000 (UTC)
commit 9348af3651afbd554fec35e556cda8add48bd9f8
Author: Xavier Claessens <xavier claessens collabora com>
Date: Mon Sep 21 09:53:25 2015 -0400
Doc: g_autoptr(gchar) has been replaced by g_autofree
https://bugzilla.gnome.org/show_bug.cgi?id=755351
glib/docs.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/docs.c b/glib/docs.c
index a0e112b..d41899c 100644
--- a/glib/docs.c
+++ b/glib/docs.c
@@ -2394,7 +2394,7 @@
* check_exists(GVariant *dict)
* {
* g_autoptr(GVariant) dirname, basename = NULL;
- * g_autoptr(gchar) path = NULL;
+ * g_autofree gchar *path = NULL;
*
* dirname = g_variant_lookup_value (dict, "dirname", G_VARIANT_TYPE_STRING);
*
@@ -2418,7 +2418,7 @@
* initialiser or by ensuring that it is assigned to unconditionally
* before it goes out of scope.
*
- * See also g_steal_pointer().
+ * See also g_auto(), g_autofree() and g_steal_pointer().
*
* Since: 2.44
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]