From 36b9f8d4a42617283e13fbc5dcc30afb64bbe942 Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Thu, 10 Jun 2010 17:52:16 +0530 Subject: use gdk_drag_context_get_action instead of gdk_drag_context_get_selected_action for gtk version 2.21.1 --- e-util/gtk-compat.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'e-util/gtk-compat.h') 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__ */ -- cgit v1.2.3