/*
 * This file was generated automatically by ExtUtils::ParseXS version 3.28 from the
 * contents of GdkX11.xs. Do not edit this file, edit GdkX11.xs instead.
 *
 *    ANY CHANGES MADE HERE WILL BE LOST!
 *
 */

#line 1 "xs/GdkX11.xs"
/*
 * Copyright (c) 2003-2005, 2009 by the gtk2-perl team (see the file AUTHORS)
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public
 * License along with this library; if not, write to the 
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, 
 * Boston, MA  02111-1307  USA.
 *
 * $Id$
 */
#include "gtk2perl.h"
#ifdef GDK_WINDOWING_X11
# include <gdk/gdkx.h>
#endif /* GDK_WINDOWING_X11 */

/*
 * there is no typemap for Display*, Screen*, etc, and indeed no perl-side
 * functions to manipulate them, so they are out for the time being.
 *
 * XID/XWINDOW/XATOM is treated as UV.
 *
 * all XS blocks are wrapped in #ifdef GDK_WINDOWING_X11 to make sure this
 * stuff doesn't exist when wrapping gdk compiled for other backends.
 */

/* ------------------------------------------------------------------------- */

#line 48 "xs/GdkX11.c"
#ifndef PERL_UNUSED_VAR
#  define PERL_UNUSED_VAR(var) if (0) var = var
#endif

#ifndef dVAR
#  define dVAR		dNOOP
#endif


/* This stuff is not part of the API! You have been warned. */
#ifndef PERL_VERSION_DECIMAL
#  define PERL_VERSION_DECIMAL(r,v,s) (r*1000000 + v*1000 + s)
#endif
#ifndef PERL_DECIMAL_VERSION
#  define PERL_DECIMAL_VERSION \
	  PERL_VERSION_DECIMAL(PERL_REVISION,PERL_VERSION,PERL_SUBVERSION)
#endif
#ifndef PERL_VERSION_GE
#  define PERL_VERSION_GE(r,v,s) \
	  (PERL_DECIMAL_VERSION >= PERL_VERSION_DECIMAL(r,v,s))
#endif
#ifndef PERL_VERSION_LE
#  define PERL_VERSION_LE(r,v,s) \
	  (PERL_DECIMAL_VERSION <= PERL_VERSION_DECIMAL(r,v,s))
#endif

/* XS_INTERNAL is the explicit static-linkage variant of the default
 * XS macro.
 *
 * XS_EXTERNAL is the same as XS_INTERNAL except it does not include
 * "STATIC", ie. it exports XSUB symbols. You probably don't want that
 * for anything but the BOOT XSUB.
 *
 * See XSUB.h in core!
 */


/* TODO: This might be compatible further back than 5.10.0. */
#if PERL_VERSION_GE(5, 10, 0) && PERL_VERSION_LE(5, 15, 1)
#  undef XS_EXTERNAL
#  undef XS_INTERNAL
#  if defined(__CYGWIN__) && defined(USE_DYNAMIC_LOADING)
#    define XS_EXTERNAL(name) __declspec(dllexport) XSPROTO(name)
#    define XS_INTERNAL(name) STATIC XSPROTO(name)
#  endif
#  if defined(__SYMBIAN32__)
#    define XS_EXTERNAL(name) EXPORT_C XSPROTO(name)
#    define XS_INTERNAL(name) EXPORT_C STATIC XSPROTO(name)
#  endif
#  ifndef XS_EXTERNAL
#    if defined(HASATTRIBUTE_UNUSED) && !defined(__cplusplus)
#      define XS_EXTERNAL(name) void name(pTHX_ CV* cv __attribute__unused__)
#      define XS_INTERNAL(name) STATIC void name(pTHX_ CV* cv __attribute__unused__)
#    else
#      ifdef __cplusplus
#        define XS_EXTERNAL(name) extern "C" XSPROTO(name)
#        define XS_INTERNAL(name) static XSPROTO(name)
#      else
#        define XS_EXTERNAL(name) XSPROTO(name)
#        define XS_INTERNAL(name) STATIC XSPROTO(name)
#      endif
#    endif
#  endif
#endif

/* perl >= 5.10.0 && perl <= 5.15.1 */


/* The XS_EXTERNAL macro is used for functions that must not be static
 * like the boot XSUB of a module. If perl didn't have an XS_EXTERNAL
 * macro defined, the best we can do is assume XS is the same.
 * Dito for XS_INTERNAL.
 */
#ifndef XS_EXTERNAL
#  define XS_EXTERNAL(name) XS(name)
#endif
#ifndef XS_INTERNAL
#  define XS_INTERNAL(name) XS(name)
#endif

/* Now, finally, after all this mess, we want an ExtUtils::ParseXS
 * internal macro that we're free to redefine for varying linkage due
 * to the EXPORT_XSUB_SYMBOLS XS keyword. This is internal, use
 * XS_EXTERNAL(name) or XS_INTERNAL(name) in your code if you need to!
 */

#undef XS_EUPXS
#if defined(PERL_EUPXS_ALWAYS_EXPORT)
#  define XS_EUPXS(name) XS_EXTERNAL(name)
#else
   /* default to internal */
#  define XS_EUPXS(name) XS_INTERNAL(name)
#endif

#ifndef PERL_ARGS_ASSERT_CROAK_XS_USAGE
#define PERL_ARGS_ASSERT_CROAK_XS_USAGE assert(cv); assert(params)

/* prototype to pass -Wmissing-prototypes */
STATIC void
S_croak_xs_usage(const CV *const cv, const char *const params);

STATIC void
S_croak_xs_usage(const CV *const cv, const char *const params)
{
    const GV *const gv = CvGV(cv);

    PERL_ARGS_ASSERT_CROAK_XS_USAGE;

    if (gv) {
        const char *const gvname = GvNAME(gv);
        const HV *const stash = GvSTASH(gv);
        const char *const hvname = stash ? HvNAME(stash) : NULL;

        if (hvname)
	    Perl_croak_nocontext("Usage: %s::%s(%s)", hvname, gvname, params);
        else
	    Perl_croak_nocontext("Usage: %s(%s)", gvname, params);
    } else {
        /* Pants. I don't think that it should be possible to get here. */
	Perl_croak_nocontext("Usage: CODE(0x%"UVxf")(%s)", PTR2UV(cv), params);
    }
}
#undef  PERL_ARGS_ASSERT_CROAK_XS_USAGE

#define croak_xs_usage        S_croak_xs_usage

#endif

/* NOTE: the prototype of newXSproto() is different in versions of perls,
 * so we define a portable version of newXSproto()
 */
#ifdef newXS_flags
#define newXSproto_portable(name, c_impl, file, proto) newXS_flags(name, c_impl, file, proto, 0)
#else
#define newXSproto_portable(name, c_impl, file, proto) (PL_Sv=(SV*)newXS(name, c_impl, file), sv_setpv(PL_Sv, proto), (CV*)PL_Sv)
#endif /* !defined(newXS_flags) */

#if PERL_VERSION_LE(5, 21, 5)
#  define newXS_deffile(a,b) Perl_newXS(aTHX_ a,b,file)
#else
#  define newXS_deffile(a,b) Perl_newXS_deffile(aTHX_ a,b)
#endif

#line 192 "xs/GdkX11.c"
#ifdef GDK_WINDOWING_X11
#define XSubPPtmpAAAA 1


XS_EUPXS(XS_Gtk2__Gdk__Drawable_get_xid); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Gdk__Drawable_get_xid)
{
    dVAR; dXSARGS;
    dXSI32;
    if (items != 1)
       croak_xs_usage(cv,  "drawable");
    {
	UV	RETVAL;
	dXSTARG;
	GdkDrawable *	drawable = SvGdkDrawable (ST(0))
;

	RETVAL = gdk_x11_drawable_get_xid(drawable);
	XSprePUSH; PUSHu((UV)RETVAL);
#line 53 "xs/GdkX11.xs"
	PERL_UNUSED_VAR (ix);
#line 214 "xs/GdkX11.c"
    }
    XSRETURN(1);
}

#endif /* GDK_WINDOWING_X11 */
#ifdef GDK_WINDOWING_X11
#define XSubPPtmpAAAB 1


XS_EUPXS(XS_Gtk2__Gdk__X11_get_server_time); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Gdk__X11_get_server_time)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "class, window");
    {
	guint32	RETVAL;
	dXSTARG;
	GdkWindow *	window = SvGdkWindow (ST(1))
;

	RETVAL = gdk_x11_get_server_time(window);
	XSprePUSH; PUSHu((UV)RETVAL);
    }
    XSRETURN(1);
}

#ifndef GDK_MULTIHEAD_SAFE
#define XSubPPtmpAAAC 1


XS_EUPXS(XS_Gtk2__Gdk__X11_net_wm_supports); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Gdk__X11_net_wm_supports)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "class, property");
    {
	gboolean	RETVAL;
	GdkAtom	property = SvGdkAtom (ST(1))
;
#line 73 "xs/GdkX11.xs"
	RETVAL = gdk_net_wm_supports (property);
#line 258 "xs/GdkX11.c"
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gtk2__Gdk__X11_grab_server); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Gdk__X11_grab_server)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "class");
    {

	gdk_x11_grab_server(/* void */);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gtk2__Gdk__X11_ungrab_server); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Gdk__X11_ungrab_server)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "class");
    {

	gdk_x11_ungrab_server(/* void */);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gtk2__Gdk__X11_get_default_screen); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Gdk__X11_get_default_screen)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "class");
    {
	gint	RETVAL;
	dXSTARG;

	RETVAL = gdk_x11_get_default_screen(/* void */);
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}

#endif /* GDK_MULTIHEAD_SAFE */
#endif /* GDK_WINDOWING_X11 */
#if defined(GDK_WINDOWING_X11) && defined(GDK_TYPE_DISPLAY)
#define XSubPPtmpAAAD 1


XS_EUPXS(XS_Gtk2__Gdk__Display_grab); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Gdk__Display_grab)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "display");
    {
	GdkDisplay *	display = SvGdkDisplay (ST(0))
;

	gdk_x11_display_grab(display);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gtk2__Gdk__Display_ungrab); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Gdk__Display_ungrab)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "display");
    {
	GdkDisplay *	display = SvGdkDisplay (ST(0))
;

	gdk_x11_display_ungrab(display);
    }
    XSRETURN_EMPTY;
}

#if GTK_CHECK_VERSION (2, 4, 0)
#define XSubPPtmpAAAE 1


XS_EUPXS(XS_Gtk2__Gdk__Display_register_standard_event_type); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Gdk__Display_register_standard_event_type)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "display, event_base, n_events");
    {
	GdkDisplay *	display = SvGdkDisplay (ST(0))
;
	gint	event_base = (gint)SvIV(ST(1))
;
	gint	n_events = (gint)SvIV(ST(2))
;
#line 119 "xs/GdkX11.xs"
	gdk_x11_register_standard_event_type (display, event_base, n_events);
#line 365 "xs/GdkX11.c"
    }
    XSRETURN_EMPTY;
}

#endif /* 2.4.0 */
#if GTK_CHECK_VERSION (2, 8, 0)
#define XSubPPtmpAAAF 1


XS_EUPXS(XS_Gtk2__Gdk__Display_set_cursor_theme); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Gdk__Display_set_cursor_theme)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "display, theme, size");
    {
	GdkDisplay *	display = SvGdkDisplay (ST(0))
;
	const gchar *	theme;
	gint	size = (gint)SvIV(ST(2))
;

	/* same as SvGChar(), but not in a function */
	sv_utf8_upgrade (ST(1));
	theme = (const gchar *)SvPV_nolen (ST(1))
;

	gdk_x11_display_set_cursor_theme(display, theme, size);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gtk2__Gdk__Display_get_user_time); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Gdk__Display_get_user_time)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "display");
    {
	guint32	RETVAL;
	dXSTARG;
	GdkDisplay *	display = SvGdkDisplay (ST(0))
;

	RETVAL = gdk_x11_display_get_user_time(display);
	XSprePUSH; PUSHu((UV)RETVAL);
    }
    XSRETURN(1);
}

#endif /* 2.8.0 */
#if GTK_CHECK_VERSION (2, 12, 0)
#define XSubPPtmpAAAG 1


XS_EUPXS(XS_Gtk2__Gdk__Display_get_startup_notification_id); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Gdk__Display_get_startup_notification_id)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "display");
    {
	const gchar *	RETVAL;
	GdkDisplay *	display = SvGdkDisplay (ST(0))
;

	RETVAL = gdk_x11_display_get_startup_notification_id(display);
	{
	    SV * RETVALSV;
	    RETVALSV = sv_newmortal();
	    /* same as newSVGChar(), but not in a function */
	    sv_setpv ((SV*)RETVALSV, RETVAL);
	    SvUTF8_on (RETVALSV);
	    ST(0) = RETVALSV;
	}
    }
    XSRETURN(1);
}

#endif
#endif /* GDK_WINDOWING_X11, GDK_TYPE_DISPLAY */
#ifdef GDK_WINDOWING_X11
#if GTK_CHECK_VERSION (2, 6, 0)
#define XSubPPtmpAAAH 1


XS_EUPXS(XS_Gtk2__Gdk__Window_set_user_time); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Gdk__Window_set_user_time)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "window, timestamp");
    {
	GdkWindow *	window = SvGdkWindow (ST(0))
;
	guint32	timestamp = (guint32)SvUV(ST(1))
;

	gdk_x11_window_set_user_time(window, timestamp);
    }
    XSRETURN_EMPTY;
}

#endif /* 2.6.0 */
#if GTK_CHECK_VERSION (2, 8, 0)
#define XSubPPtmpAAAI 1


XS_EUPXS(XS_Gtk2__Gdk__Window_move_to_current_desktop); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Gdk__Window_move_to_current_desktop)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	GdkWindow *	window = SvGdkWindow (ST(0))
;

	gdk_x11_window_move_to_current_desktop(window);
    }
    XSRETURN_EMPTY;
}

#endif /* 2.8.0 */
#endif /* GDK_WINDOWING_X11 */
#ifdef GDK_WINDOWING_X11
#if GTK_CHECK_VERSION (2, 2, 0)
#define XSubPPtmpAAAJ 1


XS_EUPXS(XS_Gtk2__Gdk__Screen_get_screen_number); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Gdk__Screen_get_screen_number)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "screen");
    {
	int	RETVAL;
	dXSTARG;
	GdkScreen *	screen = SvGdkScreen (ST(0))
;

	RETVAL = gdk_x11_screen_get_screen_number(screen);
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gtk2__Gdk__Screen_get_window_manager_name); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Gdk__Screen_get_window_manager_name)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "screen");
    {
	const char *	RETVAL;
	dXSTARG;
	GdkScreen *	screen = SvGdkScreen (ST(0))
;

	RETVAL = gdk_x11_screen_get_window_manager_name(screen);
	sv_setpv(TARG, RETVAL); XSprePUSH; PUSHTARG;
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gtk2__Gdk__Screen_supports_net_wm_hint); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Gdk__Screen_supports_net_wm_hint)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "screen, property");
    {
	gboolean	RETVAL;
	GdkScreen *	screen = SvGdkScreen (ST(0))
;
	GdkAtom	property = SvGdkAtom (ST(1))
;

	RETVAL = gdk_x11_screen_supports_net_wm_hint(screen, property);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}

#endif /* 2.2.0 */
#if GTK_CHECK_VERSION (2, 14, 0)
#define XSubPPtmpAAAK 1


XS_EUPXS(XS_Gtk2__Gdk__Screen_get_monitor_output); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Gdk__Screen_get_monitor_output)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "screen, monitor_num");
    {
	UV	RETVAL;
	dXSTARG;
	GdkScreen *	screen = SvGdkScreen (ST(0))
;
	gint	monitor_num = (gint)SvIV(ST(1))
;

	RETVAL = gdk_x11_screen_get_monitor_output(screen, monitor_num);
	XSprePUSH; PUSHu((UV)RETVAL);
    }
    XSRETURN(1);
}

#endif /* 2.14.0 */
#endif /* GDK_WINDOWING_X11 */
#ifdef GDK_WINDOWING_X11
#if GTK_CHECK_VERSION (2, 2, 0)
#define XSubPPtmpAAAL 1


XS_EUPXS(XS_Gtk2__Gdk__Atom_to_xatom_for_display); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Gdk__Atom_to_xatom_for_display)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "atom, display");
    {
	UV	RETVAL;
	dXSTARG;
	GdkAtom	atom = SvGdkAtom (ST(0))
;
	GdkDisplay *	display = SvGdkDisplay (ST(1))
;
#line 199 "xs/GdkX11.xs"
	RETVAL = gdk_x11_atom_to_xatom_for_display(display, atom);
#line 601 "xs/GdkX11.c"
	XSprePUSH; PUSHu((UV)RETVAL);
    }
    XSRETURN(1);
}

#endif /* 2.2.0 */
#ifndef GDK_MULTIHEAD_SAFE
#define XSubPPtmpAAAM 1


XS_EUPXS(XS_Gtk2__Gdk__Atom_to_xatom); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Gdk__Atom_to_xatom)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "atom");
    {
	UV	RETVAL;
	dXSTARG;
	GdkAtom	atom = SvGdkAtom (ST(0))
;

	RETVAL = gdk_x11_atom_to_xatom(atom);
	XSprePUSH; PUSHu((UV)RETVAL);
    }
    XSRETURN(1);
}

#endif /* GDK_MULTIHEAD_SAFE */
#endif /* GDK_WINDOWING_X11 */
#ifdef __cplusplus
extern "C"
#endif
XS_EXTERNAL(boot_Gtk2__Gdk__X11); /* prototype to pass -Wmissing-prototypes */
XS_EXTERNAL(boot_Gtk2__Gdk__X11)
{
#if PERL_VERSION_LE(5, 21, 5)
    dVAR; dXSARGS;
#else
    dVAR; dXSBOOTARGSXSAPIVERCHK;
#endif
#if (PERL_REVISION == 5 && PERL_VERSION < 9)
    char* file = __FILE__;
#else
    const char* file = __FILE__;
#endif

    PERL_UNUSED_VAR(file);

    PERL_UNUSED_VAR(cv); /* -W */
    PERL_UNUSED_VAR(items); /* -W */
#if PERL_VERSION_LE(5, 21, 5)
    XS_VERSION_BOOTCHECK;
#  ifdef XS_APIVERSION_BOOTCHECK
    XS_APIVERSION_BOOTCHECK;
#  endif
#endif

#if XSubPPtmpAAAA
        cv = newXS_deffile("Gtk2::Gdk::Drawable::XID", XS_Gtk2__Gdk__Drawable_get_xid);
        XSANY.any_i32 = 1;
        cv = newXS_deffile("Gtk2::Gdk::Drawable::XWINDOW", XS_Gtk2__Gdk__Drawable_get_xid);
        XSANY.any_i32 = 2;
        cv = newXS_deffile("Gtk2::Gdk::Drawable::get_xid", XS_Gtk2__Gdk__Drawable_get_xid);
        XSANY.any_i32 = 0;
#endif
#if XSubPPtmpAAAB
        newXS_deffile("Gtk2::Gdk::X11::get_server_time", XS_Gtk2__Gdk__X11_get_server_time);
#if XSubPPtmpAAAC
        newXS_deffile("Gtk2::Gdk::X11::net_wm_supports", XS_Gtk2__Gdk__X11_net_wm_supports);
        newXS_deffile("Gtk2::Gdk::X11::grab_server", XS_Gtk2__Gdk__X11_grab_server);
        newXS_deffile("Gtk2::Gdk::X11::ungrab_server", XS_Gtk2__Gdk__X11_ungrab_server);
        newXS_deffile("Gtk2::Gdk::X11::get_default_screen", XS_Gtk2__Gdk__X11_get_default_screen);
#endif
#endif
#if XSubPPtmpAAAD
        newXS_deffile("Gtk2::Gdk::Display::grab", XS_Gtk2__Gdk__Display_grab);
        newXS_deffile("Gtk2::Gdk::Display::ungrab", XS_Gtk2__Gdk__Display_ungrab);
#if XSubPPtmpAAAE
        newXS_deffile("Gtk2::Gdk::Display::register_standard_event_type", XS_Gtk2__Gdk__Display_register_standard_event_type);
#endif
#if XSubPPtmpAAAF
        newXS_deffile("Gtk2::Gdk::Display::set_cursor_theme", XS_Gtk2__Gdk__Display_set_cursor_theme);
        newXS_deffile("Gtk2::Gdk::Display::get_user_time", XS_Gtk2__Gdk__Display_get_user_time);
#endif
#if XSubPPtmpAAAG
        newXS_deffile("Gtk2::Gdk::Display::get_startup_notification_id", XS_Gtk2__Gdk__Display_get_startup_notification_id);
#endif
#endif
#if XSubPPtmpAAAH
        newXS_deffile("Gtk2::Gdk::Window::set_user_time", XS_Gtk2__Gdk__Window_set_user_time);
#endif
#if XSubPPtmpAAAI
        newXS_deffile("Gtk2::Gdk::Window::move_to_current_desktop", XS_Gtk2__Gdk__Window_move_to_current_desktop);
#endif
#if XSubPPtmpAAAJ
        newXS_deffile("Gtk2::Gdk::Screen::get_screen_number", XS_Gtk2__Gdk__Screen_get_screen_number);
        newXS_deffile("Gtk2::Gdk::Screen::get_window_manager_name", XS_Gtk2__Gdk__Screen_get_window_manager_name);
        newXS_deffile("Gtk2::Gdk::Screen::supports_net_wm_hint", XS_Gtk2__Gdk__Screen_supports_net_wm_hint);
#endif
#if XSubPPtmpAAAK
        newXS_deffile("Gtk2::Gdk::Screen::get_monitor_output", XS_Gtk2__Gdk__Screen_get_monitor_output);
#endif
#if XSubPPtmpAAAL
        newXS_deffile("Gtk2::Gdk::Atom::to_xatom_for_display", XS_Gtk2__Gdk__Atom_to_xatom_for_display);
#endif
#if XSubPPtmpAAAM
        newXS_deffile("Gtk2::Gdk::Atom::to_xatom", XS_Gtk2__Gdk__Atom_to_xatom);
#endif

    /* Initialisation Section */

#if XSubPPtmpAAAA
#endif
#if XSubPPtmpAAAB
#if XSubPPtmpAAAC
#endif
#endif
#if XSubPPtmpAAAD
#if XSubPPtmpAAAE
#endif
#if XSubPPtmpAAAF
#endif
#if XSubPPtmpAAAG
#endif
#endif
#if XSubPPtmpAAAH
#endif
#if XSubPPtmpAAAI
#endif
#if XSubPPtmpAAAJ
#endif
#if XSubPPtmpAAAK
#endif
#if XSubPPtmpAAAL
#endif
#if XSubPPtmpAAAM
#endif
#line 740 "xs/GdkX11.c"

    /* End of Initialisation Section */

#if PERL_VERSION_LE(5, 21, 5)
#  if PERL_VERSION_GE(5, 9, 0)
    if (PL_unitcheckav)
        call_list(PL_scopestack_ix, PL_unitcheckav);
#  endif
    XSRETURN_YES;
#else
    Perl_xs_boot_epilog(aTHX_ ax);
#endif
}

