forked from osmocom/wireshark
Fix typo, get rid of #if no longer necessary with the typo fixed.
svn path=/trunk/; revision=38195
This commit is contained in:
parent
1dac375416
commit
805ef85ea6
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue