[ekiga] Fix GTK version checks (see bug 621634 comment 4)



commit 3275ab995a7a8745d856cc39f8bda9aaf0995384
Author: Andre Klapper <a9016009 gmx de>
Date:   Wed Jun 16 11:48:19 2010 +0200

    Fix GTK version checks (see bug 621634 comment 4)

 lib/gui/gmmenuaddon.c |    2 +-
 lib/gui/gmstatusbar.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lib/gui/gmmenuaddon.c b/lib/gui/gmmenuaddon.c
index 1511e2f..b6aa64c 100644
--- a/lib/gui/gmmenuaddon.c
+++ b/lib/gui/gmmenuaddon.c
@@ -139,7 +139,7 @@ menu_item_selected (GtkWidget *w,
     }
     else {
 
-#if GTK_CHECK_VERSION (2, 22, 0)
+#if GTK_CHECK_VERSION (2, 21, 2)
       gtk_statusbar_remove_all (GTK_STATUSBAR (statusbar), id);
 #else
       len = g_slist_length ((GSList *) (GTK_STATUSBAR (statusbar)->messages));
diff --git a/lib/gui/gmstatusbar.c b/lib/gui/gmstatusbar.c
index ae87fe5..240f6fa 100644
--- a/lib/gui/gmstatusbar.c
+++ b/lib/gui/gmstatusbar.c
@@ -115,7 +115,7 @@ gm_sb_push_message (GmStatusbar *sb,
   else
     id = gtk_statusbar_get_context_id (GTK_STATUSBAR (sb), "statusbar");
 
-#if GTK_CHECK_VERSION (2, 22, 0)
+#if GTK_CHECK_VERSION (2, 21, 2)
   gtk_statusbar_remove_all (GTK_STATUSBAR (sb), id);
 #else
   len = g_slist_length ((GSList *) (GTK_STATUSBAR (sb)->messages));



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