[evolution-rss] cleanup previous commit errors



commit c9229fdb916c41299115511addd971ce6736ae20
Author: Lucian Langa <lucilanga gnome org>
Date:   Sat Mar 27 12:39:47 2010 +0200

    cleanup previous commit errors

 src/rss.c |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/src/rss.c b/src/rss.c
index 0e26278..bcaaf6e 100644
--- a/src/rss.c
+++ b/src/rss.c
@@ -1475,7 +1475,13 @@ rss_browser_set_size (GtkAdjustment *adj, gpointer data)
 	GtkAllocation alloc;
 	guint width, height;
 	guint diff;
-	if (moz && gtk_widget_get_realized(moz)) {
+	if (moz
+#if GTK_VERSION >= 2019007
+			&& gtk_widget_get_realized(moz)
+#else
+			&& GTK_WIDGET_REALIZED(moz)
+#endif
+		) {
 	gtk_widget_get_allocation(moz, &alloc);
 	width = alloc.width;
 	height = alloc.height;
@@ -1488,7 +1494,7 @@ rss_browser_set_size (GtkAdjustment *adj, gpointer data)
 			moz,
 			width, height);
 	} else {
-		if (resiz_page != 0) {
+		if (resize_pane_size != 0) {
 			height = resize_browser_size + 
 				(int)(adj->page_size -
 				resize_pane_size);



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