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 GDKVISUAL_WRAPPER_H michael@0: #define GDKVISUAL_WRAPPER_H michael@0: michael@0: #define gdk_visual_get_depth gdk_visual_get_depth_ michael@0: #include_next michael@0: #undef gdk_visual_get_depth michael@0: michael@0: static inline gint michael@0: gdk_visual_get_depth(GdkVisual *visual) michael@0: { michael@0: return visual->depth; michael@0: } michael@0: #endif /* GDKVISUAL_WRAPPER_H */