Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm/.git;a=commitdiff;h=86cf1b1bf6bc39654cc6aab8dbfa0680bd2608e9

commit 86cf1b1bf6bc39654cc6aab8dbfa0680bd2608e9
Author: Priyank <[EMAIL PROTECTED]>
Date:   Mon Jul 30 16:20:14 2007 +0530

gfpm: flush the package lists once a package operation is finished.

diff --git a/src/gfpm-interface.c b/src/gfpm-interface.c
index c4c286a..ee995ce 100644
--- a/src/gfpm-interface.c
+++ b/src/gfpm-interface.c
@@ -308,6 +308,9 @@ cb_gfpm_apply_btn_clicked (GtkButton *button, gpointer data)

/* release the transaction */
pacman_trans_release ();
+               /* clear list */
+               gfpm_package_list_free (GFPM_REMOVE_LIST);
+
}
if (gfpm_package_list_is_empty(GFPM_INSTALL_LIST))
{
@@ -353,6 +356,8 @@ cb_gfpm_apply_btn_clicked (GtkButton *button, gpointer data)

/* release the transaction */
pacman_trans_release ();
+               /* clear list */
+               gfpm_package_list_free (GFPM_INSTALL_LIST);
}

gfpm_apply_dlg_reset ();
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to