[gnome-applets] Fix my stupid mistake in the last commit



commit 57fa3cc55269b2ed0df2c3c6ad4aad7f84fe42e1
Author: Andre Klapper <a9016009 gmx de>
Date:   Thu Apr 8 02:08:22 2010 +0200

    Fix my stupid mistake in the last commit

 charpick/charpick.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/charpick/charpick.c b/charpick/charpick.c
index ad16a58..9fa2286 100644
--- a/charpick/charpick.c
+++ b/charpick/charpick.c
@@ -370,9 +370,9 @@ static void
 chooser_button_clicked (GtkButton *button, charpick_data *curr_data)
 {
 #if GTK_CHECK_VERSION(2,18,0)
-	if (GTK_WIDGET_VISIBLE (curr_data->menu))
-#else
 	if (gtk_widget_get_visible (curr_data->menu))
+#else
+	if (GTK_WIDGET_VISIBLE (curr_data->menu))
 #endif
 		gtk_menu_popdown (GTK_MENU (curr_data->menu));
 	else {



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