1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/widget/gtk/compat/gdk/gdkx.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,25 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +#ifndef GDKX_WRAPPER_H 1.9 +#define GDKX_WRAPPER_H 1.10 + 1.11 +#define gdk_x11_window_lookup_for_display gdk_x11_window_lookup_for_display_ 1.12 +#define gdk_x11_window_get_xid gdk_x11_window_get_xid_ 1.13 +#include_next <gdk/gdkx.h> 1.14 +#undef gdk_x11_window_lookup_for_display 1.15 +#undef gdk_x11_window_get_xid 1.16 + 1.17 +static inline GdkWindow * 1.18 +gdk_x11_window_lookup_for_display(GdkDisplay *display, Window window) 1.19 +{ 1.20 + return gdk_window_lookup_for_display(display, window); 1.21 +} 1.22 + 1.23 +static inline Window 1.24 +gdk_x11_window_get_xid(GdkWindow *window) 1.25 +{ 1.26 + return(GDK_WINDOW_XWINDOW(window)); 1.27 +} 1.28 +#endif /* GDKX_WRAPPER_H */