mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-03 04:26:52 +02:00
Doc: g_autoptr(gchar) has been replaced by g_autofree
https://bugzilla.gnome.org/show_bug.cgi?id=755351
This commit is contained in:
parent
d73cd49799
commit
9348af3651
@ -2394,7 +2394,7 @@
|
|||||||
* check_exists(GVariant *dict)
|
* check_exists(GVariant *dict)
|
||||||
* {
|
* {
|
||||||
* g_autoptr(GVariant) dirname, basename = NULL;
|
* 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);
|
* 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
|
* 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().
|
* See also g_auto(), g_autofree() and g_steal_pointer().
|
||||||
*
|
*
|
||||||
* Since: 2.44
|
* Since: 2.44
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user