/* wayland.c generated by valac 0.56.19, the Vala compiler
 * generated from wayland.vala, do not modify */

/*
 * Copyright (c) 2026 focus-timer contributors
 *
 * SPDX-License-Identifier: GPL-3.0-or-later
 */

#include "ft_plugin_wayland.h"
#include <glib-object.h>
#include <glib.h>
#include <libpeas.h>
#include "ft_core.h"

#if !defined(VALA_STRICT_C)
#if !defined(__clang__) && defined(__GNUC__) && (__GNUC__ >= 14)
#pragma GCC diagnostic warning "-Wincompatible-pointer-types"
#elif defined(__clang__) && (__clang_major__ >= 16)
#pragma clang diagnostic ignored "-Wincompatible-function-pointer-types"
#pragma clang diagnostic ignored "-Wincompatible-pointer-types"
#endif
#endif

#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

GType wayland_idle_monitor_provider_register_type (GTypeModule * module);

static gpointer
_g_object_ref0 (gpointer self)
{
	return self ? g_object_ref (self) : NULL;
}

void
wayland_peas_register_types (GTypeModule* module)
{
	PeasObjectModule* object_module = NULL;
	PeasObjectModule* _tmp0_;
	g_return_if_fail (module != NULL);
	wayland_idle_monitor_provider_register_type (module);
	_tmp0_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (module, peas_object_module_get_type ()) ? ((PeasObjectModule*) module) : NULL);
	object_module = _tmp0_;
	peas_object_module_register_extension_type (object_module, FT_TYPE_IDLE_MONITOR_PROVIDER, WAYLAND_TYPE_IDLE_MONITOR_PROVIDER);
	_g_object_unref0 (object_module);
}

