aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/gtk-compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/gtk-compat.h')
-rw-r--r--e-util/gtk-compat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/e-util/gtk-compat.h b/e-util/gtk-compat.h
index 635540bb3e..7d52d80c1f 100644
--- a/e-util/gtk-compat.h
+++ b/e-util/gtk-compat.h
@@ -19,4 +19,8 @@
(GTK_ACCESSIBLE (accessible)->widget)
#endif
+#if GTK_CHECK_VERSION (2,21,1)
+#define gdk_drag_context_get_selected_action(context) gdk_drag_context_get_action(context)
+#endif
+
#endif /* __GTK_COMPAT_H__ */