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

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

#include "ft_plugin_gnome.h"
#include <gio/gio.h>
#include <glib.h>
#include <string.h>
#include <stdlib.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

enum  {
	GNOME_SCREEN_SAVER_ACTIVE_CHANGED_SIGNAL,
	GNOME_SCREEN_SAVER_NUM_SIGNALS
};
static guint gnome_screen_saver_signals[GNOME_SCREEN_SAVER_NUM_SIGNALS] = {0};
typedef GDBusProxy GnomeScreenSaverProxy;
typedef GDBusProxyClass GnomeScreenSaverProxyClass;
typedef struct _GnomeScreenSaverGetActiveReadyData GnomeScreenSaverGetActiveReadyData;
typedef struct _GnomeScreenSaverLockReadyData GnomeScreenSaverLockReadyData;
enum  {
	GNOME_IDLE_MONITOR_WATCH_FIRED_SIGNAL,
	GNOME_IDLE_MONITOR_NUM_SIGNALS
};
static guint gnome_idle_monitor_signals[GNOME_IDLE_MONITOR_NUM_SIGNALS] = {0};
typedef GDBusProxy GnomeIdleMonitorProxy;
typedef GDBusProxyClass GnomeIdleMonitorProxyClass;
typedef GDBusProxy GnomeShellProxy;
typedef GDBusProxyClass GnomeShellProxyClass;
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_string_free0(var) ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL)))
enum  {
	GNOME_SHELL_EXTENSIONS_EXTENSION_STATE_CHANGED_SIGNAL,
	GNOME_SHELL_EXTENSIONS_NUM_SIGNALS
};
static guint gnome_shell_extensions_signals[GNOME_SHELL_EXTENSIONS_NUM_SIGNALS] = {0};
typedef GDBusProxy GnomeShellExtensionsProxy;
typedef GDBusProxyClass GnomeShellExtensionsProxyClass;
#define _g_hash_table_unref0(var) ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))
typedef struct _GnomeShellExtensionsEnableExtensionReadyData GnomeShellExtensionsEnableExtensionReadyData;
typedef struct _GnomeShellExtensionsDisableExtensionReadyData GnomeShellExtensionsDisableExtensionReadyData;
typedef struct _GnomeShellExtensionsGetExtensionInfoReadyData GnomeShellExtensionsGetExtensionInfoReadyData;
typedef struct _GnomeShellExtensionsInstallRemoteExtensionReadyData GnomeShellExtensionsInstallRemoteExtensionReadyData;
typedef struct _GnomeShellExtensionsUninstallExtensionReadyData GnomeShellExtensionsUninstallExtensionReadyData;
typedef GDBusProxy GnomeShellIntegrationProxy;
typedef GDBusProxyClass GnomeShellIntegrationProxyClass;
typedef struct _GnomeShellIntegrationOpenScreenOverlayReadyData GnomeShellIntegrationOpenScreenOverlayReadyData;

struct _GnomeScreenSaverGetActiveReadyData {
	GDBusMethodInvocation* _invocation_;
};

struct _GnomeScreenSaverLockReadyData {
	GDBusMethodInvocation* _invocation_;
};

struct _GnomeShellExtensionsEnableExtensionReadyData {
	GDBusMethodInvocation* _invocation_;
	gchar* uuid;
};

struct _GnomeShellExtensionsDisableExtensionReadyData {
	GDBusMethodInvocation* _invocation_;
	gchar* uuid;
};

struct _GnomeShellExtensionsGetExtensionInfoReadyData {
	GDBusMethodInvocation* _invocation_;
	gchar* uuid;
};

struct _GnomeShellExtensionsInstallRemoteExtensionReadyData {
	GDBusMethodInvocation* _invocation_;
	gchar* uuid;
};

struct _GnomeShellExtensionsUninstallExtensionReadyData {
	GDBusMethodInvocation* _invocation_;
	gchar* uuid;
};

struct _GnomeShellIntegrationOpenScreenOverlayReadyData {
	GDBusMethodInvocation* _invocation_;
};

static GType gnome_screen_saver_type_id = 0;
static GType gnome_idle_monitor_type_id = 0;
static GType gnome_shell_type_id = 0;
static GType gnome_shell_extensions_type_id = 0;
static GType gnome_shell_integration_type_id = 0;

static void gnome_screen_saver_proxy_g_signal (GDBusProxy* proxy,
                                        const gchar* sender_name,
                                        const gchar* signal_name,
                                        GVariant* parameters);
static void _dbus_handle_gnome_screen_saver_active_changed (GnomeScreenSaver* self,
                                                     GVariant* parameters);
static void _vala_g_async_ready_callback (GObject *source_object,
                                   GAsyncResult *res,
                                   void *user_data);
static void gnome_screen_saver_proxy_get_active_async (GnomeScreenSaver* self,
                                                GAsyncReadyCallback _callback_,
                                                gpointer _user_data_);
static gboolean gnome_screen_saver_proxy_get_active_finish (GnomeScreenSaver* self,
                                                     GAsyncResult* _res_,
                                                     GError** error);
static void gnome_screen_saver_proxy_lock_async (GnomeScreenSaver* self,
                                          GAsyncReadyCallback _callback_,
                                          gpointer _user_data_);
static void gnome_screen_saver_proxy_lock_finish (GnomeScreenSaver* self,
                                           GAsyncResult* _res_,
                                           GError** error);
static void gnome_screen_saver_proxy_gnome_screen_saver_interface_init (GnomeScreenSaverIface* iface);
static void _dbus_gnome_screen_saver_get_active (GnomeScreenSaver* self,
                                          GVariant* _parameters_,
                                          GDBusMethodInvocation* invocation);
static void _dbus_gnome_screen_saver_get_active_ready (GObject * source_object,
                                                GAsyncResult * _res_,
                                                gpointer _user_data_);
static void _dbus_gnome_screen_saver_lock (GnomeScreenSaver* self,
                                    GVariant* _parameters_,
                                    GDBusMethodInvocation* invocation);
static void _dbus_gnome_screen_saver_lock_ready (GObject * source_object,
                                          GAsyncResult * _res_,
                                          gpointer _user_data_);
static void gnome_screen_saver_dbus_interface_method_call (GDBusConnection* connection,
                                                    const gchar* sender,
                                                    const gchar* object_path,
                                                    const gchar* interface_name,
                                                    const gchar* method_name,
                                                    GVariant* parameters,
                                                    GDBusMethodInvocation* invocation,
                                                    gpointer user_data);
static GVariant* gnome_screen_saver_dbus_interface_get_property (GDBusConnection* connection,
                                                          const gchar* sender,
                                                          const gchar* object_path,
                                                          const gchar* interface_name,
                                                          const gchar* property_name,
                                                          GError** error,
                                                          gpointer user_data);
static gboolean gnome_screen_saver_dbus_interface_set_property (GDBusConnection* connection,
                                                         const gchar* sender,
                                                         const gchar* object_path,
                                                         const gchar* interface_name,
                                                         const gchar* property_name,
                                                         GVariant* value,
                                                         GError** error,
                                                         gpointer user_data);
static void _dbus_gnome_screen_saver_active_changed (GObject* _sender,
                                              gboolean active,
                                              gpointer* _data);
static void _gnome_screen_saver_unregister_object (gpointer user_data);
static void gnome_idle_monitor_proxy_g_signal (GDBusProxy* proxy,
                                        const gchar* sender_name,
                                        const gchar* signal_name,
                                        GVariant* parameters);
static void _dbus_handle_gnome_idle_monitor_watch_fired (GnomeIdleMonitor* self,
                                                  GVariant* parameters);
static guint32 gnome_idle_monitor_proxy_add_idle_watch (GnomeIdleMonitor* self,
                                                 guint64 interval,
                                                 GError** error);
static guint32 gnome_idle_monitor_proxy_add_user_active_watch (GnomeIdleMonitor* self,
                                                        GError** error);
static guint64 gnome_idle_monitor_proxy_get_idletime (GnomeIdleMonitor* self,
                                               GError** error);
static void gnome_idle_monitor_proxy_remove_watch (GnomeIdleMonitor* self,
                                            guint32 id,
                                            GError** error);
static void gnome_idle_monitor_proxy_gnome_idle_monitor_interface_init (GnomeIdleMonitorIface* iface);
static void _dbus_gnome_idle_monitor_add_idle_watch (GnomeIdleMonitor* self,
                                              GVariant* _parameters_,
                                              GDBusMethodInvocation* invocation);
static void _dbus_gnome_idle_monitor_add_user_active_watch (GnomeIdleMonitor* self,
                                                     GVariant* _parameters_,
                                                     GDBusMethodInvocation* invocation);
static void _dbus_gnome_idle_monitor_get_idletime (GnomeIdleMonitor* self,
                                            GVariant* _parameters_,
                                            GDBusMethodInvocation* invocation);
static void _dbus_gnome_idle_monitor_remove_watch (GnomeIdleMonitor* self,
                                            GVariant* _parameters_,
                                            GDBusMethodInvocation* invocation);
static void gnome_idle_monitor_dbus_interface_method_call (GDBusConnection* connection,
                                                    const gchar* sender,
                                                    const gchar* object_path,
                                                    const gchar* interface_name,
                                                    const gchar* method_name,
                                                    GVariant* parameters,
                                                    GDBusMethodInvocation* invocation,
                                                    gpointer user_data);
static GVariant* gnome_idle_monitor_dbus_interface_get_property (GDBusConnection* connection,
                                                          const gchar* sender,
                                                          const gchar* object_path,
                                                          const gchar* interface_name,
                                                          const gchar* property_name,
                                                          GError** error,
                                                          gpointer user_data);
static gboolean gnome_idle_monitor_dbus_interface_set_property (GDBusConnection* connection,
                                                         const gchar* sender,
                                                         const gchar* object_path,
                                                         const gchar* interface_name,
                                                         const gchar* property_name,
                                                         GVariant* value,
                                                         GError** error,
                                                         gpointer user_data);
static void _dbus_gnome_idle_monitor_watch_fired (GObject* _sender,
                                           guint32 id,
                                           gpointer* _data);
static void _gnome_idle_monitor_unregister_object (gpointer user_data);
static void gnome_shell_proxy_g_signal (GDBusProxy* proxy,
                                 const gchar* sender_name,
                                 const gchar* signal_name,
                                 GVariant* parameters);
static gboolean gnome_shell_dbus_proxy_get_overview_active (GnomeShell* self);
static void gnome_shell_dbus_proxy_set_overview_active (GnomeShell* self,
                                                 gboolean value);
static void gnome_shell_proxy_gnome_shell_interface_init (GnomeShellIface* iface);
static void gnome_shell_dbus_interface_method_call (GDBusConnection* connection,
                                             const gchar* sender,
                                             const gchar* object_path,
                                             const gchar* interface_name,
                                             const gchar* method_name,
                                             GVariant* parameters,
                                             GDBusMethodInvocation* invocation,
                                             gpointer user_data);
static GVariant* gnome_shell_dbus_interface_get_property (GDBusConnection* connection,
                                                   const gchar* sender,
                                                   const gchar* object_path,
                                                   const gchar* interface_name,
                                                   const gchar* property_name,
                                                   GError** error,
                                                   gpointer user_data);
static GVariant* _dbus_gnome_shell_get_overview_active (GnomeShell* self);
static gboolean gnome_shell_dbus_interface_set_property (GDBusConnection* connection,
                                                  const gchar* sender,
                                                  const gchar* object_path,
                                                  const gchar* interface_name,
                                                  const gchar* property_name,
                                                  GVariant* value,
                                                  GError** error,
                                                  gpointer user_data);
static void _dbus_gnome_shell_set_overview_active (GnomeShell* self,
                                            GVariant* _value);
static void _gnome_shell_unregister_object (gpointer user_data);
static void g_cclosure_user_marshal_VOID__STRING_BOXED (GClosure * closure,
                                                 GValue * return_value,
                                                 guint n_param_values,
                                                 const GValue * param_values,
                                                 gpointer invocation_hint,
                                                 gpointer marshal_data);
static void gnome_shell_extensions_proxy_g_signal (GDBusProxy* proxy,
                                            const gchar* sender_name,
                                            const gchar* signal_name,
                                            GVariant* parameters);
static void _dbus_handle_gnome_shell_extensions_extension_state_changed (GnomeShellExtensions* self,
                                                                  GVariant* parameters);
static void gnome_shell_extensions_proxy_enable_extension_async (GnomeShellExtensions* self,
                                                          const gchar* uuid,
                                                          GAsyncReadyCallback _callback_,
                                                          gpointer _user_data_);
static gboolean gnome_shell_extensions_proxy_enable_extension_finish (GnomeShellExtensions* self,
                                                               GAsyncResult* _res_,
                                                               GError** error);
static void gnome_shell_extensions_proxy_disable_extension_async (GnomeShellExtensions* self,
                                                           const gchar* uuid,
                                                           GAsyncReadyCallback _callback_,
                                                           gpointer _user_data_);
static gboolean gnome_shell_extensions_proxy_disable_extension_finish (GnomeShellExtensions* self,
                                                                GAsyncResult* _res_,
                                                                GError** error);
static void gnome_shell_extensions_proxy_get_extension_info_async (GnomeShellExtensions* self,
                                                            const gchar* uuid,
                                                            GAsyncReadyCallback _callback_,
                                                            gpointer _user_data_);
static GHashTable* gnome_shell_extensions_proxy_get_extension_info_finish (GnomeShellExtensions* self,
                                                                    GAsyncResult* _res_,
                                                                    GError** error);
static void gnome_shell_extensions_proxy_install_remote_extension_async (GnomeShellExtensions* self,
                                                                  const gchar* uuid,
                                                                  GAsyncReadyCallback _callback_,
                                                                  gpointer _user_data_);
static gchar* gnome_shell_extensions_proxy_install_remote_extension_finish (GnomeShellExtensions* self,
                                                                     GAsyncResult* _res_,
                                                                     GError** error);
static void gnome_shell_extensions_proxy_uninstall_extension_async (GnomeShellExtensions* self,
                                                             const gchar* uuid,
                                                             GAsyncReadyCallback _callback_,
                                                             gpointer _user_data_);
static gboolean gnome_shell_extensions_proxy_uninstall_extension_finish (GnomeShellExtensions* self,
                                                                  GAsyncResult* _res_,
                                                                  GError** error);
static gboolean gnome_shell_extensions_dbus_proxy_get_user_extensions_enabled (GnomeShellExtensions* self);
static void gnome_shell_extensions_dbus_proxy_set_user_extensions_enabled (GnomeShellExtensions* self,
                                                                    gboolean value);
static void gnome_shell_extensions_proxy_gnome_shell_extensions_interface_init (GnomeShellExtensionsIface* iface);
static void _dbus_gnome_shell_extensions_enable_extension (GnomeShellExtensions* self,
                                                    GVariant* _parameters_,
                                                    GDBusMethodInvocation* invocation);
static void _dbus_gnome_shell_extensions_enable_extension_ready (GObject * source_object,
                                                          GAsyncResult * _res_,
                                                          gpointer _user_data_);
static void _dbus_gnome_shell_extensions_disable_extension (GnomeShellExtensions* self,
                                                     GVariant* _parameters_,
                                                     GDBusMethodInvocation* invocation);
static void _dbus_gnome_shell_extensions_disable_extension_ready (GObject * source_object,
                                                           GAsyncResult * _res_,
                                                           gpointer _user_data_);
static void _dbus_gnome_shell_extensions_get_extension_info (GnomeShellExtensions* self,
                                                      GVariant* _parameters_,
                                                      GDBusMethodInvocation* invocation);
static void _dbus_gnome_shell_extensions_get_extension_info_ready (GObject * source_object,
                                                            GAsyncResult * _res_,
                                                            gpointer _user_data_);
static void _dbus_gnome_shell_extensions_install_remote_extension (GnomeShellExtensions* self,
                                                            GVariant* _parameters_,
                                                            GDBusMethodInvocation* invocation);
static void _dbus_gnome_shell_extensions_install_remote_extension_ready (GObject * source_object,
                                                                  GAsyncResult * _res_,
                                                                  gpointer _user_data_);
static void _dbus_gnome_shell_extensions_uninstall_extension (GnomeShellExtensions* self,
                                                       GVariant* _parameters_,
                                                       GDBusMethodInvocation* invocation);
static void _dbus_gnome_shell_extensions_uninstall_extension_ready (GObject * source_object,
                                                             GAsyncResult * _res_,
                                                             gpointer _user_data_);
static void gnome_shell_extensions_dbus_interface_method_call (GDBusConnection* connection,
                                                        const gchar* sender,
                                                        const gchar* object_path,
                                                        const gchar* interface_name,
                                                        const gchar* method_name,
                                                        GVariant* parameters,
                                                        GDBusMethodInvocation* invocation,
                                                        gpointer user_data);
static GVariant* gnome_shell_extensions_dbus_interface_get_property (GDBusConnection* connection,
                                                              const gchar* sender,
                                                              const gchar* object_path,
                                                              const gchar* interface_name,
                                                              const gchar* property_name,
                                                              GError** error,
                                                              gpointer user_data);
static GVariant* _dbus_gnome_shell_extensions_get_user_extensions_enabled (GnomeShellExtensions* self);
static gboolean gnome_shell_extensions_dbus_interface_set_property (GDBusConnection* connection,
                                                             const gchar* sender,
                                                             const gchar* object_path,
                                                             const gchar* interface_name,
                                                             const gchar* property_name,
                                                             GVariant* value,
                                                             GError** error,
                                                             gpointer user_data);
static void _dbus_gnome_shell_extensions_set_user_extensions_enabled (GnomeShellExtensions* self,
                                                               GVariant* _value);
static void _dbus_gnome_shell_extensions_extension_state_changed (GObject* _sender,
                                                           const gchar* uuid,
                                                           GHashTable* state,
                                                           gpointer* _data);
static void _gnome_shell_extensions_unregister_object (gpointer user_data);
static void gnome_shell_integration_proxy_g_signal (GDBusProxy* proxy,
                                             const gchar* sender_name,
                                             const gchar* signal_name,
                                             GVariant* parameters);
static void gnome_shell_integration_proxy_open_screen_overlay_async (GnomeShellIntegration* self,
                                                              GAsyncReadyCallback _callback_,
                                                              gpointer _user_data_);
static void gnome_shell_integration_proxy_open_screen_overlay_finish (GnomeShellIntegration* self,
                                                               GAsyncResult* _res_,
                                                               GError** error);
static gchar* gnome_shell_integration_dbus_proxy_get_version (GnomeShellIntegration* self);
static gchar* gnome_shell_integration_dbus_proxy_get_indicator_type (GnomeShellIntegration* self);
static void gnome_shell_integration_dbus_proxy_set_indicator_type (GnomeShellIntegration* self,
                                                            const gchar* value);
static gboolean gnome_shell_integration_dbus_proxy_get_enable_blur_effect (GnomeShellIntegration* self);
static void gnome_shell_integration_dbus_proxy_set_enable_blur_effect (GnomeShellIntegration* self,
                                                                gboolean value);
static gboolean gnome_shell_integration_dbus_proxy_get_enable_dismiss_gesture (GnomeShellIntegration* self);
static void gnome_shell_integration_dbus_proxy_set_enable_dismiss_gesture (GnomeShellIntegration* self,
                                                                    gboolean value);
static gboolean gnome_shell_integration_dbus_proxy_get_enable_manage_notifications (GnomeShellIntegration* self);
static void gnome_shell_integration_dbus_proxy_set_enable_manage_notifications (GnomeShellIntegration* self,
                                                                         gboolean value);
static void gnome_shell_integration_proxy_gnome_shell_integration_interface_init (GnomeShellIntegrationIface* iface);
static void _dbus_gnome_shell_integration_open_screen_overlay (GnomeShellIntegration* self,
                                                        GVariant* _parameters_,
                                                        GDBusMethodInvocation* invocation);
static void _dbus_gnome_shell_integration_open_screen_overlay_ready (GObject * source_object,
                                                              GAsyncResult * _res_,
                                                              gpointer _user_data_);
static void gnome_shell_integration_dbus_interface_method_call (GDBusConnection* connection,
                                                         const gchar* sender,
                                                         const gchar* object_path,
                                                         const gchar* interface_name,
                                                         const gchar* method_name,
                                                         GVariant* parameters,
                                                         GDBusMethodInvocation* invocation,
                                                         gpointer user_data);
static GVariant* gnome_shell_integration_dbus_interface_get_property (GDBusConnection* connection,
                                                               const gchar* sender,
                                                               const gchar* object_path,
                                                               const gchar* interface_name,
                                                               const gchar* property_name,
                                                               GError** error,
                                                               gpointer user_data);
static GVariant* _dbus_gnome_shell_integration_get_version (GnomeShellIntegration* self);
static GVariant* _dbus_gnome_shell_integration_get_indicator_type (GnomeShellIntegration* self);
static GVariant* _dbus_gnome_shell_integration_get_enable_blur_effect (GnomeShellIntegration* self);
static GVariant* _dbus_gnome_shell_integration_get_enable_dismiss_gesture (GnomeShellIntegration* self);
static GVariant* _dbus_gnome_shell_integration_get_enable_manage_notifications (GnomeShellIntegration* self);
static gboolean gnome_shell_integration_dbus_interface_set_property (GDBusConnection* connection,
                                                              const gchar* sender,
                                                              const gchar* object_path,
                                                              const gchar* interface_name,
                                                              const gchar* property_name,
                                                              GVariant* value,
                                                              GError** error,
                                                              gpointer user_data);
static void _dbus_gnome_shell_integration_set_indicator_type (GnomeShellIntegration* self,
                                                       GVariant* _value);
static void _dbus_gnome_shell_integration_set_enable_blur_effect (GnomeShellIntegration* self,
                                                           GVariant* _value);
static void _dbus_gnome_shell_integration_set_enable_dismiss_gesture (GnomeShellIntegration* self,
                                                               GVariant* _value);
static void _dbus_gnome_shell_integration_set_enable_manage_notifications (GnomeShellIntegration* self,
                                                                    GVariant* _value);
static void _gnome_shell_integration_unregister_object (gpointer user_data);

static const GDBusArgInfo _gnome_screen_saver_dbus_arg_info_get_active_result = {-1, "result", "b", NULL};
static const GDBusArgInfo * const _gnome_screen_saver_dbus_arg_info_get_active_in[] = {NULL};
static const GDBusArgInfo * const _gnome_screen_saver_dbus_arg_info_get_active_out[] = {&_gnome_screen_saver_dbus_arg_info_get_active_result, NULL};
static const GDBusMethodInfo _gnome_screen_saver_dbus_method_info_get_active = {-1, "GetActive", (GDBusArgInfo **) (&_gnome_screen_saver_dbus_arg_info_get_active_in), (GDBusArgInfo **) (&_gnome_screen_saver_dbus_arg_info_get_active_out), NULL};
static const GDBusArgInfo * const _gnome_screen_saver_dbus_arg_info_lock_in[] = {NULL};
static const GDBusArgInfo * const _gnome_screen_saver_dbus_arg_info_lock_out[] = {NULL};
static const GDBusMethodInfo _gnome_screen_saver_dbus_method_info_lock = {-1, "Lock", (GDBusArgInfo **) (&_gnome_screen_saver_dbus_arg_info_lock_in), (GDBusArgInfo **) (&_gnome_screen_saver_dbus_arg_info_lock_out), NULL};
static const GDBusMethodInfo * const _gnome_screen_saver_dbus_method_info[] = {&_gnome_screen_saver_dbus_method_info_get_active, &_gnome_screen_saver_dbus_method_info_lock, NULL};
static const GDBusArgInfo _gnome_screen_saver_dbus_arg_info_active_changed_active = {-1, "active", "b", NULL};
static const GDBusArgInfo * const _gnome_screen_saver_dbus_arg_info_active_changed[] = {&_gnome_screen_saver_dbus_arg_info_active_changed_active, NULL};
static const GDBusSignalInfo _gnome_screen_saver_dbus_signal_info_active_changed = {-1, "ActiveChanged", (GDBusArgInfo **) (&_gnome_screen_saver_dbus_arg_info_active_changed), NULL};
static const GDBusSignalInfo * const _gnome_screen_saver_dbus_signal_info[] = {&_gnome_screen_saver_dbus_signal_info_active_changed, NULL};
static const GDBusPropertyInfo * const _gnome_screen_saver_dbus_property_info[] = {NULL};
static const GDBusInterfaceInfo _gnome_screen_saver_dbus_interface_info = {-1, "org.gnome.ScreenSaver", (GDBusMethodInfo **) (&_gnome_screen_saver_dbus_method_info), (GDBusSignalInfo **) (&_gnome_screen_saver_dbus_signal_info), (GDBusPropertyInfo **) (&_gnome_screen_saver_dbus_property_info), NULL};
static const GDBusInterfaceVTable _gnome_screen_saver_dbus_interface_vtable = {gnome_screen_saver_dbus_interface_method_call, gnome_screen_saver_dbus_interface_get_property, gnome_screen_saver_dbus_interface_set_property};
static const GDBusArgInfo _gnome_idle_monitor_dbus_arg_info_add_idle_watch_interval = {-1, "interval", "t", NULL};
static const GDBusArgInfo _gnome_idle_monitor_dbus_arg_info_add_idle_watch_result = {-1, "result", "u", NULL};
static const GDBusArgInfo * const _gnome_idle_monitor_dbus_arg_info_add_idle_watch_in[] = {&_gnome_idle_monitor_dbus_arg_info_add_idle_watch_interval, NULL};
static const GDBusArgInfo * const _gnome_idle_monitor_dbus_arg_info_add_idle_watch_out[] = {&_gnome_idle_monitor_dbus_arg_info_add_idle_watch_result, NULL};
static const GDBusMethodInfo _gnome_idle_monitor_dbus_method_info_add_idle_watch = {-1, "AddIdleWatch", (GDBusArgInfo **) (&_gnome_idle_monitor_dbus_arg_info_add_idle_watch_in), (GDBusArgInfo **) (&_gnome_idle_monitor_dbus_arg_info_add_idle_watch_out), NULL};
static const GDBusArgInfo _gnome_idle_monitor_dbus_arg_info_add_user_active_watch_result = {-1, "result", "u", NULL};
static const GDBusArgInfo * const _gnome_idle_monitor_dbus_arg_info_add_user_active_watch_in[] = {NULL};
static const GDBusArgInfo * const _gnome_idle_monitor_dbus_arg_info_add_user_active_watch_out[] = {&_gnome_idle_monitor_dbus_arg_info_add_user_active_watch_result, NULL};
static const GDBusMethodInfo _gnome_idle_monitor_dbus_method_info_add_user_active_watch = {-1, "AddUserActiveWatch", (GDBusArgInfo **) (&_gnome_idle_monitor_dbus_arg_info_add_user_active_watch_in), (GDBusArgInfo **) (&_gnome_idle_monitor_dbus_arg_info_add_user_active_watch_out), NULL};
static const GDBusArgInfo _gnome_idle_monitor_dbus_arg_info_get_idletime_result = {-1, "result", "t", NULL};
static const GDBusArgInfo * const _gnome_idle_monitor_dbus_arg_info_get_idletime_in[] = {NULL};
static const GDBusArgInfo * const _gnome_idle_monitor_dbus_arg_info_get_idletime_out[] = {&_gnome_idle_monitor_dbus_arg_info_get_idletime_result, NULL};
static const GDBusMethodInfo _gnome_idle_monitor_dbus_method_info_get_idletime = {-1, "GetIdletime", (GDBusArgInfo **) (&_gnome_idle_monitor_dbus_arg_info_get_idletime_in), (GDBusArgInfo **) (&_gnome_idle_monitor_dbus_arg_info_get_idletime_out), NULL};
static const GDBusArgInfo _gnome_idle_monitor_dbus_arg_info_remove_watch_id = {-1, "id", "u", NULL};
static const GDBusArgInfo * const _gnome_idle_monitor_dbus_arg_info_remove_watch_in[] = {&_gnome_idle_monitor_dbus_arg_info_remove_watch_id, NULL};
static const GDBusArgInfo * const _gnome_idle_monitor_dbus_arg_info_remove_watch_out[] = {NULL};
static const GDBusMethodInfo _gnome_idle_monitor_dbus_method_info_remove_watch = {-1, "RemoveWatch", (GDBusArgInfo **) (&_gnome_idle_monitor_dbus_arg_info_remove_watch_in), (GDBusArgInfo **) (&_gnome_idle_monitor_dbus_arg_info_remove_watch_out), NULL};
static const GDBusMethodInfo * const _gnome_idle_monitor_dbus_method_info[] = {&_gnome_idle_monitor_dbus_method_info_add_idle_watch, &_gnome_idle_monitor_dbus_method_info_add_user_active_watch, &_gnome_idle_monitor_dbus_method_info_get_idletime, &_gnome_idle_monitor_dbus_method_info_remove_watch, NULL};
static const GDBusArgInfo _gnome_idle_monitor_dbus_arg_info_watch_fired_id = {-1, "id", "u", NULL};
static const GDBusArgInfo * const _gnome_idle_monitor_dbus_arg_info_watch_fired[] = {&_gnome_idle_monitor_dbus_arg_info_watch_fired_id, NULL};
static const GDBusSignalInfo _gnome_idle_monitor_dbus_signal_info_watch_fired = {-1, "WatchFired", (GDBusArgInfo **) (&_gnome_idle_monitor_dbus_arg_info_watch_fired), NULL};
static const GDBusSignalInfo * const _gnome_idle_monitor_dbus_signal_info[] = {&_gnome_idle_monitor_dbus_signal_info_watch_fired, NULL};
static const GDBusPropertyInfo * const _gnome_idle_monitor_dbus_property_info[] = {NULL};
static const GDBusInterfaceInfo _gnome_idle_monitor_dbus_interface_info = {-1, "org.gnome.Mutter.IdleMonitor", (GDBusMethodInfo **) (&_gnome_idle_monitor_dbus_method_info), (GDBusSignalInfo **) (&_gnome_idle_monitor_dbus_signal_info), (GDBusPropertyInfo **) (&_gnome_idle_monitor_dbus_property_info), NULL};
static const GDBusInterfaceVTable _gnome_idle_monitor_dbus_interface_vtable = {gnome_idle_monitor_dbus_interface_method_call, gnome_idle_monitor_dbus_interface_get_property, gnome_idle_monitor_dbus_interface_set_property};
static const GDBusMethodInfo * const _gnome_shell_dbus_method_info[] = {NULL};
static const GDBusSignalInfo * const _gnome_shell_dbus_signal_info[] = {NULL};
static const GDBusPropertyInfo _gnome_shell_dbus_property_info_overview_active = {-1, "OverviewActive", "b", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE, NULL};
static const GDBusPropertyInfo * const _gnome_shell_dbus_property_info[] = {&_gnome_shell_dbus_property_info_overview_active, NULL};
static const GDBusInterfaceInfo _gnome_shell_dbus_interface_info = {-1, "org.gnome.Shell", (GDBusMethodInfo **) (&_gnome_shell_dbus_method_info), (GDBusSignalInfo **) (&_gnome_shell_dbus_signal_info), (GDBusPropertyInfo **) (&_gnome_shell_dbus_property_info), NULL};
static const GDBusInterfaceVTable _gnome_shell_dbus_interface_vtable = {gnome_shell_dbus_interface_method_call, gnome_shell_dbus_interface_get_property, gnome_shell_dbus_interface_set_property};
static const GDBusArgInfo _gnome_shell_extensions_dbus_arg_info_enable_extension_uuid = {-1, "uuid", "s", NULL};
static const GDBusArgInfo _gnome_shell_extensions_dbus_arg_info_enable_extension_result = {-1, "result", "b", NULL};
static const GDBusArgInfo * const _gnome_shell_extensions_dbus_arg_info_enable_extension_in[] = {&_gnome_shell_extensions_dbus_arg_info_enable_extension_uuid, NULL};
static const GDBusArgInfo * const _gnome_shell_extensions_dbus_arg_info_enable_extension_out[] = {&_gnome_shell_extensions_dbus_arg_info_enable_extension_result, NULL};
static const GDBusMethodInfo _gnome_shell_extensions_dbus_method_info_enable_extension = {-1, "EnableExtension", (GDBusArgInfo **) (&_gnome_shell_extensions_dbus_arg_info_enable_extension_in), (GDBusArgInfo **) (&_gnome_shell_extensions_dbus_arg_info_enable_extension_out), NULL};
static const GDBusArgInfo _gnome_shell_extensions_dbus_arg_info_disable_extension_uuid = {-1, "uuid", "s", NULL};
static const GDBusArgInfo _gnome_shell_extensions_dbus_arg_info_disable_extension_result = {-1, "result", "b", NULL};
static const GDBusArgInfo * const _gnome_shell_extensions_dbus_arg_info_disable_extension_in[] = {&_gnome_shell_extensions_dbus_arg_info_disable_extension_uuid, NULL};
static const GDBusArgInfo * const _gnome_shell_extensions_dbus_arg_info_disable_extension_out[] = {&_gnome_shell_extensions_dbus_arg_info_disable_extension_result, NULL};
static const GDBusMethodInfo _gnome_shell_extensions_dbus_method_info_disable_extension = {-1, "DisableExtension", (GDBusArgInfo **) (&_gnome_shell_extensions_dbus_arg_info_disable_extension_in), (GDBusArgInfo **) (&_gnome_shell_extensions_dbus_arg_info_disable_extension_out), NULL};
static const GDBusArgInfo _gnome_shell_extensions_dbus_arg_info_get_extension_info_uuid = {-1, "uuid", "s", NULL};
static const GDBusArgInfo _gnome_shell_extensions_dbus_arg_info_get_extension_info_result = {-1, "result", "a{sv}", NULL};
static const GDBusArgInfo * const _gnome_shell_extensions_dbus_arg_info_get_extension_info_in[] = {&_gnome_shell_extensions_dbus_arg_info_get_extension_info_uuid, NULL};
static const GDBusArgInfo * const _gnome_shell_extensions_dbus_arg_info_get_extension_info_out[] = {&_gnome_shell_extensions_dbus_arg_info_get_extension_info_result, NULL};
static const GDBusMethodInfo _gnome_shell_extensions_dbus_method_info_get_extension_info = {-1, "GetExtensionInfo", (GDBusArgInfo **) (&_gnome_shell_extensions_dbus_arg_info_get_extension_info_in), (GDBusArgInfo **) (&_gnome_shell_extensions_dbus_arg_info_get_extension_info_out), NULL};
static const GDBusArgInfo _gnome_shell_extensions_dbus_arg_info_install_remote_extension_uuid = {-1, "uuid", "s", NULL};
static const GDBusArgInfo _gnome_shell_extensions_dbus_arg_info_install_remote_extension_result = {-1, "result", "s", NULL};
static const GDBusArgInfo * const _gnome_shell_extensions_dbus_arg_info_install_remote_extension_in[] = {&_gnome_shell_extensions_dbus_arg_info_install_remote_extension_uuid, NULL};
static const GDBusArgInfo * const _gnome_shell_extensions_dbus_arg_info_install_remote_extension_out[] = {&_gnome_shell_extensions_dbus_arg_info_install_remote_extension_result, NULL};
static const GDBusMethodInfo _gnome_shell_extensions_dbus_method_info_install_remote_extension = {-1, "InstallRemoteExtension", (GDBusArgInfo **) (&_gnome_shell_extensions_dbus_arg_info_install_remote_extension_in), (GDBusArgInfo **) (&_gnome_shell_extensions_dbus_arg_info_install_remote_extension_out), NULL};
static const GDBusArgInfo _gnome_shell_extensions_dbus_arg_info_uninstall_extension_uuid = {-1, "uuid", "s", NULL};
static const GDBusArgInfo _gnome_shell_extensions_dbus_arg_info_uninstall_extension_result = {-1, "result", "b", NULL};
static const GDBusArgInfo * const _gnome_shell_extensions_dbus_arg_info_uninstall_extension_in[] = {&_gnome_shell_extensions_dbus_arg_info_uninstall_extension_uuid, NULL};
static const GDBusArgInfo * const _gnome_shell_extensions_dbus_arg_info_uninstall_extension_out[] = {&_gnome_shell_extensions_dbus_arg_info_uninstall_extension_result, NULL};
static const GDBusMethodInfo _gnome_shell_extensions_dbus_method_info_uninstall_extension = {-1, "UninstallExtension", (GDBusArgInfo **) (&_gnome_shell_extensions_dbus_arg_info_uninstall_extension_in), (GDBusArgInfo **) (&_gnome_shell_extensions_dbus_arg_info_uninstall_extension_out), NULL};
static const GDBusMethodInfo * const _gnome_shell_extensions_dbus_method_info[] = {&_gnome_shell_extensions_dbus_method_info_enable_extension, &_gnome_shell_extensions_dbus_method_info_disable_extension, &_gnome_shell_extensions_dbus_method_info_get_extension_info, &_gnome_shell_extensions_dbus_method_info_install_remote_extension, &_gnome_shell_extensions_dbus_method_info_uninstall_extension, NULL};
static const GDBusArgInfo _gnome_shell_extensions_dbus_arg_info_extension_state_changed_uuid = {-1, "uuid", "s", NULL};
static const GDBusArgInfo _gnome_shell_extensions_dbus_arg_info_extension_state_changed_state = {-1, "state", "a{sv}", NULL};
static const GDBusArgInfo * const _gnome_shell_extensions_dbus_arg_info_extension_state_changed[] = {&_gnome_shell_extensions_dbus_arg_info_extension_state_changed_uuid, &_gnome_shell_extensions_dbus_arg_info_extension_state_changed_state, NULL};
static const GDBusSignalInfo _gnome_shell_extensions_dbus_signal_info_extension_state_changed = {-1, "ExtensionStateChanged", (GDBusArgInfo **) (&_gnome_shell_extensions_dbus_arg_info_extension_state_changed), NULL};
static const GDBusSignalInfo * const _gnome_shell_extensions_dbus_signal_info[] = {&_gnome_shell_extensions_dbus_signal_info_extension_state_changed, NULL};
static const GDBusPropertyInfo _gnome_shell_extensions_dbus_property_info_user_extensions_enabled = {-1, "UserExtensionsEnabled", "b", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE, NULL};
static const GDBusPropertyInfo * const _gnome_shell_extensions_dbus_property_info[] = {&_gnome_shell_extensions_dbus_property_info_user_extensions_enabled, NULL};
static const GDBusInterfaceInfo _gnome_shell_extensions_dbus_interface_info = {-1, "org.gnome.Shell.Extensions", (GDBusMethodInfo **) (&_gnome_shell_extensions_dbus_method_info), (GDBusSignalInfo **) (&_gnome_shell_extensions_dbus_signal_info), (GDBusPropertyInfo **) (&_gnome_shell_extensions_dbus_property_info), NULL};
static const GDBusInterfaceVTable _gnome_shell_extensions_dbus_interface_vtable = {gnome_shell_extensions_dbus_interface_method_call, gnome_shell_extensions_dbus_interface_get_property, gnome_shell_extensions_dbus_interface_set_property};
static const GDBusArgInfo * const _gnome_shell_integration_dbus_arg_info_open_screen_overlay_in[] = {NULL};
static const GDBusArgInfo * const _gnome_shell_integration_dbus_arg_info_open_screen_overlay_out[] = {NULL};
static const GDBusMethodInfo _gnome_shell_integration_dbus_method_info_open_screen_overlay = {-1, "OpenScreenOverlay", (GDBusArgInfo **) (&_gnome_shell_integration_dbus_arg_info_open_screen_overlay_in), (GDBusArgInfo **) (&_gnome_shell_integration_dbus_arg_info_open_screen_overlay_out), NULL};
static const GDBusMethodInfo * const _gnome_shell_integration_dbus_method_info[] = {&_gnome_shell_integration_dbus_method_info_open_screen_overlay, NULL};
static const GDBusSignalInfo * const _gnome_shell_integration_dbus_signal_info[] = {NULL};
static const GDBusPropertyInfo _gnome_shell_integration_dbus_property_info_version = {-1, "Version", "s", G_DBUS_PROPERTY_INFO_FLAGS_READABLE, NULL};
static const GDBusPropertyInfo _gnome_shell_integration_dbus_property_info_indicator_type = {-1, "IndicatorType", "s", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE, NULL};
static const GDBusPropertyInfo _gnome_shell_integration_dbus_property_info_enable_blur_effect = {-1, "EnableBlurEffect", "b", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE, NULL};
static const GDBusPropertyInfo _gnome_shell_integration_dbus_property_info_enable_dismiss_gesture = {-1, "EnableDismissGesture", "b", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE, NULL};
static const GDBusPropertyInfo _gnome_shell_integration_dbus_property_info_enable_manage_notifications = {-1, "EnableManageNotifications", "b", G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE, NULL};
static const GDBusPropertyInfo * const _gnome_shell_integration_dbus_property_info[] = {&_gnome_shell_integration_dbus_property_info_version, &_gnome_shell_integration_dbus_property_info_indicator_type, &_gnome_shell_integration_dbus_property_info_enable_blur_effect, &_gnome_shell_integration_dbus_property_info_enable_dismiss_gesture, &_gnome_shell_integration_dbus_property_info_enable_manage_notifications, NULL};
static const GDBusInterfaceInfo _gnome_shell_integration_dbus_interface_info = {-1, "io.github.focustimerhq.FocusTimer.ShellIntegration", (GDBusMethodInfo **) (&_gnome_shell_integration_dbus_method_info), (GDBusSignalInfo **) (&_gnome_shell_integration_dbus_signal_info), (GDBusPropertyInfo **) (&_gnome_shell_integration_dbus_property_info), NULL};
static const GDBusInterfaceVTable _gnome_shell_integration_dbus_interface_vtable = {gnome_shell_integration_dbus_interface_method_call, gnome_shell_integration_dbus_interface_get_property, gnome_shell_integration_dbus_interface_set_property};

void
gnome_screen_saver_get_active (GnomeScreenSaver* self,
                               GAsyncReadyCallback _callback_,
                               gpointer _user_data_)
{
	GnomeScreenSaverIface* _iface_;
	_iface_ = GNOME_SCREEN_SAVER_GET_INTERFACE (self);
	if (_iface_->get_active) {
		_iface_->get_active (self, _callback_, _user_data_);
	}
}

gboolean
gnome_screen_saver_get_active_finish (GnomeScreenSaver* self,
                                      GAsyncResult* _res_,
                                      GError** error)
{
	GnomeScreenSaverIface* _iface_;
	_iface_ = GNOME_SCREEN_SAVER_GET_INTERFACE (self);
	if (_iface_->get_active_finish) {
		return _iface_->get_active_finish (self, _res_, error);
	}
	return FALSE;
}

void
gnome_screen_saver_lock (GnomeScreenSaver* self,
                         GAsyncReadyCallback _callback_,
                         gpointer _user_data_)
{
	GnomeScreenSaverIface* _iface_;
	_iface_ = GNOME_SCREEN_SAVER_GET_INTERFACE (self);
	if (_iface_->lock) {
		_iface_->lock (self, _callback_, _user_data_);
	}
}

void
gnome_screen_saver_lock_finish (GnomeScreenSaver* self,
                                GAsyncResult* _res_,
                                GError** error)
{
	GnomeScreenSaverIface* _iface_;
	_iface_ = GNOME_SCREEN_SAVER_GET_INTERFACE (self);
	if (_iface_->lock_finish) {
		_iface_->lock_finish (self, _res_, error);
	}
}

static void
gnome_screen_saver_default_init (GnomeScreenSaverIface * iface,
                                 gpointer iface_data)
{
	gnome_screen_saver_signals[GNOME_SCREEN_SAVER_ACTIVE_CHANGED_SIGNAL] = g_signal_new ("active-changed", GNOME_TYPE_SCREEN_SAVER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__BOOLEAN, G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
}

GType
gnome_screen_saver_get_type (void)
{
	return gnome_screen_saver_type_id;
}

GType
gnome_screen_saver_register_type (GTypeModule * module)
{
	static const GTypeInfo g_define_type_info = { sizeof (GnomeScreenSaverIface), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gnome_screen_saver_default_init, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
	gnome_screen_saver_type_id = g_type_module_register_type (module, G_TYPE_INTERFACE, "GnomeScreenSaver", &g_define_type_info, 0);
	g_type_interface_add_prerequisite (gnome_screen_saver_type_id, G_TYPE_OBJECT);
	g_type_set_qdata (gnome_screen_saver_type_id, g_quark_from_static_string ("vala-dbus-proxy-type"), (void*) gnome_screen_saver_proxy_get_type);
	g_type_set_qdata (gnome_screen_saver_type_id, g_quark_from_static_string ("vala-dbus-interface-name"), "org.gnome.ScreenSaver");
	g_type_set_qdata (gnome_screen_saver_type_id, g_quark_from_static_string ("vala-dbus-interface-info"), (void*) (&_gnome_screen_saver_dbus_interface_info));
	g_type_set_qdata (gnome_screen_saver_type_id, g_quark_from_static_string ("vala-dbus-register-object"), (void*) gnome_screen_saver_register_object);
	return gnome_screen_saver_type_id;
}

G_DEFINE_DYNAMIC_TYPE_EXTENDED (GnomeScreenSaverProxy, gnome_screen_saver_proxy, G_TYPE_DBUS_PROXY, 0, G_IMPLEMENT_INTERFACE_DYNAMIC (GNOME_TYPE_SCREEN_SAVER, gnome_screen_saver_proxy_gnome_screen_saver_interface_init) )
static void
gnome_screen_saver_proxy_class_init (GnomeScreenSaverProxyClass* klass)
{
	G_DBUS_PROXY_CLASS (klass)->g_signal = gnome_screen_saver_proxy_g_signal;
}

static void
_dbus_handle_gnome_screen_saver_active_changed (GnomeScreenSaver* self,
                                                GVariant* parameters)
{
	GVariantIter _arguments_iter;
	gboolean active = FALSE;
	GVariant* _tmp0_;
	g_variant_iter_init (&_arguments_iter, parameters);
	_tmp0_ = g_variant_iter_next_value (&_arguments_iter);
	active = g_variant_get_boolean (_tmp0_);
	g_variant_unref (_tmp0_);
	g_signal_emit_by_name (self, "active-changed", active);
}

static void
gnome_screen_saver_proxy_g_signal (GDBusProxy* proxy,
                                   const gchar* sender_name,
                                   const gchar* signal_name,
                                   GVariant* parameters)
{
	if (strcmp (signal_name, "ActiveChanged") == 0) {
		_dbus_handle_gnome_screen_saver_active_changed ((GnomeScreenSaver*) proxy, parameters);
	}
}

static void
gnome_screen_saver_proxy_class_finalize (GnomeScreenSaverProxyClass* klass)
{
}

void
gnome_screen_saver_proxy_register_dynamic_type (GTypeModule* module)
{
	gnome_screen_saver_proxy_register_type (module);
}

static void
gnome_screen_saver_proxy_init (GnomeScreenSaverProxy* self)
{
	g_dbus_proxy_set_interface_info (G_DBUS_PROXY (self), (GDBusInterfaceInfo *) (&_gnome_screen_saver_dbus_interface_info));
}

static void
_vala_g_async_ready_callback (GObject *source_object,
                              GAsyncResult *res,
                              void *user_data)
{
	g_task_return_pointer (user_data, g_object_ref (res), g_object_unref);
	g_object_unref (user_data);
}

static void
gnome_screen_saver_proxy_get_active_async (GnomeScreenSaver* self,
                                           GAsyncReadyCallback _callback_,
                                           gpointer _user_data_)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	G_DBUS_ERROR;
	G_IO_ERROR;
	_message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "org.gnome.ScreenSaver", "GetActive");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	_arguments = g_variant_builder_end (&_arguments_builder);
	g_dbus_message_set_body (_message, _arguments);
	if (_callback_ != NULL) {
		g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_task_new ((GObject *) self, NULL, _callback_, _user_data_));
	} else {
		g_dbus_message_set_flags (_message, G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED);
		g_dbus_connection_send_message (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	}
	g_object_unref (_message);
}

static gboolean
gnome_screen_saver_proxy_get_active_finish (GnomeScreenSaver* self,
                                            GAsyncResult* _res_,
                                            GError** error)
{
	GAsyncResult *_inner_res;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	gboolean _result = FALSE;
	GVariant* _tmp3_;
	_inner_res = g_task_propagate_pointer ((GTask *) _res_, NULL);
	_reply_message = g_dbus_connection_send_message_with_reply_finish (g_dbus_proxy_get_connection ((GDBusProxy *) self), _inner_res, error);
	g_object_unref (_inner_res);
	if (!_reply_message) {
		gboolean _tmp1_ = FALSE;
		return _tmp1_;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		gboolean _tmp2_ = FALSE;
		g_object_unref (_reply_message);
		return _tmp2_;
	}
	_reply = g_dbus_message_get_body (_reply_message);
	g_variant_iter_init (&_reply_iter, _reply);
	_tmp3_ = g_variant_iter_next_value (&_reply_iter);
	_result = g_variant_get_boolean (_tmp3_);
	g_variant_unref (_tmp3_);
	g_object_unref (_reply_message);
	return _result;
}

static void
gnome_screen_saver_proxy_lock_async (GnomeScreenSaver* self,
                                     GAsyncReadyCallback _callback_,
                                     gpointer _user_data_)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	G_DBUS_ERROR;
	G_IO_ERROR;
	_message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "org.gnome.ScreenSaver", "Lock");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	_arguments = g_variant_builder_end (&_arguments_builder);
	g_dbus_message_set_body (_message, _arguments);
	if (_callback_ != NULL) {
		g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_task_new ((GObject *) self, NULL, _callback_, _user_data_));
	} else {
		g_dbus_message_set_flags (_message, G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED);
		g_dbus_connection_send_message (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	}
	g_object_unref (_message);
}

static void
gnome_screen_saver_proxy_lock_finish (GnomeScreenSaver* self,
                                      GAsyncResult* _res_,
                                      GError** error)
{
	GAsyncResult *_inner_res;
	GDBusMessage *_reply_message;
	_inner_res = g_task_propagate_pointer ((GTask *) _res_, NULL);
	_reply_message = g_dbus_connection_send_message_with_reply_finish (g_dbus_proxy_get_connection ((GDBusProxy *) self), _inner_res, error);
	g_object_unref (_inner_res);
	if (!_reply_message) {
		return;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		g_object_unref (_reply_message);
		return;
	}
	g_object_unref (_reply_message);
}

static void
gnome_screen_saver_proxy_gnome_screen_saver_interface_init (GnomeScreenSaverIface* iface)
{
	iface->get_active = gnome_screen_saver_proxy_get_active_async;
	iface->get_active_finish = gnome_screen_saver_proxy_get_active_finish;
	iface->lock = gnome_screen_saver_proxy_lock_async;
	iface->lock_finish = gnome_screen_saver_proxy_lock_finish;
}

static void
_dbus_gnome_screen_saver_get_active (GnomeScreenSaver* self,
                                     GVariant* _parameters_,
                                     GDBusMethodInvocation* invocation)
{
	GVariantIter _arguments_iter;
	GnomeScreenSaverGetActiveReadyData* _ready_data;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_ready_data = g_slice_new0 (GnomeScreenSaverGetActiveReadyData);
	_ready_data->_invocation_ = invocation;
	gnome_screen_saver_get_active (self, (GAsyncReadyCallback) _dbus_gnome_screen_saver_get_active_ready, _ready_data);
}

static void
_dbus_gnome_screen_saver_get_active_ready (GObject * source_object,
                                           GAsyncResult * _res_,
                                           gpointer _user_data_)
{
	GnomeScreenSaverGetActiveReadyData* _ready_data;
	GDBusMethodInvocation* invocation;
	GError* error = NULL;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	gboolean result;
	_ready_data = _user_data_;
	invocation = _ready_data->_invocation_;
	result = gnome_screen_saver_get_active_finish ((GnomeScreenSaver*) source_object, _res_, &error);
	if (error) {
		g_dbus_method_invocation_take_error (invocation, error);
		goto _error;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_reply_builder, g_variant_new_boolean (result));
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	g_object_unref (invocation);
	g_object_unref (_reply_message);
	_error:
	g_slice_free (GnomeScreenSaverGetActiveReadyData, _ready_data);
}

static void
_dbus_gnome_screen_saver_lock (GnomeScreenSaver* self,
                               GVariant* _parameters_,
                               GDBusMethodInvocation* invocation)
{
	GVariantIter _arguments_iter;
	GnomeScreenSaverLockReadyData* _ready_data;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_ready_data = g_slice_new0 (GnomeScreenSaverLockReadyData);
	_ready_data->_invocation_ = invocation;
	gnome_screen_saver_lock (self, (GAsyncReadyCallback) _dbus_gnome_screen_saver_lock_ready, _ready_data);
}

static void
_dbus_gnome_screen_saver_lock_ready (GObject * source_object,
                                     GAsyncResult * _res_,
                                     gpointer _user_data_)
{
	GnomeScreenSaverLockReadyData* _ready_data;
	GDBusMethodInvocation* invocation;
	GError* error = NULL;
	_ready_data = _user_data_;
	invocation = _ready_data->_invocation_;
	gnome_screen_saver_lock_finish ((GnomeScreenSaver*) source_object, _res_, &error);
	_error:
	g_slice_free (GnomeScreenSaverLockReadyData, _ready_data);
}

static void
gnome_screen_saver_dbus_interface_method_call (GDBusConnection* connection,
                                               const gchar* sender,
                                               const gchar* object_path,
                                               const gchar* interface_name,
                                               const gchar* method_name,
                                               GVariant* parameters,
                                               GDBusMethodInvocation* invocation,
                                               gpointer user_data)
{
	gpointer* data;
	gpointer object;
	data = user_data;
	object = data[0];
	if (strcmp (method_name, "GetActive") == 0) {
		_dbus_gnome_screen_saver_get_active (object, parameters, invocation);
	} else if (strcmp (method_name, "Lock") == 0) {
		_dbus_gnome_screen_saver_lock (object, parameters, invocation);
	} else {
		g_object_unref (invocation);
	}
}

static GVariant*
gnome_screen_saver_dbus_interface_get_property (GDBusConnection* connection,
                                                const gchar* sender,
                                                const gchar* object_path,
                                                const gchar* interface_name,
                                                const gchar* property_name,
                                                GError** error,
                                                gpointer user_data)
{
	return NULL;
}

static gboolean
gnome_screen_saver_dbus_interface_set_property (GDBusConnection* connection,
                                                const gchar* sender,
                                                const gchar* object_path,
                                                const gchar* interface_name,
                                                const gchar* property_name,
                                                GVariant* value,
                                                GError** error,
                                                gpointer user_data)
{
	return FALSE;
}

static void
_dbus_gnome_screen_saver_active_changed (GObject* _sender,
                                         gboolean active,
                                         gpointer* _data)
{
	GDBusConnection * _connection;
	const gchar * _path;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	_connection = _data[1];
	_path = _data[2];
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_boolean (active));
	_arguments = g_variant_builder_end (&_arguments_builder);
	g_dbus_connection_emit_signal (_connection, NULL, _path, "org.gnome.ScreenSaver", "ActiveChanged", _arguments, NULL);
}

guint
gnome_screen_saver_register_object (gpointer object,
                                    GDBusConnection* connection,
                                    const gchar* path,
                                    GError** error)
{
	guint result;
	gpointer *data;
	data = g_new (gpointer, 3);
	data[0] = g_object_ref (object);
	data[1] = g_object_ref (connection);
	data[2] = g_strdup (path);
	result = g_dbus_connection_register_object (connection, path, (GDBusInterfaceInfo *) (&_gnome_screen_saver_dbus_interface_info), &_gnome_screen_saver_dbus_interface_vtable, data, _gnome_screen_saver_unregister_object, error);
	if (!result) {
		return 0;
	}
	g_signal_connect (object, "active-changed", (GCallback) _dbus_gnome_screen_saver_active_changed, data);
	return result;
}

static void
_gnome_screen_saver_unregister_object (gpointer user_data)
{
	gpointer* data;
	data = user_data;
	g_signal_handlers_disconnect_by_func (data[0], _dbus_gnome_screen_saver_active_changed, data);
	g_object_unref (data[0]);
	g_object_unref (data[1]);
	g_free (data[2]);
	g_free (data);
}

guint32
gnome_idle_monitor_add_idle_watch (GnomeIdleMonitor* self,
                                   guint64 interval,
                                   GError** error)
{
	GnomeIdleMonitorIface* _iface_;
	g_return_val_if_fail (self != NULL, 0U);
	_iface_ = GNOME_IDLE_MONITOR_GET_INTERFACE (self);
	if (_iface_->add_idle_watch) {
		return _iface_->add_idle_watch (self, interval, error);
	}
	return 0U;
}

guint32
gnome_idle_monitor_add_user_active_watch (GnomeIdleMonitor* self,
                                          GError** error)
{
	GnomeIdleMonitorIface* _iface_;
	g_return_val_if_fail (self != NULL, 0U);
	_iface_ = GNOME_IDLE_MONITOR_GET_INTERFACE (self);
	if (_iface_->add_user_active_watch) {
		return _iface_->add_user_active_watch (self, error);
	}
	return 0U;
}

guint64
gnome_idle_monitor_get_idletime (GnomeIdleMonitor* self,
                                 GError** error)
{
	GnomeIdleMonitorIface* _iface_;
	g_return_val_if_fail (self != NULL, 0ULL);
	_iface_ = GNOME_IDLE_MONITOR_GET_INTERFACE (self);
	if (_iface_->get_idletime) {
		return _iface_->get_idletime (self, error);
	}
	return 0ULL;
}

void
gnome_idle_monitor_remove_watch (GnomeIdleMonitor* self,
                                 guint32 id,
                                 GError** error)
{
	GnomeIdleMonitorIface* _iface_;
	g_return_if_fail (self != NULL);
	_iface_ = GNOME_IDLE_MONITOR_GET_INTERFACE (self);
	if (_iface_->remove_watch) {
		_iface_->remove_watch (self, id, error);
	}
}

static void
gnome_idle_monitor_default_init (GnomeIdleMonitorIface * iface,
                                 gpointer iface_data)
{
	gnome_idle_monitor_signals[GNOME_IDLE_MONITOR_WATCH_FIRED_SIGNAL] = g_signal_new ("watch-fired", GNOME_TYPE_IDLE_MONITOR, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__UINT, G_TYPE_NONE, 1, G_TYPE_UINT);
}

GType
gnome_idle_monitor_get_type (void)
{
	return gnome_idle_monitor_type_id;
}

GType
gnome_idle_monitor_register_type (GTypeModule * module)
{
	static const GTypeInfo g_define_type_info = { sizeof (GnomeIdleMonitorIface), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gnome_idle_monitor_default_init, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
	gnome_idle_monitor_type_id = g_type_module_register_type (module, G_TYPE_INTERFACE, "GnomeIdleMonitor", &g_define_type_info, 0);
	g_type_interface_add_prerequisite (gnome_idle_monitor_type_id, G_TYPE_OBJECT);
	g_type_set_qdata (gnome_idle_monitor_type_id, g_quark_from_static_string ("vala-dbus-proxy-type"), (void*) gnome_idle_monitor_proxy_get_type);
	g_type_set_qdata (gnome_idle_monitor_type_id, g_quark_from_static_string ("vala-dbus-interface-name"), "org.gnome.Mutter.IdleMonitor");
	g_type_set_qdata (gnome_idle_monitor_type_id, g_quark_from_static_string ("vala-dbus-interface-info"), (void*) (&_gnome_idle_monitor_dbus_interface_info));
	g_type_set_qdata (gnome_idle_monitor_type_id, g_quark_from_static_string ("vala-dbus-register-object"), (void*) gnome_idle_monitor_register_object);
	return gnome_idle_monitor_type_id;
}

G_DEFINE_DYNAMIC_TYPE_EXTENDED (GnomeIdleMonitorProxy, gnome_idle_monitor_proxy, G_TYPE_DBUS_PROXY, 0, G_IMPLEMENT_INTERFACE_DYNAMIC (GNOME_TYPE_IDLE_MONITOR, gnome_idle_monitor_proxy_gnome_idle_monitor_interface_init) )
static void
gnome_idle_monitor_proxy_class_init (GnomeIdleMonitorProxyClass* klass)
{
	G_DBUS_PROXY_CLASS (klass)->g_signal = gnome_idle_monitor_proxy_g_signal;
}

static void
_dbus_handle_gnome_idle_monitor_watch_fired (GnomeIdleMonitor* self,
                                             GVariant* parameters)
{
	GVariantIter _arguments_iter;
	guint32 id = 0U;
	GVariant* _tmp4_;
	g_variant_iter_init (&_arguments_iter, parameters);
	_tmp4_ = g_variant_iter_next_value (&_arguments_iter);
	id = g_variant_get_uint32 (_tmp4_);
	g_variant_unref (_tmp4_);
	g_signal_emit_by_name (self, "watch-fired", id);
}

static void
gnome_idle_monitor_proxy_g_signal (GDBusProxy* proxy,
                                   const gchar* sender_name,
                                   const gchar* signal_name,
                                   GVariant* parameters)
{
	if (strcmp (signal_name, "WatchFired") == 0) {
		_dbus_handle_gnome_idle_monitor_watch_fired ((GnomeIdleMonitor*) proxy, parameters);
	}
}

static void
gnome_idle_monitor_proxy_class_finalize (GnomeIdleMonitorProxyClass* klass)
{
}

void
gnome_idle_monitor_proxy_register_dynamic_type (GTypeModule* module)
{
	gnome_idle_monitor_proxy_register_type (module);
}

static void
gnome_idle_monitor_proxy_init (GnomeIdleMonitorProxy* self)
{
	g_dbus_proxy_set_interface_info (G_DBUS_PROXY (self), (GDBusInterfaceInfo *) (&_gnome_idle_monitor_dbus_interface_info));
}

static guint32
gnome_idle_monitor_proxy_add_idle_watch (GnomeIdleMonitor* self,
                                         guint64 interval,
                                         GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	guint32 _result = 0U;
	GVariant* _tmp7_;
	G_DBUS_ERROR;
	G_IO_ERROR;
	_message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "org.gnome.Mutter.IdleMonitor", "AddIdleWatch");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_uint64 (interval));
	_arguments = g_variant_builder_end (&_arguments_builder);
	g_dbus_message_set_body (_message, _arguments);
	_reply_message = g_dbus_connection_send_message_with_reply_sync (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, error);
	g_object_unref (_message);
	if (!_reply_message) {
		guint32 _tmp5_ = 0U;
		return _tmp5_;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		guint32 _tmp6_ = 0U;
		g_object_unref (_reply_message);
		return _tmp6_;
	}
	_reply = g_dbus_message_get_body (_reply_message);
	g_variant_iter_init (&_reply_iter, _reply);
	_tmp7_ = g_variant_iter_next_value (&_reply_iter);
	_result = g_variant_get_uint32 (_tmp7_);
	g_variant_unref (_tmp7_);
	g_object_unref (_reply_message);
	return _result;
}

static guint32
gnome_idle_monitor_proxy_add_user_active_watch (GnomeIdleMonitor* self,
                                                GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	guint32 _result = 0U;
	GVariant* _tmp10_;
	G_DBUS_ERROR;
	G_IO_ERROR;
	_message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "org.gnome.Mutter.IdleMonitor", "AddUserActiveWatch");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	_arguments = g_variant_builder_end (&_arguments_builder);
	g_dbus_message_set_body (_message, _arguments);
	_reply_message = g_dbus_connection_send_message_with_reply_sync (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, error);
	g_object_unref (_message);
	if (!_reply_message) {
		guint32 _tmp8_ = 0U;
		return _tmp8_;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		guint32 _tmp9_ = 0U;
		g_object_unref (_reply_message);
		return _tmp9_;
	}
	_reply = g_dbus_message_get_body (_reply_message);
	g_variant_iter_init (&_reply_iter, _reply);
	_tmp10_ = g_variant_iter_next_value (&_reply_iter);
	_result = g_variant_get_uint32 (_tmp10_);
	g_variant_unref (_tmp10_);
	g_object_unref (_reply_message);
	return _result;
}

static guint64
gnome_idle_monitor_proxy_get_idletime (GnomeIdleMonitor* self,
                                       GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	guint64 _result = 0ULL;
	GVariant* _tmp13_;
	G_DBUS_ERROR;
	G_IO_ERROR;
	_message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "org.gnome.Mutter.IdleMonitor", "GetIdletime");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	_arguments = g_variant_builder_end (&_arguments_builder);
	g_dbus_message_set_body (_message, _arguments);
	_reply_message = g_dbus_connection_send_message_with_reply_sync (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, error);
	g_object_unref (_message);
	if (!_reply_message) {
		guint64 _tmp11_ = 0ULL;
		return _tmp11_;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		guint64 _tmp12_ = 0ULL;
		g_object_unref (_reply_message);
		return _tmp12_;
	}
	_reply = g_dbus_message_get_body (_reply_message);
	g_variant_iter_init (&_reply_iter, _reply);
	_tmp13_ = g_variant_iter_next_value (&_reply_iter);
	_result = g_variant_get_uint64 (_tmp13_);
	g_variant_unref (_tmp13_);
	g_object_unref (_reply_message);
	return _result;
}

static void
gnome_idle_monitor_proxy_remove_watch (GnomeIdleMonitor* self,
                                       guint32 id,
                                       GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	G_DBUS_ERROR;
	G_IO_ERROR;
	_message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "org.gnome.Mutter.IdleMonitor", "RemoveWatch");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_uint32 (id));
	_arguments = g_variant_builder_end (&_arguments_builder);
	g_dbus_message_set_body (_message, _arguments);
	_reply_message = g_dbus_connection_send_message_with_reply_sync (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, error);
	g_object_unref (_message);
	if (!_reply_message) {
		return;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		g_object_unref (_reply_message);
		return;
	}
	g_object_unref (_reply_message);
}

static void
gnome_idle_monitor_proxy_gnome_idle_monitor_interface_init (GnomeIdleMonitorIface* iface)
{
	iface->add_idle_watch = gnome_idle_monitor_proxy_add_idle_watch;
	iface->add_user_active_watch = gnome_idle_monitor_proxy_add_user_active_watch;
	iface->get_idletime = gnome_idle_monitor_proxy_get_idletime;
	iface->remove_watch = gnome_idle_monitor_proxy_remove_watch;
}

static void
_dbus_gnome_idle_monitor_add_idle_watch (GnomeIdleMonitor* self,
                                         GVariant* _parameters_,
                                         GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	guint64 interval = 0ULL;
	GVariant* _tmp14_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	guint32 result;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp14_ = g_variant_iter_next_value (&_arguments_iter);
	interval = g_variant_get_uint64 (_tmp14_);
	g_variant_unref (_tmp14_);
	result = gnome_idle_monitor_add_idle_watch (self, interval, &error);
	if (error) {
		g_dbus_method_invocation_take_error (invocation, error);
		return;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_reply_builder, g_variant_new_uint32 (result));
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	g_object_unref (invocation);
	g_object_unref (_reply_message);
}

static void
_dbus_gnome_idle_monitor_add_user_active_watch (GnomeIdleMonitor* self,
                                                GVariant* _parameters_,
                                                GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	guint32 result;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	result = gnome_idle_monitor_add_user_active_watch (self, &error);
	if (error) {
		g_dbus_method_invocation_take_error (invocation, error);
		return;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_reply_builder, g_variant_new_uint32 (result));
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	g_object_unref (invocation);
	g_object_unref (_reply_message);
}

static void
_dbus_gnome_idle_monitor_get_idletime (GnomeIdleMonitor* self,
                                       GVariant* _parameters_,
                                       GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	guint64 result;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	result = gnome_idle_monitor_get_idletime (self, &error);
	if (error) {
		g_dbus_method_invocation_take_error (invocation, error);
		return;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_reply_builder, g_variant_new_uint64 (result));
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	g_object_unref (invocation);
	g_object_unref (_reply_message);
}

static void
_dbus_gnome_idle_monitor_remove_watch (GnomeIdleMonitor* self,
                                       GVariant* _parameters_,
                                       GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	guint32 id = 0U;
	GVariant* _tmp15_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp15_ = g_variant_iter_next_value (&_arguments_iter);
	id = g_variant_get_uint32 (_tmp15_);
	g_variant_unref (_tmp15_);
	gnome_idle_monitor_remove_watch (self, id, &error);
	if (error) {
		g_dbus_method_invocation_take_error (invocation, error);
		return;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	g_object_unref (invocation);
	g_object_unref (_reply_message);
}

static void
gnome_idle_monitor_dbus_interface_method_call (GDBusConnection* connection,
                                               const gchar* sender,
                                               const gchar* object_path,
                                               const gchar* interface_name,
                                               const gchar* method_name,
                                               GVariant* parameters,
                                               GDBusMethodInvocation* invocation,
                                               gpointer user_data)
{
	gpointer* data;
	gpointer object;
	data = user_data;
	object = data[0];
	if (strcmp (method_name, "AddIdleWatch") == 0) {
		_dbus_gnome_idle_monitor_add_idle_watch (object, parameters, invocation);
	} else if (strcmp (method_name, "AddUserActiveWatch") == 0) {
		_dbus_gnome_idle_monitor_add_user_active_watch (object, parameters, invocation);
	} else if (strcmp (method_name, "GetIdletime") == 0) {
		_dbus_gnome_idle_monitor_get_idletime (object, parameters, invocation);
	} else if (strcmp (method_name, "RemoveWatch") == 0) {
		_dbus_gnome_idle_monitor_remove_watch (object, parameters, invocation);
	} else {
		g_object_unref (invocation);
	}
}

static GVariant*
gnome_idle_monitor_dbus_interface_get_property (GDBusConnection* connection,
                                                const gchar* sender,
                                                const gchar* object_path,
                                                const gchar* interface_name,
                                                const gchar* property_name,
                                                GError** error,
                                                gpointer user_data)
{
	return NULL;
}

static gboolean
gnome_idle_monitor_dbus_interface_set_property (GDBusConnection* connection,
                                                const gchar* sender,
                                                const gchar* object_path,
                                                const gchar* interface_name,
                                                const gchar* property_name,
                                                GVariant* value,
                                                GError** error,
                                                gpointer user_data)
{
	return FALSE;
}

static void
_dbus_gnome_idle_monitor_watch_fired (GObject* _sender,
                                      guint32 id,
                                      gpointer* _data)
{
	GDBusConnection * _connection;
	const gchar * _path;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	_connection = _data[1];
	_path = _data[2];
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_uint32 (id));
	_arguments = g_variant_builder_end (&_arguments_builder);
	g_dbus_connection_emit_signal (_connection, NULL, _path, "org.gnome.Mutter.IdleMonitor", "WatchFired", _arguments, NULL);
}

guint
gnome_idle_monitor_register_object (gpointer object,
                                    GDBusConnection* connection,
                                    const gchar* path,
                                    GError** error)
{
	guint result;
	gpointer *data;
	data = g_new (gpointer, 3);
	data[0] = g_object_ref (object);
	data[1] = g_object_ref (connection);
	data[2] = g_strdup (path);
	result = g_dbus_connection_register_object (connection, path, (GDBusInterfaceInfo *) (&_gnome_idle_monitor_dbus_interface_info), &_gnome_idle_monitor_dbus_interface_vtable, data, _gnome_idle_monitor_unregister_object, error);
	if (!result) {
		return 0;
	}
	g_signal_connect (object, "watch-fired", (GCallback) _dbus_gnome_idle_monitor_watch_fired, data);
	return result;
}

static void
_gnome_idle_monitor_unregister_object (gpointer user_data)
{
	gpointer* data;
	data = user_data;
	g_signal_handlers_disconnect_by_func (data[0], _dbus_gnome_idle_monitor_watch_fired, data);
	g_object_unref (data[0]);
	g_object_unref (data[1]);
	g_free (data[2]);
	g_free (data);
}

gboolean
gnome_shell_get_overview_active (GnomeShell* self)
{
	GnomeShellIface* _iface_;
	g_return_val_if_fail (self != NULL, FALSE);
	_iface_ = GNOME_SHELL_GET_INTERFACE (self);
	if (_iface_->get_overview_active) {
		return _iface_->get_overview_active (self);
	}
	return FALSE;
}

void
gnome_shell_set_overview_active (GnomeShell* self,
                                 gboolean value)
{
	GnomeShellIface* _iface_;
	g_return_if_fail (self != NULL);
	_iface_ = GNOME_SHELL_GET_INTERFACE (self);
	if (_iface_->set_overview_active) {
		_iface_->set_overview_active (self, value);
	}
}

static void
gnome_shell_default_init (GnomeShellIface * iface,
                          gpointer iface_data)
{
}

GType
gnome_shell_get_type (void)
{
	return gnome_shell_type_id;
}

GType
gnome_shell_register_type (GTypeModule * module)
{
	static const GTypeInfo g_define_type_info = { sizeof (GnomeShellIface), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gnome_shell_default_init, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
	gnome_shell_type_id = g_type_module_register_type (module, G_TYPE_INTERFACE, "GnomeShell", &g_define_type_info, 0);
	g_type_interface_add_prerequisite (gnome_shell_type_id, G_TYPE_OBJECT);
	g_type_set_qdata (gnome_shell_type_id, g_quark_from_static_string ("vala-dbus-proxy-type"), (void*) gnome_shell_proxy_get_type);
	g_type_set_qdata (gnome_shell_type_id, g_quark_from_static_string ("vala-dbus-interface-name"), "org.gnome.Shell");
	g_type_set_qdata (gnome_shell_type_id, g_quark_from_static_string ("vala-dbus-interface-info"), (void*) (&_gnome_shell_dbus_interface_info));
	g_type_set_qdata (gnome_shell_type_id, g_quark_from_static_string ("vala-dbus-register-object"), (void*) gnome_shell_register_object);
	return gnome_shell_type_id;
}

G_DEFINE_DYNAMIC_TYPE_EXTENDED (GnomeShellProxy, gnome_shell_proxy, G_TYPE_DBUS_PROXY, 0, G_IMPLEMENT_INTERFACE_DYNAMIC (GNOME_TYPE_SHELL, gnome_shell_proxy_gnome_shell_interface_init) )
static void
gnome_shell_proxy_class_init (GnomeShellProxyClass* klass)
{
	G_DBUS_PROXY_CLASS (klass)->g_signal = gnome_shell_proxy_g_signal;
}

static void
gnome_shell_proxy_g_signal (GDBusProxy* proxy,
                            const gchar* sender_name,
                            const gchar* signal_name,
                            GVariant* parameters)
{
}

static void
gnome_shell_proxy_class_finalize (GnomeShellProxyClass* klass)
{
}

void
gnome_shell_proxy_register_dynamic_type (GTypeModule* module)
{
	gnome_shell_proxy_register_type (module);
}

static void
gnome_shell_proxy_init (GnomeShellProxy* self)
{
	g_dbus_proxy_set_interface_info (G_DBUS_PROXY (self), (GDBusInterfaceInfo *) (&_gnome_shell_dbus_interface_info));
}

static gboolean
gnome_shell_dbus_proxy_get_overview_active (GnomeShell* self)
{
	GVariant *_inner_reply;
	gboolean _result;
	_inner_reply = g_dbus_proxy_get_cached_property ((GDBusProxy *) self, "OverviewActive");
	if (!_inner_reply) {
		GVariant *_arguments;
		GVariant *_reply;
		GVariantBuilder _arguments_builder;
		g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
		g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("org.gnome.Shell"));
		g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("OverviewActive"));
		_arguments = g_variant_builder_end (&_arguments_builder);
		_reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Get", _arguments, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL);
		if (!_reply) {
			gboolean _tmp16_ = FALSE;
			return _tmp16_;
		}
		g_variant_get (_reply, "(v)", &_inner_reply);
		g_variant_unref (_reply);
	}
	_result = g_variant_get_boolean (_inner_reply);
	g_variant_unref (_inner_reply);
	return _result;
}

static void
gnome_shell_dbus_proxy_set_overview_active (GnomeShell* self,
                                            gboolean value)
{
	GVariant *_arguments;
	GVariant *_reply;
	GVariantBuilder _arguments_builder;
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("org.gnome.Shell"));
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("OverviewActive"));
	g_variant_builder_open (&_arguments_builder, G_VARIANT_TYPE_VARIANT);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_boolean (value));
	g_variant_builder_close (&_arguments_builder);
	_arguments = g_variant_builder_end (&_arguments_builder);
	_reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Set", _arguments, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL);
	if (!_reply) {
		return;
	}
	g_variant_unref (_reply);
}

static void
gnome_shell_proxy_gnome_shell_interface_init (GnomeShellIface* iface)
{
	iface->get_overview_active = gnome_shell_dbus_proxy_get_overview_active;
	iface->set_overview_active = gnome_shell_dbus_proxy_set_overview_active;
}

static void
gnome_shell_dbus_interface_method_call (GDBusConnection* connection,
                                        const gchar* sender,
                                        const gchar* object_path,
                                        const gchar* interface_name,
                                        const gchar* method_name,
                                        GVariant* parameters,
                                        GDBusMethodInvocation* invocation,
                                        gpointer user_data)
{
	g_object_unref (invocation);
}

static GVariant*
_dbus_gnome_shell_get_overview_active (GnomeShell* self)
{
	gboolean result;
	GVariant* _reply;
	result = gnome_shell_get_overview_active (self);
	_reply = g_variant_new_boolean (result);
	return _reply;
}

static GVariant*
gnome_shell_dbus_interface_get_property (GDBusConnection* connection,
                                         const gchar* sender,
                                         const gchar* object_path,
                                         const gchar* interface_name,
                                         const gchar* property_name,
                                         GError** error,
                                         gpointer user_data)
{
	gpointer* data;
	gpointer object;
	data = user_data;
	object = data[0];
	if (strcmp (property_name, "OverviewActive") == 0) {
		return _dbus_gnome_shell_get_overview_active (object);
	}
	return NULL;
}

static void
_dbus_gnome_shell_set_overview_active (GnomeShell* self,
                                       GVariant* _value)
{
	gboolean value = FALSE;
	value = g_variant_get_boolean (_value);
	gnome_shell_set_overview_active (self, value);
}

static gboolean
gnome_shell_dbus_interface_set_property (GDBusConnection* connection,
                                         const gchar* sender,
                                         const gchar* object_path,
                                         const gchar* interface_name,
                                         const gchar* property_name,
                                         GVariant* value,
                                         GError** error,
                                         gpointer user_data)
{
	gpointer* data;
	gpointer object;
	data = user_data;
	object = data[0];
	if (strcmp (property_name, "OverviewActive") == 0) {
		_dbus_gnome_shell_set_overview_active (object, value);
		return TRUE;
	}
	return FALSE;
}

guint
gnome_shell_register_object (gpointer object,
                             GDBusConnection* connection,
                             const gchar* path,
                             GError** error)
{
	guint result;
	gpointer *data;
	data = g_new (gpointer, 3);
	data[0] = g_object_ref (object);
	data[1] = g_object_ref (connection);
	data[2] = g_strdup (path);
	result = g_dbus_connection_register_object (connection, path, (GDBusInterfaceInfo *) (&_gnome_shell_dbus_interface_info), &_gnome_shell_dbus_interface_vtable, data, _gnome_shell_unregister_object, error);
	if (!result) {
		return 0;
	}
	return result;
}

static void
_gnome_shell_unregister_object (gpointer user_data)
{
	gpointer* data;
	data = user_data;
	g_object_unref (data[0]);
	g_object_unref (data[1]);
	g_free (data[2]);
	g_free (data);
}

gchar*
gnome_extension_type_to_string (GnomeExtensionType self)
{
	gchar* result;
	switch (self) {
		case GNOME_EXTENSION_TYPE_SYSTEM:
		{
			gchar* _tmp0_;
			_tmp0_ = g_strdup ("system");
			result = _tmp0_;
			return result;
		}
		case GNOME_EXTENSION_TYPE_PER_USER:
		{
			gchar* _tmp1_;
			_tmp1_ = g_strdup ("per-user");
			result = _tmp1_;
			return result;
		}
		case GNOME_EXTENSION_TYPE_UNKNOWN:
		{
			gchar* _tmp2_;
			_tmp2_ = g_strdup ("");
			result = _tmp2_;
			return result;
		}
		default:
		{
			g_assert_not_reached ();
		}
	}
}

static GType
gnome_extension_type_get_type_once (void)
{
	static const GEnumValue values[] = {{GNOME_EXTENSION_TYPE_UNKNOWN, "GNOME_EXTENSION_TYPE_UNKNOWN", "unknown"}, {GNOME_EXTENSION_TYPE_SYSTEM, "GNOME_EXTENSION_TYPE_SYSTEM", "system"}, {GNOME_EXTENSION_TYPE_PER_USER, "GNOME_EXTENSION_TYPE_PER_USER", "per-user"}, {0, NULL, NULL}};
	GType gnome_extension_type_type_id;
	gnome_extension_type_type_id = g_enum_register_static ("GnomeExtensionType", values);
	return gnome_extension_type_type_id;
}

GType
gnome_extension_type_get_type (void)
{
	static volatile gsize gnome_extension_type_type_id__once = 0;
	if (g_once_init_enter (&gnome_extension_type_type_id__once)) {
		GType gnome_extension_type_type_id;
		gnome_extension_type_type_id = gnome_extension_type_get_type_once ();
		g_once_init_leave (&gnome_extension_type_type_id__once, gnome_extension_type_type_id);
	}
	return gnome_extension_type_type_id__once;
}

gchar*
gnome_extension_state_to_string (GnomeExtensionState self)
{
	gchar* result;
	switch (self) {
		case GNOME_EXTENSION_STATE_ENABLED:
		{
			gchar* _tmp0_;
			_tmp0_ = g_strdup ("enabled");
			result = _tmp0_;
			return result;
		}
		case GNOME_EXTENSION_STATE_INACTIVE:
		{
			gchar* _tmp1_;
			_tmp1_ = g_strdup ("inactive");
			result = _tmp1_;
			return result;
		}
		case GNOME_EXTENSION_STATE_ERROR:
		{
			gchar* _tmp2_;
			_tmp2_ = g_strdup ("error");
			result = _tmp2_;
			return result;
		}
		case GNOME_EXTENSION_STATE_OUT_OF_DATE:
		{
			gchar* _tmp3_;
			_tmp3_ = g_strdup ("out-of-date");
			result = _tmp3_;
			return result;
		}
		case GNOME_EXTENSION_STATE_DOWNLOADING:
		{
			gchar* _tmp4_;
			_tmp4_ = g_strdup ("downloading");
			result = _tmp4_;
			return result;
		}
		case GNOME_EXTENSION_STATE_INITIALIZED:
		{
			gchar* _tmp5_;
			_tmp5_ = g_strdup ("initialized");
			result = _tmp5_;
			return result;
		}
		case GNOME_EXTENSION_STATE_UNINSTALLED:
		{
			gchar* _tmp6_;
			_tmp6_ = g_strdup ("uninstalled");
			result = _tmp6_;
			return result;
		}
		case GNOME_EXTENSION_STATE_DEACTIVATING:
		{
			gchar* _tmp7_;
			_tmp7_ = g_strdup ("deactivating");
			result = _tmp7_;
			return result;
		}
		case GNOME_EXTENSION_STATE_ACTIVATING:
		{
			gchar* _tmp8_;
			_tmp8_ = g_strdup ("activating");
			result = _tmp8_;
			return result;
		}
		case GNOME_EXTENSION_STATE_UNKNOWN:
		{
			gchar* _tmp9_;
			_tmp9_ = g_strdup ("");
			result = _tmp9_;
			return result;
		}
		default:
		{
			g_assert_not_reached ();
		}
	}
}

static GType
gnome_extension_state_get_type_once (void)
{
	static const GEnumValue values[] = {{GNOME_EXTENSION_STATE_UNKNOWN, "GNOME_EXTENSION_STATE_UNKNOWN", "unknown"}, {GNOME_EXTENSION_STATE_ENABLED, "GNOME_EXTENSION_STATE_ENABLED", "enabled"}, {GNOME_EXTENSION_STATE_INACTIVE, "GNOME_EXTENSION_STATE_INACTIVE", "inactive"}, {GNOME_EXTENSION_STATE_ERROR, "GNOME_EXTENSION_STATE_ERROR", "error"}, {GNOME_EXTENSION_STATE_OUT_OF_DATE, "GNOME_EXTENSION_STATE_OUT_OF_DATE", "out-of-date"}, {GNOME_EXTENSION_STATE_DOWNLOADING, "GNOME_EXTENSION_STATE_DOWNLOADING", "downloading"}, {GNOME_EXTENSION_STATE_INITIALIZED, "GNOME_EXTENSION_STATE_INITIALIZED", "initialized"}, {GNOME_EXTENSION_STATE_DEACTIVATING, "GNOME_EXTENSION_STATE_DEACTIVATING", "deactivating"}, {GNOME_EXTENSION_STATE_ACTIVATING, "GNOME_EXTENSION_STATE_ACTIVATING", "activating"}, {GNOME_EXTENSION_STATE_UNINSTALLED, "GNOME_EXTENSION_STATE_UNINSTALLED", "uninstalled"}, {0, NULL, NULL}};
	GType gnome_extension_state_type_id;
	gnome_extension_state_type_id = g_enum_register_static ("GnomeExtensionState", values);
	return gnome_extension_state_type_id;
}

GType
gnome_extension_state_get_type (void)
{
	static volatile gsize gnome_extension_state_type_id__once = 0;
	if (g_once_init_enter (&gnome_extension_state_type_id__once)) {
		GType gnome_extension_state_type_id;
		gnome_extension_state_type_id = gnome_extension_state_get_type_once ();
		g_once_init_leave (&gnome_extension_state_type_id__once, gnome_extension_state_type_id);
	}
	return gnome_extension_state_type_id__once;
}

void
gnome_extension_info_init (GnomeExtensionInfo *self,
                           const gchar* uuid)
{
	gchar* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
	g_return_if_fail (uuid != NULL);
	memset (self, 0, sizeof (GnomeExtensionInfo));
	_tmp0_ = g_strdup (uuid);
	_g_free0 ((*self).uuid);
	(*self).uuid = _tmp0_;
	(*self).type = GNOME_EXTENSION_TYPE_UNKNOWN;
	(*self).state = GNOME_EXTENSION_STATE_UNKNOWN;
	(*self).enabled = FALSE;
	_tmp1_ = g_strdup ("");
	_g_free0 ((*self).path);
	(*self).path = _tmp1_;
	_tmp2_ = g_strdup ("");
	_g_free0 ((*self).error);
	(*self).error = _tmp2_;
	_tmp3_ = g_strdup ("");
	_g_free0 ((*self).settings_schema);
	(*self).settings_schema = _tmp3_;
}

void
gnome_extension_info_init_deserialize (GnomeExtensionInfo *self,
                                       const gchar* uuid,
                                       GHashTable* data)
{
	const gchar* _tmp0_ = NULL;
	gchar* _tmp3_;
	GnomeExtensionType _tmp4_ = 0;
	GnomeExtensionState _tmp6_ = 0;
	gboolean _tmp8_ = FALSE;
	const gchar* _tmp10_ = NULL;
	gchar* _tmp13_;
	const gchar* _tmp14_ = NULL;
	gchar* _tmp17_;
	const gchar* _tmp18_ = NULL;
	gchar* _tmp21_;
	gboolean _tmp22_ = FALSE;
	gboolean _tmp24_ = FALSE;
	g_return_if_fail (uuid != NULL);
	g_return_if_fail (data != NULL);
	memset (self, 0, sizeof (GnomeExtensionInfo));
	if (g_hash_table_contains (data, "uuid")) {
		gconstpointer _tmp1_;
		const gchar* _tmp2_;
		_tmp1_ = g_hash_table_lookup (data, "uuid");
		_tmp2_ = g_variant_get_string ((GVariant*) _tmp1_, NULL);
		_tmp0_ = _tmp2_;
	} else {
		_tmp0_ = uuid;
	}
	_tmp3_ = g_strdup (_tmp0_);
	_g_free0 ((*self).uuid);
	(*self).uuid = _tmp3_;
	if (g_hash_table_contains (data, "type")) {
		gconstpointer _tmp5_;
		_tmp5_ = g_hash_table_lookup (data, "type");
		_tmp4_ = (GnomeExtensionType) g_variant_get_double ((GVariant*) _tmp5_);
	} else {
		_tmp4_ = GNOME_EXTENSION_TYPE_UNKNOWN;
	}
	(*self).type = _tmp4_;
	if (g_hash_table_contains (data, "state")) {
		gconstpointer _tmp7_;
		_tmp7_ = g_hash_table_lookup (data, "state");
		_tmp6_ = (GnomeExtensionState) g_variant_get_double ((GVariant*) _tmp7_);
	} else {
		_tmp6_ = GNOME_EXTENSION_STATE_UNINSTALLED;
	}
	(*self).state = _tmp6_;
	if (g_hash_table_contains (data, "enabled")) {
		gconstpointer _tmp9_;
		_tmp9_ = g_hash_table_lookup (data, "enabled");
		_tmp8_ = g_variant_get_boolean ((GVariant*) _tmp9_);
	} else {
		_tmp8_ = FALSE;
	}
	(*self).enabled = _tmp8_;
	if (g_hash_table_contains (data, "path")) {
		gconstpointer _tmp11_;
		const gchar* _tmp12_;
		_tmp11_ = g_hash_table_lookup (data, "path");
		_tmp12_ = g_variant_get_string ((GVariant*) _tmp11_, NULL);
		_tmp10_ = _tmp12_;
	} else {
		_tmp10_ = "";
	}
	_tmp13_ = g_strdup (_tmp10_);
	_g_free0 ((*self).path);
	(*self).path = _tmp13_;
	if (g_hash_table_contains (data, "error")) {
		gconstpointer _tmp15_;
		const gchar* _tmp16_;
		_tmp15_ = g_hash_table_lookup (data, "error");
		_tmp16_ = g_variant_get_string ((GVariant*) _tmp15_, NULL);
		_tmp14_ = _tmp16_;
	} else {
		_tmp14_ = "";
	}
	_tmp17_ = g_strdup (_tmp14_);
	_g_free0 ((*self).error);
	(*self).error = _tmp17_;
	if (g_hash_table_contains (data, "settings-schema")) {
		gconstpointer _tmp19_;
		const gchar* _tmp20_;
		_tmp19_ = g_hash_table_lookup (data, "settings-schema");
		_tmp20_ = g_variant_get_string ((GVariant*) _tmp19_, NULL);
		_tmp18_ = _tmp20_;
	} else {
		_tmp18_ = "";
	}
	_tmp21_ = g_strdup (_tmp18_);
	_g_free0 ((*self).settings_schema);
	(*self).settings_schema = _tmp21_;
	if (g_hash_table_contains (data, "hasPrefs")) {
		gconstpointer _tmp23_;
		_tmp23_ = g_hash_table_lookup (data, "hasPrefs");
		_tmp22_ = g_variant_get_boolean ((GVariant*) _tmp23_);
	} else {
		_tmp22_ = FALSE;
	}
	(*self).has_prefs = _tmp22_;
	if (g_hash_table_contains (data, "hasUpdate")) {
		gconstpointer _tmp25_;
		_tmp25_ = g_hash_table_lookup (data, "hasUpdate");
		_tmp24_ = g_variant_get_boolean ((GVariant*) _tmp25_);
	} else {
		_tmp24_ = FALSE;
	}
	(*self).has_update = _tmp24_;
}

static const gchar*
string_to_string (const gchar* self)
{
	const gchar* result;
	g_return_val_if_fail (self != NULL, NULL);
	result = self;
	return result;
}

static gchar*
bool_to_string (gboolean self)
{
	gchar* result;
	if (self) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup ("true");
		result = _tmp0_;
		return result;
	} else {
		gchar* _tmp1_;
		_tmp1_ = g_strdup ("false");
		result = _tmp1_;
		return result;
	}
}

gchar*
gnome_extension_info_to_representation (GnomeExtensionInfo *self)
{
	GString* representation = NULL;
	GString* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
	gchar* _tmp3_;
	gchar* _tmp4_;
	gchar* _tmp5_;
	gchar* _tmp6_;
	const gchar* _tmp7_;
	gchar* _tmp8_;
	gchar* _tmp9_;
	gchar* _tmp10_;
	gchar* _tmp11_;
	const gchar* _tmp12_;
	gchar* _tmp13_;
	gchar* _tmp14_;
	gchar* _tmp15_;
	gchar* _tmp16_;
	gchar* _tmp17_;
	gchar* _tmp18_;
	const gchar* _tmp19_;
	const gchar* _tmp20_;
	gchar* _tmp21_;
	gchar* _tmp22_;
	const gchar* _tmp23_;
	const gchar* _tmp24_;
	gchar* _tmp25_;
	gchar* _tmp26_;
	const gchar* _tmp27_;
	const gchar* _tmp28_;
	gchar* _tmp29_;
	gchar* _tmp30_;
	gchar* _tmp31_;
	gchar* _tmp32_;
	gchar* _tmp33_;
	gchar* _tmp34_;
	gchar* _tmp35_;
	gchar* _tmp36_;
	gchar* _tmp37_;
	gchar* _tmp38_;
	const gchar* _tmp39_;
	gchar* _tmp40_;
	gchar* result;
	_tmp0_ = g_string_new ("ExtensionInfo (\n");
	representation = _tmp0_;
	_tmp1_ = (*self).uuid;
	_tmp2_ = string_to_string (_tmp1_);
	_tmp3_ = g_strconcat ("    uuid = ", _tmp2_, ",\n", NULL);
	_tmp4_ = _tmp3_;
	g_string_append (representation, _tmp4_);
	_g_free0 (_tmp4_);
	_tmp5_ = gnome_extension_type_to_string ((*self).type);
	_tmp6_ = _tmp5_;
	_tmp7_ = string_to_string (_tmp6_);
	_tmp8_ = g_strconcat ("    type = ", _tmp7_, ",\n", NULL);
	_tmp9_ = _tmp8_;
	g_string_append (representation, _tmp9_);
	_g_free0 (_tmp9_);
	_g_free0 (_tmp6_);
	_tmp10_ = gnome_extension_state_to_string ((*self).state);
	_tmp11_ = _tmp10_;
	_tmp12_ = string_to_string (_tmp11_);
	_tmp13_ = g_strconcat ("    state = ", _tmp12_, ",\n", NULL);
	_tmp14_ = _tmp13_;
	g_string_append (representation, _tmp14_);
	_g_free0 (_tmp14_);
	_g_free0 (_tmp11_);
	_tmp15_ = bool_to_string ((*self).enabled);
	_tmp16_ = _tmp15_;
	_tmp17_ = g_strconcat ("    enabled = ", _tmp16_, ",\n", NULL);
	_tmp18_ = _tmp17_;
	g_string_append (representation, _tmp18_);
	_g_free0 (_tmp18_);
	_g_free0 (_tmp16_);
	_tmp19_ = (*self).path;
	_tmp20_ = string_to_string (_tmp19_);
	_tmp21_ = g_strconcat ("    path = ", _tmp20_, ",\n", NULL);
	_tmp22_ = _tmp21_;
	g_string_append (representation, _tmp22_);
	_g_free0 (_tmp22_);
	_tmp23_ = (*self).error;
	_tmp24_ = string_to_string (_tmp23_);
	_tmp25_ = g_strconcat ("    error = ", _tmp24_, ",\n", NULL);
	_tmp26_ = _tmp25_;
	g_string_append (representation, _tmp26_);
	_g_free0 (_tmp26_);
	_tmp27_ = (*self).settings_schema;
	_tmp28_ = string_to_string (_tmp27_);
	_tmp29_ = g_strconcat ("    settings_schema = ", _tmp28_, ",\n", NULL);
	_tmp30_ = _tmp29_;
	g_string_append (representation, _tmp30_);
	_g_free0 (_tmp30_);
	_tmp31_ = bool_to_string ((*self).has_prefs);
	_tmp32_ = _tmp31_;
	_tmp33_ = g_strconcat ("    has_prefs = ", _tmp32_, ",\n", NULL);
	_tmp34_ = _tmp33_;
	g_string_append (representation, _tmp34_);
	_g_free0 (_tmp34_);
	_g_free0 (_tmp32_);
	_tmp35_ = bool_to_string ((*self).has_update);
	_tmp36_ = _tmp35_;
	_tmp37_ = g_strconcat ("    has_update = ", _tmp36_, "\n", NULL);
	_tmp38_ = _tmp37_;
	g_string_append (representation, _tmp38_);
	_g_free0 (_tmp38_);
	_g_free0 (_tmp36_);
	g_string_append (representation, ")");
	_tmp39_ = representation->str;
	_tmp40_ = g_strdup (_tmp39_);
	result = _tmp40_;
	_g_string_free0 (representation);
	return result;
}

void
gnome_extension_info_copy (const GnomeExtensionInfo* self,
                           GnomeExtensionInfo* dest)
{
	const gchar* _tmp0_;
	gchar* _tmp1_;
	const gchar* _tmp2_;
	gchar* _tmp3_;
	const gchar* _tmp4_;
	gchar* _tmp5_;
	const gchar* _tmp6_;
	gchar* _tmp7_;
	_tmp0_ = (*self).uuid;
	_tmp1_ = g_strdup (_tmp0_);
	_g_free0 ((*dest).uuid);
	(*dest).uuid = _tmp1_;
	(*dest).type = (*self).type;
	(*dest).state = (*self).state;
	(*dest).enabled = (*self).enabled;
	_tmp2_ = (*self).path;
	_tmp3_ = g_strdup (_tmp2_);
	_g_free0 ((*dest).path);
	(*dest).path = _tmp3_;
	_tmp4_ = (*self).error;
	_tmp5_ = g_strdup (_tmp4_);
	_g_free0 ((*dest).error);
	(*dest).error = _tmp5_;
	_tmp6_ = (*self).settings_schema;
	_tmp7_ = g_strdup (_tmp6_);
	_g_free0 ((*dest).settings_schema);
	(*dest).settings_schema = _tmp7_;
	(*dest).has_prefs = (*self).has_prefs;
	(*dest).has_update = (*self).has_update;
}

void
gnome_extension_info_destroy (GnomeExtensionInfo* self)
{
	_g_free0 ((*self).uuid);
	_g_free0 ((*self).path);
	_g_free0 ((*self).error);
	_g_free0 ((*self).settings_schema);
}

GnomeExtensionInfo*
gnome_extension_info_dup (const GnomeExtensionInfo* self)
{
	GnomeExtensionInfo* dup;
	dup = g_new0 (GnomeExtensionInfo, 1);
	gnome_extension_info_copy (self, dup);
	return dup;
}

void
gnome_extension_info_free (GnomeExtensionInfo* self)
{
	gnome_extension_info_destroy (self);
	g_free (self);
}

static GType
gnome_extension_info_get_type_once (void)
{
	GType gnome_extension_info_type_id;
	gnome_extension_info_type_id = g_boxed_type_register_static ("GnomeExtensionInfo", (GBoxedCopyFunc) gnome_extension_info_dup, (GBoxedFreeFunc) gnome_extension_info_free);
	return gnome_extension_info_type_id;
}

GType
gnome_extension_info_get_type (void)
{
	static volatile gsize gnome_extension_info_type_id__once = 0;
	if (g_once_init_enter (&gnome_extension_info_type_id__once)) {
		GType gnome_extension_info_type_id;
		gnome_extension_info_type_id = gnome_extension_info_get_type_once ();
		g_once_init_leave (&gnome_extension_info_type_id__once, gnome_extension_info_type_id);
	}
	return gnome_extension_info_type_id__once;
}

void
gnome_shell_extensions_enable_extension (GnomeShellExtensions* self,
                                         const gchar* uuid,
                                         GAsyncReadyCallback _callback_,
                                         gpointer _user_data_)
{
	GnomeShellExtensionsIface* _iface_;
	_iface_ = GNOME_SHELL_EXTENSIONS_GET_INTERFACE (self);
	if (_iface_->enable_extension) {
		_iface_->enable_extension (self, uuid, _callback_, _user_data_);
	}
}

gboolean
gnome_shell_extensions_enable_extension_finish (GnomeShellExtensions* self,
                                                GAsyncResult* _res_,
                                                GError** error)
{
	GnomeShellExtensionsIface* _iface_;
	_iface_ = GNOME_SHELL_EXTENSIONS_GET_INTERFACE (self);
	if (_iface_->enable_extension_finish) {
		return _iface_->enable_extension_finish (self, _res_, error);
	}
	return FALSE;
}

void
gnome_shell_extensions_disable_extension (GnomeShellExtensions* self,
                                          const gchar* uuid,
                                          GAsyncReadyCallback _callback_,
                                          gpointer _user_data_)
{
	GnomeShellExtensionsIface* _iface_;
	_iface_ = GNOME_SHELL_EXTENSIONS_GET_INTERFACE (self);
	if (_iface_->disable_extension) {
		_iface_->disable_extension (self, uuid, _callback_, _user_data_);
	}
}

gboolean
gnome_shell_extensions_disable_extension_finish (GnomeShellExtensions* self,
                                                 GAsyncResult* _res_,
                                                 GError** error)
{
	GnomeShellExtensionsIface* _iface_;
	_iface_ = GNOME_SHELL_EXTENSIONS_GET_INTERFACE (self);
	if (_iface_->disable_extension_finish) {
		return _iface_->disable_extension_finish (self, _res_, error);
	}
	return FALSE;
}

void
gnome_shell_extensions_get_extension_info (GnomeShellExtensions* self,
                                           const gchar* uuid,
                                           GAsyncReadyCallback _callback_,
                                           gpointer _user_data_)
{
	GnomeShellExtensionsIface* _iface_;
	_iface_ = GNOME_SHELL_EXTENSIONS_GET_INTERFACE (self);
	if (_iface_->get_extension_info) {
		_iface_->get_extension_info (self, uuid, _callback_, _user_data_);
	}
}

GHashTable*
gnome_shell_extensions_get_extension_info_finish (GnomeShellExtensions* self,
                                                  GAsyncResult* _res_,
                                                  GError** error)
{
	GnomeShellExtensionsIface* _iface_;
	_iface_ = GNOME_SHELL_EXTENSIONS_GET_INTERFACE (self);
	if (_iface_->get_extension_info_finish) {
		return _iface_->get_extension_info_finish (self, _res_, error);
	}
	return NULL;
}

void
gnome_shell_extensions_install_remote_extension (GnomeShellExtensions* self,
                                                 const gchar* uuid,
                                                 GAsyncReadyCallback _callback_,
                                                 gpointer _user_data_)
{
	GnomeShellExtensionsIface* _iface_;
	_iface_ = GNOME_SHELL_EXTENSIONS_GET_INTERFACE (self);
	if (_iface_->install_remote_extension) {
		_iface_->install_remote_extension (self, uuid, _callback_, _user_data_);
	}
}

gchar*
gnome_shell_extensions_install_remote_extension_finish (GnomeShellExtensions* self,
                                                        GAsyncResult* _res_,
                                                        GError** error)
{
	GnomeShellExtensionsIface* _iface_;
	_iface_ = GNOME_SHELL_EXTENSIONS_GET_INTERFACE (self);
	if (_iface_->install_remote_extension_finish) {
		return _iface_->install_remote_extension_finish (self, _res_, error);
	}
	return NULL;
}

void
gnome_shell_extensions_uninstall_extension (GnomeShellExtensions* self,
                                            const gchar* uuid,
                                            GAsyncReadyCallback _callback_,
                                            gpointer _user_data_)
{
	GnomeShellExtensionsIface* _iface_;
	_iface_ = GNOME_SHELL_EXTENSIONS_GET_INTERFACE (self);
	if (_iface_->uninstall_extension) {
		_iface_->uninstall_extension (self, uuid, _callback_, _user_data_);
	}
}

gboolean
gnome_shell_extensions_uninstall_extension_finish (GnomeShellExtensions* self,
                                                   GAsyncResult* _res_,
                                                   GError** error)
{
	GnomeShellExtensionsIface* _iface_;
	_iface_ = GNOME_SHELL_EXTENSIONS_GET_INTERFACE (self);
	if (_iface_->uninstall_extension_finish) {
		return _iface_->uninstall_extension_finish (self, _res_, error);
	}
	return FALSE;
}

gboolean
gnome_shell_extensions_get_user_extensions_enabled (GnomeShellExtensions* self)
{
	GnomeShellExtensionsIface* _iface_;
	g_return_val_if_fail (self != NULL, FALSE);
	_iface_ = GNOME_SHELL_EXTENSIONS_GET_INTERFACE (self);
	if (_iface_->get_user_extensions_enabled) {
		return _iface_->get_user_extensions_enabled (self);
	}
	return FALSE;
}

void
gnome_shell_extensions_set_user_extensions_enabled (GnomeShellExtensions* self,
                                                    gboolean value)
{
	GnomeShellExtensionsIface* _iface_;
	g_return_if_fail (self != NULL);
	_iface_ = GNOME_SHELL_EXTENSIONS_GET_INTERFACE (self);
	if (_iface_->set_user_extensions_enabled) {
		_iface_->set_user_extensions_enabled (self, value);
	}
}

static void
g_cclosure_user_marshal_VOID__STRING_BOXED (GClosure * closure,
                                            GValue * return_value,
                                            guint n_param_values,
                                            const GValue * param_values,
                                            gpointer invocation_hint,
                                            gpointer marshal_data)
{
	typedef void (*GMarshalFunc_VOID__STRING_BOXED) (gpointer data1, const char* arg_1, gpointer arg_2, gpointer data2);
	register GMarshalFunc_VOID__STRING_BOXED callback;
	register GCClosure * cc;
	register gpointer data1;
	register gpointer data2;
	cc = (GCClosure *) closure;
	g_return_if_fail (n_param_values == 3);
	if (G_CCLOSURE_SWAP_DATA (closure)) {
		data1 = closure->data;
		data2 = param_values->data[0].v_pointer;
	} else {
		data1 = param_values->data[0].v_pointer;
		data2 = closure->data;
	}
	callback = (GMarshalFunc_VOID__STRING_BOXED) (marshal_data ? marshal_data : cc->callback);
	callback (data1, g_value_get_string (param_values + 1), g_value_get_boxed (param_values + 2), data2);
}

static void
gnome_shell_extensions_default_init (GnomeShellExtensionsIface * iface,
                                     gpointer iface_data)
{
	gnome_shell_extensions_signals[GNOME_SHELL_EXTENSIONS_EXTENSION_STATE_CHANGED_SIGNAL] = g_signal_new ("extension-state-changed", GNOME_TYPE_SHELL_EXTENSIONS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__STRING_BOXED, G_TYPE_NONE, 2, G_TYPE_STRING, G_TYPE_HASH_TABLE);
}

GType
gnome_shell_extensions_get_type (void)
{
	return gnome_shell_extensions_type_id;
}

GType
gnome_shell_extensions_register_type (GTypeModule * module)
{
	static const GTypeInfo g_define_type_info = { sizeof (GnomeShellExtensionsIface), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gnome_shell_extensions_default_init, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
	gnome_shell_extensions_type_id = g_type_module_register_type (module, G_TYPE_INTERFACE, "GnomeShellExtensions", &g_define_type_info, 0);
	g_type_interface_add_prerequisite (gnome_shell_extensions_type_id, G_TYPE_OBJECT);
	g_type_set_qdata (gnome_shell_extensions_type_id, g_quark_from_static_string ("vala-dbus-proxy-type"), (void*) gnome_shell_extensions_proxy_get_type);
	g_type_set_qdata (gnome_shell_extensions_type_id, g_quark_from_static_string ("vala-dbus-interface-name"), "org.gnome.Shell.Extensions");
	g_type_set_qdata (gnome_shell_extensions_type_id, g_quark_from_static_string ("vala-dbus-interface-info"), (void*) (&_gnome_shell_extensions_dbus_interface_info));
	g_type_set_qdata (gnome_shell_extensions_type_id, g_quark_from_static_string ("vala-dbus-register-object"), (void*) gnome_shell_extensions_register_object);
	return gnome_shell_extensions_type_id;
}

G_DEFINE_DYNAMIC_TYPE_EXTENDED (GnomeShellExtensionsProxy, gnome_shell_extensions_proxy, G_TYPE_DBUS_PROXY, 0, G_IMPLEMENT_INTERFACE_DYNAMIC (GNOME_TYPE_SHELL_EXTENSIONS, gnome_shell_extensions_proxy_gnome_shell_extensions_interface_init) )
static void
gnome_shell_extensions_proxy_class_init (GnomeShellExtensionsProxyClass* klass)
{
	G_DBUS_PROXY_CLASS (klass)->g_signal = gnome_shell_extensions_proxy_g_signal;
}

static void
_dbus_handle_gnome_shell_extensions_extension_state_changed (GnomeShellExtensions* self,
                                                             GVariant* parameters)
{
	GVariantIter _arguments_iter;
	gchar* uuid = NULL;
	GVariant* _tmp17_;
	GHashTable* state = NULL;
	GVariant* _tmp18_;
	GHashTable* _tmp19_;
	GVariantIter _tmp20_;
	GVariant* _tmp21_;
	GVariant* _tmp22_;
	g_variant_iter_init (&_arguments_iter, parameters);
	_tmp17_ = g_variant_iter_next_value (&_arguments_iter);
	uuid = g_variant_dup_string (_tmp17_, NULL);
	g_variant_unref (_tmp17_);
	_tmp18_ = g_variant_iter_next_value (&_arguments_iter);
	_tmp19_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, (GDestroyNotify) g_variant_unref);
	g_variant_iter_init (&_tmp20_, _tmp18_);
	while (g_variant_iter_loop (&_tmp20_, "{?*}", &_tmp21_, &_tmp22_)) {
		g_hash_table_insert (_tmp19_, g_variant_dup_string (_tmp21_, NULL), g_variant_get_variant (_tmp22_));
	}
	state = _tmp19_;
	g_variant_unref (_tmp18_);
	g_signal_emit_by_name (self, "extension-state-changed", uuid, state);
	_g_free0 (uuid);
	_g_hash_table_unref0 (state);
}

static void
gnome_shell_extensions_proxy_g_signal (GDBusProxy* proxy,
                                       const gchar* sender_name,
                                       const gchar* signal_name,
                                       GVariant* parameters)
{
	if (strcmp (signal_name, "ExtensionStateChanged") == 0) {
		_dbus_handle_gnome_shell_extensions_extension_state_changed ((GnomeShellExtensions*) proxy, parameters);
	}
}

static void
gnome_shell_extensions_proxy_class_finalize (GnomeShellExtensionsProxyClass* klass)
{
}

void
gnome_shell_extensions_proxy_register_dynamic_type (GTypeModule* module)
{
	gnome_shell_extensions_proxy_register_type (module);
}

static void
gnome_shell_extensions_proxy_init (GnomeShellExtensionsProxy* self)
{
	g_dbus_proxy_set_interface_info (G_DBUS_PROXY (self), (GDBusInterfaceInfo *) (&_gnome_shell_extensions_dbus_interface_info));
}

static void
gnome_shell_extensions_proxy_enable_extension_async (GnomeShellExtensions* self,
                                                     const gchar* uuid,
                                                     GAsyncReadyCallback _callback_,
                                                     gpointer _user_data_)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	G_DBUS_ERROR;
	G_IO_ERROR;
	_message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "org.gnome.Shell.Extensions", "EnableExtension");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (uuid));
	_arguments = g_variant_builder_end (&_arguments_builder);
	g_dbus_message_set_body (_message, _arguments);
	if (_callback_ != NULL) {
		g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_task_new ((GObject *) self, NULL, _callback_, _user_data_));
	} else {
		g_dbus_message_set_flags (_message, G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED);
		g_dbus_connection_send_message (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	}
	g_object_unref (_message);
}

static gboolean
gnome_shell_extensions_proxy_enable_extension_finish (GnomeShellExtensions* self,
                                                      GAsyncResult* _res_,
                                                      GError** error)
{
	GAsyncResult *_inner_res;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	gboolean _result = FALSE;
	GVariant* _tmp25_;
	_inner_res = g_task_propagate_pointer ((GTask *) _res_, NULL);
	_reply_message = g_dbus_connection_send_message_with_reply_finish (g_dbus_proxy_get_connection ((GDBusProxy *) self), _inner_res, error);
	g_object_unref (_inner_res);
	if (!_reply_message) {
		gboolean _tmp23_ = FALSE;
		return _tmp23_;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		gboolean _tmp24_ = FALSE;
		g_object_unref (_reply_message);
		return _tmp24_;
	}
	_reply = g_dbus_message_get_body (_reply_message);
	g_variant_iter_init (&_reply_iter, _reply);
	_tmp25_ = g_variant_iter_next_value (&_reply_iter);
	_result = g_variant_get_boolean (_tmp25_);
	g_variant_unref (_tmp25_);
	g_object_unref (_reply_message);
	return _result;
}

static void
gnome_shell_extensions_proxy_disable_extension_async (GnomeShellExtensions* self,
                                                      const gchar* uuid,
                                                      GAsyncReadyCallback _callback_,
                                                      gpointer _user_data_)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	G_DBUS_ERROR;
	G_IO_ERROR;
	_message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "org.gnome.Shell.Extensions", "DisableExtension");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (uuid));
	_arguments = g_variant_builder_end (&_arguments_builder);
	g_dbus_message_set_body (_message, _arguments);
	if (_callback_ != NULL) {
		g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_task_new ((GObject *) self, NULL, _callback_, _user_data_));
	} else {
		g_dbus_message_set_flags (_message, G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED);
		g_dbus_connection_send_message (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	}
	g_object_unref (_message);
}

static gboolean
gnome_shell_extensions_proxy_disable_extension_finish (GnomeShellExtensions* self,
                                                       GAsyncResult* _res_,
                                                       GError** error)
{
	GAsyncResult *_inner_res;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	gboolean _result = FALSE;
	GVariant* _tmp28_;
	_inner_res = g_task_propagate_pointer ((GTask *) _res_, NULL);
	_reply_message = g_dbus_connection_send_message_with_reply_finish (g_dbus_proxy_get_connection ((GDBusProxy *) self), _inner_res, error);
	g_object_unref (_inner_res);
	if (!_reply_message) {
		gboolean _tmp26_ = FALSE;
		return _tmp26_;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		gboolean _tmp27_ = FALSE;
		g_object_unref (_reply_message);
		return _tmp27_;
	}
	_reply = g_dbus_message_get_body (_reply_message);
	g_variant_iter_init (&_reply_iter, _reply);
	_tmp28_ = g_variant_iter_next_value (&_reply_iter);
	_result = g_variant_get_boolean (_tmp28_);
	g_variant_unref (_tmp28_);
	g_object_unref (_reply_message);
	return _result;
}

static void
gnome_shell_extensions_proxy_get_extension_info_async (GnomeShellExtensions* self,
                                                       const gchar* uuid,
                                                       GAsyncReadyCallback _callback_,
                                                       gpointer _user_data_)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	G_DBUS_ERROR;
	G_IO_ERROR;
	_message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "org.gnome.Shell.Extensions", "GetExtensionInfo");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (uuid));
	_arguments = g_variant_builder_end (&_arguments_builder);
	g_dbus_message_set_body (_message, _arguments);
	if (_callback_ != NULL) {
		g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_task_new ((GObject *) self, NULL, _callback_, _user_data_));
	} else {
		g_dbus_message_set_flags (_message, G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED);
		g_dbus_connection_send_message (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	}
	g_object_unref (_message);
}

static GHashTable*
gnome_shell_extensions_proxy_get_extension_info_finish (GnomeShellExtensions* self,
                                                        GAsyncResult* _res_,
                                                        GError** error)
{
	GAsyncResult *_inner_res;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	GHashTable* _result = NULL;
	GVariant* _tmp29_;
	GHashTable* _tmp30_;
	GVariantIter _tmp31_;
	GVariant* _tmp32_;
	GVariant* _tmp33_;
	_inner_res = g_task_propagate_pointer ((GTask *) _res_, NULL);
	_reply_message = g_dbus_connection_send_message_with_reply_finish (g_dbus_proxy_get_connection ((GDBusProxy *) self), _inner_res, error);
	g_object_unref (_inner_res);
	if (!_reply_message) {
		return NULL;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		g_object_unref (_reply_message);
		return NULL;
	}
	_reply = g_dbus_message_get_body (_reply_message);
	g_variant_iter_init (&_reply_iter, _reply);
	_tmp29_ = g_variant_iter_next_value (&_reply_iter);
	_tmp30_ = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, (GDestroyNotify) g_variant_unref);
	g_variant_iter_init (&_tmp31_, _tmp29_);
	while (g_variant_iter_loop (&_tmp31_, "{?*}", &_tmp32_, &_tmp33_)) {
		g_hash_table_insert (_tmp30_, g_variant_dup_string (_tmp32_, NULL), g_variant_get_variant (_tmp33_));
	}
	_result = _tmp30_;
	g_variant_unref (_tmp29_);
	g_object_unref (_reply_message);
	return _result;
}

static void
gnome_shell_extensions_proxy_install_remote_extension_async (GnomeShellExtensions* self,
                                                             const gchar* uuid,
                                                             GAsyncReadyCallback _callback_,
                                                             gpointer _user_data_)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	G_DBUS_ERROR;
	G_IO_ERROR;
	_message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "org.gnome.Shell.Extensions", "InstallRemoteExtension");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (uuid));
	_arguments = g_variant_builder_end (&_arguments_builder);
	g_dbus_message_set_body (_message, _arguments);
	if (_callback_ != NULL) {
		g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_task_new ((GObject *) self, NULL, _callback_, _user_data_));
	} else {
		g_dbus_message_set_flags (_message, G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED);
		g_dbus_connection_send_message (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	}
	g_object_unref (_message);
}

static gchar*
gnome_shell_extensions_proxy_install_remote_extension_finish (GnomeShellExtensions* self,
                                                              GAsyncResult* _res_,
                                                              GError** error)
{
	GAsyncResult *_inner_res;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	gchar* _result = NULL;
	GVariant* _tmp34_;
	_inner_res = g_task_propagate_pointer ((GTask *) _res_, NULL);
	_reply_message = g_dbus_connection_send_message_with_reply_finish (g_dbus_proxy_get_connection ((GDBusProxy *) self), _inner_res, error);
	g_object_unref (_inner_res);
	if (!_reply_message) {
		return NULL;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		g_object_unref (_reply_message);
		return NULL;
	}
	_reply = g_dbus_message_get_body (_reply_message);
	g_variant_iter_init (&_reply_iter, _reply);
	_tmp34_ = g_variant_iter_next_value (&_reply_iter);
	_result = g_variant_dup_string (_tmp34_, NULL);
	g_variant_unref (_tmp34_);
	g_object_unref (_reply_message);
	return _result;
}

static void
gnome_shell_extensions_proxy_uninstall_extension_async (GnomeShellExtensions* self,
                                                        const gchar* uuid,
                                                        GAsyncReadyCallback _callback_,
                                                        gpointer _user_data_)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	G_DBUS_ERROR;
	G_IO_ERROR;
	_message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "org.gnome.Shell.Extensions", "UninstallExtension");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (uuid));
	_arguments = g_variant_builder_end (&_arguments_builder);
	g_dbus_message_set_body (_message, _arguments);
	if (_callback_ != NULL) {
		g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_task_new ((GObject *) self, NULL, _callback_, _user_data_));
	} else {
		g_dbus_message_set_flags (_message, G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED);
		g_dbus_connection_send_message (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	}
	g_object_unref (_message);
}

static gboolean
gnome_shell_extensions_proxy_uninstall_extension_finish (GnomeShellExtensions* self,
                                                         GAsyncResult* _res_,
                                                         GError** error)
{
	GAsyncResult *_inner_res;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	gboolean _result = FALSE;
	GVariant* _tmp37_;
	_inner_res = g_task_propagate_pointer ((GTask *) _res_, NULL);
	_reply_message = g_dbus_connection_send_message_with_reply_finish (g_dbus_proxy_get_connection ((GDBusProxy *) self), _inner_res, error);
	g_object_unref (_inner_res);
	if (!_reply_message) {
		gboolean _tmp35_ = FALSE;
		return _tmp35_;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		gboolean _tmp36_ = FALSE;
		g_object_unref (_reply_message);
		return _tmp36_;
	}
	_reply = g_dbus_message_get_body (_reply_message);
	g_variant_iter_init (&_reply_iter, _reply);
	_tmp37_ = g_variant_iter_next_value (&_reply_iter);
	_result = g_variant_get_boolean (_tmp37_);
	g_variant_unref (_tmp37_);
	g_object_unref (_reply_message);
	return _result;
}

static gboolean
gnome_shell_extensions_dbus_proxy_get_user_extensions_enabled (GnomeShellExtensions* self)
{
	GVariant *_inner_reply;
	gboolean _result;
	_inner_reply = g_dbus_proxy_get_cached_property ((GDBusProxy *) self, "UserExtensionsEnabled");
	if (!_inner_reply) {
		GVariant *_arguments;
		GVariant *_reply;
		GVariantBuilder _arguments_builder;
		g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
		g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("org.gnome.Shell.Extensions"));
		g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("UserExtensionsEnabled"));
		_arguments = g_variant_builder_end (&_arguments_builder);
		_reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Get", _arguments, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL);
		if (!_reply) {
			gboolean _tmp38_ = FALSE;
			return _tmp38_;
		}
		g_variant_get (_reply, "(v)", &_inner_reply);
		g_variant_unref (_reply);
	}
	_result = g_variant_get_boolean (_inner_reply);
	g_variant_unref (_inner_reply);
	return _result;
}

static void
gnome_shell_extensions_dbus_proxy_set_user_extensions_enabled (GnomeShellExtensions* self,
                                                               gboolean value)
{
	GVariant *_arguments;
	GVariant *_reply;
	GVariantBuilder _arguments_builder;
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("org.gnome.Shell.Extensions"));
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("UserExtensionsEnabled"));
	g_variant_builder_open (&_arguments_builder, G_VARIANT_TYPE_VARIANT);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_boolean (value));
	g_variant_builder_close (&_arguments_builder);
	_arguments = g_variant_builder_end (&_arguments_builder);
	_reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Set", _arguments, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL);
	if (!_reply) {
		return;
	}
	g_variant_unref (_reply);
}

static void
gnome_shell_extensions_proxy_gnome_shell_extensions_interface_init (GnomeShellExtensionsIface* iface)
{
	iface->enable_extension = gnome_shell_extensions_proxy_enable_extension_async;
	iface->enable_extension_finish = gnome_shell_extensions_proxy_enable_extension_finish;
	iface->disable_extension = gnome_shell_extensions_proxy_disable_extension_async;
	iface->disable_extension_finish = gnome_shell_extensions_proxy_disable_extension_finish;
	iface->get_extension_info = gnome_shell_extensions_proxy_get_extension_info_async;
	iface->get_extension_info_finish = gnome_shell_extensions_proxy_get_extension_info_finish;
	iface->install_remote_extension = gnome_shell_extensions_proxy_install_remote_extension_async;
	iface->install_remote_extension_finish = gnome_shell_extensions_proxy_install_remote_extension_finish;
	iface->uninstall_extension = gnome_shell_extensions_proxy_uninstall_extension_async;
	iface->uninstall_extension_finish = gnome_shell_extensions_proxy_uninstall_extension_finish;
	iface->get_user_extensions_enabled = gnome_shell_extensions_dbus_proxy_get_user_extensions_enabled;
	iface->set_user_extensions_enabled = gnome_shell_extensions_dbus_proxy_set_user_extensions_enabled;
}

static void
_dbus_gnome_shell_extensions_enable_extension (GnomeShellExtensions* self,
                                               GVariant* _parameters_,
                                               GDBusMethodInvocation* invocation)
{
	GVariantIter _arguments_iter;
	GnomeShellExtensionsEnableExtensionReadyData* _ready_data;
	GVariant* _tmp39_;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_ready_data = g_slice_new0 (GnomeShellExtensionsEnableExtensionReadyData);
	_ready_data->_invocation_ = invocation;
	_tmp39_ = g_variant_iter_next_value (&_arguments_iter);
	_ready_data->uuid = g_variant_dup_string (_tmp39_, NULL);
	g_variant_unref (_tmp39_);
	gnome_shell_extensions_enable_extension (self, _ready_data->uuid, (GAsyncReadyCallback) _dbus_gnome_shell_extensions_enable_extension_ready, _ready_data);
	_error:
	;
}

static void
_dbus_gnome_shell_extensions_enable_extension_ready (GObject * source_object,
                                                     GAsyncResult * _res_,
                                                     gpointer _user_data_)
{
	GnomeShellExtensionsEnableExtensionReadyData* _ready_data;
	GDBusMethodInvocation* invocation;
	GError* error = NULL;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	gboolean result;
	_ready_data = _user_data_;
	invocation = _ready_data->_invocation_;
	result = gnome_shell_extensions_enable_extension_finish ((GnomeShellExtensions*) source_object, _res_, &error);
	if (error) {
		g_dbus_method_invocation_take_error (invocation, error);
		goto _error;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_reply_builder, g_variant_new_boolean (result));
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	g_object_unref (invocation);
	g_object_unref (_reply_message);
	_error:
	_g_free0 (_ready_data->uuid);
	g_slice_free (GnomeShellExtensionsEnableExtensionReadyData, _ready_data);
}

static void
_dbus_gnome_shell_extensions_disable_extension (GnomeShellExtensions* self,
                                                GVariant* _parameters_,
                                                GDBusMethodInvocation* invocation)
{
	GVariantIter _arguments_iter;
	GnomeShellExtensionsDisableExtensionReadyData* _ready_data;
	GVariant* _tmp40_;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_ready_data = g_slice_new0 (GnomeShellExtensionsDisableExtensionReadyData);
	_ready_data->_invocation_ = invocation;
	_tmp40_ = g_variant_iter_next_value (&_arguments_iter);
	_ready_data->uuid = g_variant_dup_string (_tmp40_, NULL);
	g_variant_unref (_tmp40_);
	gnome_shell_extensions_disable_extension (self, _ready_data->uuid, (GAsyncReadyCallback) _dbus_gnome_shell_extensions_disable_extension_ready, _ready_data);
	_error:
	;
}

static void
_dbus_gnome_shell_extensions_disable_extension_ready (GObject * source_object,
                                                      GAsyncResult * _res_,
                                                      gpointer _user_data_)
{
	GnomeShellExtensionsDisableExtensionReadyData* _ready_data;
	GDBusMethodInvocation* invocation;
	GError* error = NULL;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	gboolean result;
	_ready_data = _user_data_;
	invocation = _ready_data->_invocation_;
	result = gnome_shell_extensions_disable_extension_finish ((GnomeShellExtensions*) source_object, _res_, &error);
	if (error) {
		g_dbus_method_invocation_take_error (invocation, error);
		goto _error;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_reply_builder, g_variant_new_boolean (result));
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	g_object_unref (invocation);
	g_object_unref (_reply_message);
	_error:
	_g_free0 (_ready_data->uuid);
	g_slice_free (GnomeShellExtensionsDisableExtensionReadyData, _ready_data);
}

static void
_dbus_gnome_shell_extensions_get_extension_info (GnomeShellExtensions* self,
                                                 GVariant* _parameters_,
                                                 GDBusMethodInvocation* invocation)
{
	GVariantIter _arguments_iter;
	GnomeShellExtensionsGetExtensionInfoReadyData* _ready_data;
	GVariant* _tmp41_;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_ready_data = g_slice_new0 (GnomeShellExtensionsGetExtensionInfoReadyData);
	_ready_data->_invocation_ = invocation;
	_tmp41_ = g_variant_iter_next_value (&_arguments_iter);
	_ready_data->uuid = g_variant_dup_string (_tmp41_, NULL);
	g_variant_unref (_tmp41_);
	gnome_shell_extensions_get_extension_info (self, _ready_data->uuid, (GAsyncReadyCallback) _dbus_gnome_shell_extensions_get_extension_info_ready, _ready_data);
	_error:
	;
}

static void
_dbus_gnome_shell_extensions_get_extension_info_ready (GObject * source_object,
                                                       GAsyncResult * _res_,
                                                       gpointer _user_data_)
{
	GnomeShellExtensionsGetExtensionInfoReadyData* _ready_data;
	GDBusMethodInvocation* invocation;
	GError* error = NULL;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	GHashTable* result;
	GVariantBuilder _tmp42_;
	GHashTableIter _tmp43_;
	gpointer _tmp44_;
	gpointer _tmp45_;
	_ready_data = _user_data_;
	invocation = _ready_data->_invocation_;
	result = gnome_shell_extensions_get_extension_info_finish ((GnomeShellExtensions*) source_object, _res_, &error);
	if (error) {
		g_dbus_method_invocation_take_error (invocation, error);
		goto _error;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	g_hash_table_iter_init (&_tmp43_, result);
	g_variant_builder_init (&_tmp42_, G_VARIANT_TYPE ("a{sv}"));
	while (g_hash_table_iter_next (&_tmp43_, &_tmp44_, &_tmp45_)) {
		gchar* _key;
		GVariant* _value;
		_key = (gchar*) _tmp44_;
		_value = (GVariant*) _tmp45_;
		g_variant_builder_add (&_tmp42_, "{?*}", g_variant_new_string (_key), g_variant_new_variant (_value));
	}
	g_variant_builder_add_value (&_reply_builder, g_variant_builder_end (&_tmp42_));
	_g_hash_table_unref0 (result);
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	g_object_unref (invocation);
	g_object_unref (_reply_message);
	_error:
	_g_free0 (_ready_data->uuid);
	g_slice_free (GnomeShellExtensionsGetExtensionInfoReadyData, _ready_data);
}

static void
_dbus_gnome_shell_extensions_install_remote_extension (GnomeShellExtensions* self,
                                                       GVariant* _parameters_,
                                                       GDBusMethodInvocation* invocation)
{
	GVariantIter _arguments_iter;
	GnomeShellExtensionsInstallRemoteExtensionReadyData* _ready_data;
	GVariant* _tmp46_;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_ready_data = g_slice_new0 (GnomeShellExtensionsInstallRemoteExtensionReadyData);
	_ready_data->_invocation_ = invocation;
	_tmp46_ = g_variant_iter_next_value (&_arguments_iter);
	_ready_data->uuid = g_variant_dup_string (_tmp46_, NULL);
	g_variant_unref (_tmp46_);
	gnome_shell_extensions_install_remote_extension (self, _ready_data->uuid, (GAsyncReadyCallback) _dbus_gnome_shell_extensions_install_remote_extension_ready, _ready_data);
	_error:
	;
}

static void
_dbus_gnome_shell_extensions_install_remote_extension_ready (GObject * source_object,
                                                             GAsyncResult * _res_,
                                                             gpointer _user_data_)
{
	GnomeShellExtensionsInstallRemoteExtensionReadyData* _ready_data;
	GDBusMethodInvocation* invocation;
	GError* error = NULL;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	gchar* result;
	_ready_data = _user_data_;
	invocation = _ready_data->_invocation_;
	result = gnome_shell_extensions_install_remote_extension_finish ((GnomeShellExtensions*) source_object, _res_, &error);
	if (error) {
		g_dbus_method_invocation_take_error (invocation, error);
		goto _error;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_reply_builder, g_variant_new_string (result));
	_g_free0 (result);
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	g_object_unref (invocation);
	g_object_unref (_reply_message);
	_error:
	_g_free0 (_ready_data->uuid);
	g_slice_free (GnomeShellExtensionsInstallRemoteExtensionReadyData, _ready_data);
}

static void
_dbus_gnome_shell_extensions_uninstall_extension (GnomeShellExtensions* self,
                                                  GVariant* _parameters_,
                                                  GDBusMethodInvocation* invocation)
{
	GVariantIter _arguments_iter;
	GnomeShellExtensionsUninstallExtensionReadyData* _ready_data;
	GVariant* _tmp47_;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_ready_data = g_slice_new0 (GnomeShellExtensionsUninstallExtensionReadyData);
	_ready_data->_invocation_ = invocation;
	_tmp47_ = g_variant_iter_next_value (&_arguments_iter);
	_ready_data->uuid = g_variant_dup_string (_tmp47_, NULL);
	g_variant_unref (_tmp47_);
	gnome_shell_extensions_uninstall_extension (self, _ready_data->uuid, (GAsyncReadyCallback) _dbus_gnome_shell_extensions_uninstall_extension_ready, _ready_data);
	_error:
	;
}

static void
_dbus_gnome_shell_extensions_uninstall_extension_ready (GObject * source_object,
                                                        GAsyncResult * _res_,
                                                        gpointer _user_data_)
{
	GnomeShellExtensionsUninstallExtensionReadyData* _ready_data;
	GDBusMethodInvocation* invocation;
	GError* error = NULL;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	gboolean result;
	_ready_data = _user_data_;
	invocation = _ready_data->_invocation_;
	result = gnome_shell_extensions_uninstall_extension_finish ((GnomeShellExtensions*) source_object, _res_, &error);
	if (error) {
		g_dbus_method_invocation_take_error (invocation, error);
		goto _error;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_reply_builder, g_variant_new_boolean (result));
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	g_object_unref (invocation);
	g_object_unref (_reply_message);
	_error:
	_g_free0 (_ready_data->uuid);
	g_slice_free (GnomeShellExtensionsUninstallExtensionReadyData, _ready_data);
}

static void
gnome_shell_extensions_dbus_interface_method_call (GDBusConnection* connection,
                                                   const gchar* sender,
                                                   const gchar* object_path,
                                                   const gchar* interface_name,
                                                   const gchar* method_name,
                                                   GVariant* parameters,
                                                   GDBusMethodInvocation* invocation,
                                                   gpointer user_data)
{
	gpointer* data;
	gpointer object;
	data = user_data;
	object = data[0];
	if (strcmp (method_name, "EnableExtension") == 0) {
		_dbus_gnome_shell_extensions_enable_extension (object, parameters, invocation);
	} else if (strcmp (method_name, "DisableExtension") == 0) {
		_dbus_gnome_shell_extensions_disable_extension (object, parameters, invocation);
	} else if (strcmp (method_name, "GetExtensionInfo") == 0) {
		_dbus_gnome_shell_extensions_get_extension_info (object, parameters, invocation);
	} else if (strcmp (method_name, "InstallRemoteExtension") == 0) {
		_dbus_gnome_shell_extensions_install_remote_extension (object, parameters, invocation);
	} else if (strcmp (method_name, "UninstallExtension") == 0) {
		_dbus_gnome_shell_extensions_uninstall_extension (object, parameters, invocation);
	} else {
		g_object_unref (invocation);
	}
}

static GVariant*
_dbus_gnome_shell_extensions_get_user_extensions_enabled (GnomeShellExtensions* self)
{
	gboolean result;
	GVariant* _reply;
	result = gnome_shell_extensions_get_user_extensions_enabled (self);
	_reply = g_variant_new_boolean (result);
	return _reply;
}

static GVariant*
gnome_shell_extensions_dbus_interface_get_property (GDBusConnection* connection,
                                                    const gchar* sender,
                                                    const gchar* object_path,
                                                    const gchar* interface_name,
                                                    const gchar* property_name,
                                                    GError** error,
                                                    gpointer user_data)
{
	gpointer* data;
	gpointer object;
	data = user_data;
	object = data[0];
	if (strcmp (property_name, "UserExtensionsEnabled") == 0) {
		return _dbus_gnome_shell_extensions_get_user_extensions_enabled (object);
	}
	return NULL;
}

static void
_dbus_gnome_shell_extensions_set_user_extensions_enabled (GnomeShellExtensions* self,
                                                          GVariant* _value)
{
	gboolean value = FALSE;
	value = g_variant_get_boolean (_value);
	gnome_shell_extensions_set_user_extensions_enabled (self, value);
}

static gboolean
gnome_shell_extensions_dbus_interface_set_property (GDBusConnection* connection,
                                                    const gchar* sender,
                                                    const gchar* object_path,
                                                    const gchar* interface_name,
                                                    const gchar* property_name,
                                                    GVariant* value,
                                                    GError** error,
                                                    gpointer user_data)
{
	gpointer* data;
	gpointer object;
	data = user_data;
	object = data[0];
	if (strcmp (property_name, "UserExtensionsEnabled") == 0) {
		_dbus_gnome_shell_extensions_set_user_extensions_enabled (object, value);
		return TRUE;
	}
	return FALSE;
}

static void
_dbus_gnome_shell_extensions_extension_state_changed (GObject* _sender,
                                                      const gchar* uuid,
                                                      GHashTable* state,
                                                      gpointer* _data)
{
	GDBusConnection * _connection;
	const gchar * _path;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GVariantBuilder _tmp48_;
	GHashTableIter _tmp49_;
	gpointer _tmp50_;
	gpointer _tmp51_;
	_connection = _data[1];
	_path = _data[2];
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (uuid));
	g_hash_table_iter_init (&_tmp49_, state);
	g_variant_builder_init (&_tmp48_, G_VARIANT_TYPE ("a{sv}"));
	while (g_hash_table_iter_next (&_tmp49_, &_tmp50_, &_tmp51_)) {
		gchar* _key;
		GVariant* _value;
		_key = (gchar*) _tmp50_;
		_value = (GVariant*) _tmp51_;
		g_variant_builder_add (&_tmp48_, "{?*}", g_variant_new_string (_key), g_variant_new_variant (_value));
	}
	g_variant_builder_add_value (&_arguments_builder, g_variant_builder_end (&_tmp48_));
	_arguments = g_variant_builder_end (&_arguments_builder);
	g_dbus_connection_emit_signal (_connection, NULL, _path, "org.gnome.Shell.Extensions", "ExtensionStateChanged", _arguments, NULL);
}

guint
gnome_shell_extensions_register_object (gpointer object,
                                        GDBusConnection* connection,
                                        const gchar* path,
                                        GError** error)
{
	guint result;
	gpointer *data;
	data = g_new (gpointer, 3);
	data[0] = g_object_ref (object);
	data[1] = g_object_ref (connection);
	data[2] = g_strdup (path);
	result = g_dbus_connection_register_object (connection, path, (GDBusInterfaceInfo *) (&_gnome_shell_extensions_dbus_interface_info), &_gnome_shell_extensions_dbus_interface_vtable, data, _gnome_shell_extensions_unregister_object, error);
	if (!result) {
		return 0;
	}
	g_signal_connect (object, "extension-state-changed", (GCallback) _dbus_gnome_shell_extensions_extension_state_changed, data);
	return result;
}

static void
_gnome_shell_extensions_unregister_object (gpointer user_data)
{
	gpointer* data;
	data = user_data;
	g_signal_handlers_disconnect_by_func (data[0], _dbus_gnome_shell_extensions_extension_state_changed, data);
	g_object_unref (data[0]);
	g_object_unref (data[1]);
	g_free (data[2]);
	g_free (data);
}

void
gnome_shell_integration_open_screen_overlay (GnomeShellIntegration* self,
                                             GAsyncReadyCallback _callback_,
                                             gpointer _user_data_)
{
	GnomeShellIntegrationIface* _iface_;
	_iface_ = GNOME_SHELL_INTEGRATION_GET_INTERFACE (self);
	if (_iface_->open_screen_overlay) {
		_iface_->open_screen_overlay (self, _callback_, _user_data_);
	}
}

void
gnome_shell_integration_open_screen_overlay_finish (GnomeShellIntegration* self,
                                                    GAsyncResult* _res_,
                                                    GError** error)
{
	GnomeShellIntegrationIface* _iface_;
	_iface_ = GNOME_SHELL_INTEGRATION_GET_INTERFACE (self);
	if (_iface_->open_screen_overlay_finish) {
		_iface_->open_screen_overlay_finish (self, _res_, error);
	}
}

gchar*
gnome_shell_integration_get_version (GnomeShellIntegration* self)
{
	GnomeShellIntegrationIface* _iface_;
	g_return_val_if_fail (self != NULL, NULL);
	_iface_ = GNOME_SHELL_INTEGRATION_GET_INTERFACE (self);
	if (_iface_->get_version) {
		return _iface_->get_version (self);
	}
	return NULL;
}

gchar*
gnome_shell_integration_get_indicator_type (GnomeShellIntegration* self)
{
	GnomeShellIntegrationIface* _iface_;
	g_return_val_if_fail (self != NULL, NULL);
	_iface_ = GNOME_SHELL_INTEGRATION_GET_INTERFACE (self);
	if (_iface_->get_indicator_type) {
		return _iface_->get_indicator_type (self);
	}
	return NULL;
}

void
gnome_shell_integration_set_indicator_type (GnomeShellIntegration* self,
                                            const gchar* value)
{
	GnomeShellIntegrationIface* _iface_;
	g_return_if_fail (self != NULL);
	_iface_ = GNOME_SHELL_INTEGRATION_GET_INTERFACE (self);
	if (_iface_->set_indicator_type) {
		_iface_->set_indicator_type (self, value);
	}
}

gboolean
gnome_shell_integration_get_enable_blur_effect (GnomeShellIntegration* self)
{
	GnomeShellIntegrationIface* _iface_;
	g_return_val_if_fail (self != NULL, FALSE);
	_iface_ = GNOME_SHELL_INTEGRATION_GET_INTERFACE (self);
	if (_iface_->get_enable_blur_effect) {
		return _iface_->get_enable_blur_effect (self);
	}
	return FALSE;
}

void
gnome_shell_integration_set_enable_blur_effect (GnomeShellIntegration* self,
                                                gboolean value)
{
	GnomeShellIntegrationIface* _iface_;
	g_return_if_fail (self != NULL);
	_iface_ = GNOME_SHELL_INTEGRATION_GET_INTERFACE (self);
	if (_iface_->set_enable_blur_effect) {
		_iface_->set_enable_blur_effect (self, value);
	}
}

gboolean
gnome_shell_integration_get_enable_dismiss_gesture (GnomeShellIntegration* self)
{
	GnomeShellIntegrationIface* _iface_;
	g_return_val_if_fail (self != NULL, FALSE);
	_iface_ = GNOME_SHELL_INTEGRATION_GET_INTERFACE (self);
	if (_iface_->get_enable_dismiss_gesture) {
		return _iface_->get_enable_dismiss_gesture (self);
	}
	return FALSE;
}

void
gnome_shell_integration_set_enable_dismiss_gesture (GnomeShellIntegration* self,
                                                    gboolean value)
{
	GnomeShellIntegrationIface* _iface_;
	g_return_if_fail (self != NULL);
	_iface_ = GNOME_SHELL_INTEGRATION_GET_INTERFACE (self);
	if (_iface_->set_enable_dismiss_gesture) {
		_iface_->set_enable_dismiss_gesture (self, value);
	}
}

gboolean
gnome_shell_integration_get_enable_manage_notifications (GnomeShellIntegration* self)
{
	GnomeShellIntegrationIface* _iface_;
	g_return_val_if_fail (self != NULL, FALSE);
	_iface_ = GNOME_SHELL_INTEGRATION_GET_INTERFACE (self);
	if (_iface_->get_enable_manage_notifications) {
		return _iface_->get_enable_manage_notifications (self);
	}
	return FALSE;
}

void
gnome_shell_integration_set_enable_manage_notifications (GnomeShellIntegration* self,
                                                         gboolean value)
{
	GnomeShellIntegrationIface* _iface_;
	g_return_if_fail (self != NULL);
	_iface_ = GNOME_SHELL_INTEGRATION_GET_INTERFACE (self);
	if (_iface_->set_enable_manage_notifications) {
		_iface_->set_enable_manage_notifications (self, value);
	}
}

static void
gnome_shell_integration_default_init (GnomeShellIntegrationIface * iface,
                                      gpointer iface_data)
{
}

GType
gnome_shell_integration_get_type (void)
{
	return gnome_shell_integration_type_id;
}

GType
gnome_shell_integration_register_type (GTypeModule * module)
{
	static const GTypeInfo g_define_type_info = { sizeof (GnomeShellIntegrationIface), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gnome_shell_integration_default_init, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
	gnome_shell_integration_type_id = g_type_module_register_type (module, G_TYPE_INTERFACE, "GnomeShellIntegration", &g_define_type_info, 0);
	g_type_interface_add_prerequisite (gnome_shell_integration_type_id, G_TYPE_OBJECT);
	g_type_set_qdata (gnome_shell_integration_type_id, g_quark_from_static_string ("vala-dbus-proxy-type"), (void*) gnome_shell_integration_proxy_get_type);
	g_type_set_qdata (gnome_shell_integration_type_id, g_quark_from_static_string ("vala-dbus-interface-name"), "io.github.focustimerhq.FocusTimer.ShellIntegration");
	g_type_set_qdata (gnome_shell_integration_type_id, g_quark_from_static_string ("vala-dbus-interface-info"), (void*) (&_gnome_shell_integration_dbus_interface_info));
	g_type_set_qdata (gnome_shell_integration_type_id, g_quark_from_static_string ("vala-dbus-register-object"), (void*) gnome_shell_integration_register_object);
	return gnome_shell_integration_type_id;
}

G_DEFINE_DYNAMIC_TYPE_EXTENDED (GnomeShellIntegrationProxy, gnome_shell_integration_proxy, G_TYPE_DBUS_PROXY, 0, G_IMPLEMENT_INTERFACE_DYNAMIC (GNOME_TYPE_SHELL_INTEGRATION, gnome_shell_integration_proxy_gnome_shell_integration_interface_init) )
static void
gnome_shell_integration_proxy_class_init (GnomeShellIntegrationProxyClass* klass)
{
	G_DBUS_PROXY_CLASS (klass)->g_signal = gnome_shell_integration_proxy_g_signal;
}

static void
gnome_shell_integration_proxy_g_signal (GDBusProxy* proxy,
                                        const gchar* sender_name,
                                        const gchar* signal_name,
                                        GVariant* parameters)
{
}

static void
gnome_shell_integration_proxy_class_finalize (GnomeShellIntegrationProxyClass* klass)
{
}

void
gnome_shell_integration_proxy_register_dynamic_type (GTypeModule* module)
{
	gnome_shell_integration_proxy_register_type (module);
}

static void
gnome_shell_integration_proxy_init (GnomeShellIntegrationProxy* self)
{
	g_dbus_proxy_set_interface_info (G_DBUS_PROXY (self), (GDBusInterfaceInfo *) (&_gnome_shell_integration_dbus_interface_info));
}

static void
gnome_shell_integration_proxy_open_screen_overlay_async (GnomeShellIntegration* self,
                                                         GAsyncReadyCallback _callback_,
                                                         gpointer _user_data_)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	G_DBUS_ERROR;
	G_IO_ERROR;
	_message = g_dbus_message_new_method_call (g_dbus_proxy_get_name ((GDBusProxy *) self), g_dbus_proxy_get_object_path ((GDBusProxy *) self), "io.github.focustimerhq.FocusTimer.ShellIntegration", "OpenScreenOverlay");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	_arguments = g_variant_builder_end (&_arguments_builder);
	g_dbus_message_set_body (_message, _arguments);
	if (_callback_ != NULL) {
		g_dbus_connection_send_message_with_reply (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, g_dbus_proxy_get_default_timeout ((GDBusProxy *) self), NULL, NULL, _vala_g_async_ready_callback, g_task_new ((GObject *) self, NULL, _callback_, _user_data_));
	} else {
		g_dbus_message_set_flags (_message, G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED);
		g_dbus_connection_send_message (g_dbus_proxy_get_connection ((GDBusProxy *) self), _message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	}
	g_object_unref (_message);
}

static void
gnome_shell_integration_proxy_open_screen_overlay_finish (GnomeShellIntegration* self,
                                                          GAsyncResult* _res_,
                                                          GError** error)
{
	GAsyncResult *_inner_res;
	GDBusMessage *_reply_message;
	_inner_res = g_task_propagate_pointer ((GTask *) _res_, NULL);
	_reply_message = g_dbus_connection_send_message_with_reply_finish (g_dbus_proxy_get_connection ((GDBusProxy *) self), _inner_res, error);
	g_object_unref (_inner_res);
	if (!_reply_message) {
		return;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		g_object_unref (_reply_message);
		return;
	}
	g_object_unref (_reply_message);
}

static gchar*
gnome_shell_integration_dbus_proxy_get_version (GnomeShellIntegration* self)
{
	GVariant *_inner_reply;
	gchar* _result;
	_inner_reply = g_dbus_proxy_get_cached_property ((GDBusProxy *) self, "Version");
	if (!_inner_reply) {
		GVariant *_arguments;
		GVariant *_reply;
		GVariantBuilder _arguments_builder;
		g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
		g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("io.github.focustimerhq.FocusTimer.ShellIntegration"));
		g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("Version"));
		_arguments = g_variant_builder_end (&_arguments_builder);
		_reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Get", _arguments, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL);
		if (!_reply) {
			return NULL;
		}
		g_variant_get (_reply, "(v)", &_inner_reply);
		g_variant_unref (_reply);
	}
	_result = g_variant_dup_string (_inner_reply, NULL);
	g_variant_unref (_inner_reply);
	return _result;
}

static gchar*
gnome_shell_integration_dbus_proxy_get_indicator_type (GnomeShellIntegration* self)
{
	GVariant *_inner_reply;
	gchar* _result;
	_inner_reply = g_dbus_proxy_get_cached_property ((GDBusProxy *) self, "IndicatorType");
	if (!_inner_reply) {
		GVariant *_arguments;
		GVariant *_reply;
		GVariantBuilder _arguments_builder;
		g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
		g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("io.github.focustimerhq.FocusTimer.ShellIntegration"));
		g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("IndicatorType"));
		_arguments = g_variant_builder_end (&_arguments_builder);
		_reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Get", _arguments, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL);
		if (!_reply) {
			return NULL;
		}
		g_variant_get (_reply, "(v)", &_inner_reply);
		g_variant_unref (_reply);
	}
	_result = g_variant_dup_string (_inner_reply, NULL);
	g_variant_unref (_inner_reply);
	return _result;
}

static void
gnome_shell_integration_dbus_proxy_set_indicator_type (GnomeShellIntegration* self,
                                                       const gchar* value)
{
	GVariant *_arguments;
	GVariant *_reply;
	GVariantBuilder _arguments_builder;
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("io.github.focustimerhq.FocusTimer.ShellIntegration"));
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("IndicatorType"));
	g_variant_builder_open (&_arguments_builder, G_VARIANT_TYPE_VARIANT);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (value));
	g_variant_builder_close (&_arguments_builder);
	_arguments = g_variant_builder_end (&_arguments_builder);
	_reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Set", _arguments, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL);
	if (!_reply) {
		return;
	}
	g_variant_unref (_reply);
}

static gboolean
gnome_shell_integration_dbus_proxy_get_enable_blur_effect (GnomeShellIntegration* self)
{
	GVariant *_inner_reply;
	gboolean _result;
	_inner_reply = g_dbus_proxy_get_cached_property ((GDBusProxy *) self, "EnableBlurEffect");
	if (!_inner_reply) {
		GVariant *_arguments;
		GVariant *_reply;
		GVariantBuilder _arguments_builder;
		g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
		g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("io.github.focustimerhq.FocusTimer.ShellIntegration"));
		g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("EnableBlurEffect"));
		_arguments = g_variant_builder_end (&_arguments_builder);
		_reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Get", _arguments, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL);
		if (!_reply) {
			gboolean _tmp52_ = FALSE;
			return _tmp52_;
		}
		g_variant_get (_reply, "(v)", &_inner_reply);
		g_variant_unref (_reply);
	}
	_result = g_variant_get_boolean (_inner_reply);
	g_variant_unref (_inner_reply);
	return _result;
}

static void
gnome_shell_integration_dbus_proxy_set_enable_blur_effect (GnomeShellIntegration* self,
                                                           gboolean value)
{
	GVariant *_arguments;
	GVariant *_reply;
	GVariantBuilder _arguments_builder;
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("io.github.focustimerhq.FocusTimer.ShellIntegration"));
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("EnableBlurEffect"));
	g_variant_builder_open (&_arguments_builder, G_VARIANT_TYPE_VARIANT);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_boolean (value));
	g_variant_builder_close (&_arguments_builder);
	_arguments = g_variant_builder_end (&_arguments_builder);
	_reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Set", _arguments, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL);
	if (!_reply) {
		return;
	}
	g_variant_unref (_reply);
}

static gboolean
gnome_shell_integration_dbus_proxy_get_enable_dismiss_gesture (GnomeShellIntegration* self)
{
	GVariant *_inner_reply;
	gboolean _result;
	_inner_reply = g_dbus_proxy_get_cached_property ((GDBusProxy *) self, "EnableDismissGesture");
	if (!_inner_reply) {
		GVariant *_arguments;
		GVariant *_reply;
		GVariantBuilder _arguments_builder;
		g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
		g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("io.github.focustimerhq.FocusTimer.ShellIntegration"));
		g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("EnableDismissGesture"));
		_arguments = g_variant_builder_end (&_arguments_builder);
		_reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Get", _arguments, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL);
		if (!_reply) {
			gboolean _tmp53_ = FALSE;
			return _tmp53_;
		}
		g_variant_get (_reply, "(v)", &_inner_reply);
		g_variant_unref (_reply);
	}
	_result = g_variant_get_boolean (_inner_reply);
	g_variant_unref (_inner_reply);
	return _result;
}

static void
gnome_shell_integration_dbus_proxy_set_enable_dismiss_gesture (GnomeShellIntegration* self,
                                                               gboolean value)
{
	GVariant *_arguments;
	GVariant *_reply;
	GVariantBuilder _arguments_builder;
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("io.github.focustimerhq.FocusTimer.ShellIntegration"));
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("EnableDismissGesture"));
	g_variant_builder_open (&_arguments_builder, G_VARIANT_TYPE_VARIANT);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_boolean (value));
	g_variant_builder_close (&_arguments_builder);
	_arguments = g_variant_builder_end (&_arguments_builder);
	_reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Set", _arguments, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL);
	if (!_reply) {
		return;
	}
	g_variant_unref (_reply);
}

static gboolean
gnome_shell_integration_dbus_proxy_get_enable_manage_notifications (GnomeShellIntegration* self)
{
	GVariant *_inner_reply;
	gboolean _result;
	_inner_reply = g_dbus_proxy_get_cached_property ((GDBusProxy *) self, "EnableManageNotifications");
	if (!_inner_reply) {
		GVariant *_arguments;
		GVariant *_reply;
		GVariantBuilder _arguments_builder;
		g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
		g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("io.github.focustimerhq.FocusTimer.ShellIntegration"));
		g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("EnableManageNotifications"));
		_arguments = g_variant_builder_end (&_arguments_builder);
		_reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Get", _arguments, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL);
		if (!_reply) {
			gboolean _tmp54_ = FALSE;
			return _tmp54_;
		}
		g_variant_get (_reply, "(v)", &_inner_reply);
		g_variant_unref (_reply);
	}
	_result = g_variant_get_boolean (_inner_reply);
	g_variant_unref (_inner_reply);
	return _result;
}

static void
gnome_shell_integration_dbus_proxy_set_enable_manage_notifications (GnomeShellIntegration* self,
                                                                    gboolean value)
{
	GVariant *_arguments;
	GVariant *_reply;
	GVariantBuilder _arguments_builder;
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("io.github.focustimerhq.FocusTimer.ShellIntegration"));
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string ("EnableManageNotifications"));
	g_variant_builder_open (&_arguments_builder, G_VARIANT_TYPE_VARIANT);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_boolean (value));
	g_variant_builder_close (&_arguments_builder);
	_arguments = g_variant_builder_end (&_arguments_builder);
	_reply = g_dbus_proxy_call_sync ((GDBusProxy *) self, "org.freedesktop.DBus.Properties.Set", _arguments, G_DBUS_CALL_FLAGS_NONE, -1, NULL, NULL);
	if (!_reply) {
		return;
	}
	g_variant_unref (_reply);
}

static void
gnome_shell_integration_proxy_gnome_shell_integration_interface_init (GnomeShellIntegrationIface* iface)
{
	iface->open_screen_overlay = gnome_shell_integration_proxy_open_screen_overlay_async;
	iface->open_screen_overlay_finish = gnome_shell_integration_proxy_open_screen_overlay_finish;
	iface->get_version = gnome_shell_integration_dbus_proxy_get_version;
	iface->get_indicator_type = gnome_shell_integration_dbus_proxy_get_indicator_type;
	iface->set_indicator_type = gnome_shell_integration_dbus_proxy_set_indicator_type;
	iface->get_enable_blur_effect = gnome_shell_integration_dbus_proxy_get_enable_blur_effect;
	iface->set_enable_blur_effect = gnome_shell_integration_dbus_proxy_set_enable_blur_effect;
	iface->get_enable_dismiss_gesture = gnome_shell_integration_dbus_proxy_get_enable_dismiss_gesture;
	iface->set_enable_dismiss_gesture = gnome_shell_integration_dbus_proxy_set_enable_dismiss_gesture;
	iface->get_enable_manage_notifications = gnome_shell_integration_dbus_proxy_get_enable_manage_notifications;
	iface->set_enable_manage_notifications = gnome_shell_integration_dbus_proxy_set_enable_manage_notifications;
}

static void
_dbus_gnome_shell_integration_open_screen_overlay (GnomeShellIntegration* self,
                                                   GVariant* _parameters_,
                                                   GDBusMethodInvocation* invocation)
{
	GVariantIter _arguments_iter;
	GnomeShellIntegrationOpenScreenOverlayReadyData* _ready_data;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_ready_data = g_slice_new0 (GnomeShellIntegrationOpenScreenOverlayReadyData);
	_ready_data->_invocation_ = invocation;
	gnome_shell_integration_open_screen_overlay (self, (GAsyncReadyCallback) _dbus_gnome_shell_integration_open_screen_overlay_ready, _ready_data);
}

static void
_dbus_gnome_shell_integration_open_screen_overlay_ready (GObject * source_object,
                                                         GAsyncResult * _res_,
                                                         gpointer _user_data_)
{
	GnomeShellIntegrationOpenScreenOverlayReadyData* _ready_data;
	GDBusMethodInvocation* invocation;
	GError* error = NULL;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	_ready_data = _user_data_;
	invocation = _ready_data->_invocation_;
	gnome_shell_integration_open_screen_overlay_finish ((GnomeShellIntegration*) source_object, _res_, &error);
	if (error) {
		g_dbus_method_invocation_take_error (invocation, error);
		goto _error;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
	g_object_unref (invocation);
	g_object_unref (_reply_message);
	_error:
	g_slice_free (GnomeShellIntegrationOpenScreenOverlayReadyData, _ready_data);
}

static void
gnome_shell_integration_dbus_interface_method_call (GDBusConnection* connection,
                                                    const gchar* sender,
                                                    const gchar* object_path,
                                                    const gchar* interface_name,
                                                    const gchar* method_name,
                                                    GVariant* parameters,
                                                    GDBusMethodInvocation* invocation,
                                                    gpointer user_data)
{
	gpointer* data;
	gpointer object;
	data = user_data;
	object = data[0];
	if (strcmp (method_name, "OpenScreenOverlay") == 0) {
		_dbus_gnome_shell_integration_open_screen_overlay (object, parameters, invocation);
	} else {
		g_object_unref (invocation);
	}
}

static GVariant*
_dbus_gnome_shell_integration_get_version (GnomeShellIntegration* self)
{
	gchar* result;
	GVariant* _reply;
	result = gnome_shell_integration_get_version (self);
	_reply = g_variant_new_string (result);
	_g_free0 (result);
	return _reply;
}

static GVariant*
_dbus_gnome_shell_integration_get_indicator_type (GnomeShellIntegration* self)
{
	gchar* result;
	GVariant* _reply;
	result = gnome_shell_integration_get_indicator_type (self);
	_reply = g_variant_new_string (result);
	_g_free0 (result);
	return _reply;
}

static GVariant*
_dbus_gnome_shell_integration_get_enable_blur_effect (GnomeShellIntegration* self)
{
	gboolean result;
	GVariant* _reply;
	result = gnome_shell_integration_get_enable_blur_effect (self);
	_reply = g_variant_new_boolean (result);
	return _reply;
}

static GVariant*
_dbus_gnome_shell_integration_get_enable_dismiss_gesture (GnomeShellIntegration* self)
{
	gboolean result;
	GVariant* _reply;
	result = gnome_shell_integration_get_enable_dismiss_gesture (self);
	_reply = g_variant_new_boolean (result);
	return _reply;
}

static GVariant*
_dbus_gnome_shell_integration_get_enable_manage_notifications (GnomeShellIntegration* self)
{
	gboolean result;
	GVariant* _reply;
	result = gnome_shell_integration_get_enable_manage_notifications (self);
	_reply = g_variant_new_boolean (result);
	return _reply;
}

static GVariant*
gnome_shell_integration_dbus_interface_get_property (GDBusConnection* connection,
                                                     const gchar* sender,
                                                     const gchar* object_path,
                                                     const gchar* interface_name,
                                                     const gchar* property_name,
                                                     GError** error,
                                                     gpointer user_data)
{
	gpointer* data;
	gpointer object;
	data = user_data;
	object = data[0];
	if (strcmp (property_name, "Version") == 0) {
		return _dbus_gnome_shell_integration_get_version (object);
	} else if (strcmp (property_name, "IndicatorType") == 0) {
		return _dbus_gnome_shell_integration_get_indicator_type (object);
	} else if (strcmp (property_name, "EnableBlurEffect") == 0) {
		return _dbus_gnome_shell_integration_get_enable_blur_effect (object);
	} else if (strcmp (property_name, "EnableDismissGesture") == 0) {
		return _dbus_gnome_shell_integration_get_enable_dismiss_gesture (object);
	} else if (strcmp (property_name, "EnableManageNotifications") == 0) {
		return _dbus_gnome_shell_integration_get_enable_manage_notifications (object);
	}
	return NULL;
}

static void
_dbus_gnome_shell_integration_set_indicator_type (GnomeShellIntegration* self,
                                                  GVariant* _value)
{
	gchar* value = NULL;
	value = g_variant_dup_string (_value, NULL);
	gnome_shell_integration_set_indicator_type (self, value);
	_g_free0 (value);
}

static void
_dbus_gnome_shell_integration_set_enable_blur_effect (GnomeShellIntegration* self,
                                                      GVariant* _value)
{
	gboolean value = FALSE;
	value = g_variant_get_boolean (_value);
	gnome_shell_integration_set_enable_blur_effect (self, value);
}

static void
_dbus_gnome_shell_integration_set_enable_dismiss_gesture (GnomeShellIntegration* self,
                                                          GVariant* _value)
{
	gboolean value = FALSE;
	value = g_variant_get_boolean (_value);
	gnome_shell_integration_set_enable_dismiss_gesture (self, value);
}

static void
_dbus_gnome_shell_integration_set_enable_manage_notifications (GnomeShellIntegration* self,
                                                               GVariant* _value)
{
	gboolean value = FALSE;
	value = g_variant_get_boolean (_value);
	gnome_shell_integration_set_enable_manage_notifications (self, value);
}

static gboolean
gnome_shell_integration_dbus_interface_set_property (GDBusConnection* connection,
                                                     const gchar* sender,
                                                     const gchar* object_path,
                                                     const gchar* interface_name,
                                                     const gchar* property_name,
                                                     GVariant* value,
                                                     GError** error,
                                                     gpointer user_data)
{
	gpointer* data;
	gpointer object;
	data = user_data;
	object = data[0];
	if (strcmp (property_name, "IndicatorType") == 0) {
		_dbus_gnome_shell_integration_set_indicator_type (object, value);
		return TRUE;
	} else if (strcmp (property_name, "EnableBlurEffect") == 0) {
		_dbus_gnome_shell_integration_set_enable_blur_effect (object, value);
		return TRUE;
	} else if (strcmp (property_name, "EnableDismissGesture") == 0) {
		_dbus_gnome_shell_integration_set_enable_dismiss_gesture (object, value);
		return TRUE;
	} else if (strcmp (property_name, "EnableManageNotifications") == 0) {
		_dbus_gnome_shell_integration_set_enable_manage_notifications (object, value);
		return TRUE;
	}
	return FALSE;
}

guint
gnome_shell_integration_register_object (gpointer object,
                                         GDBusConnection* connection,
                                         const gchar* path,
                                         GError** error)
{
	guint result;
	gpointer *data;
	data = g_new (gpointer, 3);
	data[0] = g_object_ref (object);
	data[1] = g_object_ref (connection);
	data[2] = g_strdup (path);
	result = g_dbus_connection_register_object (connection, path, (GDBusInterfaceInfo *) (&_gnome_shell_integration_dbus_interface_info), &_gnome_shell_integration_dbus_interface_vtable, data, _gnome_shell_integration_unregister_object, error);
	if (!result) {
		return 0;
	}
	return result;
}

static void
_gnome_shell_integration_unregister_object (gpointer user_data)
{
	gpointer* data;
	data = user_data;
	g_object_unref (data[0]);
	g_object_unref (data[1]);
	g_free (data[2]);
	g_free (data);
}

