diff options
author | Chenthill Palanisamy <pchenthill@novell.com> | 2010-06-10 20:22:16 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchenthill@novell.com> | 2010-06-10 20:22:16 +0800 |
commit | 36b9f8d4a42617283e13fbc5dcc30afb64bbe942 (patch) | |
tree | ea9eed6added0fe3351dce33912b26d8e3f7973d | |
parent | 62fc79a149bb4a33bbaf3388c0776e44067b21fb (diff) | |
download | gsoc2013-evolution-36b9f8d4a42617283e13fbc5dcc30afb64bbe942.tar gsoc2013-evolution-36b9f8d4a42617283e13fbc5dcc30afb64bbe942.tar.gz gsoc2013-evolution-36b9f8d4a42617283e13fbc5dcc30afb64bbe942.tar.bz2 gsoc2013-evolution-36b9f8d4a42617283e13fbc5dcc30afb64bbe942.tar.lz gsoc2013-evolution-36b9f8d4a42617283e13fbc5dcc30afb64bbe942.tar.xz 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
-rw-r--r-- | 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 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__ */ |