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

#line 1 "xs/WnckWindow.xs"
/*
 * Copyright (C) 2003-2004 by the gtk2-perl team
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, see
 * <https://www.gnu.org/licenses/>.
 *
 * $Id$
 */

#include "wnck2perl.h"

#line 33 "xs/WnckWindow.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 177 "xs/WnckWindow.c"

XS_EUPXS(XS_Gnome2__Wnck__Window_get); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_get)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "class, xwindow");
    {
	gulong	xwindow = (gulong)SvUV(ST(1))
;
	WnckWindow *	RETVAL;

	RETVAL = wnck_window_get(xwindow);
	{
	    SV * RETVALSV;
	    RETVALSV = newSVWnckWindow (RETVAL);
	    RETVALSV = sv_2mortal(RETVALSV);
	    ST(0) = RETVALSV;
	}
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_get_screen); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_get_screen)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	WnckScreen *	RETVAL;

	RETVAL = wnck_window_get_screen(window);
	{
	    SV * RETVALSV;
	    RETVALSV = newSVWnckScreen (RETVAL);
	    RETVALSV = sv_2mortal(RETVALSV);
	    ST(0) = RETVALSV;
	}
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_get_name); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_get_name)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	const char *	RETVAL;
	dXSTARG;

	RETVAL = wnck_window_get_name(window);
	sv_setpv(TARG, RETVAL); XSprePUSH; PUSHTARG;
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_get_icon_name); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_get_icon_name)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	const char *	RETVAL;
	dXSTARG;

	RETVAL = wnck_window_get_icon_name(window);
	sv_setpv(TARG, RETVAL); XSprePUSH; PUSHTARG;
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_get_application); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_get_application)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	WnckApplication *	RETVAL;

	RETVAL = wnck_window_get_application(window);
	{
	    SV * RETVALSV;
	    RETVALSV = newSVWnckApplication (RETVAL);
	    RETVALSV = sv_2mortal(RETVALSV);
	    ST(0) = RETVALSV;
	}
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_get_group_leader); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_get_group_leader)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	gulong	RETVAL;
	dXSTARG;

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


XS_EUPXS(XS_Gnome2__Wnck__Window_get_xid); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_get_xid)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	gulong	RETVAL;
	dXSTARG;

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


XS_EUPXS(XS_Gnome2__Wnck__Window_get_session_id); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_get_session_id)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	const char *	RETVAL;
	dXSTARG;

	RETVAL = wnck_window_get_session_id(window);
	sv_setpv(TARG, RETVAL); XSprePUSH; PUSHTARG;
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_get_session_id_utf8); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_get_session_id_utf8)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	const char *	RETVAL;
	dXSTARG;

	RETVAL = wnck_window_get_session_id_utf8(window);
	sv_setpv(TARG, RETVAL); XSprePUSH; PUSHTARG;
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_get_pid); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_get_pid)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	int	RETVAL;
	dXSTARG;

	RETVAL = wnck_window_get_pid(window);
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_is_minimized); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_is_minimized)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	gboolean	RETVAL;

	RETVAL = wnck_window_is_minimized(window);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_is_maximized_horizontally); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_is_maximized_horizontally)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	gboolean	RETVAL;

	RETVAL = wnck_window_is_maximized_horizontally(window);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_is_maximized_vertically); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_is_maximized_vertically)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	gboolean	RETVAL;

	RETVAL = wnck_window_is_maximized_vertically(window);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_is_maximized); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_is_maximized)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	gboolean	RETVAL;

	RETVAL = wnck_window_is_maximized(window);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_is_shaded); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_is_shaded)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	gboolean	RETVAL;

	RETVAL = wnck_window_is_shaded(window);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_is_skip_pager); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_is_skip_pager)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	gboolean	RETVAL;

	RETVAL = wnck_window_is_skip_pager(window);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_is_skip_tasklist); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_is_skip_tasklist)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	gboolean	RETVAL;

	RETVAL = wnck_window_is_skip_tasklist(window);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_is_sticky); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_is_sticky)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	gboolean	RETVAL;

	RETVAL = wnck_window_is_sticky(window);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_set_skip_pager); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_set_skip_pager)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "window, skip");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	gboolean	skip = (bool)SvTRUE(ST(1))
;

	wnck_window_set_skip_pager(window, skip);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gnome2__Wnck__Window_set_skip_tasklist); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_set_skip_tasklist)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "window, skip");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	gboolean	skip = (bool)SvTRUE(ST(1))
;

	wnck_window_set_skip_tasklist(window, skip);
    }
    XSRETURN_EMPTY;
}


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

	wnck_window_close(window, timestamp);
    }
    XSRETURN_EMPTY;
}


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

	wnck_window_minimize(window);
    }
    XSRETURN_EMPTY;
}


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

	wnck_window_unminimize(window, timestamp);
    }
    XSRETURN_EMPTY;
}


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

	wnck_window_maximize(window);
    }
    XSRETURN_EMPTY;
}


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

	wnck_window_unmaximize(window);
    }
    XSRETURN_EMPTY;
}


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

	wnck_window_maximize_horizontally(window);
    }
    XSRETURN_EMPTY;
}


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

	wnck_window_unmaximize_horizontally(window);
    }
    XSRETURN_EMPTY;
}


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

	wnck_window_maximize_vertically(window);
    }
    XSRETURN_EMPTY;
}


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

	wnck_window_unmaximize_vertically(window);
    }
    XSRETURN_EMPTY;
}


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

	wnck_window_shade(window);
    }
    XSRETURN_EMPTY;
}


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

	wnck_window_unshade(window);
    }
    XSRETURN_EMPTY;
}


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

	wnck_window_stick(window);
    }
    XSRETURN_EMPTY;
}


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

	wnck_window_unstick(window);
    }
    XSRETURN_EMPTY;
}


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

	wnck_window_keyboard_move(window);
    }
    XSRETURN_EMPTY;
}


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

	wnck_window_keyboard_size(window);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gnome2__Wnck__Window_get_workspace); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_get_workspace)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	WnckWorkspace *	RETVAL;

	RETVAL = wnck_window_get_workspace(window);
	{
	    SV * RETVALSV;
	    RETVALSV = newSVWnckWorkspace (RETVAL);
	    RETVALSV = sv_2mortal(RETVALSV);
	    ST(0) = RETVALSV;
	}
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_move_to_workspace); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_move_to_workspace)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "window, space");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	WnckWorkspace *	space = SvWnckWorkspace (ST(1))
;

	wnck_window_move_to_workspace(window, space);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gnome2__Wnck__Window_is_pinned); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_is_pinned)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	gboolean	RETVAL;

	RETVAL = wnck_window_is_pinned(window);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


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

	wnck_window_pin(window);
    }
    XSRETURN_EMPTY;
}


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

	wnck_window_unpin(window);
    }
    XSRETURN_EMPTY;
}


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

	wnck_window_activate(window, timestamp);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gnome2__Wnck__Window_is_active); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_is_active)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	gboolean	RETVAL;

	RETVAL = wnck_window_is_active(window);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


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

	wnck_window_activate_transient(window, timestamp);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gnome2__Wnck__Window_get_icon); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_get_icon)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	GdkPixbuf *	RETVAL;

	RETVAL = wnck_window_get_icon(window);
	{
	    SV * RETVALSV;
	    RETVALSV = newSVGdkPixbuf (RETVAL);
	    RETVALSV = sv_2mortal(RETVALSV);
	    ST(0) = RETVALSV;
	}
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_get_mini_icon); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_get_mini_icon)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	GdkPixbuf *	RETVAL;

	RETVAL = wnck_window_get_mini_icon(window);
	{
	    SV * RETVALSV;
	    RETVALSV = newSVGdkPixbuf (RETVAL);
	    RETVALSV = sv_2mortal(RETVALSV);
	    ST(0) = RETVALSV;
	}
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_get_icon_is_fallback); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_get_icon_is_fallback)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	gboolean	RETVAL;

	RETVAL = wnck_window_get_icon_is_fallback(window);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_set_icon_geometry); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_set_icon_geometry)
{
    dVAR; dXSARGS;
    if (items != 5)
       croak_xs_usage(cv,  "window, x, y, width, height");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	int	x = (int)SvIV(ST(1))
;
	int	y = (int)SvIV(ST(2))
;
	int	width = (int)SvIV(ST(3))
;
	int	height = (int)SvIV(ST(4))
;

	wnck_window_set_icon_geometry(window, x, y, width, height);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gnome2__Wnck__Window_get_actions); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_get_actions)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	WnckWindowActions	RETVAL;

	RETVAL = wnck_window_get_actions(window);
	{
	    SV * RETVALSV;
	    RETVALSV = newSVWnckWindowActions (RETVAL);
	    RETVALSV = sv_2mortal(RETVALSV);
	    ST(0) = RETVALSV;
	}
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_get_state); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_get_state)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	WnckWindowState	RETVAL;

	RETVAL = wnck_window_get_state(window);
	{
	    SV * RETVALSV;
	    RETVALSV = newSVWnckWindowState (RETVAL);
	    RETVALSV = sv_2mortal(RETVALSV);
	    ST(0) = RETVALSV;
	}
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_get_geometry); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_get_geometry)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	int	xp;
	int	yp;
	int	widthp;
	int	heightp;

	wnck_window_get_geometry(window, &xp, &yp, &widthp, &heightp);
	XSprePUSH;	EXTEND(SP,4);
	PUSHs(sv_newmortal());
	sv_setiv(ST(0), (IV)xp);
	PUSHs(sv_newmortal());
	sv_setiv(ST(1), (IV)yp);
	PUSHs(sv_newmortal());
	sv_setiv(ST(2), (IV)widthp);
	PUSHs(sv_newmortal());
	sv_setiv(ST(3), (IV)heightp);
    }
    XSRETURN(4);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_set_geometry); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_set_geometry)
{
    dVAR; dXSARGS;
    if (items != 7)
       croak_xs_usage(cv,  "window, gravity, geometry_mask, x, y, width, height");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	WnckWindowGravity	gravity = SvWnckWindowGravity (ST(1))
;
	WnckWindowMoveResizeMask	geometry_mask = SvWnckWindowMoveResizeMask (ST(2))
;
	int	x = (int)SvIV(ST(3))
;
	int	y = (int)SvIV(ST(4))
;
	int	width = (int)SvIV(ST(5))
;
	int	height = (int)SvIV(ST(6))
;

	wnck_window_set_geometry(window, gravity, geometry_mask, x, y, width, height);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gnome2__Wnck__Window_is_visible_on_workspace); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_is_visible_on_workspace)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "window, workspace");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	WnckWorkspace *	workspace = SvWnckWorkspace (ST(1))
;
	gboolean	RETVAL;

	RETVAL = wnck_window_is_visible_on_workspace(window, workspace);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_is_on_workspace); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_is_on_workspace)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "window, workspace");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	WnckWorkspace *	workspace = SvWnckWorkspace (ST(1))
;
	gboolean	RETVAL;

	RETVAL = wnck_window_is_on_workspace(window, workspace);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_is_in_viewport); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_is_in_viewport)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "window, workspace");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	WnckWorkspace *	workspace = SvWnckWorkspace (ST(1))
;
	gboolean	RETVAL;

	RETVAL = wnck_window_is_in_viewport(window, workspace);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_get_class_group); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_get_class_group)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	WnckClassGroup *	RETVAL;

	RETVAL = wnck_window_get_class_group(window);
	{
	    SV * RETVALSV;
	    RETVALSV = newSVWnckClassGroup (RETVAL);
	    RETVALSV = sv_2mortal(RETVALSV);
	    ST(0) = RETVALSV;
	}
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_get_window_type); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_get_window_type)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	WnckWindowType	RETVAL;

	RETVAL = wnck_window_get_window_type(window);
	{
	    SV * RETVALSV;
	    RETVALSV = newSVWnckWindowType (RETVAL);
	    RETVALSV = sv_2mortal(RETVALSV);
	    ST(0) = RETVALSV;
	}
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_is_fullscreen); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_is_fullscreen)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	gboolean	RETVAL;

	RETVAL = wnck_window_is_fullscreen(window);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_set_fullscreen); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_set_fullscreen)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "window, fullscreen");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	gboolean	fullscreen = (bool)SvTRUE(ST(1))
;

	wnck_window_set_fullscreen(window, fullscreen);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gnome2__Wnck__Window_is_most_recently_activated); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_is_most_recently_activated)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	gboolean	RETVAL;

	RETVAL = wnck_window_is_most_recently_activated(window);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_get_sort_order); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_get_sort_order)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	gint	RETVAL;
	dXSTARG;

	RETVAL = wnck_window_get_sort_order(window);
	XSprePUSH; PUSHi((IV)RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_needs_attention); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_needs_attention)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	gboolean	RETVAL;

	RETVAL = wnck_window_needs_attention(window);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_or_transient_needs_attention); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_or_transient_needs_attention)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	gboolean	RETVAL;

	RETVAL = wnck_window_or_transient_needs_attention(window);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_transient_is_most_recently_activated); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_transient_is_most_recently_activated)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	gboolean	RETVAL;

	RETVAL = wnck_window_transient_is_most_recently_activated(window);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_get_transient); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_get_transient)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	WnckWindow *	RETVAL;

	RETVAL = wnck_window_get_transient(window);
	{
	    SV * RETVALSV;
	    RETVALSV = newSVWnckWindow (RETVAL);
	    RETVALSV = sv_2mortal(RETVALSV);
	    ST(0) = RETVALSV;
	}
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_set_window_type); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_set_window_type)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "window, wintype");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	WnckWindowType	wintype = SvWnckWindowType (ST(1))
;

	wnck_window_set_window_type(window, wintype);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gnome2__Wnck__Window_is_above); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_is_above)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	gboolean	RETVAL;
	WnckWindow *	window = SvWnckWindow (ST(0))
;

	RETVAL = wnck_window_is_above(window);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


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

	wnck_window_make_above(window);
    }
    XSRETURN_EMPTY;
}


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

	wnck_window_unmake_above(window);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gnome2__Wnck__Window_get_client_window_geometry); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_get_client_window_geometry)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	int	x;
	int	y;
	int	width;
	int	height;

	wnck_window_get_client_window_geometry(window, &x, &y, &width, &height);
	XSprePUSH;	EXTEND(SP,4);
	PUSHs(sv_newmortal());
	sv_setiv(ST(0), (IV)x);
	PUSHs(sv_newmortal());
	sv_setiv(ST(1), (IV)y);
	PUSHs(sv_newmortal());
	sv_setiv(ST(2), (IV)width);
	PUSHs(sv_newmortal());
	sv_setiv(ST(3), (IV)height);
    }
    XSRETURN(4);
}


XS_EUPXS(XS_Gnome2__Wnck__Window_set_sort_order); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_set_sort_order)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "window, order");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	gint	order = (gint)SvIV(ST(1))
;

	wnck_window_set_sort_order(window, order);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gnome2__Wnck__Window_is_below); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_is_below)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	gboolean	RETVAL;
	WnckWindow *	window = SvWnckWindow (ST(0))
;

	RETVAL = wnck_window_is_below(window);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


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

	wnck_window_make_below(window);
    }
    XSRETURN_EMPTY;
}


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

	wnck_window_unmake_below(window);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gnome2__Wnck__Window_create_window_action_menu); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gnome2__Wnck__Window_create_window_action_menu)
{
    dVAR; dXSARGS;
    dXSI32;
    if (items != 1)
       croak_xs_usage(cv,  "window");
    {
	WnckWindow *	window = SvWnckWindow (ST(0))
;
	GtkWidget *	RETVAL;

	RETVAL = wnck_create_window_action_menu(window);
	{
	    SV * RETVALSV;
	    RETVALSV = newSVGtkWidget (RETVAL);
	    RETVALSV = sv_2mortal(RETVALSV);
	    ST(0) = RETVALSV;
	}
#line 393 "xs/WnckWindow.xs"
	PERL_UNUSED_VAR (ix);
#line 1583 "xs/WnckWindow.c"
    }
    XSRETURN(1);
}

#ifdef __cplusplus
extern "C"
#endif
XS_EXTERNAL(boot_Gnome2__Wnck__Window); /* prototype to pass -Wmissing-prototypes */
XS_EXTERNAL(boot_Gnome2__Wnck__Window)
{
#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

    {
        CV * cv;

        newXS_deffile("Gnome2::Wnck::Window::get", XS_Gnome2__Wnck__Window_get);
        newXS_deffile("Gnome2::Wnck::Window::get_screen", XS_Gnome2__Wnck__Window_get_screen);
        newXS_deffile("Gnome2::Wnck::Window::get_name", XS_Gnome2__Wnck__Window_get_name);
        newXS_deffile("Gnome2::Wnck::Window::get_icon_name", XS_Gnome2__Wnck__Window_get_icon_name);
        newXS_deffile("Gnome2::Wnck::Window::get_application", XS_Gnome2__Wnck__Window_get_application);
        newXS_deffile("Gnome2::Wnck::Window::get_group_leader", XS_Gnome2__Wnck__Window_get_group_leader);
        newXS_deffile("Gnome2::Wnck::Window::get_xid", XS_Gnome2__Wnck__Window_get_xid);
        newXS_deffile("Gnome2::Wnck::Window::get_session_id", XS_Gnome2__Wnck__Window_get_session_id);
        newXS_deffile("Gnome2::Wnck::Window::get_session_id_utf8", XS_Gnome2__Wnck__Window_get_session_id_utf8);
        newXS_deffile("Gnome2::Wnck::Window::get_pid", XS_Gnome2__Wnck__Window_get_pid);
        newXS_deffile("Gnome2::Wnck::Window::is_minimized", XS_Gnome2__Wnck__Window_is_minimized);
        newXS_deffile("Gnome2::Wnck::Window::is_maximized_horizontally", XS_Gnome2__Wnck__Window_is_maximized_horizontally);
        newXS_deffile("Gnome2::Wnck::Window::is_maximized_vertically", XS_Gnome2__Wnck__Window_is_maximized_vertically);
        newXS_deffile("Gnome2::Wnck::Window::is_maximized", XS_Gnome2__Wnck__Window_is_maximized);
        newXS_deffile("Gnome2::Wnck::Window::is_shaded", XS_Gnome2__Wnck__Window_is_shaded);
        newXS_deffile("Gnome2::Wnck::Window::is_skip_pager", XS_Gnome2__Wnck__Window_is_skip_pager);
        newXS_deffile("Gnome2::Wnck::Window::is_skip_tasklist", XS_Gnome2__Wnck__Window_is_skip_tasklist);
        newXS_deffile("Gnome2::Wnck::Window::is_sticky", XS_Gnome2__Wnck__Window_is_sticky);
        newXS_deffile("Gnome2::Wnck::Window::set_skip_pager", XS_Gnome2__Wnck__Window_set_skip_pager);
        newXS_deffile("Gnome2::Wnck::Window::set_skip_tasklist", XS_Gnome2__Wnck__Window_set_skip_tasklist);
        newXS_deffile("Gnome2::Wnck::Window::close", XS_Gnome2__Wnck__Window_close);
        newXS_deffile("Gnome2::Wnck::Window::minimize", XS_Gnome2__Wnck__Window_minimize);
        newXS_deffile("Gnome2::Wnck::Window::unminimize", XS_Gnome2__Wnck__Window_unminimize);
        newXS_deffile("Gnome2::Wnck::Window::maximize", XS_Gnome2__Wnck__Window_maximize);
        newXS_deffile("Gnome2::Wnck::Window::unmaximize", XS_Gnome2__Wnck__Window_unmaximize);
        newXS_deffile("Gnome2::Wnck::Window::maximize_horizontally", XS_Gnome2__Wnck__Window_maximize_horizontally);
        newXS_deffile("Gnome2::Wnck::Window::unmaximize_horizontally", XS_Gnome2__Wnck__Window_unmaximize_horizontally);
        newXS_deffile("Gnome2::Wnck::Window::maximize_vertically", XS_Gnome2__Wnck__Window_maximize_vertically);
        newXS_deffile("Gnome2::Wnck::Window::unmaximize_vertically", XS_Gnome2__Wnck__Window_unmaximize_vertically);
        newXS_deffile("Gnome2::Wnck::Window::shade", XS_Gnome2__Wnck__Window_shade);
        newXS_deffile("Gnome2::Wnck::Window::unshade", XS_Gnome2__Wnck__Window_unshade);
        newXS_deffile("Gnome2::Wnck::Window::stick", XS_Gnome2__Wnck__Window_stick);
        newXS_deffile("Gnome2::Wnck::Window::unstick", XS_Gnome2__Wnck__Window_unstick);
        newXS_deffile("Gnome2::Wnck::Window::keyboard_move", XS_Gnome2__Wnck__Window_keyboard_move);
        newXS_deffile("Gnome2::Wnck::Window::keyboard_size", XS_Gnome2__Wnck__Window_keyboard_size);
        newXS_deffile("Gnome2::Wnck::Window::get_workspace", XS_Gnome2__Wnck__Window_get_workspace);
        newXS_deffile("Gnome2::Wnck::Window::move_to_workspace", XS_Gnome2__Wnck__Window_move_to_workspace);
        newXS_deffile("Gnome2::Wnck::Window::is_pinned", XS_Gnome2__Wnck__Window_is_pinned);
        newXS_deffile("Gnome2::Wnck::Window::pin", XS_Gnome2__Wnck__Window_pin);
        newXS_deffile("Gnome2::Wnck::Window::unpin", XS_Gnome2__Wnck__Window_unpin);
        newXS_deffile("Gnome2::Wnck::Window::activate", XS_Gnome2__Wnck__Window_activate);
        newXS_deffile("Gnome2::Wnck::Window::is_active", XS_Gnome2__Wnck__Window_is_active);
        newXS_deffile("Gnome2::Wnck::Window::activate_transient", XS_Gnome2__Wnck__Window_activate_transient);
        newXS_deffile("Gnome2::Wnck::Window::get_icon", XS_Gnome2__Wnck__Window_get_icon);
        newXS_deffile("Gnome2::Wnck::Window::get_mini_icon", XS_Gnome2__Wnck__Window_get_mini_icon);
        newXS_deffile("Gnome2::Wnck::Window::get_icon_is_fallback", XS_Gnome2__Wnck__Window_get_icon_is_fallback);
        newXS_deffile("Gnome2::Wnck::Window::set_icon_geometry", XS_Gnome2__Wnck__Window_set_icon_geometry);
        newXS_deffile("Gnome2::Wnck::Window::get_actions", XS_Gnome2__Wnck__Window_get_actions);
        newXS_deffile("Gnome2::Wnck::Window::get_state", XS_Gnome2__Wnck__Window_get_state);
        newXS_deffile("Gnome2::Wnck::Window::get_geometry", XS_Gnome2__Wnck__Window_get_geometry);
        newXS_deffile("Gnome2::Wnck::Window::set_geometry", XS_Gnome2__Wnck__Window_set_geometry);
        newXS_deffile("Gnome2::Wnck::Window::is_visible_on_workspace", XS_Gnome2__Wnck__Window_is_visible_on_workspace);
        newXS_deffile("Gnome2::Wnck::Window::is_on_workspace", XS_Gnome2__Wnck__Window_is_on_workspace);
        newXS_deffile("Gnome2::Wnck::Window::is_in_viewport", XS_Gnome2__Wnck__Window_is_in_viewport);
        newXS_deffile("Gnome2::Wnck::Window::get_class_group", XS_Gnome2__Wnck__Window_get_class_group);
        newXS_deffile("Gnome2::Wnck::Window::get_window_type", XS_Gnome2__Wnck__Window_get_window_type);
        newXS_deffile("Gnome2::Wnck::Window::is_fullscreen", XS_Gnome2__Wnck__Window_is_fullscreen);
        newXS_deffile("Gnome2::Wnck::Window::set_fullscreen", XS_Gnome2__Wnck__Window_set_fullscreen);
        newXS_deffile("Gnome2::Wnck::Window::is_most_recently_activated", XS_Gnome2__Wnck__Window_is_most_recently_activated);
        newXS_deffile("Gnome2::Wnck::Window::get_sort_order", XS_Gnome2__Wnck__Window_get_sort_order);
        newXS_deffile("Gnome2::Wnck::Window::needs_attention", XS_Gnome2__Wnck__Window_needs_attention);
        newXS_deffile("Gnome2::Wnck::Window::or_transient_needs_attention", XS_Gnome2__Wnck__Window_or_transient_needs_attention);
        newXS_deffile("Gnome2::Wnck::Window::transient_is_most_recently_activated", XS_Gnome2__Wnck__Window_transient_is_most_recently_activated);
        newXS_deffile("Gnome2::Wnck::Window::get_transient", XS_Gnome2__Wnck__Window_get_transient);
        newXS_deffile("Gnome2::Wnck::Window::set_window_type", XS_Gnome2__Wnck__Window_set_window_type);
        newXS_deffile("Gnome2::Wnck::Window::is_above", XS_Gnome2__Wnck__Window_is_above);
        newXS_deffile("Gnome2::Wnck::Window::make_above", XS_Gnome2__Wnck__Window_make_above);
        newXS_deffile("Gnome2::Wnck::Window::unmake_above", XS_Gnome2__Wnck__Window_unmake_above);
        newXS_deffile("Gnome2::Wnck::Window::get_client_window_geometry", XS_Gnome2__Wnck__Window_get_client_window_geometry);
        newXS_deffile("Gnome2::Wnck::Window::set_sort_order", XS_Gnome2__Wnck__Window_set_sort_order);
        newXS_deffile("Gnome2::Wnck::Window::is_below", XS_Gnome2__Wnck__Window_is_below);
        newXS_deffile("Gnome2::Wnck::Window::make_below", XS_Gnome2__Wnck__Window_make_below);
        newXS_deffile("Gnome2::Wnck::Window::unmake_below", XS_Gnome2__Wnck__Window_unmake_below);
        cv = newXS_deffile("Gnome2::Wnck::Window::create_action_menu", XS_Gnome2__Wnck__Window_create_window_action_menu);
        XSANY.any_i32 = 0;
        cv = newXS_deffile("Gnome2::Wnck::Window::create_window_action_menu", XS_Gnome2__Wnck__Window_create_window_action_menu);
        XSANY.any_i32 = 0;
    }
#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
}

