/* dbus-backend.c generated by valac 0.56.18-dirty, the Vala compiler
 * generated from dbus-backend.vala, do not modify */

/* 
    Copyright 2012 Julien Lavergne <gilir@ubuntu.com>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#include <glib-object.h>
#include <gio/gio.h>
#include <stdlib.h>
#include <string.h>
#include <glib.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
#if !defined(VALA_EXTERN)
#if defined(_MSC_VER)
#define VALA_EXTERN __declspec(dllexport) extern
#elif __GNUC__ >= 4
#define VALA_EXTERN __attribute__((visibility("default"))) extern
#else
#define VALA_EXTERN extern
#endif
#endif

#define LDEFAULT_APPS_TYPE_DBUS_LXSESSION (ldefault_apps_dbus_lxsession_get_type ())
#define LDEFAULT_APPS_DBUS_LXSESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LDEFAULT_APPS_TYPE_DBUS_LXSESSION, LDefaultAppsDbusLxsession))
#define LDEFAULT_APPS_IS_DBUS_LXSESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LDEFAULT_APPS_TYPE_DBUS_LXSESSION))
#define LDEFAULT_APPS_DBUS_LXSESSION_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), LDEFAULT_APPS_TYPE_DBUS_LXSESSION, LDefaultAppsDbusLxsessionIface))

typedef struct _LDefaultAppsDbusLxsession LDefaultAppsDbusLxsession;
typedef struct _LDefaultAppsDbusLxsessionIface LDefaultAppsDbusLxsessionIface;

#define LDEFAULT_APPS_TYPE_DBUS_LXSESSION_PROXY (ldefault_apps_dbus_lxsession_proxy_get_type ())
typedef GDBusProxy LDefaultAppsDbusLxsessionProxy;
typedef GDBusProxyClass LDefaultAppsDbusLxsessionProxyClass;
#define _g_free0(var) (var = (g_free (var), NULL))

#define LDEFAULT_APPS_TYPE_DBUS_BACKEND (ldefault_apps_dbus_backend_get_type ())
#define LDEFAULT_APPS_DBUS_BACKEND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LDEFAULT_APPS_TYPE_DBUS_BACKEND, LDefaultAppsDbusBackend))
#define LDEFAULT_APPS_DBUS_BACKEND_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LDEFAULT_APPS_TYPE_DBUS_BACKEND, LDefaultAppsDbusBackendClass))
#define LDEFAULT_APPS_IS_DBUS_BACKEND(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LDEFAULT_APPS_TYPE_DBUS_BACKEND))
#define LDEFAULT_APPS_IS_DBUS_BACKEND_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LDEFAULT_APPS_TYPE_DBUS_BACKEND))
#define LDEFAULT_APPS_DBUS_BACKEND_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LDEFAULT_APPS_TYPE_DBUS_BACKEND, LDefaultAppsDbusBackendClass))

typedef struct _LDefaultAppsDbusBackend LDefaultAppsDbusBackend;
typedef struct _LDefaultAppsDbusBackendClass LDefaultAppsDbusBackendClass;
typedef struct _LDefaultAppsDbusBackendPrivate LDefaultAppsDbusBackendPrivate;
enum  {
	LDEFAULT_APPS_DBUS_BACKEND_0_PROPERTY,
	LDEFAULT_APPS_DBUS_BACKEND_NUM_PROPERTIES
};
static GParamSpec* ldefault_apps_dbus_backend_properties[LDEFAULT_APPS_DBUS_BACKEND_NUM_PROPERTIES];
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))

struct _LDefaultAppsDbusLxsessionIface {
	GTypeInterface parent_iface;
	gchar* (*SessionGet) (LDefaultAppsDbusLxsession* self, const gchar* key1, const gchar* key2, GError** error);
	void (*SessionSet) (LDefaultAppsDbusLxsession* self, const gchar* key1, const gchar* key2, const gchar* command_to_set, GError** error);
	void (*SessionLaunch) (LDefaultAppsDbusLxsession* self, const gchar* name, const gchar* option, GError** error);
	gchar** (*SessionSupport) (LDefaultAppsDbusLxsession* self, gint* result_length1, GError** error);
	gchar** (*SessionSupportDetail) (LDefaultAppsDbusLxsession* self, const gchar* key1, gint* result_length1, GError** error);
	void (*KeymapActivate) (LDefaultAppsDbusLxsession* self, GError** error);
	void (*KeymapSet) (LDefaultAppsDbusLxsession* self, const gchar* key1, const gchar* key2, const gchar* command_to_set, GError** error);
	gchar* (*KeymapGet) (LDefaultAppsDbusLxsession* self, const gchar* key1, const gchar* key2, GError** error);
	void (*StateSet) (LDefaultAppsDbusLxsession* self, const gchar* key1, const gchar* key2, const gchar* command_to_set, GError** error);
	gchar* (*StateGet) (LDefaultAppsDbusLxsession* self, const gchar* key1, const gchar* key2, GError** error);
	void (*DbusSet) (LDefaultAppsDbusLxsession* self, const gchar* key1, const gchar* key2, const gchar* command_to_set, GError** error);
	gchar* (*DbusGet) (LDefaultAppsDbusLxsession* self, const gchar* key1, const gchar* key2, GError** error);
	void (*EnvironmentSet) (LDefaultAppsDbusLxsession* self, const gchar* key1, const gchar* key2, const gchar* command_to_set, GError** error);
	gchar* (*EnvironmentGet) (LDefaultAppsDbusLxsession* self, const gchar* key1, const gchar* key2, GError** error);
};

struct _LDefaultAppsDbusBackend {
	GObject parent_instance;
	LDefaultAppsDbusBackendPrivate * priv;
};

struct _LDefaultAppsDbusBackendClass {
	GObjectClass parent_class;
};

struct _LDefaultAppsDbusBackendPrivate {
	LDefaultAppsDbusLxsession* dbus_lxsession;
	gchar* dbus_type;
};

static gint LDefaultAppsDbusBackend_private_offset;
static gpointer ldefault_apps_dbus_backend_parent_class = NULL;

VALA_EXTERN GType ldefault_apps_dbus_lxsession_proxy_get_type (void) G_GNUC_CONST ;
VALA_EXTERN guint ldefault_apps_dbus_lxsession_register_object (void* object,
                                                    GDBusConnection* connection,
                                                    const gchar* path,
                                                    GError** error);
VALA_EXTERN GType ldefault_apps_dbus_lxsession_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LDefaultAppsDbusLxsession, g_object_unref)
VALA_EXTERN gchar* ldefault_apps_dbus_lxsession_SessionGet (LDefaultAppsDbusLxsession* self,
                                                const gchar* key1,
                                                const gchar* key2,
                                                GError** error);
VALA_EXTERN void ldefault_apps_dbus_lxsession_SessionSet (LDefaultAppsDbusLxsession* self,
                                              const gchar* key1,
                                              const gchar* key2,
                                              const gchar* command_to_set,
                                              GError** error);
VALA_EXTERN void ldefault_apps_dbus_lxsession_SessionLaunch (LDefaultAppsDbusLxsession* self,
                                                 const gchar* name,
                                                 const gchar* option,
                                                 GError** error);
VALA_EXTERN gchar** ldefault_apps_dbus_lxsession_SessionSupport (LDefaultAppsDbusLxsession* self,
                                                     gint* result_length1,
                                                     GError** error);
VALA_EXTERN gchar** ldefault_apps_dbus_lxsession_SessionSupportDetail (LDefaultAppsDbusLxsession* self,
                                                           const gchar* key1,
                                                           gint* result_length1,
                                                           GError** error);
VALA_EXTERN void ldefault_apps_dbus_lxsession_KeymapActivate (LDefaultAppsDbusLxsession* self,
                                                  GError** error);
VALA_EXTERN void ldefault_apps_dbus_lxsession_KeymapSet (LDefaultAppsDbusLxsession* self,
                                             const gchar* key1,
                                             const gchar* key2,
                                             const gchar* command_to_set,
                                             GError** error);
VALA_EXTERN gchar* ldefault_apps_dbus_lxsession_KeymapGet (LDefaultAppsDbusLxsession* self,
                                               const gchar* key1,
                                               const gchar* key2,
                                               GError** error);
VALA_EXTERN void ldefault_apps_dbus_lxsession_StateSet (LDefaultAppsDbusLxsession* self,
                                            const gchar* key1,
                                            const gchar* key2,
                                            const gchar* command_to_set,
                                            GError** error);
VALA_EXTERN gchar* ldefault_apps_dbus_lxsession_StateGet (LDefaultAppsDbusLxsession* self,
                                              const gchar* key1,
                                              const gchar* key2,
                                              GError** error);
VALA_EXTERN void ldefault_apps_dbus_lxsession_DbusSet (LDefaultAppsDbusLxsession* self,
                                           const gchar* key1,
                                           const gchar* key2,
                                           const gchar* command_to_set,
                                           GError** error);
VALA_EXTERN gchar* ldefault_apps_dbus_lxsession_DbusGet (LDefaultAppsDbusLxsession* self,
                                             const gchar* key1,
                                             const gchar* key2,
                                             GError** error);
VALA_EXTERN void ldefault_apps_dbus_lxsession_EnvironmentSet (LDefaultAppsDbusLxsession* self,
                                                  const gchar* key1,
                                                  const gchar* key2,
                                                  const gchar* command_to_set,
                                                  GError** error);
VALA_EXTERN gchar* ldefault_apps_dbus_lxsession_EnvironmentGet (LDefaultAppsDbusLxsession* self,
                                                    const gchar* key1,
                                                    const gchar* key2,
                                                    GError** error);
static GType ldefault_apps_dbus_lxsession_get_type_once (void);
static void ldefault_apps_dbus_lxsession_proxy_g_signal (GDBusProxy* proxy,
                                                  const gchar* sender_name,
                                                  const gchar* signal_name,
                                                  GVariant* parameters);
static gchar* ldefault_apps_dbus_lxsession_proxy_SessionGet (LDefaultAppsDbusLxsession* self,
                                                      const gchar* key1,
                                                      const gchar* key2,
                                                      GError** error);
static void ldefault_apps_dbus_lxsession_proxy_SessionSet (LDefaultAppsDbusLxsession* self,
                                                    const gchar* key1,
                                                    const gchar* key2,
                                                    const gchar* command_to_set,
                                                    GError** error);
static void ldefault_apps_dbus_lxsession_proxy_SessionLaunch (LDefaultAppsDbusLxsession* self,
                                                       const gchar* name,
                                                       const gchar* option,
                                                       GError** error);
static gchar** ldefault_apps_dbus_lxsession_proxy_SessionSupport (LDefaultAppsDbusLxsession* self,
                                                           gint* result_length1,
                                                           GError** error);
static gchar** ldefault_apps_dbus_lxsession_proxy_SessionSupportDetail (LDefaultAppsDbusLxsession* self,
                                                                 const gchar* key1,
                                                                 gint* result_length1,
                                                                 GError** error);
static void ldefault_apps_dbus_lxsession_proxy_KeymapActivate (LDefaultAppsDbusLxsession* self,
                                                        GError** error);
static void ldefault_apps_dbus_lxsession_proxy_KeymapSet (LDefaultAppsDbusLxsession* self,
                                                   const gchar* key1,
                                                   const gchar* key2,
                                                   const gchar* command_to_set,
                                                   GError** error);
static gchar* ldefault_apps_dbus_lxsession_proxy_KeymapGet (LDefaultAppsDbusLxsession* self,
                                                     const gchar* key1,
                                                     const gchar* key2,
                                                     GError** error);
static void ldefault_apps_dbus_lxsession_proxy_StateSet (LDefaultAppsDbusLxsession* self,
                                                  const gchar* key1,
                                                  const gchar* key2,
                                                  const gchar* command_to_set,
                                                  GError** error);
static gchar* ldefault_apps_dbus_lxsession_proxy_StateGet (LDefaultAppsDbusLxsession* self,
                                                    const gchar* key1,
                                                    const gchar* key2,
                                                    GError** error);
static void ldefault_apps_dbus_lxsession_proxy_DbusSet (LDefaultAppsDbusLxsession* self,
                                                 const gchar* key1,
                                                 const gchar* key2,
                                                 const gchar* command_to_set,
                                                 GError** error);
static gchar* ldefault_apps_dbus_lxsession_proxy_DbusGet (LDefaultAppsDbusLxsession* self,
                                                   const gchar* key1,
                                                   const gchar* key2,
                                                   GError** error);
static void ldefault_apps_dbus_lxsession_proxy_EnvironmentSet (LDefaultAppsDbusLxsession* self,
                                                        const gchar* key1,
                                                        const gchar* key2,
                                                        const gchar* command_to_set,
                                                        GError** error);
static gchar* ldefault_apps_dbus_lxsession_proxy_EnvironmentGet (LDefaultAppsDbusLxsession* self,
                                                          const gchar* key1,
                                                          const gchar* key2,
                                                          GError** error);
static void ldefault_apps_dbus_lxsession_proxy_ldefault_apps_dbus_lxsession_interface_init (LDefaultAppsDbusLxsessionIface* iface);
static void _dbus_ldefault_apps_dbus_lxsession_SessionGet (LDefaultAppsDbusLxsession* self,
                                                    GVariant* _parameters_,
                                                    GDBusMethodInvocation* invocation);
static void _dbus_ldefault_apps_dbus_lxsession_SessionSet (LDefaultAppsDbusLxsession* self,
                                                    GVariant* _parameters_,
                                                    GDBusMethodInvocation* invocation);
static void _dbus_ldefault_apps_dbus_lxsession_SessionLaunch (LDefaultAppsDbusLxsession* self,
                                                       GVariant* _parameters_,
                                                       GDBusMethodInvocation* invocation);
static void _dbus_ldefault_apps_dbus_lxsession_SessionSupport (LDefaultAppsDbusLxsession* self,
                                                        GVariant* _parameters_,
                                                        GDBusMethodInvocation* invocation);
static void _dbus_ldefault_apps_dbus_lxsession_SessionSupportDetail (LDefaultAppsDbusLxsession* self,
                                                              GVariant* _parameters_,
                                                              GDBusMethodInvocation* invocation);
static void _dbus_ldefault_apps_dbus_lxsession_KeymapActivate (LDefaultAppsDbusLxsession* self,
                                                        GVariant* _parameters_,
                                                        GDBusMethodInvocation* invocation);
static void _dbus_ldefault_apps_dbus_lxsession_KeymapSet (LDefaultAppsDbusLxsession* self,
                                                   GVariant* _parameters_,
                                                   GDBusMethodInvocation* invocation);
static void _dbus_ldefault_apps_dbus_lxsession_KeymapGet (LDefaultAppsDbusLxsession* self,
                                                   GVariant* _parameters_,
                                                   GDBusMethodInvocation* invocation);
static void _dbus_ldefault_apps_dbus_lxsession_StateSet (LDefaultAppsDbusLxsession* self,
                                                  GVariant* _parameters_,
                                                  GDBusMethodInvocation* invocation);
static void _dbus_ldefault_apps_dbus_lxsession_StateGet (LDefaultAppsDbusLxsession* self,
                                                  GVariant* _parameters_,
                                                  GDBusMethodInvocation* invocation);
static void _dbus_ldefault_apps_dbus_lxsession_DbusSet (LDefaultAppsDbusLxsession* self,
                                                 GVariant* _parameters_,
                                                 GDBusMethodInvocation* invocation);
static void _dbus_ldefault_apps_dbus_lxsession_DbusGet (LDefaultAppsDbusLxsession* self,
                                                 GVariant* _parameters_,
                                                 GDBusMethodInvocation* invocation);
static void _dbus_ldefault_apps_dbus_lxsession_EnvironmentSet (LDefaultAppsDbusLxsession* self,
                                                        GVariant* _parameters_,
                                                        GDBusMethodInvocation* invocation);
static void _dbus_ldefault_apps_dbus_lxsession_EnvironmentGet (LDefaultAppsDbusLxsession* self,
                                                        GVariant* _parameters_,
                                                        GDBusMethodInvocation* invocation);
static void ldefault_apps_dbus_lxsession_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* ldefault_apps_dbus_lxsession_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 ldefault_apps_dbus_lxsession_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 _ldefault_apps_dbus_lxsession_unregister_object (gpointer user_data);
VALA_EXTERN GType ldefault_apps_dbus_backend_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LDefaultAppsDbusBackend, g_object_unref)
VALA_EXTERN LDefaultAppsDbusBackend* ldefault_apps_dbus_backend_new (const gchar* type);
VALA_EXTERN LDefaultAppsDbusBackend* ldefault_apps_dbus_backend_construct (GType object_type,
                                                               const gchar* type);
VALA_EXTERN gchar* ldefault_apps_dbus_backend_Get (LDefaultAppsDbusBackend* self,
                                       const gchar* key1,
                                       const gchar* key2);
VALA_EXTERN gchar* ldefault_apps_dbus_backend_SessionGet (LDefaultAppsDbusBackend* self,
                                              const gchar* key1,
                                              const gchar* key2);
VALA_EXTERN void ldefault_apps_dbus_backend_Set (LDefaultAppsDbusBackend* self,
                                     const gchar* key1,
                                     const gchar* key2,
                                     const gchar* command_to_set);
VALA_EXTERN void ldefault_apps_dbus_backend_SessionSet (LDefaultAppsDbusBackend* self,
                                            const gchar* key1,
                                            const gchar* key2,
                                            const gchar* command_to_set);
VALA_EXTERN void ldefault_apps_dbus_backend_Launch (LDefaultAppsDbusBackend* self,
                                        const gchar* name,
                                        const gchar* option);
VALA_EXTERN void ldefault_apps_dbus_backend_SessionLaunch (LDefaultAppsDbusBackend* self,
                                               const gchar* name,
                                               const gchar* option);
VALA_EXTERN gchar** ldefault_apps_dbus_backend_SessionSupport (LDefaultAppsDbusBackend* self,
                                                   gint* result_length1);
VALA_EXTERN gchar** ldefault_apps_dbus_backend_SessionSupportDetail (LDefaultAppsDbusBackend* self,
                                                         const gchar* key1,
                                                         gint* result_length1);
VALA_EXTERN void ldefault_apps_dbus_backend_KeymapActivate (LDefaultAppsDbusBackend* self);
VALA_EXTERN void ldefault_apps_dbus_backend_KeymapSet (LDefaultAppsDbusBackend* self,
                                           const gchar* key1,
                                           const gchar* key2,
                                           const gchar* command_to_set);
VALA_EXTERN gchar* ldefault_apps_dbus_backend_KeymapGet (LDefaultAppsDbusBackend* self,
                                             const gchar* key1,
                                             const gchar* key2);
VALA_EXTERN void ldefault_apps_dbus_backend_StateSet (LDefaultAppsDbusBackend* self,
                                          const gchar* key1,
                                          const gchar* key2,
                                          const gchar* command_to_set);
VALA_EXTERN gchar* ldefault_apps_dbus_backend_StateGet (LDefaultAppsDbusBackend* self,
                                            const gchar* key1,
                                            const gchar* key2);
VALA_EXTERN void ldefault_apps_dbus_backend_DbusSet (LDefaultAppsDbusBackend* self,
                                         const gchar* key1,
                                         const gchar* key2,
                                         const gchar* command_to_set);
VALA_EXTERN gchar* ldefault_apps_dbus_backend_DbusGet (LDefaultAppsDbusBackend* self,
                                           const gchar* key1,
                                           const gchar* key2);
VALA_EXTERN void ldefault_apps_dbus_backend_EnvironmentSet (LDefaultAppsDbusBackend* self,
                                                const gchar* key1,
                                                const gchar* key2,
                                                const gchar* command_to_set);
VALA_EXTERN gchar* ldefault_apps_dbus_backend_EnvironmentGet (LDefaultAppsDbusBackend* self,
                                                  const gchar* key1,
                                                  const gchar* key2);
static void ldefault_apps_dbus_backend_finalize (GObject * obj);
static GType ldefault_apps_dbus_backend_get_type_once (void);
static void _vala_array_destroy (gpointer array,
                          gssize array_length,
                          GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array,
                       gssize array_length,
                       GDestroyNotify destroy_func);

static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionGet_key1 = {-1, "key1", "s", NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionGet_key2 = {-1, "key2", "s", NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionGet_result = {-1, "result", "s", NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionGet_in[] = {&_ldefault_apps_dbus_lxsession_dbus_arg_info_SessionGet_key1, &_ldefault_apps_dbus_lxsession_dbus_arg_info_SessionGet_key2, NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionGet_out[] = {&_ldefault_apps_dbus_lxsession_dbus_arg_info_SessionGet_result, NULL};
static const GDBusMethodInfo _ldefault_apps_dbus_lxsession_dbus_method_info_SessionGet = {-1, "SessionGet", (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_SessionGet_in), (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_SessionGet_out), NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSet_key1 = {-1, "key1", "s", NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSet_key2 = {-1, "key2", "s", NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSet_command_to_set = {-1, "command_to_set", "s", NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSet_in[] = {&_ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSet_key1, &_ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSet_key2, &_ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSet_command_to_set, NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSet_out[] = {NULL};
static const GDBusMethodInfo _ldefault_apps_dbus_lxsession_dbus_method_info_SessionSet = {-1, "SessionSet", (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSet_in), (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSet_out), NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionLaunch_name = {-1, "name", "s", NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionLaunch_option = {-1, "option", "s", NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionLaunch_in[] = {&_ldefault_apps_dbus_lxsession_dbus_arg_info_SessionLaunch_name, &_ldefault_apps_dbus_lxsession_dbus_arg_info_SessionLaunch_option, NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionLaunch_out[] = {NULL};
static const GDBusMethodInfo _ldefault_apps_dbus_lxsession_dbus_method_info_SessionLaunch = {-1, "SessionLaunch", (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_SessionLaunch_in), (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_SessionLaunch_out), NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSupport_result = {-1, "result", "as", NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSupport_in[] = {NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSupport_out[] = {&_ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSupport_result, NULL};
static const GDBusMethodInfo _ldefault_apps_dbus_lxsession_dbus_method_info_SessionSupport = {-1, "SessionSupport", (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSupport_in), (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSupport_out), NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSupportDetail_key1 = {-1, "key1", "s", NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSupportDetail_result = {-1, "result", "as", NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSupportDetail_in[] = {&_ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSupportDetail_key1, NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSupportDetail_out[] = {&_ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSupportDetail_result, NULL};
static const GDBusMethodInfo _ldefault_apps_dbus_lxsession_dbus_method_info_SessionSupportDetail = {-1, "SessionSupportDetail", (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSupportDetail_in), (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSupportDetail_out), NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapActivate_in[] = {NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapActivate_out[] = {NULL};
static const GDBusMethodInfo _ldefault_apps_dbus_lxsession_dbus_method_info_KeymapActivate = {-1, "KeymapActivate", (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapActivate_in), (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapActivate_out), NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapSet_key1 = {-1, "key1", "s", NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapSet_key2 = {-1, "key2", "s", NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapSet_command_to_set = {-1, "command_to_set", "s", NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapSet_in[] = {&_ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapSet_key1, &_ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapSet_key2, &_ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapSet_command_to_set, NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapSet_out[] = {NULL};
static const GDBusMethodInfo _ldefault_apps_dbus_lxsession_dbus_method_info_KeymapSet = {-1, "KeymapSet", (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapSet_in), (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapSet_out), NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapGet_key1 = {-1, "key1", "s", NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapGet_key2 = {-1, "key2", "s", NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapGet_result = {-1, "result", "s", NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapGet_in[] = {&_ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapGet_key1, &_ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapGet_key2, NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapGet_out[] = {&_ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapGet_result, NULL};
static const GDBusMethodInfo _ldefault_apps_dbus_lxsession_dbus_method_info_KeymapGet = {-1, "KeymapGet", (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapGet_in), (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapGet_out), NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_StateSet_key1 = {-1, "key1", "s", NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_StateSet_key2 = {-1, "key2", "s", NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_StateSet_command_to_set = {-1, "command_to_set", "s", NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_StateSet_in[] = {&_ldefault_apps_dbus_lxsession_dbus_arg_info_StateSet_key1, &_ldefault_apps_dbus_lxsession_dbus_arg_info_StateSet_key2, &_ldefault_apps_dbus_lxsession_dbus_arg_info_StateSet_command_to_set, NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_StateSet_out[] = {NULL};
static const GDBusMethodInfo _ldefault_apps_dbus_lxsession_dbus_method_info_StateSet = {-1, "StateSet", (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_StateSet_in), (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_StateSet_out), NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_StateGet_key1 = {-1, "key1", "s", NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_StateGet_key2 = {-1, "key2", "s", NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_StateGet_result = {-1, "result", "s", NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_StateGet_in[] = {&_ldefault_apps_dbus_lxsession_dbus_arg_info_StateGet_key1, &_ldefault_apps_dbus_lxsession_dbus_arg_info_StateGet_key2, NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_StateGet_out[] = {&_ldefault_apps_dbus_lxsession_dbus_arg_info_StateGet_result, NULL};
static const GDBusMethodInfo _ldefault_apps_dbus_lxsession_dbus_method_info_StateGet = {-1, "StateGet", (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_StateGet_in), (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_StateGet_out), NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_DbusSet_key1 = {-1, "key1", "s", NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_DbusSet_key2 = {-1, "key2", "s", NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_DbusSet_command_to_set = {-1, "command_to_set", "s", NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_DbusSet_in[] = {&_ldefault_apps_dbus_lxsession_dbus_arg_info_DbusSet_key1, &_ldefault_apps_dbus_lxsession_dbus_arg_info_DbusSet_key2, &_ldefault_apps_dbus_lxsession_dbus_arg_info_DbusSet_command_to_set, NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_DbusSet_out[] = {NULL};
static const GDBusMethodInfo _ldefault_apps_dbus_lxsession_dbus_method_info_DbusSet = {-1, "DbusSet", (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_DbusSet_in), (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_DbusSet_out), NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_DbusGet_key1 = {-1, "key1", "s", NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_DbusGet_key2 = {-1, "key2", "s", NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_DbusGet_result = {-1, "result", "s", NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_DbusGet_in[] = {&_ldefault_apps_dbus_lxsession_dbus_arg_info_DbusGet_key1, &_ldefault_apps_dbus_lxsession_dbus_arg_info_DbusGet_key2, NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_DbusGet_out[] = {&_ldefault_apps_dbus_lxsession_dbus_arg_info_DbusGet_result, NULL};
static const GDBusMethodInfo _ldefault_apps_dbus_lxsession_dbus_method_info_DbusGet = {-1, "DbusGet", (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_DbusGet_in), (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_DbusGet_out), NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_EnvironmentSet_key1 = {-1, "key1", "s", NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_EnvironmentSet_key2 = {-1, "key2", "s", NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_EnvironmentSet_command_to_set = {-1, "command_to_set", "s", NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_EnvironmentSet_in[] = {&_ldefault_apps_dbus_lxsession_dbus_arg_info_EnvironmentSet_key1, &_ldefault_apps_dbus_lxsession_dbus_arg_info_EnvironmentSet_key2, &_ldefault_apps_dbus_lxsession_dbus_arg_info_EnvironmentSet_command_to_set, NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_EnvironmentSet_out[] = {NULL};
static const GDBusMethodInfo _ldefault_apps_dbus_lxsession_dbus_method_info_EnvironmentSet = {-1, "EnvironmentSet", (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_EnvironmentSet_in), (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_EnvironmentSet_out), NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_EnvironmentGet_key1 = {-1, "key1", "s", NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_EnvironmentGet_key2 = {-1, "key2", "s", NULL};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_EnvironmentGet_result = {-1, "result", "s", NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_EnvironmentGet_in[] = {&_ldefault_apps_dbus_lxsession_dbus_arg_info_EnvironmentGet_key1, &_ldefault_apps_dbus_lxsession_dbus_arg_info_EnvironmentGet_key2, NULL};
static const GDBusArgInfo * const _ldefault_apps_dbus_lxsession_dbus_arg_info_EnvironmentGet_out[] = {&_ldefault_apps_dbus_lxsession_dbus_arg_info_EnvironmentGet_result, NULL};
static const GDBusMethodInfo _ldefault_apps_dbus_lxsession_dbus_method_info_EnvironmentGet = {-1, "EnvironmentGet", (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_EnvironmentGet_in), (GDBusArgInfo **) (&_ldefault_apps_dbus_lxsession_dbus_arg_info_EnvironmentGet_out), NULL};
static const GDBusMethodInfo * const _ldefault_apps_dbus_lxsession_dbus_method_info[] = {&_ldefault_apps_dbus_lxsession_dbus_method_info_SessionGet, &_ldefault_apps_dbus_lxsession_dbus_method_info_SessionSet, &_ldefault_apps_dbus_lxsession_dbus_method_info_SessionLaunch, &_ldefault_apps_dbus_lxsession_dbus_method_info_SessionSupport, &_ldefault_apps_dbus_lxsession_dbus_method_info_SessionSupportDetail, &_ldefault_apps_dbus_lxsession_dbus_method_info_KeymapActivate, &_ldefault_apps_dbus_lxsession_dbus_method_info_KeymapSet, &_ldefault_apps_dbus_lxsession_dbus_method_info_KeymapGet, &_ldefault_apps_dbus_lxsession_dbus_method_info_StateSet, &_ldefault_apps_dbus_lxsession_dbus_method_info_StateGet, &_ldefault_apps_dbus_lxsession_dbus_method_info_DbusSet, &_ldefault_apps_dbus_lxsession_dbus_method_info_DbusGet, &_ldefault_apps_dbus_lxsession_dbus_method_info_EnvironmentSet, &_ldefault_apps_dbus_lxsession_dbus_method_info_EnvironmentGet, NULL};
static const GDBusSignalInfo * const _ldefault_apps_dbus_lxsession_dbus_signal_info[] = {NULL};
static const GDBusPropertyInfo * const _ldefault_apps_dbus_lxsession_dbus_property_info[] = {NULL};
static const GDBusInterfaceInfo _ldefault_apps_dbus_lxsession_dbus_interface_info = {-1, "org.lxde.SessionManager", (GDBusMethodInfo **) (&_ldefault_apps_dbus_lxsession_dbus_method_info), (GDBusSignalInfo **) (&_ldefault_apps_dbus_lxsession_dbus_signal_info), (GDBusPropertyInfo **) (&_ldefault_apps_dbus_lxsession_dbus_property_info), NULL};
static const GDBusInterfaceVTable _ldefault_apps_dbus_lxsession_dbus_interface_vtable = {ldefault_apps_dbus_lxsession_dbus_interface_method_call, ldefault_apps_dbus_lxsession_dbus_interface_get_property, ldefault_apps_dbus_lxsession_dbus_interface_set_property};

gchar*
ldefault_apps_dbus_lxsession_SessionGet (LDefaultAppsDbusLxsession* self,
                                         const gchar* key1,
                                         const gchar* key2,
                                         GError** error)
{
	LDefaultAppsDbusLxsessionIface* _iface_;
	g_return_val_if_fail (self != NULL, NULL);
	_iface_ = LDEFAULT_APPS_DBUS_LXSESSION_GET_INTERFACE (self);
	if (_iface_->SessionGet) {
		return _iface_->SessionGet (self, key1, key2, error);
	}
	return NULL;
}

void
ldefault_apps_dbus_lxsession_SessionSet (LDefaultAppsDbusLxsession* self,
                                         const gchar* key1,
                                         const gchar* key2,
                                         const gchar* command_to_set,
                                         GError** error)
{
	LDefaultAppsDbusLxsessionIface* _iface_;
	g_return_if_fail (self != NULL);
	_iface_ = LDEFAULT_APPS_DBUS_LXSESSION_GET_INTERFACE (self);
	if (_iface_->SessionSet) {
		_iface_->SessionSet (self, key1, key2, command_to_set, error);
	}
}

void
ldefault_apps_dbus_lxsession_SessionLaunch (LDefaultAppsDbusLxsession* self,
                                            const gchar* name,
                                            const gchar* option,
                                            GError** error)
{
	LDefaultAppsDbusLxsessionIface* _iface_;
	g_return_if_fail (self != NULL);
	_iface_ = LDEFAULT_APPS_DBUS_LXSESSION_GET_INTERFACE (self);
	if (_iface_->SessionLaunch) {
		_iface_->SessionLaunch (self, name, option, error);
	}
}

gchar**
ldefault_apps_dbus_lxsession_SessionSupport (LDefaultAppsDbusLxsession* self,
                                             gint* result_length1,
                                             GError** error)
{
	LDefaultAppsDbusLxsessionIface* _iface_;
	g_return_val_if_fail (self != NULL, NULL);
	_iface_ = LDEFAULT_APPS_DBUS_LXSESSION_GET_INTERFACE (self);
	if (_iface_->SessionSupport) {
		return _iface_->SessionSupport (self, result_length1, error);
	}
	return NULL;
}

gchar**
ldefault_apps_dbus_lxsession_SessionSupportDetail (LDefaultAppsDbusLxsession* self,
                                                   const gchar* key1,
                                                   gint* result_length1,
                                                   GError** error)
{
	LDefaultAppsDbusLxsessionIface* _iface_;
	g_return_val_if_fail (self != NULL, NULL);
	_iface_ = LDEFAULT_APPS_DBUS_LXSESSION_GET_INTERFACE (self);
	if (_iface_->SessionSupportDetail) {
		return _iface_->SessionSupportDetail (self, key1, result_length1, error);
	}
	return NULL;
}

void
ldefault_apps_dbus_lxsession_KeymapActivate (LDefaultAppsDbusLxsession* self,
                                             GError** error)
{
	LDefaultAppsDbusLxsessionIface* _iface_;
	g_return_if_fail (self != NULL);
	_iface_ = LDEFAULT_APPS_DBUS_LXSESSION_GET_INTERFACE (self);
	if (_iface_->KeymapActivate) {
		_iface_->KeymapActivate (self, error);
	}
}

void
ldefault_apps_dbus_lxsession_KeymapSet (LDefaultAppsDbusLxsession* self,
                                        const gchar* key1,
                                        const gchar* key2,
                                        const gchar* command_to_set,
                                        GError** error)
{
	LDefaultAppsDbusLxsessionIface* _iface_;
	g_return_if_fail (self != NULL);
	_iface_ = LDEFAULT_APPS_DBUS_LXSESSION_GET_INTERFACE (self);
	if (_iface_->KeymapSet) {
		_iface_->KeymapSet (self, key1, key2, command_to_set, error);
	}
}

gchar*
ldefault_apps_dbus_lxsession_KeymapGet (LDefaultAppsDbusLxsession* self,
                                        const gchar* key1,
                                        const gchar* key2,
                                        GError** error)
{
	LDefaultAppsDbusLxsessionIface* _iface_;
	g_return_val_if_fail (self != NULL, NULL);
	_iface_ = LDEFAULT_APPS_DBUS_LXSESSION_GET_INTERFACE (self);
	if (_iface_->KeymapGet) {
		return _iface_->KeymapGet (self, key1, key2, error);
	}
	return NULL;
}

void
ldefault_apps_dbus_lxsession_StateSet (LDefaultAppsDbusLxsession* self,
                                       const gchar* key1,
                                       const gchar* key2,
                                       const gchar* command_to_set,
                                       GError** error)
{
	LDefaultAppsDbusLxsessionIface* _iface_;
	g_return_if_fail (self != NULL);
	_iface_ = LDEFAULT_APPS_DBUS_LXSESSION_GET_INTERFACE (self);
	if (_iface_->StateSet) {
		_iface_->StateSet (self, key1, key2, command_to_set, error);
	}
}

gchar*
ldefault_apps_dbus_lxsession_StateGet (LDefaultAppsDbusLxsession* self,
                                       const gchar* key1,
                                       const gchar* key2,
                                       GError** error)
{
	LDefaultAppsDbusLxsessionIface* _iface_;
	g_return_val_if_fail (self != NULL, NULL);
	_iface_ = LDEFAULT_APPS_DBUS_LXSESSION_GET_INTERFACE (self);
	if (_iface_->StateGet) {
		return _iface_->StateGet (self, key1, key2, error);
	}
	return NULL;
}

void
ldefault_apps_dbus_lxsession_DbusSet (LDefaultAppsDbusLxsession* self,
                                      const gchar* key1,
                                      const gchar* key2,
                                      const gchar* command_to_set,
                                      GError** error)
{
	LDefaultAppsDbusLxsessionIface* _iface_;
	g_return_if_fail (self != NULL);
	_iface_ = LDEFAULT_APPS_DBUS_LXSESSION_GET_INTERFACE (self);
	if (_iface_->DbusSet) {
		_iface_->DbusSet (self, key1, key2, command_to_set, error);
	}
}

gchar*
ldefault_apps_dbus_lxsession_DbusGet (LDefaultAppsDbusLxsession* self,
                                      const gchar* key1,
                                      const gchar* key2,
                                      GError** error)
{
	LDefaultAppsDbusLxsessionIface* _iface_;
	g_return_val_if_fail (self != NULL, NULL);
	_iface_ = LDEFAULT_APPS_DBUS_LXSESSION_GET_INTERFACE (self);
	if (_iface_->DbusGet) {
		return _iface_->DbusGet (self, key1, key2, error);
	}
	return NULL;
}

void
ldefault_apps_dbus_lxsession_EnvironmentSet (LDefaultAppsDbusLxsession* self,
                                             const gchar* key1,
                                             const gchar* key2,
                                             const gchar* command_to_set,
                                             GError** error)
{
	LDefaultAppsDbusLxsessionIface* _iface_;
	g_return_if_fail (self != NULL);
	_iface_ = LDEFAULT_APPS_DBUS_LXSESSION_GET_INTERFACE (self);
	if (_iface_->EnvironmentSet) {
		_iface_->EnvironmentSet (self, key1, key2, command_to_set, error);
	}
}

gchar*
ldefault_apps_dbus_lxsession_EnvironmentGet (LDefaultAppsDbusLxsession* self,
                                             const gchar* key1,
                                             const gchar* key2,
                                             GError** error)
{
	LDefaultAppsDbusLxsessionIface* _iface_;
	g_return_val_if_fail (self != NULL, NULL);
	_iface_ = LDEFAULT_APPS_DBUS_LXSESSION_GET_INTERFACE (self);
	if (_iface_->EnvironmentGet) {
		return _iface_->EnvironmentGet (self, key1, key2, error);
	}
	return NULL;
}

static void
ldefault_apps_dbus_lxsession_default_init (LDefaultAppsDbusLxsessionIface * iface,
                                           gpointer iface_data)
{
}

static GType
ldefault_apps_dbus_lxsession_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (LDefaultAppsDbusLxsessionIface), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) ldefault_apps_dbus_lxsession_default_init, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
	GType ldefault_apps_dbus_lxsession_type_id;
	ldefault_apps_dbus_lxsession_type_id = g_type_register_static (G_TYPE_INTERFACE, "LDefaultAppsDbusLxsession", &g_define_type_info, 0);
	g_type_interface_add_prerequisite (ldefault_apps_dbus_lxsession_type_id, G_TYPE_OBJECT);
	g_type_set_qdata (ldefault_apps_dbus_lxsession_type_id, g_quark_from_static_string ("vala-dbus-proxy-type"), (void*) ldefault_apps_dbus_lxsession_proxy_get_type);
	g_type_set_qdata (ldefault_apps_dbus_lxsession_type_id, g_quark_from_static_string ("vala-dbus-interface-name"), "org.lxde.SessionManager");
	g_type_set_qdata (ldefault_apps_dbus_lxsession_type_id, g_quark_from_static_string ("vala-dbus-interface-info"), (void*) (&_ldefault_apps_dbus_lxsession_dbus_interface_info));
	g_type_set_qdata (ldefault_apps_dbus_lxsession_type_id, g_quark_from_static_string ("vala-dbus-register-object"), (void*) ldefault_apps_dbus_lxsession_register_object);
	return ldefault_apps_dbus_lxsession_type_id;
}

GType
ldefault_apps_dbus_lxsession_get_type (void)
{
	static volatile gsize ldefault_apps_dbus_lxsession_type_id__once = 0;
	if (g_once_init_enter (&ldefault_apps_dbus_lxsession_type_id__once)) {
		GType ldefault_apps_dbus_lxsession_type_id;
		ldefault_apps_dbus_lxsession_type_id = ldefault_apps_dbus_lxsession_get_type_once ();
		g_once_init_leave (&ldefault_apps_dbus_lxsession_type_id__once, ldefault_apps_dbus_lxsession_type_id);
	}
	return ldefault_apps_dbus_lxsession_type_id__once;
}

G_DEFINE_TYPE_EXTENDED (LDefaultAppsDbusLxsessionProxy, ldefault_apps_dbus_lxsession_proxy, G_TYPE_DBUS_PROXY, 0, G_IMPLEMENT_INTERFACE (LDEFAULT_APPS_TYPE_DBUS_LXSESSION, ldefault_apps_dbus_lxsession_proxy_ldefault_apps_dbus_lxsession_interface_init) )
static void
ldefault_apps_dbus_lxsession_proxy_class_init (LDefaultAppsDbusLxsessionProxyClass* klass)
{
	G_DBUS_PROXY_CLASS (klass)->g_signal = ldefault_apps_dbus_lxsession_proxy_g_signal;
}

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

static void
ldefault_apps_dbus_lxsession_proxy_init (LDefaultAppsDbusLxsessionProxy* self)
{
	g_dbus_proxy_set_interface_info (G_DBUS_PROXY (self), (GDBusInterfaceInfo *) (&_ldefault_apps_dbus_lxsession_dbus_interface_info));
}

static gchar*
ldefault_apps_dbus_lxsession_proxy_SessionGet (LDefaultAppsDbusLxsession* self,
                                               const gchar* key1,
                                               const gchar* key2,
                                               GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	gchar* _result = NULL;
	GVariant* _tmp0_;
	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.lxde.SessionManager", "SessionGet");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (key1));
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (key2));
	_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 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);
	_tmp0_ = g_variant_iter_next_value (&_reply_iter);
	_result = g_variant_dup_string (_tmp0_, NULL);
	g_variant_unref (_tmp0_);
	g_object_unref (_reply_message);
	return _result;
}

static void
ldefault_apps_dbus_lxsession_proxy_SessionSet (LDefaultAppsDbusLxsession* self,
                                               const gchar* key1,
                                               const gchar* key2,
                                               const gchar* command_to_set,
                                               GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	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.lxde.SessionManager", "SessionSet");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (key1));
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (key2));
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (command_to_set));
	_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
ldefault_apps_dbus_lxsession_proxy_SessionLaunch (LDefaultAppsDbusLxsession* self,
                                                  const gchar* name,
                                                  const gchar* option,
                                                  GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	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.lxde.SessionManager", "SessionLaunch");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (name));
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (option));
	_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 gchar**
ldefault_apps_dbus_lxsession_proxy_SessionSupport (LDefaultAppsDbusLxsession* self,
                                                   gint* result_length1,
                                                   GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	gchar** _result = NULL;
	gint _result_length1;
	GVariant* _tmp1_;
	gchar** _tmp2_;
	gint _tmp2__length;
	gint _tmp2__size;
	gint _tmp2__length1;
	GVariantIter _tmp3_;
	GVariant* _tmp4_;
	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.lxde.SessionManager", "SessionSupport");
	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) {
		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);
	_result_length1 = 0;
	_tmp1_ = g_variant_iter_next_value (&_reply_iter);
	_tmp2_ = g_new (gchar*, 5);
	_tmp2__length = 0;
	_tmp2__size = 4;
	_tmp2__length1 = 0;
	g_variant_iter_init (&_tmp3_, _tmp1_);
	for (; (_tmp4_ = g_variant_iter_next_value (&_tmp3_)) != NULL; _tmp2__length1++) {
		if (_tmp2__size == _tmp2__length) {
			_tmp2__size = 2 * _tmp2__size;
			_tmp2_ = g_renew (gchar*, _tmp2_, _tmp2__size + 1);
		}
		_tmp2_[_tmp2__length++] = g_variant_dup_string (_tmp4_, NULL);
		g_variant_unref (_tmp4_);
	}
	_result_length1 = _tmp2__length1;
	_tmp2_[_tmp2__length] = NULL;
	_result = _tmp2_;
	g_variant_unref (_tmp1_);
	*result_length1 = _result_length1;
	g_object_unref (_reply_message);
	return _result;
}

static gchar**
ldefault_apps_dbus_lxsession_proxy_SessionSupportDetail (LDefaultAppsDbusLxsession* self,
                                                         const gchar* key1,
                                                         gint* result_length1,
                                                         GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	gchar** _result = NULL;
	gint _result_length1;
	GVariant* _tmp5_;
	gchar** _tmp6_;
	gint _tmp6__length;
	gint _tmp6__size;
	gint _tmp6__length1;
	GVariantIter _tmp7_;
	GVariant* _tmp8_;
	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.lxde.SessionManager", "SessionSupportDetail");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (key1));
	_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 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);
	_result_length1 = 0;
	_tmp5_ = g_variant_iter_next_value (&_reply_iter);
	_tmp6_ = g_new (gchar*, 5);
	_tmp6__length = 0;
	_tmp6__size = 4;
	_tmp6__length1 = 0;
	g_variant_iter_init (&_tmp7_, _tmp5_);
	for (; (_tmp8_ = g_variant_iter_next_value (&_tmp7_)) != NULL; _tmp6__length1++) {
		if (_tmp6__size == _tmp6__length) {
			_tmp6__size = 2 * _tmp6__size;
			_tmp6_ = g_renew (gchar*, _tmp6_, _tmp6__size + 1);
		}
		_tmp6_[_tmp6__length++] = g_variant_dup_string (_tmp8_, NULL);
		g_variant_unref (_tmp8_);
	}
	_result_length1 = _tmp6__length1;
	_tmp6_[_tmp6__length] = NULL;
	_result = _tmp6_;
	g_variant_unref (_tmp5_);
	*result_length1 = _result_length1;
	g_object_unref (_reply_message);
	return _result;
}

static void
ldefault_apps_dbus_lxsession_proxy_KeymapActivate (LDefaultAppsDbusLxsession* self,
                                                   GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	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.lxde.SessionManager", "KeymapActivate");
	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) {
		return;
	}
	if (g_dbus_message_to_gerror (_reply_message, error)) {
		g_object_unref (_reply_message);
		return;
	}
	g_object_unref (_reply_message);
}

static void
ldefault_apps_dbus_lxsession_proxy_KeymapSet (LDefaultAppsDbusLxsession* self,
                                              const gchar* key1,
                                              const gchar* key2,
                                              const gchar* command_to_set,
                                              GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	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.lxde.SessionManager", "KeymapSet");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (key1));
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (key2));
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (command_to_set));
	_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 gchar*
ldefault_apps_dbus_lxsession_proxy_KeymapGet (LDefaultAppsDbusLxsession* self,
                                              const gchar* key1,
                                              const gchar* key2,
                                              GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	gchar* _result = NULL;
	GVariant* _tmp9_;
	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.lxde.SessionManager", "KeymapGet");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (key1));
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (key2));
	_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 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);
	_tmp9_ = g_variant_iter_next_value (&_reply_iter);
	_result = g_variant_dup_string (_tmp9_, NULL);
	g_variant_unref (_tmp9_);
	g_object_unref (_reply_message);
	return _result;
}

static void
ldefault_apps_dbus_lxsession_proxy_StateSet (LDefaultAppsDbusLxsession* self,
                                             const gchar* key1,
                                             const gchar* key2,
                                             const gchar* command_to_set,
                                             GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	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.lxde.SessionManager", "StateSet");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (key1));
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (key2));
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (command_to_set));
	_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 gchar*
ldefault_apps_dbus_lxsession_proxy_StateGet (LDefaultAppsDbusLxsession* self,
                                             const gchar* key1,
                                             const gchar* key2,
                                             GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	gchar* _result = NULL;
	GVariant* _tmp10_;
	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.lxde.SessionManager", "StateGet");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (key1));
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (key2));
	_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 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);
	_tmp10_ = g_variant_iter_next_value (&_reply_iter);
	_result = g_variant_dup_string (_tmp10_, NULL);
	g_variant_unref (_tmp10_);
	g_object_unref (_reply_message);
	return _result;
}

static void
ldefault_apps_dbus_lxsession_proxy_DbusSet (LDefaultAppsDbusLxsession* self,
                                            const gchar* key1,
                                            const gchar* key2,
                                            const gchar* command_to_set,
                                            GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	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.lxde.SessionManager", "DbusSet");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (key1));
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (key2));
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (command_to_set));
	_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 gchar*
ldefault_apps_dbus_lxsession_proxy_DbusGet (LDefaultAppsDbusLxsession* self,
                                            const gchar* key1,
                                            const gchar* key2,
                                            GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	gchar* _result = NULL;
	GVariant* _tmp11_;
	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.lxde.SessionManager", "DbusGet");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (key1));
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (key2));
	_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 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);
	_tmp11_ = g_variant_iter_next_value (&_reply_iter);
	_result = g_variant_dup_string (_tmp11_, NULL);
	g_variant_unref (_tmp11_);
	g_object_unref (_reply_message);
	return _result;
}

static void
ldefault_apps_dbus_lxsession_proxy_EnvironmentSet (LDefaultAppsDbusLxsession* self,
                                                   const gchar* key1,
                                                   const gchar* key2,
                                                   const gchar* command_to_set,
                                                   GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	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.lxde.SessionManager", "EnvironmentSet");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (key1));
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (key2));
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (command_to_set));
	_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 gchar*
ldefault_apps_dbus_lxsession_proxy_EnvironmentGet (LDefaultAppsDbusLxsession* self,
                                                   const gchar* key1,
                                                   const gchar* key2,
                                                   GError** error)
{
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	gchar* _result = NULL;
	GVariant* _tmp12_;
	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.lxde.SessionManager", "EnvironmentGet");
	g_variant_builder_init (&_arguments_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (key1));
	g_variant_builder_add_value (&_arguments_builder, g_variant_new_string (key2));
	_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 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);
	_tmp12_ = g_variant_iter_next_value (&_reply_iter);
	_result = g_variant_dup_string (_tmp12_, NULL);
	g_variant_unref (_tmp12_);
	g_object_unref (_reply_message);
	return _result;
}

static void
ldefault_apps_dbus_lxsession_proxy_ldefault_apps_dbus_lxsession_interface_init (LDefaultAppsDbusLxsessionIface* iface)
{
	iface->SessionGet = ldefault_apps_dbus_lxsession_proxy_SessionGet;
	iface->SessionSet = ldefault_apps_dbus_lxsession_proxy_SessionSet;
	iface->SessionLaunch = ldefault_apps_dbus_lxsession_proxy_SessionLaunch;
	iface->SessionSupport = ldefault_apps_dbus_lxsession_proxy_SessionSupport;
	iface->SessionSupportDetail = ldefault_apps_dbus_lxsession_proxy_SessionSupportDetail;
	iface->KeymapActivate = ldefault_apps_dbus_lxsession_proxy_KeymapActivate;
	iface->KeymapSet = ldefault_apps_dbus_lxsession_proxy_KeymapSet;
	iface->KeymapGet = ldefault_apps_dbus_lxsession_proxy_KeymapGet;
	iface->StateSet = ldefault_apps_dbus_lxsession_proxy_StateSet;
	iface->StateGet = ldefault_apps_dbus_lxsession_proxy_StateGet;
	iface->DbusSet = ldefault_apps_dbus_lxsession_proxy_DbusSet;
	iface->DbusGet = ldefault_apps_dbus_lxsession_proxy_DbusGet;
	iface->EnvironmentSet = ldefault_apps_dbus_lxsession_proxy_EnvironmentSet;
	iface->EnvironmentGet = ldefault_apps_dbus_lxsession_proxy_EnvironmentGet;
}

static void
_dbus_ldefault_apps_dbus_lxsession_SessionGet (LDefaultAppsDbusLxsession* self,
                                               GVariant* _parameters_,
                                               GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	gchar* key1 = NULL;
	GVariant* _tmp13_;
	gchar* key2 = NULL;
	GVariant* _tmp14_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	gchar* result;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp13_ = g_variant_iter_next_value (&_arguments_iter);
	key1 = g_variant_dup_string (_tmp13_, NULL);
	g_variant_unref (_tmp13_);
	_tmp14_ = g_variant_iter_next_value (&_arguments_iter);
	key2 = g_variant_dup_string (_tmp14_, NULL);
	g_variant_unref (_tmp14_);
	result = ldefault_apps_dbus_lxsession_SessionGet (self, key1, key2, &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 (key1);
	_g_free0 (key2);
	;
}

static void
_dbus_ldefault_apps_dbus_lxsession_SessionSet (LDefaultAppsDbusLxsession* self,
                                               GVariant* _parameters_,
                                               GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	gchar* key1 = NULL;
	GVariant* _tmp15_;
	gchar* key2 = NULL;
	GVariant* _tmp16_;
	gchar* command_to_set = NULL;
	GVariant* _tmp17_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp15_ = g_variant_iter_next_value (&_arguments_iter);
	key1 = g_variant_dup_string (_tmp15_, NULL);
	g_variant_unref (_tmp15_);
	_tmp16_ = g_variant_iter_next_value (&_arguments_iter);
	key2 = g_variant_dup_string (_tmp16_, NULL);
	g_variant_unref (_tmp16_);
	_tmp17_ = g_variant_iter_next_value (&_arguments_iter);
	command_to_set = g_variant_dup_string (_tmp17_, NULL);
	g_variant_unref (_tmp17_);
	ldefault_apps_dbus_lxsession_SessionSet (self, key1, key2, command_to_set, &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_free0 (key1);
	_g_free0 (key2);
	_g_free0 (command_to_set);
	;
}

static void
_dbus_ldefault_apps_dbus_lxsession_SessionLaunch (LDefaultAppsDbusLxsession* self,
                                                  GVariant* _parameters_,
                                                  GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	gchar* name = NULL;
	GVariant* _tmp18_;
	gchar* option = NULL;
	GVariant* _tmp19_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp18_ = g_variant_iter_next_value (&_arguments_iter);
	name = g_variant_dup_string (_tmp18_, NULL);
	g_variant_unref (_tmp18_);
	_tmp19_ = g_variant_iter_next_value (&_arguments_iter);
	option = g_variant_dup_string (_tmp19_, NULL);
	g_variant_unref (_tmp19_);
	ldefault_apps_dbus_lxsession_SessionLaunch (self, name, option, &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_free0 (name);
	_g_free0 (option);
	;
}

static void
_dbus_ldefault_apps_dbus_lxsession_SessionSupport (LDefaultAppsDbusLxsession* self,
                                                   GVariant* _parameters_,
                                                   GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	gchar** result;
	gint result_length1 = 0;
	gchar** _tmp20_;
	GVariantBuilder _tmp21_;
	gint _tmp22_;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	result = ldefault_apps_dbus_lxsession_SessionSupport (self, &result_length1, &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);
	_tmp20_ = result;
	g_variant_builder_init (&_tmp21_, G_VARIANT_TYPE ("as"));
	for (_tmp22_ = 0; _tmp22_ < result_length1; _tmp22_++) {
		g_variant_builder_add_value (&_tmp21_, g_variant_new_string (*_tmp20_));
		_tmp20_++;
	}
	g_variant_builder_add_value (&_reply_builder, g_variant_builder_end (&_tmp21_));
	result = (_vala_array_free (result, result_length1, (GDestroyNotify) g_free), NULL);
	_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_ldefault_apps_dbus_lxsession_SessionSupportDetail (LDefaultAppsDbusLxsession* self,
                                                         GVariant* _parameters_,
                                                         GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	gchar* key1 = NULL;
	GVariant* _tmp23_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	gchar** result;
	gint result_length1 = 0;
	gchar** _tmp24_;
	GVariantBuilder _tmp25_;
	gint _tmp26_;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp23_ = g_variant_iter_next_value (&_arguments_iter);
	key1 = g_variant_dup_string (_tmp23_, NULL);
	g_variant_unref (_tmp23_);
	result = ldefault_apps_dbus_lxsession_SessionSupportDetail (self, key1, &result_length1, &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);
	_tmp24_ = result;
	g_variant_builder_init (&_tmp25_, G_VARIANT_TYPE ("as"));
	for (_tmp26_ = 0; _tmp26_ < result_length1; _tmp26_++) {
		g_variant_builder_add_value (&_tmp25_, g_variant_new_string (*_tmp24_));
		_tmp24_++;
	}
	g_variant_builder_add_value (&_reply_builder, g_variant_builder_end (&_tmp25_));
	result = (_vala_array_free (result, result_length1, (GDestroyNotify) g_free), NULL);
	_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 (key1);
	;
}

static void
_dbus_ldefault_apps_dbus_lxsession_KeymapActivate (LDefaultAppsDbusLxsession* self,
                                                   GVariant* _parameters_,
                                                   GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	ldefault_apps_dbus_lxsession_KeymapActivate (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);
	_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_ldefault_apps_dbus_lxsession_KeymapSet (LDefaultAppsDbusLxsession* self,
                                              GVariant* _parameters_,
                                              GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	gchar* key1 = NULL;
	GVariant* _tmp27_;
	gchar* key2 = NULL;
	GVariant* _tmp28_;
	gchar* command_to_set = NULL;
	GVariant* _tmp29_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp27_ = g_variant_iter_next_value (&_arguments_iter);
	key1 = g_variant_dup_string (_tmp27_, NULL);
	g_variant_unref (_tmp27_);
	_tmp28_ = g_variant_iter_next_value (&_arguments_iter);
	key2 = g_variant_dup_string (_tmp28_, NULL);
	g_variant_unref (_tmp28_);
	_tmp29_ = g_variant_iter_next_value (&_arguments_iter);
	command_to_set = g_variant_dup_string (_tmp29_, NULL);
	g_variant_unref (_tmp29_);
	ldefault_apps_dbus_lxsession_KeymapSet (self, key1, key2, command_to_set, &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_free0 (key1);
	_g_free0 (key2);
	_g_free0 (command_to_set);
	;
}

static void
_dbus_ldefault_apps_dbus_lxsession_KeymapGet (LDefaultAppsDbusLxsession* self,
                                              GVariant* _parameters_,
                                              GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	gchar* key1 = NULL;
	GVariant* _tmp30_;
	gchar* key2 = NULL;
	GVariant* _tmp31_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	gchar* result;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp30_ = g_variant_iter_next_value (&_arguments_iter);
	key1 = g_variant_dup_string (_tmp30_, NULL);
	g_variant_unref (_tmp30_);
	_tmp31_ = g_variant_iter_next_value (&_arguments_iter);
	key2 = g_variant_dup_string (_tmp31_, NULL);
	g_variant_unref (_tmp31_);
	result = ldefault_apps_dbus_lxsession_KeymapGet (self, key1, key2, &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 (key1);
	_g_free0 (key2);
	;
}

static void
_dbus_ldefault_apps_dbus_lxsession_StateSet (LDefaultAppsDbusLxsession* self,
                                             GVariant* _parameters_,
                                             GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	gchar* key1 = NULL;
	GVariant* _tmp32_;
	gchar* key2 = NULL;
	GVariant* _tmp33_;
	gchar* command_to_set = NULL;
	GVariant* _tmp34_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp32_ = g_variant_iter_next_value (&_arguments_iter);
	key1 = g_variant_dup_string (_tmp32_, NULL);
	g_variant_unref (_tmp32_);
	_tmp33_ = g_variant_iter_next_value (&_arguments_iter);
	key2 = g_variant_dup_string (_tmp33_, NULL);
	g_variant_unref (_tmp33_);
	_tmp34_ = g_variant_iter_next_value (&_arguments_iter);
	command_to_set = g_variant_dup_string (_tmp34_, NULL);
	g_variant_unref (_tmp34_);
	ldefault_apps_dbus_lxsession_StateSet (self, key1, key2, command_to_set, &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_free0 (key1);
	_g_free0 (key2);
	_g_free0 (command_to_set);
	;
}

static void
_dbus_ldefault_apps_dbus_lxsession_StateGet (LDefaultAppsDbusLxsession* self,
                                             GVariant* _parameters_,
                                             GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	gchar* key1 = NULL;
	GVariant* _tmp35_;
	gchar* key2 = NULL;
	GVariant* _tmp36_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	gchar* result;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp35_ = g_variant_iter_next_value (&_arguments_iter);
	key1 = g_variant_dup_string (_tmp35_, NULL);
	g_variant_unref (_tmp35_);
	_tmp36_ = g_variant_iter_next_value (&_arguments_iter);
	key2 = g_variant_dup_string (_tmp36_, NULL);
	g_variant_unref (_tmp36_);
	result = ldefault_apps_dbus_lxsession_StateGet (self, key1, key2, &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 (key1);
	_g_free0 (key2);
	;
}

static void
_dbus_ldefault_apps_dbus_lxsession_DbusSet (LDefaultAppsDbusLxsession* self,
                                            GVariant* _parameters_,
                                            GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	gchar* key1 = NULL;
	GVariant* _tmp37_;
	gchar* key2 = NULL;
	GVariant* _tmp38_;
	gchar* command_to_set = NULL;
	GVariant* _tmp39_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp37_ = g_variant_iter_next_value (&_arguments_iter);
	key1 = g_variant_dup_string (_tmp37_, NULL);
	g_variant_unref (_tmp37_);
	_tmp38_ = g_variant_iter_next_value (&_arguments_iter);
	key2 = g_variant_dup_string (_tmp38_, NULL);
	g_variant_unref (_tmp38_);
	_tmp39_ = g_variant_iter_next_value (&_arguments_iter);
	command_to_set = g_variant_dup_string (_tmp39_, NULL);
	g_variant_unref (_tmp39_);
	ldefault_apps_dbus_lxsession_DbusSet (self, key1, key2, command_to_set, &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_free0 (key1);
	_g_free0 (key2);
	_g_free0 (command_to_set);
	;
}

static void
_dbus_ldefault_apps_dbus_lxsession_DbusGet (LDefaultAppsDbusLxsession* self,
                                            GVariant* _parameters_,
                                            GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	gchar* key1 = NULL;
	GVariant* _tmp40_;
	gchar* key2 = NULL;
	GVariant* _tmp41_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	gchar* result;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp40_ = g_variant_iter_next_value (&_arguments_iter);
	key1 = g_variant_dup_string (_tmp40_, NULL);
	g_variant_unref (_tmp40_);
	_tmp41_ = g_variant_iter_next_value (&_arguments_iter);
	key2 = g_variant_dup_string (_tmp41_, NULL);
	g_variant_unref (_tmp41_);
	result = ldefault_apps_dbus_lxsession_DbusGet (self, key1, key2, &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 (key1);
	_g_free0 (key2);
	;
}

static void
_dbus_ldefault_apps_dbus_lxsession_EnvironmentSet (LDefaultAppsDbusLxsession* self,
                                                   GVariant* _parameters_,
                                                   GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	gchar* key1 = NULL;
	GVariant* _tmp42_;
	gchar* key2 = NULL;
	GVariant* _tmp43_;
	gchar* command_to_set = NULL;
	GVariant* _tmp44_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp42_ = g_variant_iter_next_value (&_arguments_iter);
	key1 = g_variant_dup_string (_tmp42_, NULL);
	g_variant_unref (_tmp42_);
	_tmp43_ = g_variant_iter_next_value (&_arguments_iter);
	key2 = g_variant_dup_string (_tmp43_, NULL);
	g_variant_unref (_tmp43_);
	_tmp44_ = g_variant_iter_next_value (&_arguments_iter);
	command_to_set = g_variant_dup_string (_tmp44_, NULL);
	g_variant_unref (_tmp44_);
	ldefault_apps_dbus_lxsession_EnvironmentSet (self, key1, key2, command_to_set, &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_free0 (key1);
	_g_free0 (key2);
	_g_free0 (command_to_set);
	;
}

static void
_dbus_ldefault_apps_dbus_lxsession_EnvironmentGet (LDefaultAppsDbusLxsession* self,
                                                   GVariant* _parameters_,
                                                   GDBusMethodInvocation* invocation)
{
	GError* error = NULL;
	GVariantIter _arguments_iter;
	gchar* key1 = NULL;
	GVariant* _tmp45_;
	gchar* key2 = NULL;
	GVariant* _tmp46_;
	GDBusMessage* _reply_message = NULL;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	gchar* result;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	_tmp45_ = g_variant_iter_next_value (&_arguments_iter);
	key1 = g_variant_dup_string (_tmp45_, NULL);
	g_variant_unref (_tmp45_);
	_tmp46_ = g_variant_iter_next_value (&_arguments_iter);
	key2 = g_variant_dup_string (_tmp46_, NULL);
	g_variant_unref (_tmp46_);
	result = ldefault_apps_dbus_lxsession_EnvironmentGet (self, key1, key2, &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 (key1);
	_g_free0 (key2);
	;
}

static void
ldefault_apps_dbus_lxsession_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, "SessionGet") == 0) {
		_dbus_ldefault_apps_dbus_lxsession_SessionGet (object, parameters, invocation);
	} else if (strcmp (method_name, "SessionSet") == 0) {
		_dbus_ldefault_apps_dbus_lxsession_SessionSet (object, parameters, invocation);
	} else if (strcmp (method_name, "SessionLaunch") == 0) {
		_dbus_ldefault_apps_dbus_lxsession_SessionLaunch (object, parameters, invocation);
	} else if (strcmp (method_name, "SessionSupport") == 0) {
		_dbus_ldefault_apps_dbus_lxsession_SessionSupport (object, parameters, invocation);
	} else if (strcmp (method_name, "SessionSupportDetail") == 0) {
		_dbus_ldefault_apps_dbus_lxsession_SessionSupportDetail (object, parameters, invocation);
	} else if (strcmp (method_name, "KeymapActivate") == 0) {
		_dbus_ldefault_apps_dbus_lxsession_KeymapActivate (object, parameters, invocation);
	} else if (strcmp (method_name, "KeymapSet") == 0) {
		_dbus_ldefault_apps_dbus_lxsession_KeymapSet (object, parameters, invocation);
	} else if (strcmp (method_name, "KeymapGet") == 0) {
		_dbus_ldefault_apps_dbus_lxsession_KeymapGet (object, parameters, invocation);
	} else if (strcmp (method_name, "StateSet") == 0) {
		_dbus_ldefault_apps_dbus_lxsession_StateSet (object, parameters, invocation);
	} else if (strcmp (method_name, "StateGet") == 0) {
		_dbus_ldefault_apps_dbus_lxsession_StateGet (object, parameters, invocation);
	} else if (strcmp (method_name, "DbusSet") == 0) {
		_dbus_ldefault_apps_dbus_lxsession_DbusSet (object, parameters, invocation);
	} else if (strcmp (method_name, "DbusGet") == 0) {
		_dbus_ldefault_apps_dbus_lxsession_DbusGet (object, parameters, invocation);
	} else if (strcmp (method_name, "EnvironmentSet") == 0) {
		_dbus_ldefault_apps_dbus_lxsession_EnvironmentSet (object, parameters, invocation);
	} else if (strcmp (method_name, "EnvironmentGet") == 0) {
		_dbus_ldefault_apps_dbus_lxsession_EnvironmentGet (object, parameters, invocation);
	} else {
		g_object_unref (invocation);
	}
}

static GVariant*
ldefault_apps_dbus_lxsession_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];
	return NULL;
}

static gboolean
ldefault_apps_dbus_lxsession_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];
	return FALSE;
}

guint
ldefault_apps_dbus_lxsession_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 *) (&_ldefault_apps_dbus_lxsession_dbus_interface_info), &_ldefault_apps_dbus_lxsession_dbus_interface_vtable, data, _ldefault_apps_dbus_lxsession_unregister_object, error);
	if (!result) {
		return 0;
	}
	return result;
}

static void
_ldefault_apps_dbus_lxsession_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);
}

static inline gpointer
ldefault_apps_dbus_backend_get_instance_private (LDefaultAppsDbusBackend* self)
{
	return G_STRUCT_MEMBER_P (self, LDefaultAppsDbusBackend_private_offset);
}

LDefaultAppsDbusBackend*
ldefault_apps_dbus_backend_construct (GType object_type,
                                      const gchar* type)
{
	LDefaultAppsDbusBackend * self = NULL;
	GError* _inner_error0_ = NULL;
	g_return_val_if_fail (type != NULL, NULL);
	self = (LDefaultAppsDbusBackend*) g_object_new (object_type, NULL);
	{
		LDefaultAppsDbusLxsession* _tmp0_ = NULL;
		LDefaultAppsDbusLxsession* _tmp1_;
		LDefaultAppsDbusLxsession* _tmp2_;
		_tmp1_ = (LDefaultAppsDbusLxsession*) g_initable_new (LDEFAULT_APPS_TYPE_DBUS_LXSESSION_PROXY, NULL, &_inner_error0_, "g-flags", 0, "g-name", "org.lxde.SessionManager", "g-bus-type", G_BUS_TYPE_SESSION, "g-object-path", "/org/lxde/SessionManager", "g-interface-name", "org.lxde.SessionManager", NULL);
		_tmp0_ = (LDefaultAppsDbusLxsession*) _tmp1_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			if (_inner_error0_->domain == G_IO_ERROR) {
				goto __catch0_g_io_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return NULL;
		}
		_tmp2_ = _tmp0_;
		_tmp0_ = NULL;
		_g_object_unref0 (self->priv->dbus_lxsession);
		self->priv->dbus_lxsession = _tmp2_;
		_g_object_unref0 (_tmp0_);
	}
	goto __finally0;
	__catch0_g_io_error:
	{
		GError* err = NULL;
		GError* _tmp3_;
		const gchar* _tmp4_;
		err = _inner_error0_;
		_inner_error0_ = NULL;
		_tmp3_ = err;
		_tmp4_ = _tmp3_->message;
		g_warning ("dbus-backend.vala:58: %s", _tmp4_);
		_g_error_free0 (err);
	}
	__finally0:
	if (G_UNLIKELY (_inner_error0_ != NULL)) {
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
		g_clear_error (&_inner_error0_);
		return NULL;
	}
	if (type == NULL) {
		gchar* _tmp5_;
		_tmp5_ = g_strdup ("session");
		_g_free0 (self->priv->dbus_type);
		self->priv->dbus_type = _tmp5_;
	} else {
		gchar* _tmp6_;
		_tmp6_ = g_strdup (type);
		_g_free0 (self->priv->dbus_type);
		self->priv->dbus_type = _tmp6_;
	}
	return self;
}

LDefaultAppsDbusBackend*
ldefault_apps_dbus_backend_new (const gchar* type)
{
	return ldefault_apps_dbus_backend_construct (LDEFAULT_APPS_TYPE_DBUS_BACKEND, type);
}

gchar*
ldefault_apps_dbus_backend_Get (LDefaultAppsDbusBackend* self,
                                const gchar* key1,
                                const gchar* key2)
{
	gchar* return_value = NULL;
	gchar* _tmp0_;
	const gchar* _tmp1_;
	const gchar* _tmp2_;
	GQuark _tmp4_ = 0U;
	static GQuark _tmp3_label0 = 0;
	gchar* result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (key1 != NULL, NULL);
	_tmp0_ = g_strdup ("");
	return_value = _tmp0_;
	_tmp1_ = self->priv->dbus_type;
	_tmp2_ = _tmp1_;
	_tmp4_ = (NULL == _tmp2_) ? 0 : g_quark_from_string (_tmp2_);
	if (_tmp4_ == ((0 != _tmp3_label0) ? _tmp3_label0 : (_tmp3_label0 = g_quark_from_static_string ("session")))) {
		switch (0) {
			default:
			{
				gchar* _tmp5_;
				_tmp5_ = ldefault_apps_dbus_backend_SessionGet (self, key1, key2);
				_g_free0 (return_value);
				return_value = _tmp5_;
				break;
			}
		}
	}
	result = return_value;
	return result;
}

void
ldefault_apps_dbus_backend_Set (LDefaultAppsDbusBackend* self,
                                const gchar* key1,
                                const gchar* key2,
                                const gchar* command_to_set)
{
	const gchar* _tmp0_;
	const gchar* _tmp1_;
	GQuark _tmp3_ = 0U;
	static GQuark _tmp2_label0 = 0;
	g_return_if_fail (self != NULL);
	g_return_if_fail (key1 != NULL);
	g_return_if_fail (command_to_set != NULL);
	_tmp0_ = self->priv->dbus_type;
	_tmp1_ = _tmp0_;
	_tmp3_ = (NULL == _tmp1_) ? 0 : g_quark_from_string (_tmp1_);
	if (_tmp3_ == ((0 != _tmp2_label0) ? _tmp2_label0 : (_tmp2_label0 = g_quark_from_static_string ("session")))) {
		switch (0) {
			default:
			{
				ldefault_apps_dbus_backend_SessionSet (self, key1, key2, command_to_set);
				break;
			}
		}
	}
}

void
ldefault_apps_dbus_backend_Launch (LDefaultAppsDbusBackend* self,
                                   const gchar* name,
                                   const gchar* option)
{
	const gchar* _tmp0_;
	const gchar* _tmp1_;
	GQuark _tmp3_ = 0U;
	static GQuark _tmp2_label0 = 0;
	g_return_if_fail (self != NULL);
	g_return_if_fail (name != NULL);
	g_return_if_fail (option != NULL);
	_tmp0_ = self->priv->dbus_type;
	_tmp1_ = _tmp0_;
	_tmp3_ = (NULL == _tmp1_) ? 0 : g_quark_from_string (_tmp1_);
	if (_tmp3_ == ((0 != _tmp2_label0) ? _tmp2_label0 : (_tmp2_label0 = g_quark_from_static_string ("session")))) {
		switch (0) {
			default:
			{
				ldefault_apps_dbus_backend_SessionLaunch (self, name, option);
				break;
			}
		}
	}
}

gchar*
ldefault_apps_dbus_backend_SessionGet (LDefaultAppsDbusBackend* self,
                                       const gchar* key1,
                                       const gchar* key2)
{
	gchar* return_value = NULL;
	GError* _inner_error0_ = NULL;
	gchar* result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (key1 != NULL, NULL);
	return_value = NULL;
	if (key2 == NULL) {
		key2 = "";
	}
	{
		gchar* _tmp0_ = NULL;
		LDefaultAppsDbusLxsession* _tmp1_;
		gchar* _tmp2_;
		gchar* _tmp3_;
		_tmp1_ = self->priv->dbus_lxsession;
		_tmp2_ = ldefault_apps_dbus_lxsession_SessionGet (_tmp1_, key1, key2, &_inner_error0_);
		_tmp0_ = _tmp2_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			if (_inner_error0_->domain == G_IO_ERROR) {
				goto __catch0_g_io_error;
			}
			_g_free0 (return_value);
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return NULL;
		}
		_tmp3_ = _tmp0_;
		_tmp0_ = NULL;
		_g_free0 (return_value);
		return_value = _tmp3_;
		_g_free0 (_tmp0_);
	}
	goto __finally0;
	__catch0_g_io_error:
	{
		GError* err = NULL;
		GError* _tmp4_;
		const gchar* _tmp5_;
		err = _inner_error0_;
		_inner_error0_ = NULL;
		_tmp4_ = err;
		_tmp5_ = _tmp4_->message;
		g_warning ("dbus-backend.vala:119: %s", _tmp5_);
		_g_error_free0 (err);
	}
	__finally0:
	if (G_UNLIKELY (_inner_error0_ != NULL)) {
		_g_free0 (return_value);
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
		g_clear_error (&_inner_error0_);
		return NULL;
	}
	result = return_value;
	return result;
}

void
ldefault_apps_dbus_backend_SessionLaunch (LDefaultAppsDbusBackend* self,
                                          const gchar* name,
                                          const gchar* option)
{
	GError* _inner_error0_ = NULL;
	g_return_if_fail (self != NULL);
	g_return_if_fail (name != NULL);
	g_return_if_fail (option != NULL);
	{
		LDefaultAppsDbusLxsession* _tmp0_;
		_tmp0_ = self->priv->dbus_lxsession;
		ldefault_apps_dbus_lxsession_SessionLaunch (_tmp0_, name, option, &_inner_error0_);
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			if (_inner_error0_->domain == G_IO_ERROR) {
				goto __catch0_g_io_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
	}
	goto __finally0;
	__catch0_g_io_error:
	{
		GError* err = NULL;
		GError* _tmp1_;
		const gchar* _tmp2_;
		err = _inner_error0_;
		_inner_error0_ = NULL;
		_tmp1_ = err;
		_tmp2_ = _tmp1_->message;
		g_warning ("dbus-backend.vala:132: %s", _tmp2_);
		_g_error_free0 (err);
	}
	__finally0:
	if (G_UNLIKELY (_inner_error0_ != NULL)) {
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
		g_clear_error (&_inner_error0_);
		return;
	}
}

void
ldefault_apps_dbus_backend_SessionSet (LDefaultAppsDbusBackend* self,
                                       const gchar* key1,
                                       const gchar* key2,
                                       const gchar* command_to_set)
{
	GError* _inner_error0_ = NULL;
	g_return_if_fail (self != NULL);
	g_return_if_fail (key1 != NULL);
	g_return_if_fail (command_to_set != NULL);
	if (key2 == NULL) {
		key2 = "";
	}
	{
		LDefaultAppsDbusLxsession* _tmp0_;
		_tmp0_ = self->priv->dbus_lxsession;
		ldefault_apps_dbus_lxsession_SessionSet (_tmp0_, key1, key2, command_to_set, &_inner_error0_);
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			if (_inner_error0_->domain == G_IO_ERROR) {
				goto __catch0_g_io_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
	}
	goto __finally0;
	__catch0_g_io_error:
	{
		GError* err = NULL;
		GError* _tmp1_;
		const gchar* _tmp2_;
		err = _inner_error0_;
		_inner_error0_ = NULL;
		_tmp1_ = err;
		_tmp2_ = _tmp1_->message;
		g_warning ("dbus-backend.vala:148: %s", _tmp2_);
		_g_error_free0 (err);
	}
	__finally0:
	if (G_UNLIKELY (_inner_error0_ != NULL)) {
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
		g_clear_error (&_inner_error0_);
		return;
	}
}

gchar**
ldefault_apps_dbus_backend_SessionSupport (LDefaultAppsDbusBackend* self,
                                           gint* result_length1)
{
	gchar** return_value = NULL;
	gint return_value_length1;
	gint _return_value_size_;
	gchar** _tmp7_;
	gint _tmp7__length1;
	GError* _inner_error0_ = NULL;
	gchar** result;
	g_return_val_if_fail (self != NULL, NULL);
	return_value = NULL;
	return_value_length1 = 0;
	_return_value_size_ = return_value_length1;
	{
		gchar** _tmp0_ = NULL;
		LDefaultAppsDbusLxsession* _tmp1_;
		gint _tmp2_ = 0;
		gchar** _tmp3_;
		gint _tmp0__length1;
		gint __tmp0__size_;
		gchar** _tmp4_;
		gint _tmp4__length1;
		_tmp1_ = self->priv->dbus_lxsession;
		_tmp3_ = ldefault_apps_dbus_lxsession_SessionSupport (_tmp1_, &_tmp2_, &_inner_error0_);
		_tmp0_ = _tmp3_;
		_tmp0__length1 = _tmp2_;
		__tmp0__size_ = _tmp0__length1;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			if (_inner_error0_->domain == G_IO_ERROR) {
				goto __catch0_g_io_error;
			}
			return_value = (_vala_array_free (return_value, return_value_length1, (GDestroyNotify) g_free), NULL);
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return NULL;
		}
		_tmp4_ = _tmp0_;
		_tmp4__length1 = _tmp0__length1;
		_tmp0_ = NULL;
		_tmp0__length1 = 0;
		return_value = (_vala_array_free (return_value, return_value_length1, (GDestroyNotify) g_free), NULL);
		return_value = _tmp4_;
		return_value_length1 = _tmp4__length1;
		_return_value_size_ = return_value_length1;
		_tmp0_ = (_vala_array_free (_tmp0_, _tmp0__length1, (GDestroyNotify) g_free), NULL);
	}
	goto __finally0;
	__catch0_g_io_error:
	{
		GError* err = NULL;
		GError* _tmp5_;
		const gchar* _tmp6_;
		err = _inner_error0_;
		_inner_error0_ = NULL;
		_tmp5_ = err;
		_tmp6_ = _tmp5_->message;
		g_warning ("dbus-backend.vala:161: %s", _tmp6_);
		_g_error_free0 (err);
	}
	__finally0:
	if (G_UNLIKELY (_inner_error0_ != NULL)) {
		return_value = (_vala_array_free (return_value, return_value_length1, (GDestroyNotify) g_free), NULL);
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
		g_clear_error (&_inner_error0_);
		return NULL;
	}
	_tmp7_ = return_value;
	_tmp7__length1 = return_value_length1;
	if (result_length1) {
		*result_length1 = _tmp7__length1;
	}
	result = _tmp7_;
	return result;
}

gchar**
ldefault_apps_dbus_backend_SessionSupportDetail (LDefaultAppsDbusBackend* self,
                                                 const gchar* key1,
                                                 gint* result_length1)
{
	gchar** return_value = NULL;
	gint return_value_length1;
	gint _return_value_size_;
	gchar** _tmp7_;
	gint _tmp7__length1;
	GError* _inner_error0_ = NULL;
	gchar** result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (key1 != NULL, NULL);
	return_value = NULL;
	return_value_length1 = 0;
	_return_value_size_ = return_value_length1;
	{
		gchar** _tmp0_ = NULL;
		LDefaultAppsDbusLxsession* _tmp1_;
		gint _tmp2_ = 0;
		gchar** _tmp3_;
		gint _tmp0__length1;
		gint __tmp0__size_;
		gchar** _tmp4_;
		gint _tmp4__length1;
		_tmp1_ = self->priv->dbus_lxsession;
		_tmp3_ = ldefault_apps_dbus_lxsession_SessionSupportDetail (_tmp1_, key1, &_tmp2_, &_inner_error0_);
		_tmp0_ = _tmp3_;
		_tmp0__length1 = _tmp2_;
		__tmp0__size_ = _tmp0__length1;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			if (_inner_error0_->domain == G_IO_ERROR) {
				goto __catch0_g_io_error;
			}
			return_value = (_vala_array_free (return_value, return_value_length1, (GDestroyNotify) g_free), NULL);
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return NULL;
		}
		_tmp4_ = _tmp0_;
		_tmp4__length1 = _tmp0__length1;
		_tmp0_ = NULL;
		_tmp0__length1 = 0;
		return_value = (_vala_array_free (return_value, return_value_length1, (GDestroyNotify) g_free), NULL);
		return_value = _tmp4_;
		return_value_length1 = _tmp4__length1;
		_return_value_size_ = return_value_length1;
		_tmp0_ = (_vala_array_free (_tmp0_, _tmp0__length1, (GDestroyNotify) g_free), NULL);
	}
	goto __finally0;
	__catch0_g_io_error:
	{
		GError* err = NULL;
		GError* _tmp5_;
		const gchar* _tmp6_;
		err = _inner_error0_;
		_inner_error0_ = NULL;
		_tmp5_ = err;
		_tmp6_ = _tmp5_->message;
		g_warning ("dbus-backend.vala:175: %s", _tmp6_);
		_g_error_free0 (err);
	}
	__finally0:
	if (G_UNLIKELY (_inner_error0_ != NULL)) {
		return_value = (_vala_array_free (return_value, return_value_length1, (GDestroyNotify) g_free), NULL);
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
		g_clear_error (&_inner_error0_);
		return NULL;
	}
	_tmp7_ = return_value;
	_tmp7__length1 = return_value_length1;
	if (result_length1) {
		*result_length1 = _tmp7__length1;
	}
	result = _tmp7_;
	return result;
}

void
ldefault_apps_dbus_backend_KeymapActivate (LDefaultAppsDbusBackend* self)
{
	GError* _inner_error0_ = NULL;
	g_return_if_fail (self != NULL);
	{
		LDefaultAppsDbusLxsession* _tmp0_;
		_tmp0_ = self->priv->dbus_lxsession;
		ldefault_apps_dbus_lxsession_KeymapActivate (_tmp0_, &_inner_error0_);
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			if (_inner_error0_->domain == G_IO_ERROR) {
				goto __catch0_g_io_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
	}
	goto __finally0;
	__catch0_g_io_error:
	{
		GError* err = NULL;
		GError* _tmp1_;
		const gchar* _tmp2_;
		err = _inner_error0_;
		_inner_error0_ = NULL;
		_tmp1_ = err;
		_tmp2_ = _tmp1_->message;
		g_warning ("dbus-backend.vala:188: %s", _tmp2_);
		_g_error_free0 (err);
	}
	__finally0:
	if (G_UNLIKELY (_inner_error0_ != NULL)) {
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
		g_clear_error (&_inner_error0_);
		return;
	}
}

void
ldefault_apps_dbus_backend_KeymapSet (LDefaultAppsDbusBackend* self,
                                      const gchar* key1,
                                      const gchar* key2,
                                      const gchar* command_to_set)
{
	GError* _inner_error0_ = NULL;
	g_return_if_fail (self != NULL);
	g_return_if_fail (key1 != NULL);
	g_return_if_fail (command_to_set != NULL);
	if (key2 == NULL) {
		key2 = "";
	}
	{
		LDefaultAppsDbusLxsession* _tmp0_;
		_tmp0_ = self->priv->dbus_lxsession;
		ldefault_apps_dbus_lxsession_KeymapSet (_tmp0_, key1, key2, command_to_set, &_inner_error0_);
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			if (_inner_error0_->domain == G_IO_ERROR) {
				goto __catch0_g_io_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
	}
	goto __finally0;
	__catch0_g_io_error:
	{
		GError* err = NULL;
		GError* _tmp1_;
		const gchar* _tmp2_;
		err = _inner_error0_;
		_inner_error0_ = NULL;
		_tmp1_ = err;
		_tmp2_ = _tmp1_->message;
		g_warning ("dbus-backend.vala:204: %s", _tmp2_);
		_g_error_free0 (err);
	}
	__finally0:
	if (G_UNLIKELY (_inner_error0_ != NULL)) {
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
		g_clear_error (&_inner_error0_);
		return;
	}
}

gchar*
ldefault_apps_dbus_backend_KeymapGet (LDefaultAppsDbusBackend* self,
                                      const gchar* key1,
                                      const gchar* key2)
{
	gchar* return_value = NULL;
	GError* _inner_error0_ = NULL;
	gchar* result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (key1 != NULL, NULL);
	if (key2 == NULL) {
		key2 = "";
	}
	return_value = NULL;
	{
		gchar* _tmp0_ = NULL;
		LDefaultAppsDbusLxsession* _tmp1_;
		gchar* _tmp2_;
		gchar* _tmp3_;
		_tmp1_ = self->priv->dbus_lxsession;
		_tmp2_ = ldefault_apps_dbus_lxsession_KeymapGet (_tmp1_, key1, key2, &_inner_error0_);
		_tmp0_ = _tmp2_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			if (_inner_error0_->domain == G_IO_ERROR) {
				goto __catch0_g_io_error;
			}
			_g_free0 (return_value);
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return NULL;
		}
		_tmp3_ = _tmp0_;
		_tmp0_ = NULL;
		_g_free0 (return_value);
		return_value = _tmp3_;
		_g_free0 (_tmp0_);
	}
	goto __finally0;
	__catch0_g_io_error:
	{
		GError* err = NULL;
		GError* _tmp4_;
		const gchar* _tmp5_;
		err = _inner_error0_;
		_inner_error0_ = NULL;
		_tmp4_ = err;
		_tmp5_ = _tmp4_->message;
		g_warning ("dbus-backend.vala:221: %s", _tmp5_);
		_g_error_free0 (err);
	}
	__finally0:
	if (G_UNLIKELY (_inner_error0_ != NULL)) {
		_g_free0 (return_value);
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
		g_clear_error (&_inner_error0_);
		return NULL;
	}
	result = return_value;
	return result;
}

void
ldefault_apps_dbus_backend_StateSet (LDefaultAppsDbusBackend* self,
                                     const gchar* key1,
                                     const gchar* key2,
                                     const gchar* command_to_set)
{
	GError* _inner_error0_ = NULL;
	g_return_if_fail (self != NULL);
	g_return_if_fail (key1 != NULL);
	g_return_if_fail (command_to_set != NULL);
	if (key2 == NULL) {
		key2 = "";
	}
	{
		LDefaultAppsDbusLxsession* _tmp0_;
		_tmp0_ = self->priv->dbus_lxsession;
		ldefault_apps_dbus_lxsession_StateSet (_tmp0_, key1, key2, command_to_set, &_inner_error0_);
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			if (_inner_error0_->domain == G_IO_ERROR) {
				goto __catch0_g_io_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
	}
	goto __finally0;
	__catch0_g_io_error:
	{
		GError* err = NULL;
		GError* _tmp1_;
		const gchar* _tmp2_;
		err = _inner_error0_;
		_inner_error0_ = NULL;
		_tmp1_ = err;
		_tmp2_ = _tmp1_->message;
		g_warning ("dbus-backend.vala:238: %s", _tmp2_);
		_g_error_free0 (err);
	}
	__finally0:
	if (G_UNLIKELY (_inner_error0_ != NULL)) {
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
		g_clear_error (&_inner_error0_);
		return;
	}
}

gchar*
ldefault_apps_dbus_backend_StateGet (LDefaultAppsDbusBackend* self,
                                     const gchar* key1,
                                     const gchar* key2)
{
	gchar* return_value = NULL;
	GError* _inner_error0_ = NULL;
	gchar* result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (key1 != NULL, NULL);
	return_value = NULL;
	if (key2 == NULL) {
		key2 = "";
	}
	{
		gchar* _tmp0_ = NULL;
		LDefaultAppsDbusLxsession* _tmp1_;
		gchar* _tmp2_;
		gchar* _tmp3_;
		_tmp1_ = self->priv->dbus_lxsession;
		_tmp2_ = ldefault_apps_dbus_lxsession_StateGet (_tmp1_, key1, key2, &_inner_error0_);
		_tmp0_ = _tmp2_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			if (_inner_error0_->domain == G_IO_ERROR) {
				goto __catch0_g_io_error;
			}
			_g_free0 (return_value);
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return NULL;
		}
		_tmp3_ = _tmp0_;
		_tmp0_ = NULL;
		_g_free0 (return_value);
		return_value = _tmp3_;
		_g_free0 (_tmp0_);
	}
	goto __finally0;
	__catch0_g_io_error:
	{
		GError* err = NULL;
		GError* _tmp4_;
		const gchar* _tmp5_;
		err = _inner_error0_;
		_inner_error0_ = NULL;
		_tmp4_ = err;
		_tmp5_ = _tmp4_->message;
		g_warning ("dbus-backend.vala:255: %s", _tmp5_);
		_g_error_free0 (err);
	}
	__finally0:
	if (G_UNLIKELY (_inner_error0_ != NULL)) {
		_g_free0 (return_value);
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
		g_clear_error (&_inner_error0_);
		return NULL;
	}
	result = return_value;
	return result;
}

void
ldefault_apps_dbus_backend_DbusSet (LDefaultAppsDbusBackend* self,
                                    const gchar* key1,
                                    const gchar* key2,
                                    const gchar* command_to_set)
{
	GError* _inner_error0_ = NULL;
	g_return_if_fail (self != NULL);
	g_return_if_fail (key1 != NULL);
	g_return_if_fail (command_to_set != NULL);
	if (key2 == NULL) {
		key2 = "";
	}
	{
		LDefaultAppsDbusLxsession* _tmp0_;
		_tmp0_ = self->priv->dbus_lxsession;
		ldefault_apps_dbus_lxsession_DbusSet (_tmp0_, key1, key2, command_to_set, &_inner_error0_);
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			if (_inner_error0_->domain == G_IO_ERROR) {
				goto __catch0_g_io_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
	}
	goto __finally0;
	__catch0_g_io_error:
	{
		GError* err = NULL;
		GError* _tmp1_;
		const gchar* _tmp2_;
		err = _inner_error0_;
		_inner_error0_ = NULL;
		_tmp1_ = err;
		_tmp2_ = _tmp1_->message;
		g_warning ("dbus-backend.vala:272: %s", _tmp2_);
		_g_error_free0 (err);
	}
	__finally0:
	if (G_UNLIKELY (_inner_error0_ != NULL)) {
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
		g_clear_error (&_inner_error0_);
		return;
	}
}

gchar*
ldefault_apps_dbus_backend_DbusGet (LDefaultAppsDbusBackend* self,
                                    const gchar* key1,
                                    const gchar* key2)
{
	gchar* return_value = NULL;
	GError* _inner_error0_ = NULL;
	gchar* result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (key1 != NULL, NULL);
	return_value = NULL;
	if (key2 == NULL) {
		key2 = "";
	}
	{
		gchar* _tmp0_ = NULL;
		LDefaultAppsDbusLxsession* _tmp1_;
		gchar* _tmp2_;
		gchar* _tmp3_;
		_tmp1_ = self->priv->dbus_lxsession;
		_tmp2_ = ldefault_apps_dbus_lxsession_DbusGet (_tmp1_, key1, key2, &_inner_error0_);
		_tmp0_ = _tmp2_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			if (_inner_error0_->domain == G_IO_ERROR) {
				goto __catch0_g_io_error;
			}
			_g_free0 (return_value);
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return NULL;
		}
		_tmp3_ = _tmp0_;
		_tmp0_ = NULL;
		_g_free0 (return_value);
		return_value = _tmp3_;
		_g_free0 (_tmp0_);
	}
	goto __finally0;
	__catch0_g_io_error:
	{
		GError* err = NULL;
		GError* _tmp4_;
		const gchar* _tmp5_;
		err = _inner_error0_;
		_inner_error0_ = NULL;
		_tmp4_ = err;
		_tmp5_ = _tmp4_->message;
		g_warning ("dbus-backend.vala:289: %s", _tmp5_);
		_g_error_free0 (err);
	}
	__finally0:
	if (G_UNLIKELY (_inner_error0_ != NULL)) {
		_g_free0 (return_value);
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
		g_clear_error (&_inner_error0_);
		return NULL;
	}
	result = return_value;
	return result;
}

void
ldefault_apps_dbus_backend_EnvironmentSet (LDefaultAppsDbusBackend* self,
                                           const gchar* key1,
                                           const gchar* key2,
                                           const gchar* command_to_set)
{
	GError* _inner_error0_ = NULL;
	g_return_if_fail (self != NULL);
	g_return_if_fail (key1 != NULL);
	g_return_if_fail (command_to_set != NULL);
	if (key2 == NULL) {
		key2 = "";
	}
	{
		LDefaultAppsDbusLxsession* _tmp0_;
		_tmp0_ = self->priv->dbus_lxsession;
		ldefault_apps_dbus_lxsession_EnvironmentSet (_tmp0_, key1, key2, command_to_set, &_inner_error0_);
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			if (_inner_error0_->domain == G_IO_ERROR) {
				goto __catch0_g_io_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
	}
	goto __finally0;
	__catch0_g_io_error:
	{
		GError* err = NULL;
		GError* _tmp1_;
		const gchar* _tmp2_;
		err = _inner_error0_;
		_inner_error0_ = NULL;
		_tmp1_ = err;
		_tmp2_ = _tmp1_->message;
		g_warning ("dbus-backend.vala:306: %s", _tmp2_);
		_g_error_free0 (err);
	}
	__finally0:
	if (G_UNLIKELY (_inner_error0_ != NULL)) {
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
		g_clear_error (&_inner_error0_);
		return;
	}
}

gchar*
ldefault_apps_dbus_backend_EnvironmentGet (LDefaultAppsDbusBackend* self,
                                           const gchar* key1,
                                           const gchar* key2)
{
	gchar* return_value = NULL;
	GError* _inner_error0_ = NULL;
	gchar* result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (key1 != NULL, NULL);
	return_value = NULL;
	if (key2 == NULL) {
		key2 = "";
	}
	{
		gchar* _tmp0_ = NULL;
		LDefaultAppsDbusLxsession* _tmp1_;
		gchar* _tmp2_;
		gchar* _tmp3_;
		_tmp1_ = self->priv->dbus_lxsession;
		_tmp2_ = ldefault_apps_dbus_lxsession_EnvironmentGet (_tmp1_, key1, key2, &_inner_error0_);
		_tmp0_ = _tmp2_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			if (_inner_error0_->domain == G_IO_ERROR) {
				goto __catch0_g_io_error;
			}
			_g_free0 (return_value);
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return NULL;
		}
		_tmp3_ = _tmp0_;
		_tmp0_ = NULL;
		_g_free0 (return_value);
		return_value = _tmp3_;
		_g_free0 (_tmp0_);
	}
	goto __finally0;
	__catch0_g_io_error:
	{
		GError* err = NULL;
		GError* _tmp4_;
		const gchar* _tmp5_;
		err = _inner_error0_;
		_inner_error0_ = NULL;
		_tmp4_ = err;
		_tmp5_ = _tmp4_->message;
		g_warning ("dbus-backend.vala:323: %s", _tmp5_);
		_g_error_free0 (err);
	}
	__finally0:
	if (G_UNLIKELY (_inner_error0_ != NULL)) {
		_g_free0 (return_value);
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
		g_clear_error (&_inner_error0_);
		return NULL;
	}
	result = return_value;
	return result;
}

static void
ldefault_apps_dbus_backend_class_init (LDefaultAppsDbusBackendClass * klass,
                                       gpointer klass_data)
{
	ldefault_apps_dbus_backend_parent_class = g_type_class_peek_parent (klass);
	g_type_class_adjust_private_offset (klass, &LDefaultAppsDbusBackend_private_offset);
	G_OBJECT_CLASS (klass)->finalize = ldefault_apps_dbus_backend_finalize;
}

static void
ldefault_apps_dbus_backend_instance_init (LDefaultAppsDbusBackend * self,
                                          gpointer klass)
{
	self->priv = ldefault_apps_dbus_backend_get_instance_private (self);
	self->priv->dbus_lxsession = NULL;
	self->priv->dbus_type = NULL;
}

static void
ldefault_apps_dbus_backend_finalize (GObject * obj)
{
	LDefaultAppsDbusBackend * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, LDEFAULT_APPS_TYPE_DBUS_BACKEND, LDefaultAppsDbusBackend);
	_g_object_unref0 (self->priv->dbus_lxsession);
	_g_free0 (self->priv->dbus_type);
	G_OBJECT_CLASS (ldefault_apps_dbus_backend_parent_class)->finalize (obj);
}

static GType
ldefault_apps_dbus_backend_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (LDefaultAppsDbusBackendClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) ldefault_apps_dbus_backend_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (LDefaultAppsDbusBackend), 0, (GInstanceInitFunc) ldefault_apps_dbus_backend_instance_init, NULL };
	GType ldefault_apps_dbus_backend_type_id;
	ldefault_apps_dbus_backend_type_id = g_type_register_static (G_TYPE_OBJECT, "LDefaultAppsDbusBackend", &g_define_type_info, 0);
	LDefaultAppsDbusBackend_private_offset = g_type_add_instance_private (ldefault_apps_dbus_backend_type_id, sizeof (LDefaultAppsDbusBackendPrivate));
	return ldefault_apps_dbus_backend_type_id;
}

GType
ldefault_apps_dbus_backend_get_type (void)
{
	static volatile gsize ldefault_apps_dbus_backend_type_id__once = 0;
	if (g_once_init_enter (&ldefault_apps_dbus_backend_type_id__once)) {
		GType ldefault_apps_dbus_backend_type_id;
		ldefault_apps_dbus_backend_type_id = ldefault_apps_dbus_backend_get_type_once ();
		g_once_init_leave (&ldefault_apps_dbus_backend_type_id__once, ldefault_apps_dbus_backend_type_id);
	}
	return ldefault_apps_dbus_backend_type_id__once;
}

static void
_vala_array_destroy (gpointer array,
                     gssize array_length,
                     GDestroyNotify destroy_func)
{
	if ((array != NULL) && (destroy_func != NULL)) {
		gssize i;
		for (i = 0; i < array_length; i = i + 1) {
			if (((gpointer*) array)[i] != NULL) {
				destroy_func (((gpointer*) array)[i]);
			}
		}
	}
}

static void
_vala_array_free (gpointer array,
                  gssize array_length,
                  GDestroyNotify destroy_func)
{
	_vala_array_destroy (array, array_length, destroy_func);
	g_free (array);
}

