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

#line 1 "xs/Notify.xs"
#include "perl_notify.h"

void
perl_notify_notification_add_action (NotifyNotification *notification,
                                     gchar *action, gpointer userdata) {
	gperl_callback_invoke ((GPerlCallback *)userdata,
	                       NULL, notification, action);
}

#line 20 "xs/Notify.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 164 "xs/Notify.c"

XS_EUPXS(XS_Gtk2__Notify_init); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Notify_init)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "class, app_name");
    {
	const char *	app_name = (const char *)SvPV_nolen(ST(1))
;
	gboolean	RETVAL;

	RETVAL = notify_init(app_name);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


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

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


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

	RETVAL = notify_is_initted(/* void */);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


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

	RETVAL = notify_get_app_name(/* void */);
	{
	    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);
}


XS_EUPXS(XS_Gtk2__Notify_get_server_caps); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Notify_get_server_caps)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "class");
    PERL_UNUSED_VAR(ax); /* -Wall */
    SP -= items;
    {
#line 69 "xs/Notify.xs"
		GList *list, *tmp;
#line 248 "xs/Notify.c"
#line 71 "xs/Notify.xs"
		list = notify_get_server_caps ();
		for (tmp = list; tmp != NULL; tmp = tmp->next) {
			XPUSHs (sv_2mortal (newSVGChar (tmp->data)));
		}
		g_list_free (list);
#line 255 "xs/Notify.c"
	PUTBACK;
	return;
    }
}


XS_EUPXS(XS_Gtk2__Notify_get_server_info); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Notify_get_server_info)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "class");
    {
	gboolean	RETVAL;
	char *	name;
	char *	vendor;
	char *	version;
	char *	spec_version;

	RETVAL = notify_get_server_info(&name, &vendor, &version, &spec_version);
#line 82 "xs/Notify.xs"
		if (!RETVAL) {
			XSRETURN_EMPTY;
		}
#line 280 "xs/Notify.c"
	XSprePUSH;	EXTEND(SP,4);
	PUSHs(sv_newmortal());
	sv_setpv((SV*)ST(0), name);
	PUSHs(sv_newmortal());
	sv_setpv((SV*)ST(1), vendor);
	PUSHs(sv_newmortal());
	sv_setpv((SV*)ST(2), version);
	PUSHs(sv_newmortal());
	sv_setpv((SV*)ST(3), spec_version);
    }
    XSRETURN(4);
}


XS_EUPXS(XS_Gtk2__Notify_new); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Notify_new)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 4)
       croak_xs_usage(cv,  "class, summary, body=NULL, icon=NULL");
    {
	const gchar *	summary;
	const gchar *	body;
	const gchar *	icon;
	NotifyNotification *	RETVAL;

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

	if (items < 3)
	    body = NULL;
	else {
	    /* same as SvGChar(), but not in a function */
	    sv_utf8_upgrade (ST(2));
	    body = (const gchar *)SvPV_nolen (ST(2))
;
	}

	if (items < 4)
	    icon = NULL;
	else {
	    /* same as SvGChar(), but not in a function */
	    sv_utf8_upgrade (ST(3));
	    icon = (const gchar *)SvPV_nolen (ST(3))
;
	}

	RETVAL = notify_notification_new(summary, body, icon);
	{
	    SV * RETVALSV;
	    RETVALSV = newSVNotifyNotification (RETVAL);
	    RETVALSV = sv_2mortal(RETVALSV);
	    ST(0) = RETVALSV;
	}
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gtk2__Notify_update); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Notify_update)
{
    dVAR; dXSARGS;
    if (items < 2 || items > 4)
       croak_xs_usage(cv,  "notification, summary, message=NULL, icon=NULL");
    {
	NotifyNotification *	notification = SvNotifyNotification (ST(0))
;
	const gchar *	summary;
	const gchar *	message;
	const gchar *	icon;
	gboolean	RETVAL;

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

	if (items < 3)
	    message = NULL;
	else {
	    /* same as SvGChar(), but not in a function */
	    sv_utf8_upgrade (ST(2));
	    message = (const gchar *)SvPV_nolen (ST(2))
;
	}

	if (items < 4)
	    icon = NULL;
	else {
	    /* same as SvGChar(), but not in a function */
	    sv_utf8_upgrade (ST(3));
	    icon = (const gchar *)SvPV_nolen (ST(3))
;
	}

	RETVAL = notify_notification_update(notification, summary, message, icon);
	ST(0) = boolSV(RETVAL);
    }
    XSRETURN(1);
}


XS_EUPXS(XS_Gtk2__Notify_show); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Notify_show)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "notification");
    {
	NotifyNotification *	notification = SvNotifyNotification (ST(0))
;
#line 107 "xs/Notify.xs"
		GError *error = NULL;
#line 397 "xs/Notify.c"
	gboolean	RETVAL;

	RETVAL = notify_notification_show(notification, &error);
#line 111 "xs/Notify.xs"
		if (!RETVAL) {
			gperl_croak_gerror (NULL, error);
		}
#line 405 "xs/Notify.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gtk2__Notify_set_timeout); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Notify_set_timeout)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "notification, timeout");
    {
	NotifyNotification *	notification = SvNotifyNotification (ST(0))
;
	gint	timeout = (gint)SvIV(ST(1))
;

	notify_notification_set_timeout(notification, timeout);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gtk2__Notify_set_category); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Notify_set_category)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "notification, category");
    {
	NotifyNotification *	notification = SvNotifyNotification (ST(0))
;
	const char *	category = (const char *)SvPV_nolen(ST(1))
;

	notify_notification_set_category(notification, category);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gtk2__Notify_set_urgency); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Notify_set_urgency)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "notification, urgency");
    {
	NotifyNotification *	notification = SvNotifyNotification (ST(0))
;
	NotifyUrgency	urgency = SvNotifyUrgency (ST(1))
;

	notify_notification_set_urgency(notification, urgency);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gtk2__Notify_set_icon_from_pixbuf); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Notify_set_icon_from_pixbuf)
{
    dVAR; dXSARGS;
    if (items != 2)
       croak_xs_usage(cv,  "notification, icon");
    {
	NotifyNotification *	notification = SvNotifyNotification (ST(0))
;
	GdkPixbuf *	icon = SvGdkPixbuf (ST(1))
;

	notify_notification_set_icon_from_pixbuf(notification, icon);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gtk2__Notify_set_hint); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Notify_set_hint)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "notification, key, value");
    {
	NotifyNotification *	notification = SvNotifyNotification (ST(0))
;
	const gchar *	key;
	SV *	value = ST(2)
;

	/* same as SvGChar(), but not in a function */
	sv_utf8_upgrade (ST(1));
	key = (const gchar *)SvPV_nolen (ST(1))
;
#line 141 "xs/Notify.xs"
		if (SvTYPE (value) == SVt_IV) {
			notify_notification_set_hint_int32 (notification, key,
			                                    (gint)SvIV (value));
		} else if (SvTYPE (value) == SVt_NV) {
			notify_notification_set_hint_double (notification, key,
			                                     (gdouble)SvNV (value));
		} else if (SvTYPE (value) == SVt_PV) {
			notify_notification_set_hint_string (notification, key,
			                                     (gchar *)SvPV_nolen (value));
		} else {
			SvGETMAGIC (value);
			(void)SvUPGRADE (value, SVt_PV);

			notify_notification_set_hint_string (notification, key,
			                                     (gchar *)SvPV_nolen (value));
		}
#line 517 "xs/Notify.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gtk2__Notify_set_hint_int32); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Notify_set_hint_int32)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "notification, key, value");
    {
	NotifyNotification *	notification = SvNotifyNotification (ST(0))
;
	const gchar *	key;
	gint	value = (gint)SvIV(ST(2))
;

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

	notify_notification_set_hint_int32(notification, key, value);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gtk2__Notify_set_hint_double); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Notify_set_hint_double)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "notification, key, value");
    {
	NotifyNotification *	notification = SvNotifyNotification (ST(0))
;
	const gchar *	key;
	gdouble	value = (double)SvNV(ST(2))
;

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

	notify_notification_set_hint_double(notification, key, value);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gtk2__Notify_set_hint_string); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Notify_set_hint_string)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "notification, key, value");
    {
	NotifyNotification *	notification = SvNotifyNotification (ST(0))
;
	const gchar *	key;
	const gchar *	value;

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

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

	notify_notification_set_hint_string(notification, key, value);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gtk2__Notify_set_hint_byte); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Notify_set_hint_byte)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "notification, key, value");
    {
	NotifyNotification *	notification = SvNotifyNotification (ST(0))
;
	const gchar *	key;
	guchar	value = (guchar)SvUV(ST(2))
;

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

	notify_notification_set_hint_byte(notification, key, value);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gtk2__Notify_set_hint_byte_array); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Notify_set_hint_byte_array)
{
    dVAR; dXSARGS;
    if (items != 3)
       croak_xs_usage(cv,  "notification, key, value");
    {
	NotifyNotification *	notification = SvNotifyNotification (ST(0))
;
	const gchar *	key;
#line 187 "xs/Notify.xs"
		STRLEN len = 0;
#line 635 "xs/Notify.c"
	const guchar *	value = (const guchar *)SvPVbyte (ST(2), len);

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

	notify_notification_set_hint_byte_array(notification, key, value, len);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gtk2__Notify_clear_hints); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Notify_clear_hints)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "notification");
    {
	NotifyNotification *	notification = SvNotifyNotification (ST(0))
;

	notify_notification_clear_hints(notification);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gtk2__Notify_add_action); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Notify_add_action)
{
    dVAR; dXSARGS;
    if (items < 4 || items > 5)
       croak_xs_usage(cv,  "notification, action, label, callback, userdata=NULL");
    {
	NotifyNotification *	notification = SvNotifyNotification (ST(0))
;
	const char *	action = (const char *)SvPV_nolen(ST(1))
;
	const char *	label = (const char *)SvPV_nolen(ST(2))
;
	SV *	callback = ST(3)
;
	SV *	userdata;
#line 205 "xs/Notify.xs"
		GType param_types[2];
		GPerlCallback *cb;
#line 684 "xs/Notify.c"

	if (items < 5)
	    userdata = NULL;
	else {
	    userdata = ST(4)
;
	}
#line 208 "xs/Notify.xs"
		param_types[0] = NOTIFY_TYPE_NOTIFICATION;
		param_types[1] = G_TYPE_STRING;

		cb = gperl_callback_new (callback, userdata, 2,
		                         param_types, G_TYPE_NONE);
		notify_notification_add_action (notification, action, label,
		                                perl_notify_notification_add_action,
		                                cb, (GFreeFunc)gperl_callback_destroy);
#line 701 "xs/Notify.c"
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gtk2__Notify_clear_actions); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Notify_clear_actions)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "notification");
    {
	NotifyNotification *	notification = SvNotifyNotification (ST(0))
;

	notify_notification_clear_actions(notification);
    }
    XSRETURN_EMPTY;
}


XS_EUPXS(XS_Gtk2__Notify_close); /* prototype to pass -Wmissing-prototypes */
XS_EUPXS(XS_Gtk2__Notify_close)
{
    dVAR; dXSARGS;
    if (items != 1)
       croak_xs_usage(cv,  "notification");
    {
	NotifyNotification *	notification = SvNotifyNotification (ST(0))
;
#line 225 "xs/Notify.xs"
		GError *error = NULL;
#line 734 "xs/Notify.c"
	gboolean	RETVAL;

	RETVAL = notify_notification_close(notification, &error);
#line 229 "xs/Notify.xs"
		if (!RETVAL) {
			gperl_croak_gerror (NULL, error);
		}
#line 742 "xs/Notify.c"
    }
    XSRETURN_EMPTY;
}

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

        newXS_deffile("Gtk2::Notify::init", XS_Gtk2__Notify_init);
        newXS_deffile("Gtk2::Notify::uninit", XS_Gtk2__Notify_uninit);
        newXS_deffile("Gtk2::Notify::is_initted", XS_Gtk2__Notify_is_initted);
        newXS_deffile("Gtk2::Notify::get_app_name", XS_Gtk2__Notify_get_app_name);
        newXS_deffile("Gtk2::Notify::get_server_caps", XS_Gtk2__Notify_get_server_caps);
        newXS_deffile("Gtk2::Notify::get_server_info", XS_Gtk2__Notify_get_server_info);
        newXS_deffile("Gtk2::Notify::new", XS_Gtk2__Notify_new);
        newXS_deffile("Gtk2::Notify::update", XS_Gtk2__Notify_update);
        newXS_deffile("Gtk2::Notify::show", XS_Gtk2__Notify_show);
        newXS_deffile("Gtk2::Notify::set_timeout", XS_Gtk2__Notify_set_timeout);
        newXS_deffile("Gtk2::Notify::set_category", XS_Gtk2__Notify_set_category);
        newXS_deffile("Gtk2::Notify::set_urgency", XS_Gtk2__Notify_set_urgency);
        newXS_deffile("Gtk2::Notify::set_icon_from_pixbuf", XS_Gtk2__Notify_set_icon_from_pixbuf);
        newXS_deffile("Gtk2::Notify::set_hint", XS_Gtk2__Notify_set_hint);
        newXS_deffile("Gtk2::Notify::set_hint_int32", XS_Gtk2__Notify_set_hint_int32);
        newXS_deffile("Gtk2::Notify::set_hint_double", XS_Gtk2__Notify_set_hint_double);
        newXS_deffile("Gtk2::Notify::set_hint_string", XS_Gtk2__Notify_set_hint_string);
        newXS_deffile("Gtk2::Notify::set_hint_byte", XS_Gtk2__Notify_set_hint_byte);
        newXS_deffile("Gtk2::Notify::set_hint_byte_array", XS_Gtk2__Notify_set_hint_byte_array);
        newXS_deffile("Gtk2::Notify::clear_hints", XS_Gtk2__Notify_clear_hints);
        newXS_deffile("Gtk2::Notify::add_action", XS_Gtk2__Notify_add_action);
        newXS_deffile("Gtk2::Notify::clear_actions", XS_Gtk2__Notify_clear_actions);
        newXS_deffile("Gtk2::Notify::close", XS_Gtk2__Notify_close);

    /* Initialisation Section */

#line 234 "xs/Notify.xs"
#include "register.xsh"
#include "boot.xsh"

#line 805 "xs/Notify.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
}

