michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef GDKDND_WRAPPER_H michael@0: #define GDKDND_WRAPPER_H michael@0: michael@0: #define gdk_drag_context_get_actions gdk_drag_context_get_actions_ michael@0: #define gdk_drag_context_list_targets gdk_drag_context_list_targets_ michael@0: #define gdk_drag_context_get_dest_window gdk_drag_context_get_dest_window_ michael@0: #include_next michael@0: #undef gdk_drag_context_get_actions michael@0: #undef gdk_drag_context_list_targets michael@0: #undef gdk_drag_context_get_dest_window michael@0: michael@0: static inline GdkDragAction michael@0: gdk_drag_context_get_actions(GdkDragContext *context) michael@0: { michael@0: return context->actions; michael@0: } michael@0: michael@0: static inline GList * michael@0: gdk_drag_context_list_targets(GdkDragContext *context) michael@0: { michael@0: return context->targets; michael@0: } michael@0: michael@0: static inline GdkWindow * michael@0: gdk_drag_context_get_dest_window(GdkDragContext *context) michael@0: { michael@0: return context->dest_window; michael@0: } michael@0: #endif /* GDKDND_WRAPPER_H */