Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm.git;a=commitdiff;h=35645d9c57e16149593210cbc2b2cebeefaafffc
commit 35645d9c57e16149593210cbc2b2cebeefaafffc Author: Priyank <priy...@frugalware.org> Date: Fri Jun 12 11:51:55 2009 +0530 added missing headers and removed unused vars diff --git a/nautilus-extension/nautilus-gfpm.c b/nautilus-extension/nautilus-gfpm.c index 50315f7..cc20fe5 100644 --- a/nautilus-extension/nautilus-gfpm.c +++ b/nautilus-extension/nautilus-gfpm.c @@ -18,6 +18,8 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +#define _GNU_SOURCE +#include <stdio.h> #include <config.h> #include <string.h> #include <pacman.h> @@ -165,7 +167,7 @@ _populate_property_page (GtkWidget *page, const gchar *file) GtkWidget *tvw = NULL; GtkTreeIter iter; gchar *st = NULL; - PM_LIST *temp, *i; + PM_LIST *temp; GString *str = NULL; tvw = (gtk_container_get_children(GTK_CONTAINER(page)))->data; diff --git a/src/gfpm.c b/src/gfpm.c index ccf8262..50fa2d0 100644 --- a/src/gfpm.c +++ b/src/gfpm.c @@ -31,6 +31,7 @@ #include "gfpm-config.h" #include "gfpm-interface.h" #include "gfpm-messages.h" +#include "gfpm-prefs.h" #include "gfpm-db.h" #define UI_FILE "/share/gfpm/gfpm.glade" _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git