aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2010-06-10 20:22:16 +0800
committerChenthill Palanisamy <pchenthill@novell.com>2010-06-10 20:22:16 +0800
commit36b9f8d4a42617283e13fbc5dcc30afb64bbe942 (patch)
treeea9eed6added0fe3351dce33912b26d8e3f7973d /e-util
parent62fc79a149bb4a33bbaf3388c0776e44067b21fb (diff)
downloadgsoc2013-evolution-36b9f8d4a42617283e13fbc5dcc30afb64bbe942.tar.gz
gsoc2013-evolution-36b9f8d4a42617283e13fbc5dcc30afb64bbe942.tar.zst
gsoc2013-evolution-36b9f8d4a42617283e13fbc5dcc30afb64bbe942.zip
use gdk_drag_context_get_action instead of gdk_drag_context_get_selected_action for gtk version 2.21.1
Diffstat (limited to 'e-util')
-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__ */