[evolution-rss] work around e_preferences_window modifications



commit 6b02bef5bf5ed5364c3affcc3f3b68e8676a3573
Author: Lucian Langa <lucilanga gnome org>
Date:   Sat Aug 21 15:24:53 2010 +0300

    work around e_preferences_window modifications

 TODO                     |    1 +
 src/rss-config-factory.c |   10 +++++++++-
 2 files changed, 10 insertions(+), 1 deletions(-)
---
diff --git a/TODO b/TODO
index e6f000a..646a61d 100644
--- a/TODO
+++ b/TODO
@@ -41,3 +41,4 @@
 	* check key->session big memleak ?
 	* markup fail perhaps in web auth dialog
 	* nice to add progressive downloading of images
+	* redraw browser window after submit ?
diff --git a/src/rss-config-factory.c b/src/rss-config-factory.c
index ffdd0dc..2182133 100644
--- a/src/rss-config-factory.c
+++ b/src/rss-config-factory.c
@@ -3549,7 +3549,11 @@ EvolutionConfigControl *
 #else
 GtkWidget *
 #endif
+#if EVOLUTION_VERSION >= 23106
+rss_config_control_new (EShell *shell);
+#else
 rss_config_control_new (void);
+#endif
 
 //kb//
 #if EVOLUTION_VERSION < 22900
@@ -3557,7 +3561,11 @@ EvolutionConfigControl *
 #else
 GtkWidget *
 #endif
+#if EVOLUTION_VERSION >= 23106
+rss_config_control_new (EShell *shell)
+#else
 rss_config_control_new (void)
+#endif
 {
 	GtkWidget *control_widget;
 	GtkWidget *button1, *button2, *button3;
@@ -3985,7 +3993,7 @@ init_rss_prefs(void)
 		"page-rss",
 		"rss",
 		_("News And Blogs"),
-		rss_config_control_new(),
+		rss_config_control_new,
 		800);
 }
 #endif



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