diff options
Diffstat (limited to 'glib')
-rw-r--r-- | glib/gstrfuncs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/glib/gstrfuncs.c b/glib/gstrfuncs.c index 9498d8150..42e256f31 100644 --- a/glib/gstrfuncs.c +++ b/glib/gstrfuncs.c @@ -342,6 +342,9 @@ get_C_locale (void) * The returned string should be freed with g_free() * when no longer needed. * + * You may want to use g_string_ref_new() in order to use + * reference counted strings, instead of duplicating them. + * * Returns: a newly-allocated copy of @str */ gchar* |