Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fwife.git;a=commitdiff;h=bd8c4f000edd4071725ed6b14e14d10d9e1bdc2a

commit bd8c4f000edd4071725ed6b14e14d10d9e1bdc2a
Author: Elentir <elen...@mailoo.org>
Date:   Fri Jan 22 00:47:50 2010 +0100

select: remove useless parameter from getcat() function

diff --git a/src/plugins/select.c b/src/plugins/select.c
index 0f0747e..ba5fbcb 100644
--- a/src/plugins/select.c
+++ b/src/plugins/select.c
@@ -181,7 +181,7 @@ char* categorysize(char *category)
return(g_strdup_printf("%6.1f MB", size));
}

-GList *getcat(PM_DB *db, GList *syncs)
+GList *getcat(PM_DB *db)
{
char *name, *ptr;
GList *catlist=NULL;
@@ -1139,7 +1139,7 @@ int prerun(GList **config)
gtk_main_iteration ();

// load categories of packets
-       cats = getcat(g_list_nth_data(syncs, 1), syncs);
+       cats = getcat(g_list_nth_data(syncs, 1));
if(cats == NULL)
{
return(-1);
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to