aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/gtk-compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/e-util/gtk-compat.h b/e-util/gtk-compat.h
index 7d52d80c1f..2b96d9c4b2 100644
--- a/e-util/gtk-compat.h
+++ b/e-util/gtk-compat.h
@@ -19,7 +19,7 @@
(GTK_ACCESSIBLE (accessible)->widget)
#endif
-#if GTK_CHECK_VERSION (2,21,1)
+#if GTK_MAJOR_VERSION == 2 && GTK_MINOR_VERSION == 21 && GTK_MICRO_VERSION == 1
#define gdk_drag_context_get_selected_action(context) gdk_drag_context_get_action(context)
#endif