[gnome-packagekit] Clear the run list when we setup a new GpkHelperRun. Fixes fd#22489
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-packagekit] Clear the run list when we setup a new GpkHelperRun. Fixes fd#22489
- Date: Wed, 1 Jul 2009 10:54:00 +0000 (UTC)
commit 66f73b68358f3f691b3592e3a9e70a2a94d14788
Author: Richard Hughes <richard hughsie com>
Date: Wed Jul 1 11:49:27 2009 +0100
Clear the run list when we setup a new GpkHelperRun. Fixes fd#22489
src/gpk-helper-run.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gpk-helper-run.c b/src/gpk-helper-run.c
index df114bb..937b1ed 100644
--- a/src/gpk-helper-run.c
+++ b/src/gpk-helper-run.c
@@ -360,6 +360,8 @@ gpk_helper_run_show (GpkHelperRun *helper, gchar **package_ids)
/* clear old list */
gtk_list_store_clear (helper->priv->list_store);
+ g_free (helper->priv->full_path);
+ helper->priv->full_path = NULL;
/* add all the apps */
len = gpk_helper_run_add_package_ids (helper, package_ids);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]