[epiphany] ephy-statusbar: fix GTK+ version check, it was reversed



commit 5b4ee4a896f8bc8507461db10b05ddae9b084047
Author: Xan Lopez <xan gnome org>
Date:   Wed Dec 16 15:35:10 2009 +0100

    ephy-statusbar: fix GTK+ version check, it was reversed

 src/ephy-statusbar.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ephy-statusbar.c b/src/ephy-statusbar.c
index b60c72e..dfcd85b 100644
--- a/src/ephy-statusbar.c
+++ b/src/ephy-statusbar.c
@@ -162,9 +162,9 @@ ephy_statusbar_init (EphyStatusbar *t)
 	gtk_statusbar_set_has_resize_grip (gstatusbar, TRUE);
 
 #if GTK_CHECK_VERSION (2, 19, 1)
-	priv->hbox = gtk_hbox_new (FALSE, 4);
-#else
 	priv->hbox = gtk_statusbar_get_message_area (gstatusbar);
+#else
+	priv->hbox = gtk_hbox_new (FALSE, 4);
 #endif
 	priv->icon_container = gtk_hbox_new (FALSE, 4);
 	gtk_box_pack_start (GTK_BOX (priv->hbox), priv->icon_container,



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