doc: small clarification in g_autoptr()

https://bugzilla.gnome.org/show_bug.cgi?id=755077
This commit is contained in:
Xavier Claessens 2015-09-15 16:50:37 -04:00 committed by Matthias Clasen
parent 8297ea8bad
commit 3ffed912c1

View File

@ -2393,8 +2393,7 @@
* gboolean * gboolean
* check_exists(GVariant *dict) * check_exists(GVariant *dict)
* { * {
* g_autoptr(GVariant) dirname; * g_autoptr(GVariant) dirname, basename = NULL;
* g_autoptr(GVariant) basename = NULL;
* g_autoptr(gchar) path = NULL; * g_autoptr(gchar) path = NULL;
* *
* dirname = g_variant_lookup_value (dict, "dirname", G_VARIANT_TYPE_STRING); * dirname = g_variant_lookup_value (dict, "dirname", G_VARIANT_TYPE_STRING);
@ -2419,6 +2418,8 @@
* initialiser or by ensuring that it is assigned to unconditionally * initialiser or by ensuring that it is assigned to unconditionally
* before it goes out of scope. * before it goes out of scope.
* *
* See also g_steal_pointer().
*
* Since: 2.44 * Since: 2.44
*/ */