[evolution-rss] fix compiler warnings



commit 1aa7ada18ea148409c60cef2b6c442191f1cfd86
Author: Lucian Langa <lucilanga gnome org>
Date:   Thu Sep 2 10:03:11 2010 +0300

    fix compiler warnings

 src/parser.c             |    2 +-
 src/rss-config-factory.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/parser.c b/src/parser.c
index 57de9e2..76d87f6 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -706,7 +706,7 @@ tree_walk (xmlNodePtr root, RDF *r)
 {
 	xmlNodePtr walk;
 	xmlNodePtr rewalk = root;
-	xmlNodePtr channel = NULL, image = NULL, link = NULL;
+	xmlNodePtr channel = NULL, image = NULL;
 	GArray *item = g_array_new (TRUE, TRUE, sizeof (xmlNodePtr));
 	gchar *t;
 	gchar *charset;
diff --git a/src/rss-config-factory.c b/src/rss-config-factory.c
index 2182133..3e75df6 100644
--- a/src/rss-config-factory.c
+++ b/src/rss-config-factory.c
@@ -3993,7 +3993,7 @@ init_rss_prefs(void)
 		"page-rss",
 		"rss",
 		_("News And Blogs"),
-		rss_config_control_new,
+		(EPreferencesWindowCreatePageFn)rss_config_control_new,
 		800);
 }
 #endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]