[evolution-data-server] use gdk_drag_context_get_action instead of gdk_drag_context_get_selected_action for gtk version 2.21



commit db63b52be6a711efb27e33fedb67056c494410f9
Author: Chenthill Palanisamy <pchenthill novell com>
Date:   Thu Jun 10 17:51:55 2010 +0530

    use gdk_drag_context_get_action instead of gdk_drag_context_get_selected_action for gtk version 2.21.1

 libedataserverui/gtk-compat.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/libedataserverui/gtk-compat.h b/libedataserverui/gtk-compat.h
index 109ced3..d2fba05 100644
--- a/libedataserverui/gtk-compat.h
+++ b/libedataserverui/gtk-compat.h
@@ -17,4 +17,8 @@
 
 #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__ */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]