[evolution-rss] fix wrong variable in webkit session from later commits



commit 97ba3aa0b0bca57d25f3563c24ea2806822ae2c0
Author: Lucian Langa <lucilanga gnome org>
Date:   Mon Aug 17 17:46:47 2009 +0300

    fix wrong variable in webkit session from later commits

 src/rss.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/rss.c b/src/rss.c
index c9dfc8f..e1c0771 100644
--- a/src/rss.c
+++ b/src/rss.c
@@ -1435,7 +1435,7 @@ webkit_set_preferences(void)
 #endif
 #if (WEBKIT_VERSION >= 1001011)
 	WebKitWebSettings *settings;
-	settings = webkit_web_view_get_settings(WEBKIT_WEB_VIEW(webView));
+	settings = webkit_web_view_get_settings(WEBKIT_WEB_VIEW(rf->mozembed));
 	gchar *agstr = g_strdup_printf("Evolution/%s; Evolution-RSS/%s",
                         EVOLUTION_VERSION_STRING, VERSION);
 	g_object_set (settings, "user-agent", agstr,  NULL);



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