[Frugalware-git] gfpm: gfpm-interface: do not perform two
iterations while loading groups treeview.
Priyank
priyank at frugalware.org
Wed Sep 5 08:40:30 CEST 2007
Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm.git;a=commitdiff;h=1945d508891b2f7a234357a410504d24734c4ac0
commit 1945d508891b2f7a234357a410504d24734c4ac0
Author: Priyank <priyank at frugalware.org>
Date: Wed Sep 5 12:09:04 2007 +0530
gfpm-interface: do not perform two iterations while loading groups treeview.
diff --git a/src/gfpm-interface.c b/src/gfpm-interface.c
index 8d03ffe..5319994 100644
--- a/src/gfpm-interface.c
+++ b/src/gfpm-interface.c
@@ -426,10 +426,6 @@ gfpm_load_groups_tvw (const char *repo_name)
for (l=pacman_db_getgrpcache(db); l; l=pacman_list_next(l))
{
- /* FIXME - why we doing iteration twice ?? Maybe just we can remove this one and
- put asprintf* line before gfpm_update_status(temp) */
- while (gtk_events_pending())
- gtk_main_iteration ();
asprintf (&temp, _("Loading groups ... [%s]"), (char*)pacman_list_getdata(l));
while (gtk_events_pending())
gtk_main_iteration ();
More information about the Frugalware-git
mailing list