diff options
author | Nick Schermer <nick@xfce.org> | 2012-09-16 18:32:05 +0200 |
---|---|---|
committer | Nick Schermer <nick@xfce.org> | 2012-09-16 20:15:47 +0200 |
commit | 853001496fd176d6a60fca9ca8709686dd0f67c1 (patch) | |
tree | 53214ffb8c07ce82afbcc51921efe62bd4214d61 /thunarx/thunarx-renamer-provider.c | |
parent | e9ead973243a05d284f7db064430ff95b023f82d (diff) | |
download | thunar-853001496fd176d6a60fca9ca8709686dd0f67c1.tar.gz |
Use g_(s)list_free_full where possible.
Diffstat (limited to 'thunarx/thunarx-renamer-provider.c')
-rw-r--r-- | thunarx/thunarx-renamer-provider.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/thunarx/thunarx-renamer-provider.c b/thunarx/thunarx-renamer-provider.c index 56fcfcef..2810c8be 100644 --- a/thunarx/thunarx-renamer-provider.c +++ b/thunarx/thunarx-renamer-provider.c @@ -78,8 +78,7 @@ thunarx_renamer_provider_get_type (void) * The caller is responsible to free the returned list of renamers using * something like this when no longer needed: * <informalexample><programlisting> - * g_list_foreach (list, (GFunc) g_object_unref, NULL); - * g_list_free (list); + * g_list_free_full (list, g_object_unref); * </programlisting></informalexample> * * Return value: the list of #ThunarxRenamer<!---->s provided by the |