Fix typo, get rid of #if no longer necessary with the typo fixed.

svn path=/trunk/; revision=38195
This commit is contained in:
Guy Harris 2011-07-25 01:38:11 +00:00
parent 1dac375416
commit 805ef85ea6
2 changed files with 1 additions and 5 deletions

View File

@ -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;
}
}

View File

@ -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)