From 805ef85ea6dc4a4f679853f0e0b31b673f3015a3 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 25 Jul 2011 01:38:11 +0000 Subject: [PATCH] Fix typo, get rid of #if no longer necessary with the typo fixed. svn path=/trunk/; revision=38195 --- gtk/main.c | 4 ---- gtk/old-gtk-compat.h | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/gtk/main.c b/gtk/main.c index c34240c6fc..3934745866 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -3439,11 +3439,7 @@ is_widget_visible(GtkWidget *widget, gpointer data) gboolean *is_visible = data; if (!*is_visible) { -#if GTK_CHECK_VERSION(2,18,0) if (gtk_widget_get_visible(widget)) -#else - if (GTK_WIDGET_VISIBLE(widget)) { -#endif *is_visible = TRUE; } } diff --git a/gtk/old-gtk-compat.h b/gtk/old-gtk-compat.h index 4a4577c766..1f0955cef4 100644 --- a/gtk/old-gtk-compat.h +++ b/gtk/old-gtk-compat.h @@ -47,7 +47,7 @@ #endif #if !GTK_CHECK_VERSION (2, 18, 0) -# define gtk_widget_getvisible(x) GTK_WIDGET_VISIBLE(x) +# define gtk_widget_get_visible(x) GTK_WIDGET_VISIBLE(x) #endif #if !GTK_CHECK_VERSION (2, 20, 0)