/* dbus-backend.c generated by valac 0.26.1, 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.h>
#include <glib-object.h>
#include <gio/gio.h>
#include <stdlib.h>
#include <string.h>


#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;
#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, int* result_length1, GError** error);
	gchar** (*SessionSupportDetail) (LDefaultAppsDbusLxsession* self, const gchar* key1, int* 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 gpointer ldefault_apps_dbus_backend_parent_class = NULL;

GType ldefault_apps_dbus_lxsession_proxy_get_type (void) G_GNUC_CONST;
guint ldefault_apps_dbus_lxsession_register_object (void* object, GDBusConnection* connection, const gchar* path, GError** error);
GType ldefault_apps_dbus_lxsession_get_type (void) G_GNUC_CONST;
gchar* ldefault_apps_dbus_lxsession_SessionGet (LDefaultAppsDbusLxsession* self, const gchar* key1, const gchar* key2, GError** error);
void ldefault_apps_dbus_lxsession_SessionSet (LDefaultAppsDbusLxsession* self, const gchar* key1, const gchar* key2, const gchar* command_to_set, GError** error);
void ldefault_apps_dbus_lxsession_SessionLaunch (LDefaultAppsDbusLxsession* self, const gchar* name, const gchar* option, GError** error);
gchar** ldefault_apps_dbus_lxsession_SessionSupport (LDefaultAppsDbusLxsession* self, int* result_length1, GError** error);
gchar** ldefault_apps_dbus_lxsession_SessionSupportDetail (LDefaultAppsDbusLxsession* self, const gchar* key1, int* result_length1, GError** error);
void ldefault_apps_dbus_lxsession_KeymapActivate (LDefaultAppsDbusLxsession* self, GError** error);
void ldefault_apps_dbus_lxsession_KeymapSet (LDefaultAppsDbusLxsession* self, const gchar* key1, const gchar* key2, const gchar* command_to_set, GError** error);
gchar* ldefault_apps_dbus_lxsession_KeymapGet (LDefaultAppsDbusLxsession* self, const gchar* key1, const gchar* key2, GError** error);
void ldefault_apps_dbus_lxsession_StateSet (LDefaultAppsDbusLxsession* self, const gchar* key1, const gchar* key2, const gchar* command_to_set, GError** error);
gchar* ldefault_apps_dbus_lxsession_StateGet (LDefaultAppsDbusLxsession* self, const gchar* key1, const gchar* key2, GError** error);
void ldefault_apps_dbus_lxsession_DbusSet (LDefaultAppsDbusLxsession* self, const gchar* key1, const gchar* key2, const gchar* command_to_set, GError** error);
gchar* ldefault_apps_dbus_lxsession_DbusGet (LDefaultAppsDbusLxsession* self, const gchar* key1, const gchar* key2, GError** error);
void ldefault_apps_dbus_lxsession_EnvironmentSet (LDefaultAppsDbusLxsession* self, const gchar* key1, const gchar* key2, const gchar* command_to_set, GError** error);
gchar* ldefault_apps_dbus_lxsession_EnvironmentGet (LDefaultAppsDbusLxsession* self, const gchar* key1, const gchar* key2, GError** error);
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, int* result_length1, GError** error);
static gchar** ldefault_apps_dbus_lxsession_proxy_SessionSupportDetail (LDefaultAppsDbusLxsession* self, const gchar* key1, int* 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);
GType ldefault_apps_dbus_backend_get_type (void) G_GNUC_CONST;
#define LDEFAULT_APPS_DBUS_BACKEND_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), LDEFAULT_APPS_TYPE_DBUS_BACKEND, LDefaultAppsDbusBackendPrivate))
enum  {
	LDEFAULT_APPS_DBUS_BACKEND_DUMMY_PROPERTY
};
LDefaultAppsDbusBackend* ldefault_apps_dbus_backend_new (const gchar* type);
LDefaultAppsDbusBackend* ldefault_apps_dbus_backend_construct (GType object_type, const gchar* type);
gchar* ldefault_apps_dbus_backend_Get (LDefaultAppsDbusBackend* self, const gchar* key1, const gchar* key2);
gchar* ldefault_apps_dbus_backend_SessionGet (LDefaultAppsDbusBackend* self, const gchar* key1, const gchar* key2);
void ldefault_apps_dbus_backend_Set (LDefaultAppsDbusBackend* self, const gchar* key1, const gchar* key2, const gchar* command_to_set);
void ldefault_apps_dbus_backend_SessionSet (LDefaultAppsDbusBackend* self, const gchar* key1, const gchar* key2, const gchar* command_to_set);
void ldefault_apps_dbus_backend_Launch (LDefaultAppsDbusBackend* self, const gchar* name, const gchar* option);
void ldefault_apps_dbus_backend_SessionLaunch (LDefaultAppsDbusBackend* self, const gchar* name, const gchar* option);
gchar** ldefault_apps_dbus_backend_SessionSupport (LDefaultAppsDbusBackend* self, int* result_length1);
gchar** ldefault_apps_dbus_backend_SessionSupportDetail (LDefaultAppsDbusBackend* self, const gchar* key1, int* result_length1);
void ldefault_apps_dbus_backend_KeymapActivate (LDefaultAppsDbusBackend* self);
void ldefault_apps_dbus_backend_KeymapSet (LDefaultAppsDbusBackend* self, const gchar* key1, const gchar* key2, const gchar* command_to_set);
gchar* ldefault_apps_dbus_backend_KeymapGet (LDefaultAppsDbusBackend* self, const gchar* key1, const gchar* key2);
void ldefault_apps_dbus_backend_StateSet (LDefaultAppsDbusBackend* self, const gchar* key1, const gchar* key2, const gchar* command_to_set);
gchar* ldefault_apps_dbus_backend_StateGet (LDefaultAppsDbusBackend* self, const gchar* key1, const gchar* key2);
void ldefault_apps_dbus_backend_DbusSet (LDefaultAppsDbusBackend* self, const gchar* key1, const gchar* key2, const gchar* command_to_set);
gchar* ldefault_apps_dbus_backend_DbusGet (LDefaultAppsDbusBackend* self, const gchar* key1, const gchar* key2);
void ldefault_apps_dbus_backend_EnvironmentSet (LDefaultAppsDbusBackend* self, const gchar* key1, const gchar* key2, const gchar* command_to_set);
gchar* ldefault_apps_dbus_backend_EnvironmentGet (LDefaultAppsDbusBackend* self, const gchar* key1, const gchar* key2);
static void ldefault_apps_dbus_backend_finalize (GObject* obj);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);

static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionGet_key1 = {-1, "key1", "s"};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionGet_key2 = {-1, "key2", "s"};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionGet_result = {-1, "result", "s"};
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)};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSet_key1 = {-1, "key1", "s"};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSet_key2 = {-1, "key2", "s"};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSet_command_to_set = {-1, "command_to_set", "s"};
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)};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionLaunch_name = {-1, "name", "s"};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionLaunch_option = {-1, "option", "s"};
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)};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSupport_result = {-1, "result", "as"};
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)};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSupportDetail_key1 = {-1, "key1", "s"};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_SessionSupportDetail_result = {-1, "result", "as"};
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)};
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)};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapSet_key1 = {-1, "key1", "s"};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapSet_key2 = {-1, "key2", "s"};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapSet_command_to_set = {-1, "command_to_set", "s"};
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)};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapGet_key1 = {-1, "key1", "s"};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapGet_key2 = {-1, "key2", "s"};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_KeymapGet_result = {-1, "result", "s"};
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)};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_StateSet_key1 = {-1, "key1", "s"};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_StateSet_key2 = {-1, "key2", "s"};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_StateSet_command_to_set = {-1, "command_to_set", "s"};
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)};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_StateGet_key1 = {-1, "key1", "s"};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_StateGet_key2 = {-1, "key2", "s"};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_StateGet_result = {-1, "result", "s"};
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)};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_DbusSet_key1 = {-1, "key1", "s"};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_DbusSet_key2 = {-1, "key2", "s"};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_DbusSet_command_to_set = {-1, "command_to_set", "s"};
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)};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_DbusGet_key1 = {-1, "key1", "s"};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_DbusGet_key2 = {-1, "key2", "s"};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_DbusGet_result = {-1, "result", "s"};
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)};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_EnvironmentSet_key1 = {-1, "key1", "s"};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_EnvironmentSet_key2 = {-1, "key2", "s"};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_EnvironmentSet_command_to_set = {-1, "command_to_set", "s"};
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)};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_EnvironmentGet_key1 = {-1, "key1", "s"};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_EnvironmentGet_key2 = {-1, "key2", "s"};
static const GDBusArgInfo _ldefault_apps_dbus_lxsession_dbus_arg_info_EnvironmentGet_result = {-1, "result", "s"};
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)};
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)};
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) {
	g_return_val_if_fail (self != NULL, NULL);
	return LDEFAULT_APPS_DBUS_LXSESSION_GET_INTERFACE (self)->SessionGet (self, key1, key2, error);
}


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


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


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


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


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


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


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


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


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


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


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


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


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


static void ldefault_apps_dbus_lxsession_base_init (LDefaultAppsDbusLxsessionIface * iface) {
	static gboolean initialized = FALSE;
	if (!initialized) {
		initialized = TRUE;
	}
}


GType ldefault_apps_dbus_lxsession_get_type (void) {
	static volatile gsize ldefault_apps_dbus_lxsession_type_id__volatile = 0;
	if (g_once_init_enter (&ldefault_apps_dbus_lxsession_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (LDefaultAppsDbusLxsessionIface), (GBaseInitFunc) ldefault_apps_dbus_lxsession_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (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);
		g_once_init_leave (&ldefault_apps_dbus_lxsession_type_id__volatile, ldefault_apps_dbus_lxsession_type_id);
	}
	return ldefault_apps_dbus_lxsession_type_id__volatile;
}


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) {
}


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;
	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, int* result_length1, GError** error) {
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	gchar** _result;
	int _result_length1;
	GVariant* _tmp1_;
	gchar** _tmp2_;
	int _tmp2__length;
	int _tmp2__size;
	int _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, int* result_length1, GError** error) {
	GDBusMessage *_message;
	GVariant *_arguments;
	GVariantBuilder _arguments_builder;
	GDBusMessage *_reply_message;
	GVariant *_reply;
	GVariantIter _reply_iter;
	gchar** _result;
	int _result_length1;
	GVariant* _tmp5_;
	gchar** _tmp6_;
	int _tmp6__length;
	int _tmp6__size;
	int _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;
	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;
	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;
	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;
	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;
	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_return_gerror (invocation, error);
		return;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_reply_builder, g_variant_new_string (result));
	_g_free0 (result);
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	_g_free0 (key1);
	_g_free0 (key2);
	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_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;
	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_return_gerror (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_free0 (key1);
	_g_free0 (key2);
	_g_free0 (command_to_set);
	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_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;
	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_return_gerror (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_free0 (name);
	_g_free0 (option);
	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_SessionSupport (LDefaultAppsDbusLxsession* self, GVariant* _parameters_, GDBusMethodInvocation* invocation) {
	GError* error = NULL;
	GVariantIter _arguments_iter;
	GDBusMessage* _reply_message;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	gchar** result;
	int result_length1 = 0;
	gchar** _tmp20_;
	GVariantBuilder _tmp21_;
	int _tmp22_;
	g_variant_iter_init (&_arguments_iter, _parameters_);
	result = ldefault_apps_dbus_lxsession_SessionSupport (self, &result_length1, &error);
	if (error) {
		g_dbus_method_invocation_return_gerror (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;
	GVariant* _reply;
	GVariantBuilder _reply_builder;
	gchar** result;
	int result_length1 = 0;
	gchar** _tmp24_;
	GVariantBuilder _tmp25_;
	int _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_return_gerror (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);
	_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_free0 (key1);
	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_KeymapActivate (LDefaultAppsDbusLxsession* self, GVariant* _parameters_, GDBusMethodInvocation* invocation) {
	GError* error = NULL;
	GVariantIter _arguments_iter;
	GDBusMessage* _reply_message;
	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_return_gerror (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;
	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_return_gerror (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_free0 (key1);
	_g_free0 (key2);
	_g_free0 (command_to_set);
	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_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;
	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_return_gerror (invocation, error);
		return;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_reply_builder, g_variant_new_string (result));
	_g_free0 (result);
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	_g_free0 (key1);
	_g_free0 (key2);
	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_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;
	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_return_gerror (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_free0 (key1);
	_g_free0 (key2);
	_g_free0 (command_to_set);
	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_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;
	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_return_gerror (invocation, error);
		return;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_reply_builder, g_variant_new_string (result));
	_g_free0 (result);
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	_g_free0 (key1);
	_g_free0 (key2);
	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_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;
	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_return_gerror (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_free0 (key1);
	_g_free0 (key2);
	_g_free0 (command_to_set);
	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_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;
	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_return_gerror (invocation, error);
		return;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_reply_builder, g_variant_new_string (result));
	_g_free0 (result);
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	_g_free0 (key1);
	_g_free0 (key2);
	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_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;
	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_return_gerror (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_free0 (key1);
	_g_free0 (key2);
	_g_free0 (command_to_set);
	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_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;
	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_return_gerror (invocation, error);
		return;
	}
	_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
	g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
	g_variant_builder_add_value (&_reply_builder, g_variant_new_string (result));
	_g_free0 (result);
	_reply = g_variant_builder_end (&_reply_builder);
	g_dbus_message_set_body (_reply_message, _reply);
	_g_free0 (key1);
	_g_free0 (key2);
	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 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);
}


LDefaultAppsDbusBackend* ldefault_apps_dbus_backend_construct (GType object_type, const gchar* type) {
	LDefaultAppsDbusBackend * self = NULL;
	const gchar* _tmp5_ = NULL;
	GError * _inner_error_ = NULL;
	g_return_val_if_fail (type != NULL, NULL);
	self = (LDefaultAppsDbusBackend*) g_object_new (object_type, NULL);
	{
		LDefaultAppsDbusLxsession* _tmp0_ = NULL;
		LDefaultAppsDbusLxsession* _tmp1_ = NULL;
		LDefaultAppsDbusLxsession* _tmp2_ = NULL;
		_tmp1_ = g_initable_new (LDEFAULT_APPS_TYPE_DBUS_LXSESSION_PROXY, NULL, &_inner_error_, "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", "g-interface-info", g_type_get_qdata (LDEFAULT_APPS_TYPE_DBUS_LXSESSION, g_quark_from_static_string ("vala-dbus-interface-info")), NULL);
		_tmp0_ = (LDefaultAppsDbusLxsession*) _tmp1_;
		if (G_UNLIKELY (_inner_error_ != NULL)) {
			if (_inner_error_->domain == G_IO_ERROR) {
				goto __catch19_g_io_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
			g_clear_error (&_inner_error_);
			return NULL;
		}
		_tmp2_ = _tmp0_;
		_tmp0_ = NULL;
		_g_object_unref0 (self->priv->dbus_lxsession);
		self->priv->dbus_lxsession = _tmp2_;
		_g_object_unref0 (_tmp0_);
	}
	goto __finally19;
	__catch19_g_io_error:
	{
		GError* err = NULL;
		GError* _tmp3_ = NULL;
		const gchar* _tmp4_ = NULL;
		err = _inner_error_;
		_inner_error_ = NULL;
		_tmp3_ = err;
		_tmp4_ = _tmp3_->message;
		g_warning ("dbus-backend.vala:58: %s", _tmp4_);
		_g_error_free0 (err);
	}
	__finally19:
	if (G_UNLIKELY (_inner_error_ != NULL)) {
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
		g_clear_error (&_inner_error_);
		return NULL;
	}
	_tmp5_ = type;
	if (_tmp5_ == NULL) {
		gchar* _tmp6_ = NULL;
		_tmp6_ = g_strdup ("session");
		_g_free0 (self->priv->dbus_type);
		self->priv->dbus_type = _tmp6_;
	} else {
		const gchar* _tmp7_ = NULL;
		gchar* _tmp8_ = NULL;
		_tmp7_ = type;
		_tmp8_ = g_strdup (_tmp7_);
		_g_free0 (self->priv->dbus_type);
		self->priv->dbus_type = _tmp8_;
	}
	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* result = NULL;
	gchar* return_value = NULL;
	gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	GQuark _tmp4_ = 0U;
	static GQuark _tmp3_label0 = 0;
	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:
			{
				const gchar* _tmp5_ = NULL;
				const gchar* _tmp6_ = NULL;
				gchar* _tmp7_ = NULL;
				_tmp5_ = key1;
				_tmp6_ = key2;
				_tmp7_ = ldefault_apps_dbus_backend_SessionGet (self, _tmp5_, _tmp6_);
				_g_free0 (return_value);
				return_value = _tmp7_;
				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_ = NULL;
	const gchar* _tmp1_ = NULL;
	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:
			{
				const gchar* _tmp4_ = NULL;
				const gchar* _tmp5_ = NULL;
				const gchar* _tmp6_ = NULL;
				_tmp4_ = key1;
				_tmp5_ = key2;
				_tmp6_ = command_to_set;
				ldefault_apps_dbus_backend_SessionSet (self, _tmp4_, _tmp5_, _tmp6_);
				break;
			}
		}
	}
}


void ldefault_apps_dbus_backend_Launch (LDefaultAppsDbusBackend* self, const gchar* name, const gchar* option) {
	const gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	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:
			{
				const gchar* _tmp4_ = NULL;
				const gchar* _tmp5_ = NULL;
				_tmp4_ = name;
				_tmp5_ = option;
				ldefault_apps_dbus_backend_SessionLaunch (self, _tmp4_, _tmp5_);
				break;
			}
		}
	}
}


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


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


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


gchar** ldefault_apps_dbus_backend_SessionSupport (LDefaultAppsDbusBackend* self, int* result_length1) {
	gchar** result = NULL;
	gchar** return_value = NULL;
	gint return_value_length1 = 0;
	gint _return_value_size_ = 0;
	gchar** _tmp7_ = NULL;
	gint _tmp7__length1 = 0;
	GError * _inner_error_ = NULL;
	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_ = NULL;
		gint _tmp2_ = 0;
		gchar** _tmp3_ = NULL;
		gint _tmp0__length1 = 0;
		gint __tmp0__size_ = 0;
		gchar** _tmp4_ = NULL;
		gint _tmp4__length1 = 0;
		_tmp1_ = self->priv->dbus_lxsession;
		_tmp3_ = ldefault_apps_dbus_lxsession_SessionSupport (_tmp1_, &_tmp2_, &_inner_error_);
		_tmp0_ = _tmp3_;
		_tmp0__length1 = _tmp2_;
		__tmp0__size_ = _tmp0__length1;
		if (G_UNLIKELY (_inner_error_ != NULL)) {
			if (_inner_error_->domain == G_IO_ERROR) {
				goto __catch23_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_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
			g_clear_error (&_inner_error_);
			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 __finally23;
	__catch23_g_io_error:
	{
		GError* err = NULL;
		GError* _tmp5_ = NULL;
		const gchar* _tmp6_ = NULL;
		err = _inner_error_;
		_inner_error_ = NULL;
		_tmp5_ = err;
		_tmp6_ = _tmp5_->message;
		g_warning ("dbus-backend.vala:161: %s", _tmp6_);
		_g_error_free0 (err);
	}
	__finally23:
	if (G_UNLIKELY (_inner_error_ != 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_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
		g_clear_error (&_inner_error_);
		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, int* result_length1) {
	gchar** result = NULL;
	gchar** return_value = NULL;
	gint return_value_length1 = 0;
	gint _return_value_size_ = 0;
	gchar** _tmp8_ = NULL;
	gint _tmp8__length1 = 0;
	GError * _inner_error_ = NULL;
	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_ = NULL;
		const gchar* _tmp2_ = NULL;
		gint _tmp3_ = 0;
		gchar** _tmp4_ = NULL;
		gint _tmp0__length1 = 0;
		gint __tmp0__size_ = 0;
		gchar** _tmp5_ = NULL;
		gint _tmp5__length1 = 0;
		_tmp1_ = self->priv->dbus_lxsession;
		_tmp2_ = key1;
		_tmp4_ = ldefault_apps_dbus_lxsession_SessionSupportDetail (_tmp1_, _tmp2_, &_tmp3_, &_inner_error_);
		_tmp0_ = _tmp4_;
		_tmp0__length1 = _tmp3_;
		__tmp0__size_ = _tmp0__length1;
		if (G_UNLIKELY (_inner_error_ != NULL)) {
			if (_inner_error_->domain == G_IO_ERROR) {
				goto __catch24_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_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
			g_clear_error (&_inner_error_);
			return NULL;
		}
		_tmp5_ = _tmp0_;
		_tmp5__length1 = _tmp0__length1;
		_tmp0_ = NULL;
		_tmp0__length1 = 0;
		return_value = (_vala_array_free (return_value, return_value_length1, (GDestroyNotify) g_free), NULL);
		return_value = _tmp5_;
		return_value_length1 = _tmp5__length1;
		_return_value_size_ = return_value_length1;
		_tmp0_ = (_vala_array_free (_tmp0_, _tmp0__length1, (GDestroyNotify) g_free), NULL);
	}
	goto __finally24;
	__catch24_g_io_error:
	{
		GError* err = NULL;
		GError* _tmp6_ = NULL;
		const gchar* _tmp7_ = NULL;
		err = _inner_error_;
		_inner_error_ = NULL;
		_tmp6_ = err;
		_tmp7_ = _tmp6_->message;
		g_warning ("dbus-backend.vala:175: %s", _tmp7_);
		_g_error_free0 (err);
	}
	__finally24:
	if (G_UNLIKELY (_inner_error_ != 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_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
		g_clear_error (&_inner_error_);
		return NULL;
	}
	_tmp8_ = return_value;
	_tmp8__length1 = return_value_length1;
	if (result_length1) {
		*result_length1 = _tmp8__length1;
	}
	result = _tmp8_;
	return result;
}


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


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


gchar* ldefault_apps_dbus_backend_KeymapGet (LDefaultAppsDbusBackend* self, const gchar* key1, const gchar* key2) {
	gchar* result = NULL;
	const gchar* _tmp0_ = NULL;
	gchar* return_value = NULL;
	GError * _inner_error_ = NULL;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (key1 != NULL, NULL);
	_tmp0_ = key2;
	if (_tmp0_ == NULL) {
		key2 = "";
	}
	return_value = NULL;
	{
		gchar* _tmp1_ = NULL;
		LDefaultAppsDbusLxsession* _tmp2_ = NULL;
		const gchar* _tmp3_ = NULL;
		const gchar* _tmp4_ = NULL;
		gchar* _tmp5_ = NULL;
		gchar* _tmp6_ = NULL;
		_tmp2_ = self->priv->dbus_lxsession;
		_tmp3_ = key1;
		_tmp4_ = key2;
		_tmp5_ = ldefault_apps_dbus_lxsession_KeymapGet (_tmp2_, _tmp3_, _tmp4_, &_inner_error_);
		_tmp1_ = _tmp5_;
		if (G_UNLIKELY (_inner_error_ != NULL)) {
			if (_inner_error_->domain == G_IO_ERROR) {
				goto __catch27_g_io_error;
			}
			_g_free0 (return_value);
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
			g_clear_error (&_inner_error_);
			return NULL;
		}
		_tmp6_ = _tmp1_;
		_tmp1_ = NULL;
		_g_free0 (return_value);
		return_value = _tmp6_;
		_g_free0 (_tmp1_);
	}
	goto __finally27;
	__catch27_g_io_error:
	{
		GError* err = NULL;
		GError* _tmp7_ = NULL;
		const gchar* _tmp8_ = NULL;
		err = _inner_error_;
		_inner_error_ = NULL;
		_tmp7_ = err;
		_tmp8_ = _tmp7_->message;
		g_warning ("dbus-backend.vala:221: %s", _tmp8_);
		_g_error_free0 (err);
	}
	__finally27:
	if (G_UNLIKELY (_inner_error_ != NULL)) {
		_g_free0 (return_value);
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
		g_clear_error (&_inner_error_);
		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) {
	const gchar* _tmp0_ = NULL;
	GError * _inner_error_ = NULL;
	g_return_if_fail (self != NULL);
	g_return_if_fail (key1 != NULL);
	g_return_if_fail (command_to_set != NULL);
	_tmp0_ = key2;
	if (_tmp0_ == NULL) {
		key2 = "";
	}
	{
		LDefaultAppsDbusLxsession* _tmp1_ = NULL;
		const gchar* _tmp2_ = NULL;
		const gchar* _tmp3_ = NULL;
		const gchar* _tmp4_ = NULL;
		_tmp1_ = self->priv->dbus_lxsession;
		_tmp2_ = key1;
		_tmp3_ = key2;
		_tmp4_ = command_to_set;
		ldefault_apps_dbus_lxsession_StateSet (_tmp1_, _tmp2_, _tmp3_, _tmp4_, &_inner_error_);
		if (G_UNLIKELY (_inner_error_ != NULL)) {
			if (_inner_error_->domain == G_IO_ERROR) {
				goto __catch28_g_io_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
			g_clear_error (&_inner_error_);
			return;
		}
	}
	goto __finally28;
	__catch28_g_io_error:
	{
		GError* err = NULL;
		GError* _tmp5_ = NULL;
		const gchar* _tmp6_ = NULL;
		err = _inner_error_;
		_inner_error_ = NULL;
		_tmp5_ = err;
		_tmp6_ = _tmp5_->message;
		g_warning ("dbus-backend.vala:238: %s", _tmp6_);
		_g_error_free0 (err);
	}
	__finally28:
	if (G_UNLIKELY (_inner_error_ != NULL)) {
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
		g_clear_error (&_inner_error_);
		return;
	}
}


gchar* ldefault_apps_dbus_backend_StateGet (LDefaultAppsDbusBackend* self, const gchar* key1, const gchar* key2) {
	gchar* result = NULL;
	gchar* return_value = NULL;
	const gchar* _tmp0_ = NULL;
	GError * _inner_error_ = NULL;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (key1 != NULL, NULL);
	return_value = NULL;
	_tmp0_ = key2;
	if (_tmp0_ == NULL) {
		key2 = "";
	}
	{
		gchar* _tmp1_ = NULL;
		LDefaultAppsDbusLxsession* _tmp2_ = NULL;
		const gchar* _tmp3_ = NULL;
		const gchar* _tmp4_ = NULL;
		gchar* _tmp5_ = NULL;
		gchar* _tmp6_ = NULL;
		_tmp2_ = self->priv->dbus_lxsession;
		_tmp3_ = key1;
		_tmp4_ = key2;
		_tmp5_ = ldefault_apps_dbus_lxsession_StateGet (_tmp2_, _tmp3_, _tmp4_, &_inner_error_);
		_tmp1_ = _tmp5_;
		if (G_UNLIKELY (_inner_error_ != NULL)) {
			if (_inner_error_->domain == G_IO_ERROR) {
				goto __catch29_g_io_error;
			}
			_g_free0 (return_value);
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
			g_clear_error (&_inner_error_);
			return NULL;
		}
		_tmp6_ = _tmp1_;
		_tmp1_ = NULL;
		_g_free0 (return_value);
		return_value = _tmp6_;
		_g_free0 (_tmp1_);
	}
	goto __finally29;
	__catch29_g_io_error:
	{
		GError* err = NULL;
		GError* _tmp7_ = NULL;
		const gchar* _tmp8_ = NULL;
		err = _inner_error_;
		_inner_error_ = NULL;
		_tmp7_ = err;
		_tmp8_ = _tmp7_->message;
		g_warning ("dbus-backend.vala:255: %s", _tmp8_);
		_g_error_free0 (err);
	}
	__finally29:
	if (G_UNLIKELY (_inner_error_ != NULL)) {
		_g_free0 (return_value);
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
		g_clear_error (&_inner_error_);
		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) {
	const gchar* _tmp0_ = NULL;
	GError * _inner_error_ = NULL;
	g_return_if_fail (self != NULL);
	g_return_if_fail (key1 != NULL);
	g_return_if_fail (command_to_set != NULL);
	_tmp0_ = key2;
	if (_tmp0_ == NULL) {
		key2 = "";
	}
	{
		LDefaultAppsDbusLxsession* _tmp1_ = NULL;
		const gchar* _tmp2_ = NULL;
		const gchar* _tmp3_ = NULL;
		const gchar* _tmp4_ = NULL;
		_tmp1_ = self->priv->dbus_lxsession;
		_tmp2_ = key1;
		_tmp3_ = key2;
		_tmp4_ = command_to_set;
		ldefault_apps_dbus_lxsession_DbusSet (_tmp1_, _tmp2_, _tmp3_, _tmp4_, &_inner_error_);
		if (G_UNLIKELY (_inner_error_ != NULL)) {
			if (_inner_error_->domain == G_IO_ERROR) {
				goto __catch30_g_io_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
			g_clear_error (&_inner_error_);
			return;
		}
	}
	goto __finally30;
	__catch30_g_io_error:
	{
		GError* err = NULL;
		GError* _tmp5_ = NULL;
		const gchar* _tmp6_ = NULL;
		err = _inner_error_;
		_inner_error_ = NULL;
		_tmp5_ = err;
		_tmp6_ = _tmp5_->message;
		g_warning ("dbus-backend.vala:272: %s", _tmp6_);
		_g_error_free0 (err);
	}
	__finally30:
	if (G_UNLIKELY (_inner_error_ != NULL)) {
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
		g_clear_error (&_inner_error_);
		return;
	}
}


gchar* ldefault_apps_dbus_backend_DbusGet (LDefaultAppsDbusBackend* self, const gchar* key1, const gchar* key2) {
	gchar* result = NULL;
	gchar* return_value = NULL;
	const gchar* _tmp0_ = NULL;
	GError * _inner_error_ = NULL;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (key1 != NULL, NULL);
	return_value = NULL;
	_tmp0_ = key2;
	if (_tmp0_ == NULL) {
		key2 = "";
	}
	{
		gchar* _tmp1_ = NULL;
		LDefaultAppsDbusLxsession* _tmp2_ = NULL;
		const gchar* _tmp3_ = NULL;
		const gchar* _tmp4_ = NULL;
		gchar* _tmp5_ = NULL;
		gchar* _tmp6_ = NULL;
		_tmp2_ = self->priv->dbus_lxsession;
		_tmp3_ = key1;
		_tmp4_ = key2;
		_tmp5_ = ldefault_apps_dbus_lxsession_DbusGet (_tmp2_, _tmp3_, _tmp4_, &_inner_error_);
		_tmp1_ = _tmp5_;
		if (G_UNLIKELY (_inner_error_ != NULL)) {
			if (_inner_error_->domain == G_IO_ERROR) {
				goto __catch31_g_io_error;
			}
			_g_free0 (return_value);
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
			g_clear_error (&_inner_error_);
			return NULL;
		}
		_tmp6_ = _tmp1_;
		_tmp1_ = NULL;
		_g_free0 (return_value);
		return_value = _tmp6_;
		_g_free0 (_tmp1_);
	}
	goto __finally31;
	__catch31_g_io_error:
	{
		GError* err = NULL;
		GError* _tmp7_ = NULL;
		const gchar* _tmp8_ = NULL;
		err = _inner_error_;
		_inner_error_ = NULL;
		_tmp7_ = err;
		_tmp8_ = _tmp7_->message;
		g_warning ("dbus-backend.vala:289: %s", _tmp8_);
		_g_error_free0 (err);
	}
	__finally31:
	if (G_UNLIKELY (_inner_error_ != NULL)) {
		_g_free0 (return_value);
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
		g_clear_error (&_inner_error_);
		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) {
	const gchar* _tmp0_ = NULL;
	GError * _inner_error_ = NULL;
	g_return_if_fail (self != NULL);
	g_return_if_fail (key1 != NULL);
	g_return_if_fail (command_to_set != NULL);
	_tmp0_ = key2;
	if (_tmp0_ == NULL) {
		key2 = "";
	}
	{
		LDefaultAppsDbusLxsession* _tmp1_ = NULL;
		const gchar* _tmp2_ = NULL;
		const gchar* _tmp3_ = NULL;
		const gchar* _tmp4_ = NULL;
		_tmp1_ = self->priv->dbus_lxsession;
		_tmp2_ = key1;
		_tmp3_ = key2;
		_tmp4_ = command_to_set;
		ldefault_apps_dbus_lxsession_EnvironmentSet (_tmp1_, _tmp2_, _tmp3_, _tmp4_, &_inner_error_);
		if (G_UNLIKELY (_inner_error_ != NULL)) {
			if (_inner_error_->domain == G_IO_ERROR) {
				goto __catch32_g_io_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
			g_clear_error (&_inner_error_);
			return;
		}
	}
	goto __finally32;
	__catch32_g_io_error:
	{
		GError* err = NULL;
		GError* _tmp5_ = NULL;
		const gchar* _tmp6_ = NULL;
		err = _inner_error_;
		_inner_error_ = NULL;
		_tmp5_ = err;
		_tmp6_ = _tmp5_->message;
		g_warning ("dbus-backend.vala:306: %s", _tmp6_);
		_g_error_free0 (err);
	}
	__finally32:
	if (G_UNLIKELY (_inner_error_ != NULL)) {
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
		g_clear_error (&_inner_error_);
		return;
	}
}


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


static void ldefault_apps_dbus_backend_class_init (LDefaultAppsDbusBackendClass * klass) {
	ldefault_apps_dbus_backend_parent_class = g_type_class_peek_parent (klass);
	g_type_class_add_private (klass, sizeof (LDefaultAppsDbusBackendPrivate));
	G_OBJECT_CLASS (klass)->finalize = ldefault_apps_dbus_backend_finalize;
}


static void ldefault_apps_dbus_backend_instance_init (LDefaultAppsDbusBackend * self) {
	self->priv = LDEFAULT_APPS_DBUS_BACKEND_GET_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);
}


GType ldefault_apps_dbus_backend_get_type (void) {
	static volatile gsize ldefault_apps_dbus_backend_type_id__volatile = 0;
	if (g_once_init_enter (&ldefault_apps_dbus_backend_type_id__volatile)) {
		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);
		g_once_init_leave (&ldefault_apps_dbus_backend_type_id__volatile, ldefault_apps_dbus_backend_type_id);
	}
	return ldefault_apps_dbus_backend_type_id__volatile;
}


static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) {
	if ((array != NULL) && (destroy_func != NULL)) {
		int 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, gint array_length, GDestroyNotify destroy_func) {
	_vala_array_destroy (array, array_length, destroy_func);
	g_free (array);
}



