[evolution-rss] fix web view resizing after last commit
- From: Lucian Langa <lucilanga src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-rss] fix web view resizing after last commit
- Date: Tue, 8 Jun 2010 16:34:21 +0000 (UTC)
commit 982a48888a01c0fb653901656b83d5956d947e96
Author: Lucian Langa <lucilanga gnome org>
Date: Tue Jun 8 19:34:12 2010 +0300
fix web view resizing after last commit
src/rss.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/src/rss.c b/src/rss.c
index 6122108..635f1d2 100644
--- a/src/rss.c
+++ b/src/rss.c
@@ -1084,7 +1084,7 @@ rss_browser_update_content (
NULL);
/*FIXME free fi*/
} else {
- g_print("cache read\n");
+ d("cache read\n");
fi->create = 0;
browser_stream_write(stream, po->website);
camel_stream_close(stream);
@@ -1642,9 +1642,6 @@ org_gnome_rss_browser (EMFormatHTML *efh, void *eb, EMFormatHTMLPObject *pobject
GtkAdjustment *adj;
gboolean online;
guint engine = fallback_engine();
-#if EVOLUTION_VERSION >= 23103
- EWebView *web_view;
-#endif
#ifdef HAVE_WEBKIT
if (engine == 1) {
@@ -1758,8 +1755,7 @@ org_gnome_rss_browser (EMFormatHTML *efh, void *eb, EMFormatHTMLPObject *pobject
rf->headers_mode = myf->mode;
#if EVOLUTION_VERSION >= 23103
- web_view = em_format_html_get_web_view (efh);
- po->html = gtk_widget_get_toplevel (GTK_WIDGET (web_view));
+ po->html = (GtkWidget *)em_format_html_get_web_view (efh);
#else
po->html = GTK_WIDGET(efh->html);
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]