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-provider-factory.c | |
parent | e9ead973243a05d284f7db064430ff95b023f82d (diff) | |
download | thunar-853001496fd176d6a60fca9ca8709686dd0f67c1.tar.gz |
Use g_(s)list_free_full where possible.
Diffstat (limited to 'thunarx/thunarx-provider-factory.c')
-rw-r--r-- | thunarx/thunarx-provider-factory.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/thunarx/thunarx-provider-factory.c b/thunarx/thunarx-provider-factory.c index 00905012..1b5d2a3e 100644 --- a/thunarx/thunarx-provider-factory.c +++ b/thunarx/thunarx-provider-factory.c @@ -277,8 +277,7 @@ thunarx_provider_factory_get_default (void) * The caller is responsible to release the returned * list of providers using code like this: * <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 of providers for @type. |