[Xfce4-commits] [apps/xfburn] 37/42: updated linked list "deep" free function
noreply at xfce.org
noreply at xfce.org
Tue Oct 15 02:22:20 CEST 2019
This is an automated email from the git hooks/post-receive script.
k a t a n a s t e e l p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfburn.
commit 65047aeb2a342f4124716d3ecd9bb0b4eff82934
Author: Rene Kjellerup <rk.katana.steel at gmail.com>
Date: Fri Aug 30 16:29:11 2019 -0700
updated linked list "deep" free function
---
xfburn/xfburn-data-composition.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/xfburn/xfburn-data-composition.c b/xfburn/xfburn-data-composition.c
index 11a3ed0..dc29876 100644
--- a/xfburn/xfburn-data-composition.c
+++ b/xfburn/xfburn-data-composition.c
@@ -748,8 +748,7 @@ cb_adding_done (XfburnAddingProgress *progress, XfburnDataComposition *dc)
}
if (priv->full_paths_to_add) {
- g_list_foreach (priv->full_paths_to_add, (GFunc) g_free, NULL);
- g_list_free (priv->full_paths_to_add);
+ g_list_free_full (priv->full_paths_to_add, (GDestroyNotify) g_free);
priv->full_paths_to_add = NULL;
}
@@ -1058,8 +1057,7 @@ add_files(gchar * selected_files, XfburnDataComposition *dc)
priv->thread_params = params;
g_thread_new ("data_add_files", (GThreadFunc) thread_add_files_action, params);
- g_list_foreach (selected_paths, (GFunc) gtk_tree_path_free, NULL);
- g_list_free (selected_paths);
+ g_list_free_full (selected_paths, (GDestroyNotify) gtk_tree_path_free);
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list