[evolution] use gdk_drag_context_get_action instead of gdk_drag_context_get_selected_action for gtk version 2.21
- From: Chenthill Palanisamy <pchen src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] use gdk_drag_context_get_action instead of gdk_drag_context_get_selected_action for gtk version 2.21
- Date: Thu, 10 Jun 2010 12:25:23 +0000 (UTC)
commit 36b9f8d4a42617283e13fbc5dcc30afb64bbe942
Author: Chenthill Palanisamy <pchenthill novell com>
Date: Thu Jun 10 17:52:16 2010 +0530
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 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/e-util/gtk-compat.h b/e-util/gtk-compat.h
index 635540b..7d52d80 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__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]