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

/* 
 *      Copyright 2011 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 2 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, write to the Free Software
 *      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
 *      MA 02110-1301, USA.
 */

#include <stdlib.h>
#include <string.h>
#include <glib.h>
#include <glib-object.h>
#include <glib/gi18n-lib.h>
#include <gtk/gtk.h>
#include <gio/gio.h>
#include <fcntl.h>
#include <sys/types.h>
#include <unistd.h>
#include <glib/gstdio.h>

#define GETTEXT_PACKAGE "lxsession"
#if !defined(VALA_STRICT_C)
#if !defined(__clang__) && defined(__GNUC__) && (__GNUC__ >= 14)
#pragma GCC diagnostic warning "-Wincompatible-pointer-types"
#elif defined(__clang__) && (__clang_major__ >= 16)
#pragma clang diagnostic ignored "-Wincompatible-function-pointer-types"
#pragma clang diagnostic ignored "-Wincompatible-pointer-types"
#endif
#endif
#if !defined(VALA_EXTERN)
#if defined(_MSC_VER)
#define VALA_EXTERN __declspec(dllexport) extern
#elif __GNUC__ >= 4
#define VALA_EXTERN __attribute__((visibility("default"))) extern
#else
#define VALA_EXTERN extern
#endif
#endif

#define LXSESSION_TYPE_LX_SIGNALS (lxsession_lx_signals_get_type ())
#define LXSESSION_LX_SIGNALS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_LX_SIGNALS, LxsessionLxSignals))
#define LXSESSION_LX_SIGNALS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_LX_SIGNALS, LxsessionLxSignalsClass))
#define LXSESSION_IS_LX_SIGNALS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_LX_SIGNALS))
#define LXSESSION_IS_LX_SIGNALS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_LX_SIGNALS))
#define LXSESSION_LX_SIGNALS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_LX_SIGNALS, LxsessionLxSignalsClass))

typedef struct _LxsessionLxSignals LxsessionLxSignals;
typedef struct _LxsessionLxSignalsClass LxsessionLxSignalsClass;

#define LXSESSION_TYPE_LXSESSION_CONFIG (lxsession_lxsession_config_get_type ())
#define LXSESSION_LXSESSION_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_LXSESSION_CONFIG, LxsessionLxsessionConfig))
#define LXSESSION_LXSESSION_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_LXSESSION_CONFIG, LxsessionLxsessionConfigClass))
#define LXSESSION_IS_LXSESSION_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_LXSESSION_CONFIG))
#define LXSESSION_IS_LXSESSION_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_LXSESSION_CONFIG))
#define LXSESSION_LXSESSION_CONFIG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_LXSESSION_CONFIG, LxsessionLxsessionConfigClass))

typedef struct _LxsessionLxsessionConfig LxsessionLxsessionConfig;
typedef struct _LxsessionLxsessionConfigClass LxsessionLxsessionConfigClass;

#define LXSESSION_TYPE_LXSESSION_CONFIG_KEY_FILE (lxsession_lxsession_config_key_file_get_type ())
#define LXSESSION_LXSESSION_CONFIG_KEY_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_LXSESSION_CONFIG_KEY_FILE, LxsessionLxsessionConfigKeyFile))
#define LXSESSION_LXSESSION_CONFIG_KEY_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_LXSESSION_CONFIG_KEY_FILE, LxsessionLxsessionConfigKeyFileClass))
#define LXSESSION_IS_LXSESSION_CONFIG_KEY_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_LXSESSION_CONFIG_KEY_FILE))
#define LXSESSION_IS_LXSESSION_CONFIG_KEY_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_LXSESSION_CONFIG_KEY_FILE))
#define LXSESSION_LXSESSION_CONFIG_KEY_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_LXSESSION_CONFIG_KEY_FILE, LxsessionLxsessionConfigKeyFileClass))

typedef struct _LxsessionLxsessionConfigKeyFile LxsessionLxsessionConfigKeyFile;
typedef struct _LxsessionLxsessionConfigKeyFileClass LxsessionLxsessionConfigKeyFileClass;

#define LXSESSION_TYPE_APP_OBJECT (lxsession_app_object_get_type ())
#define LXSESSION_APP_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_APP_OBJECT, LxsessionAppObject))
#define LXSESSION_APP_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_APP_OBJECT, LxsessionAppObjectClass))
#define LXSESSION_IS_APP_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_APP_OBJECT))
#define LXSESSION_IS_APP_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_APP_OBJECT))
#define LXSESSION_APP_OBJECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_APP_OBJECT, LxsessionAppObjectClass))

typedef struct _LxsessionAppObject LxsessionAppObject;
typedef struct _LxsessionAppObjectClass LxsessionAppObjectClass;

#define LXSESSION_TYPE_SIMPLE_APP_OBJECT (lxsession_simple_app_object_get_type ())
#define LXSESSION_SIMPLE_APP_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_SIMPLE_APP_OBJECT, LxsessionSimpleAppObject))
#define LXSESSION_SIMPLE_APP_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_SIMPLE_APP_OBJECT, LxsessionSimpleAppObjectClass))
#define LXSESSION_IS_SIMPLE_APP_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_SIMPLE_APP_OBJECT))
#define LXSESSION_IS_SIMPLE_APP_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_SIMPLE_APP_OBJECT))
#define LXSESSION_SIMPLE_APP_OBJECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_SIMPLE_APP_OBJECT, LxsessionSimpleAppObjectClass))

typedef struct _LxsessionSimpleAppObject LxsessionSimpleAppObject;
typedef struct _LxsessionSimpleAppObjectClass LxsessionSimpleAppObjectClass;

#define LXSESSION_TYPE_PANEL_APP (lxsession_panel_app_get_type ())
#define LXSESSION_PANEL_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_PANEL_APP, LxsessionPanelApp))
#define LXSESSION_PANEL_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_PANEL_APP, LxsessionPanelAppClass))
#define LXSESSION_IS_PANEL_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_PANEL_APP))
#define LXSESSION_IS_PANEL_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_PANEL_APP))
#define LXSESSION_PANEL_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_PANEL_APP, LxsessionPanelAppClass))

typedef struct _LxsessionPanelApp LxsessionPanelApp;
typedef struct _LxsessionPanelAppClass LxsessionPanelAppClass;

#define LXSESSION_TYPE_DOCK_APP (lxsession_dock_app_get_type ())
#define LXSESSION_DOCK_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_DOCK_APP, LxsessionDockApp))
#define LXSESSION_DOCK_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_DOCK_APP, LxsessionDockAppClass))
#define LXSESSION_IS_DOCK_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_DOCK_APP))
#define LXSESSION_IS_DOCK_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_DOCK_APP))
#define LXSESSION_DOCK_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_DOCK_APP, LxsessionDockAppClass))

typedef struct _LxsessionDockApp LxsessionDockApp;
typedef struct _LxsessionDockAppClass LxsessionDockAppClass;

#define LXSESSION_TYPE_WINDOWS_MANAGER_APP (lxsession_windows_manager_app_get_type ())
#define LXSESSION_WINDOWS_MANAGER_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_WINDOWS_MANAGER_APP, LxsessionWindowsManagerApp))
#define LXSESSION_WINDOWS_MANAGER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_WINDOWS_MANAGER_APP, LxsessionWindowsManagerAppClass))
#define LXSESSION_IS_WINDOWS_MANAGER_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_WINDOWS_MANAGER_APP))
#define LXSESSION_IS_WINDOWS_MANAGER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_WINDOWS_MANAGER_APP))
#define LXSESSION_WINDOWS_MANAGER_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_WINDOWS_MANAGER_APP, LxsessionWindowsManagerAppClass))

typedef struct _LxsessionWindowsManagerApp LxsessionWindowsManagerApp;
typedef struct _LxsessionWindowsManagerAppClass LxsessionWindowsManagerAppClass;

#define LXSESSION_TYPE_FILE_MANAGER_APP (lxsession_file_manager_app_get_type ())
#define LXSESSION_FILE_MANAGER_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_FILE_MANAGER_APP, LxsessionFileManagerApp))
#define LXSESSION_FILE_MANAGER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_FILE_MANAGER_APP, LxsessionFileManagerAppClass))
#define LXSESSION_IS_FILE_MANAGER_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_FILE_MANAGER_APP))
#define LXSESSION_IS_FILE_MANAGER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_FILE_MANAGER_APP))
#define LXSESSION_FILE_MANAGER_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_FILE_MANAGER_APP, LxsessionFileManagerAppClass))

typedef struct _LxsessionFileManagerApp LxsessionFileManagerApp;
typedef struct _LxsessionFileManagerAppClass LxsessionFileManagerAppClass;

#define LXSESSION_TYPE_DESKTOP_APP (lxsession_desktop_app_get_type ())
#define LXSESSION_DESKTOP_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_DESKTOP_APP, LxsessionDesktopApp))
#define LXSESSION_DESKTOP_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_DESKTOP_APP, LxsessionDesktopAppClass))
#define LXSESSION_IS_DESKTOP_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_DESKTOP_APP))
#define LXSESSION_IS_DESKTOP_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_DESKTOP_APP))
#define LXSESSION_DESKTOP_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_DESKTOP_APP, LxsessionDesktopAppClass))

typedef struct _LxsessionDesktopApp LxsessionDesktopApp;
typedef struct _LxsessionDesktopAppClass LxsessionDesktopAppClass;

#define LXSESSION_TYPE_POLKIT_APP (lxsession_polkit_app_get_type ())
#define LXSESSION_POLKIT_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_POLKIT_APP, LxsessionPolkitApp))
#define LXSESSION_POLKIT_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_POLKIT_APP, LxsessionPolkitAppClass))
#define LXSESSION_IS_POLKIT_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_POLKIT_APP))
#define LXSESSION_IS_POLKIT_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_POLKIT_APP))
#define LXSESSION_POLKIT_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_POLKIT_APP, LxsessionPolkitAppClass))

typedef struct _LxsessionPolkitApp LxsessionPolkitApp;
typedef struct _LxsessionPolkitAppClass LxsessionPolkitAppClass;

#define LXSESSION_TYPE_SCREENSAVER_APP (lxsession_screensaver_app_get_type ())
#define LXSESSION_SCREENSAVER_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_SCREENSAVER_APP, LxsessionScreensaverApp))
#define LXSESSION_SCREENSAVER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_SCREENSAVER_APP, LxsessionScreensaverAppClass))
#define LXSESSION_IS_SCREENSAVER_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_SCREENSAVER_APP))
#define LXSESSION_IS_SCREENSAVER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_SCREENSAVER_APP))
#define LXSESSION_SCREENSAVER_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_SCREENSAVER_APP, LxsessionScreensaverAppClass))

typedef struct _LxsessionScreensaverApp LxsessionScreensaverApp;
typedef struct _LxsessionScreensaverAppClass LxsessionScreensaverAppClass;

#define LXSESSION_TYPE_POWER_MANAGER_APP (lxsession_power_manager_app_get_type ())
#define LXSESSION_POWER_MANAGER_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_POWER_MANAGER_APP, LxsessionPowerManagerApp))
#define LXSESSION_POWER_MANAGER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_POWER_MANAGER_APP, LxsessionPowerManagerAppClass))
#define LXSESSION_IS_POWER_MANAGER_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_POWER_MANAGER_APP))
#define LXSESSION_IS_POWER_MANAGER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_POWER_MANAGER_APP))
#define LXSESSION_POWER_MANAGER_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_POWER_MANAGER_APP, LxsessionPowerManagerAppClass))

typedef struct _LxsessionPowerManagerApp LxsessionPowerManagerApp;
typedef struct _LxsessionPowerManagerAppClass LxsessionPowerManagerAppClass;

#define LXSESSION_TYPE_NETWORK_GUI_APP (lxsession_network_gui_app_get_type ())
#define LXSESSION_NETWORK_GUI_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_NETWORK_GUI_APP, LxsessionNetworkGuiApp))
#define LXSESSION_NETWORK_GUI_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_NETWORK_GUI_APP, LxsessionNetworkGuiAppClass))
#define LXSESSION_IS_NETWORK_GUI_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_NETWORK_GUI_APP))
#define LXSESSION_IS_NETWORK_GUI_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_NETWORK_GUI_APP))
#define LXSESSION_NETWORK_GUI_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_NETWORK_GUI_APP, LxsessionNetworkGuiAppClass))

typedef struct _LxsessionNetworkGuiApp LxsessionNetworkGuiApp;
typedef struct _LxsessionNetworkGuiAppClass LxsessionNetworkGuiAppClass;

#define LXSESSION_TYPE_GENERIC_SIMPLE_APP (lxsession_generic_simple_app_get_type ())
#define LXSESSION_GENERIC_SIMPLE_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_GENERIC_SIMPLE_APP, LxsessionGenericSimpleApp))
#define LXSESSION_GENERIC_SIMPLE_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_GENERIC_SIMPLE_APP, LxsessionGenericSimpleAppClass))
#define LXSESSION_IS_GENERIC_SIMPLE_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_GENERIC_SIMPLE_APP))
#define LXSESSION_IS_GENERIC_SIMPLE_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_GENERIC_SIMPLE_APP))
#define LXSESSION_GENERIC_SIMPLE_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_GENERIC_SIMPLE_APP, LxsessionGenericSimpleAppClass))

typedef struct _LxsessionGenericSimpleApp LxsessionGenericSimpleApp;
typedef struct _LxsessionGenericSimpleAppClass LxsessionGenericSimpleAppClass;

#define LXSESSION_TYPE_AUDIO_MANAGER_APP (lxsession_audio_manager_app_get_type ())
#define LXSESSION_AUDIO_MANAGER_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_AUDIO_MANAGER_APP, LxsessionAudioManagerApp))
#define LXSESSION_AUDIO_MANAGER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_AUDIO_MANAGER_APP, LxsessionAudioManagerAppClass))
#define LXSESSION_IS_AUDIO_MANAGER_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_AUDIO_MANAGER_APP))
#define LXSESSION_IS_AUDIO_MANAGER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_AUDIO_MANAGER_APP))
#define LXSESSION_AUDIO_MANAGER_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_AUDIO_MANAGER_APP, LxsessionAudioManagerAppClass))

typedef struct _LxsessionAudioManagerApp LxsessionAudioManagerApp;
typedef struct _LxsessionAudioManagerAppClass LxsessionAudioManagerAppClass;

#define LXSESSION_TYPE_QUIT_MANAGER_APP (lxsession_quit_manager_app_get_type ())
#define LXSESSION_QUIT_MANAGER_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_QUIT_MANAGER_APP, LxsessionQuitManagerApp))
#define LXSESSION_QUIT_MANAGER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_QUIT_MANAGER_APP, LxsessionQuitManagerAppClass))
#define LXSESSION_IS_QUIT_MANAGER_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_QUIT_MANAGER_APP))
#define LXSESSION_IS_QUIT_MANAGER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_QUIT_MANAGER_APP))
#define LXSESSION_QUIT_MANAGER_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_QUIT_MANAGER_APP, LxsessionQuitManagerAppClass))

typedef struct _LxsessionQuitManagerApp LxsessionQuitManagerApp;
typedef struct _LxsessionQuitManagerAppClass LxsessionQuitManagerAppClass;

#define LXSESSION_TYPE_WORKSPACE_MANAGER_APP (lxsession_workspace_manager_app_get_type ())
#define LXSESSION_WORKSPACE_MANAGER_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_WORKSPACE_MANAGER_APP, LxsessionWorkspaceManagerApp))
#define LXSESSION_WORKSPACE_MANAGER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_WORKSPACE_MANAGER_APP, LxsessionWorkspaceManagerAppClass))
#define LXSESSION_IS_WORKSPACE_MANAGER_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_WORKSPACE_MANAGER_APP))
#define LXSESSION_IS_WORKSPACE_MANAGER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_WORKSPACE_MANAGER_APP))
#define LXSESSION_WORKSPACE_MANAGER_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_WORKSPACE_MANAGER_APP, LxsessionWorkspaceManagerAppClass))

typedef struct _LxsessionWorkspaceManagerApp LxsessionWorkspaceManagerApp;
typedef struct _LxsessionWorkspaceManagerAppClass LxsessionWorkspaceManagerAppClass;

#define LXSESSION_TYPE_LAUNCHER_MANAGER_APP (lxsession_launcher_manager_app_get_type ())
#define LXSESSION_LAUNCHER_MANAGER_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_LAUNCHER_MANAGER_APP, LxsessionLauncherManagerApp))
#define LXSESSION_LAUNCHER_MANAGER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_LAUNCHER_MANAGER_APP, LxsessionLauncherManagerAppClass))
#define LXSESSION_IS_LAUNCHER_MANAGER_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_LAUNCHER_MANAGER_APP))
#define LXSESSION_IS_LAUNCHER_MANAGER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_LAUNCHER_MANAGER_APP))
#define LXSESSION_LAUNCHER_MANAGER_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_LAUNCHER_MANAGER_APP, LxsessionLauncherManagerAppClass))

typedef struct _LxsessionLauncherManagerApp LxsessionLauncherManagerApp;
typedef struct _LxsessionLauncherManagerAppClass LxsessionLauncherManagerAppClass;

#define LXSESSION_TYPE_TERMINAL_MANAGER_APP (lxsession_terminal_manager_app_get_type ())
#define LXSESSION_TERMINAL_MANAGER_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_TERMINAL_MANAGER_APP, LxsessionTerminalManagerApp))
#define LXSESSION_TERMINAL_MANAGER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_TERMINAL_MANAGER_APP, LxsessionTerminalManagerAppClass))
#define LXSESSION_IS_TERMINAL_MANAGER_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_TERMINAL_MANAGER_APP))
#define LXSESSION_IS_TERMINAL_MANAGER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_TERMINAL_MANAGER_APP))
#define LXSESSION_TERMINAL_MANAGER_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_TERMINAL_MANAGER_APP, LxsessionTerminalManagerAppClass))

typedef struct _LxsessionTerminalManagerApp LxsessionTerminalManagerApp;
typedef struct _LxsessionTerminalManagerAppClass LxsessionTerminalManagerAppClass;

#define LXSESSION_TYPE_SCREENSHOT_MANAGER_APP (lxsession_screenshot_manager_app_get_type ())
#define LXSESSION_SCREENSHOT_MANAGER_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_SCREENSHOT_MANAGER_APP, LxsessionScreenshotManagerApp))
#define LXSESSION_SCREENSHOT_MANAGER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_SCREENSHOT_MANAGER_APP, LxsessionScreenshotManagerAppClass))
#define LXSESSION_IS_SCREENSHOT_MANAGER_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_SCREENSHOT_MANAGER_APP))
#define LXSESSION_IS_SCREENSHOT_MANAGER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_SCREENSHOT_MANAGER_APP))
#define LXSESSION_SCREENSHOT_MANAGER_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_SCREENSHOT_MANAGER_APP, LxsessionScreenshotManagerAppClass))

typedef struct _LxsessionScreenshotManagerApp LxsessionScreenshotManagerApp;
typedef struct _LxsessionScreenshotManagerAppClass LxsessionScreenshotManagerAppClass;

#define LXSESSION_TYPE_OPTION (lxsession_option_get_type ())
#define LXSESSION_OPTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_OPTION, LxsessionOption))
#define LXSESSION_OPTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_OPTION, LxsessionOptionClass))
#define LXSESSION_IS_OPTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_OPTION))
#define LXSESSION_IS_OPTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_OPTION))
#define LXSESSION_OPTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_OPTION, LxsessionOptionClass))

typedef struct _LxsessionOption LxsessionOption;
typedef struct _LxsessionOptionClass LxsessionOptionClass;

#define LXSESSION_TYPE_CLIPBOARD_OPTION (lxsession_clipboard_option_get_type ())
#define LXSESSION_CLIPBOARD_OPTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_CLIPBOARD_OPTION, LxsessionClipboardOption))
#define LXSESSION_CLIPBOARD_OPTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_CLIPBOARD_OPTION, LxsessionClipboardOptionClass))
#define LXSESSION_IS_CLIPBOARD_OPTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_CLIPBOARD_OPTION))
#define LXSESSION_IS_CLIPBOARD_OPTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_CLIPBOARD_OPTION))
#define LXSESSION_CLIPBOARD_OPTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_CLIPBOARD_OPTION, LxsessionClipboardOptionClass))

typedef struct _LxsessionClipboardOption LxsessionClipboardOption;
typedef struct _LxsessionClipboardOptionClass LxsessionClipboardOptionClass;

#define LXSESSION_TYPE_KEYMAP_OPTION (lxsession_keymap_option_get_type ())
#define LXSESSION_KEYMAP_OPTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_KEYMAP_OPTION, LxsessionKeymapOption))
#define LXSESSION_KEYMAP_OPTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_KEYMAP_OPTION, LxsessionKeymapOptionClass))
#define LXSESSION_IS_KEYMAP_OPTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_KEYMAP_OPTION))
#define LXSESSION_IS_KEYMAP_OPTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_KEYMAP_OPTION))
#define LXSESSION_KEYMAP_OPTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_KEYMAP_OPTION, LxsessionKeymapOptionClass))

typedef struct _LxsessionKeymapOption LxsessionKeymapOption;
typedef struct _LxsessionKeymapOptionClass LxsessionKeymapOptionClass;

#define LXSESSION_TYPE_XRANDR_APP (lxsession_xrandr_app_get_type ())
#define LXSESSION_XRANDR_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_XRANDR_APP, LxsessionXrandrApp))
#define LXSESSION_XRANDR_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_XRANDR_APP, LxsessionXrandrAppClass))
#define LXSESSION_IS_XRANDR_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_XRANDR_APP))
#define LXSESSION_IS_XRANDR_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_XRANDR_APP))
#define LXSESSION_XRANDR_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_XRANDR_APP, LxsessionXrandrAppClass))

typedef struct _LxsessionXrandrApp LxsessionXrandrApp;
typedef struct _LxsessionXrandrAppClass LxsessionXrandrAppClass;

#define LXSESSION_TYPE_KEYRING_APP (lxsession_keyring_app_get_type ())
#define LXSESSION_KEYRING_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_KEYRING_APP, LxsessionKeyringApp))
#define LXSESSION_KEYRING_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_KEYRING_APP, LxsessionKeyringAppClass))
#define LXSESSION_IS_KEYRING_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_KEYRING_APP))
#define LXSESSION_IS_KEYRING_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_KEYRING_APP))
#define LXSESSION_KEYRING_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_KEYRING_APP, LxsessionKeyringAppClass))

typedef struct _LxsessionKeyringApp LxsessionKeyringApp;
typedef struct _LxsessionKeyringAppClass LxsessionKeyringAppClass;

#define LXSESSION_TYPE_A11Y_APP (lxsession_a11y_app_get_type ())
#define LXSESSION_A11Y_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_A11Y_APP, LxsessionA11yApp))
#define LXSESSION_A11Y_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_A11Y_APP, LxsessionA11yAppClass))
#define LXSESSION_IS_A11Y_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_A11Y_APP))
#define LXSESSION_IS_A11Y_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_A11Y_APP))
#define LXSESSION_A11Y_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_A11Y_APP, LxsessionA11yAppClass))

typedef struct _LxsessionA11yApp LxsessionA11yApp;
typedef struct _LxsessionA11yAppClass LxsessionA11yAppClass;

#define LXSESSION_TYPE_UPDATES_MANAGER_APP (lxsession_updates_manager_app_get_type ())
#define LXSESSION_UPDATES_MANAGER_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_UPDATES_MANAGER_APP, LxsessionUpdatesManagerApp))
#define LXSESSION_UPDATES_MANAGER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_UPDATES_MANAGER_APP, LxsessionUpdatesManagerAppClass))
#define LXSESSION_IS_UPDATES_MANAGER_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_UPDATES_MANAGER_APP))
#define LXSESSION_IS_UPDATES_MANAGER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_UPDATES_MANAGER_APP))
#define LXSESSION_UPDATES_MANAGER_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_UPDATES_MANAGER_APP, LxsessionUpdatesManagerAppClass))

typedef struct _LxsessionUpdatesManagerApp LxsessionUpdatesManagerApp;
typedef struct _LxsessionUpdatesManagerAppClass LxsessionUpdatesManagerAppClass;

#define LXSESSION_TYPE_CRASH_MANAGER_APP (lxsession_crash_manager_app_get_type ())
#define LXSESSION_CRASH_MANAGER_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_CRASH_MANAGER_APP, LxsessionCrashManagerApp))
#define LXSESSION_CRASH_MANAGER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_CRASH_MANAGER_APP, LxsessionCrashManagerAppClass))
#define LXSESSION_IS_CRASH_MANAGER_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_CRASH_MANAGER_APP))
#define LXSESSION_IS_CRASH_MANAGER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_CRASH_MANAGER_APP))
#define LXSESSION_CRASH_MANAGER_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_CRASH_MANAGER_APP, LxsessionCrashManagerAppClass))

typedef struct _LxsessionCrashManagerApp LxsessionCrashManagerApp;
typedef struct _LxsessionCrashManagerAppClass LxsessionCrashManagerAppClass;

#define LXSESSION_TYPE_PROXY_MANAGER_APP (lxsession_proxy_manager_app_get_type ())
#define LXSESSION_PROXY_MANAGER_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_PROXY_MANAGER_APP, LxsessionProxyManagerApp))
#define LXSESSION_PROXY_MANAGER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_PROXY_MANAGER_APP, LxsessionProxyManagerAppClass))
#define LXSESSION_IS_PROXY_MANAGER_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_PROXY_MANAGER_APP))
#define LXSESSION_IS_PROXY_MANAGER_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_PROXY_MANAGER_APP))
#define LXSESSION_PROXY_MANAGER_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_PROXY_MANAGER_APP, LxsessionProxyManagerAppClass))

typedef struct _LxsessionProxyManagerApp LxsessionProxyManagerApp;
typedef struct _LxsessionProxyManagerAppClass LxsessionProxyManagerAppClass;

#define LXSESSION_TYPE_UPSTART_USER_SESSION_OPTION (lxsession_upstart_user_session_option_get_type ())
#define LXSESSION_UPSTART_USER_SESSION_OPTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_UPSTART_USER_SESSION_OPTION, LxsessionUpstartUserSessionOption))
#define LXSESSION_UPSTART_USER_SESSION_OPTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_UPSTART_USER_SESSION_OPTION, LxsessionUpstartUserSessionOptionClass))
#define LXSESSION_IS_UPSTART_USER_SESSION_OPTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_UPSTART_USER_SESSION_OPTION))
#define LXSESSION_IS_UPSTART_USER_SESSION_OPTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_UPSTART_USER_SESSION_OPTION))
#define LXSESSION_UPSTART_USER_SESSION_OPTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_UPSTART_USER_SESSION_OPTION, LxsessionUpstartUserSessionOptionClass))

typedef struct _LxsessionUpstartUserSessionOption LxsessionUpstartUserSessionOption;
typedef struct _LxsessionUpstartUserSessionOptionClass LxsessionUpstartUserSessionOptionClass;

#define LXSESSION_TYPE_XSETTINGS_OPTION (lxsession_xsettings_option_get_type ())
#define LXSESSION_XSETTINGS_OPTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_XSETTINGS_OPTION, LxsessionXSettingsOption))
#define LXSESSION_XSETTINGS_OPTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_XSETTINGS_OPTION, LxsessionXSettingsOptionClass))
#define LXSESSION_IS_XSETTINGS_OPTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_XSETTINGS_OPTION))
#define LXSESSION_IS_XSETTINGS_OPTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_XSETTINGS_OPTION))
#define LXSESSION_XSETTINGS_OPTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_XSETTINGS_OPTION, LxsessionXSettingsOptionClass))

typedef struct _LxsessionXSettingsOption LxsessionXSettingsOption;
typedef struct _LxsessionXSettingsOptionClass LxsessionXSettingsOptionClass;

#define LXSESSION_TYPE_MAIN (lxsession_main_get_type ())
#define LXSESSION_MAIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_MAIN, LxsessionMain))
#define LXSESSION_MAIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_MAIN, LxsessionMainClass))
#define LXSESSION_IS_MAIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_MAIN))
#define LXSESSION_IS_MAIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_MAIN))
#define LXSESSION_MAIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_MAIN, LxsessionMainClass))

typedef struct _LxsessionMain LxsessionMain;
typedef struct _LxsessionMainClass LxsessionMainClass;
typedef struct _LxsessionMainPrivate LxsessionMainPrivate;
enum  {
	LXSESSION_MAIN_0_PROPERTY,
	LXSESSION_MAIN_NUM_PROPERTIES
};
static GParamSpec* lxsession_main_properties[LXSESSION_MAIN_NUM_PROPERTIES];
#define _g_option_context_free0(var) ((var == NULL) ? NULL : (var = (g_option_context_free (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

#define LXSESSION_TYPE_LXSESSION_ENV (lxsession_lxsession_env_get_type ())
#define LXSESSION_LXSESSION_ENV(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_LXSESSION_ENV, LxsessionLxsessionEnv))
#define LXSESSION_LXSESSION_ENV_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_LXSESSION_ENV, LxsessionLxsessionEnvClass))
#define LXSESSION_IS_LXSESSION_ENV(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_LXSESSION_ENV))
#define LXSESSION_IS_LXSESSION_ENV_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_LXSESSION_ENV))
#define LXSESSION_LXSESSION_ENV_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_LXSESSION_ENV, LxsessionLxsessionEnvClass))

typedef struct _LxsessionLxsessionEnv LxsessionLxsessionEnv;
typedef struct _LxsessionLxsessionEnvClass LxsessionLxsessionEnvClass;

#define LXSESSION_TYPE_RAZOR_QT_CONFIG_KEY_FILE (lxsession_razor_qt_config_key_file_get_type ())
#define LXSESSION_RAZOR_QT_CONFIG_KEY_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_RAZOR_QT_CONFIG_KEY_FILE, LxsessionRazorQtConfigKeyFile))
#define LXSESSION_RAZOR_QT_CONFIG_KEY_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_RAZOR_QT_CONFIG_KEY_FILE, LxsessionRazorQtConfigKeyFileClass))
#define LXSESSION_IS_RAZOR_QT_CONFIG_KEY_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_RAZOR_QT_CONFIG_KEY_FILE))
#define LXSESSION_IS_RAZOR_QT_CONFIG_KEY_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_RAZOR_QT_CONFIG_KEY_FILE))
#define LXSESSION_RAZOR_QT_CONFIG_KEY_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_RAZOR_QT_CONFIG_KEY_FILE, LxsessionRazorQtConfigKeyFileClass))

typedef struct _LxsessionRazorQtConfigKeyFile LxsessionRazorQtConfigKeyFile;
typedef struct _LxsessionRazorQtConfigKeyFileClass LxsessionRazorQtConfigKeyFileClass;

#define LXSESSION_TYPE_CONFFILES_OBJECT (lxsession_conffiles_object_get_type ())
#define LXSESSION_CONFFILES_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_CONFFILES_OBJECT, LxsessionConffilesObject))
#define LXSESSION_CONFFILES_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_CONFFILES_OBJECT, LxsessionConffilesObjectClass))
#define LXSESSION_IS_CONFFILES_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_CONFFILES_OBJECT))
#define LXSESSION_IS_CONFFILES_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_CONFFILES_OBJECT))
#define LXSESSION_CONFFILES_OBJECT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_CONFFILES_OBJECT, LxsessionConffilesObjectClass))

typedef struct _LxsessionConffilesObject LxsessionConffilesObject;
typedef struct _LxsessionConffilesObjectClass LxsessionConffilesObjectClass;

#define LXSESSION_TYPE_LXSESSION_AUTOSTART_CONFIG (lxsession_lxsession_autostart_config_get_type ())
#define LXSESSION_LXSESSION_AUTOSTART_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), LXSESSION_TYPE_LXSESSION_AUTOSTART_CONFIG, LxsessionLxsessionAutostartConfig))
#define LXSESSION_LXSESSION_AUTOSTART_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), LXSESSION_TYPE_LXSESSION_AUTOSTART_CONFIG, LxsessionLxsessionAutostartConfigClass))
#define LXSESSION_IS_LXSESSION_AUTOSTART_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), LXSESSION_TYPE_LXSESSION_AUTOSTART_CONFIG))
#define LXSESSION_IS_LXSESSION_AUTOSTART_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LXSESSION_TYPE_LXSESSION_AUTOSTART_CONFIG))
#define LXSESSION_LXSESSION_AUTOSTART_CONFIG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), LXSESSION_TYPE_LXSESSION_AUTOSTART_CONFIG, LxsessionLxsessionAutostartConfigClass))

typedef struct _LxsessionLxsessionAutostartConfig LxsessionLxsessionAutostartConfig;
typedef struct _LxsessionLxsessionAutostartConfigClass LxsessionLxsessionAutostartConfigClass;
#define _g_main_loop_unref0(var) ((var == NULL) ? NULL : (var = (g_main_loop_unref (var), NULL)))

struct _LxsessionMain {
	GObject parent_instance;
	LxsessionMainPrivate * priv;
};

struct _LxsessionMainClass {
	GObjectClass parent_class;
};

VALA_EXTERN LxsessionLxSignals* lxsession_global_sig;
LxsessionLxSignals* lxsession_global_sig = NULL;
VALA_EXTERN LxsessionLxsessionConfigKeyFile* lxsession_global_settings;
LxsessionLxsessionConfigKeyFile* lxsession_global_settings = NULL;
VALA_EXTERN LxsessionPanelApp* lxsession_global_panel;
LxsessionPanelApp* lxsession_global_panel = NULL;
VALA_EXTERN LxsessionDockApp* lxsession_global_dock;
LxsessionDockApp* lxsession_global_dock = NULL;
VALA_EXTERN LxsessionWindowsManagerApp* lxsession_global_windows_manager;
LxsessionWindowsManagerApp* lxsession_global_windows_manager = NULL;
VALA_EXTERN LxsessionFileManagerApp* lxsession_global_file_manager;
LxsessionFileManagerApp* lxsession_global_file_manager = NULL;
VALA_EXTERN LxsessionDesktopApp* lxsession_global_desktop;
LxsessionDesktopApp* lxsession_global_desktop = NULL;
VALA_EXTERN LxsessionPolkitApp* lxsession_global_polkit;
LxsessionPolkitApp* lxsession_global_polkit = NULL;
VALA_EXTERN LxsessionScreensaverApp* lxsession_global_screensaver;
LxsessionScreensaverApp* lxsession_global_screensaver = NULL;
VALA_EXTERN LxsessionPowerManagerApp* lxsession_global_power_manager;
LxsessionPowerManagerApp* lxsession_global_power_manager = NULL;
VALA_EXTERN LxsessionNetworkGuiApp* lxsession_global_network_gui;
LxsessionNetworkGuiApp* lxsession_global_network_gui = NULL;
VALA_EXTERN LxsessionGenericSimpleApp* lxsession_global_composite_manager;
LxsessionGenericSimpleApp* lxsession_global_composite_manager = NULL;
VALA_EXTERN LxsessionAudioManagerApp* lxsession_global_audio_manager;
LxsessionAudioManagerApp* lxsession_global_audio_manager = NULL;
VALA_EXTERN LxsessionQuitManagerApp* lxsession_global_quit_manager;
LxsessionQuitManagerApp* lxsession_global_quit_manager = NULL;
VALA_EXTERN LxsessionWorkspaceManagerApp* lxsession_global_workspace_manager;
LxsessionWorkspaceManagerApp* lxsession_global_workspace_manager = NULL;
VALA_EXTERN LxsessionLauncherManagerApp* lxsession_global_launcher_manager;
LxsessionLauncherManagerApp* lxsession_global_launcher_manager = NULL;
VALA_EXTERN LxsessionTerminalManagerApp* lxsession_global_terminal_manager;
LxsessionTerminalManagerApp* lxsession_global_terminal_manager = NULL;
VALA_EXTERN LxsessionScreenshotManagerApp* lxsession_global_screenshot_manager;
LxsessionScreenshotManagerApp* lxsession_global_screenshot_manager = NULL;
VALA_EXTERN LxsessionGenericSimpleApp* lxsession_global_message_manager;
LxsessionGenericSimpleApp* lxsession_global_message_manager = NULL;
VALA_EXTERN LxsessionClipboardOption* lxsession_global_clipboard;
LxsessionClipboardOption* lxsession_global_clipboard = NULL;
VALA_EXTERN LxsessionKeymapOption* lxsession_global_keymap;
LxsessionKeymapOption* lxsession_global_keymap = NULL;
VALA_EXTERN LxsessionGenericSimpleApp* lxsession_global_im_manager;
LxsessionGenericSimpleApp* lxsession_global_im_manager = NULL;
VALA_EXTERN LxsessionXrandrApp* lxsession_global_xrandr;
LxsessionXrandrApp* lxsession_global_xrandr = NULL;
VALA_EXTERN LxsessionKeyringApp* lxsession_global_keyring;
LxsessionKeyringApp* lxsession_global_keyring = NULL;
VALA_EXTERN LxsessionA11yApp* lxsession_global_a11y;
LxsessionA11yApp* lxsession_global_a11y = NULL;
VALA_EXTERN LxsessionUpdatesManagerApp* lxsession_global_updates;
LxsessionUpdatesManagerApp* lxsession_global_updates = NULL;
VALA_EXTERN LxsessionCrashManagerApp* lxsession_global_crash;
LxsessionCrashManagerApp* lxsession_global_crash = NULL;
VALA_EXTERN LxsessionGenericSimpleApp* lxsession_global_im1;
LxsessionGenericSimpleApp* lxsession_global_im1 = NULL;
VALA_EXTERN LxsessionGenericSimpleApp* lxsession_global_im2;
LxsessionGenericSimpleApp* lxsession_global_im2 = NULL;
VALA_EXTERN LxsessionGenericSimpleApp* lxsession_global_widget1;
LxsessionGenericSimpleApp* lxsession_global_widget1 = NULL;
VALA_EXTERN LxsessionGenericSimpleApp* lxsession_global_notification;
LxsessionGenericSimpleApp* lxsession_global_notification = NULL;
VALA_EXTERN LxsessionGenericSimpleApp* lxsession_global_keybindings;
LxsessionGenericSimpleApp* lxsession_global_keybindings = NULL;
VALA_EXTERN LxsessionProxyManagerApp* lxsession_global_proxy;
LxsessionProxyManagerApp* lxsession_global_proxy = NULL;
VALA_EXTERN LxsessionUpstartUserSessionOption* lxsession_global_upstart_session;
LxsessionUpstartUserSessionOption* lxsession_global_upstart_session = NULL;
VALA_EXTERN LxsessionXSettingsOption* lxsession_global_xsettings_manager;
LxsessionXSettingsOption* lxsession_global_xsettings_manager = NULL;
static gpointer lxsession_main_parent_class = NULL;
static gchar* lxsession_main_session;
static gchar* lxsession_main_desktop_environnement;
static gboolean lxsession_main_reload;
static gboolean lxsession_main_noxsettings;
static gboolean lxsession_main_autostart;
static gchar* lxsession_main_compatibility;
static gchar* lxsession_main_session = NULL;
static gchar* lxsession_main_desktop_environnement = NULL;
static gboolean lxsession_main_reload = FALSE;
static gboolean lxsession_main_noxsettings = FALSE;
static gboolean lxsession_main_autostart = FALSE;
static gchar* lxsession_main_compatibility = NULL;
VALA_EXTERN gchar* lxsession_session_global;

VALA_EXTERN GType lxsession_lx_signals_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionLxSignals, g_object_unref)
VALA_EXTERN GType lxsession_lxsession_config_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionLxsessionConfig, g_object_unref)
VALA_EXTERN GType lxsession_lxsession_config_key_file_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionLxsessionConfigKeyFile, g_object_unref)
VALA_EXTERN GType lxsession_app_object_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionAppObject, g_object_unref)
VALA_EXTERN GType lxsession_simple_app_object_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionSimpleAppObject, g_object_unref)
VALA_EXTERN GType lxsession_panel_app_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionPanelApp, g_object_unref)
VALA_EXTERN GType lxsession_dock_app_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionDockApp, g_object_unref)
VALA_EXTERN GType lxsession_windows_manager_app_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionWindowsManagerApp, g_object_unref)
VALA_EXTERN GType lxsession_file_manager_app_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionFileManagerApp, g_object_unref)
VALA_EXTERN GType lxsession_desktop_app_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionDesktopApp, g_object_unref)
VALA_EXTERN GType lxsession_polkit_app_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionPolkitApp, g_object_unref)
VALA_EXTERN GType lxsession_screensaver_app_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionScreensaverApp, g_object_unref)
VALA_EXTERN GType lxsession_power_manager_app_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionPowerManagerApp, g_object_unref)
VALA_EXTERN GType lxsession_network_gui_app_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionNetworkGuiApp, g_object_unref)
VALA_EXTERN GType lxsession_generic_simple_app_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionGenericSimpleApp, g_object_unref)
VALA_EXTERN GType lxsession_audio_manager_app_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionAudioManagerApp, g_object_unref)
VALA_EXTERN GType lxsession_quit_manager_app_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionQuitManagerApp, g_object_unref)
VALA_EXTERN GType lxsession_workspace_manager_app_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionWorkspaceManagerApp, g_object_unref)
VALA_EXTERN GType lxsession_launcher_manager_app_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionLauncherManagerApp, g_object_unref)
VALA_EXTERN GType lxsession_terminal_manager_app_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionTerminalManagerApp, g_object_unref)
VALA_EXTERN GType lxsession_screenshot_manager_app_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionScreenshotManagerApp, g_object_unref)
VALA_EXTERN GType lxsession_option_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionOption, g_object_unref)
VALA_EXTERN GType lxsession_clipboard_option_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionClipboardOption, g_object_unref)
VALA_EXTERN GType lxsession_keymap_option_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionKeymapOption, g_object_unref)
VALA_EXTERN GType lxsession_xrandr_app_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionXrandrApp, g_object_unref)
VALA_EXTERN GType lxsession_keyring_app_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionKeyringApp, g_object_unref)
VALA_EXTERN GType lxsession_a11y_app_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionA11yApp, g_object_unref)
VALA_EXTERN GType lxsession_updates_manager_app_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionUpdatesManagerApp, g_object_unref)
VALA_EXTERN GType lxsession_crash_manager_app_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionCrashManagerApp, g_object_unref)
VALA_EXTERN GType lxsession_proxy_manager_app_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionProxyManagerApp, g_object_unref)
VALA_EXTERN GType lxsession_upstart_user_session_option_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionUpstartUserSessionOption, g_object_unref)
VALA_EXTERN GType lxsession_xsettings_option_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionXSettingsOption, g_object_unref)
VALA_EXTERN GType lxsession_main_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionMain, g_object_unref)
static gint lxsession_main_main (gchar** args,
                          gint args_length1);
VALA_EXTERN LxsessionLxSignals* lxsession_lx_signals_new (void);
VALA_EXTERN LxsessionLxSignals* lxsession_lx_signals_construct (GType object_type);
VALA_EXTERN GType lxsession_lxsession_env_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionLxsessionEnv, g_object_unref)
VALA_EXTERN LxsessionLxsessionEnv* lxsession_lxsession_env_new (const gchar* session_arg,
                                                    const gchar* desktop_environment_arg);
VALA_EXTERN LxsessionLxsessionEnv* lxsession_lxsession_env_construct (GType object_type,
                                                          const gchar* session_arg,
                                                          const gchar* desktop_environment_arg);
VALA_EXTERN void lxsession_lxsession_env_export_primary_env (LxsessionLxsessionEnv* self);
VALA_EXTERN GType lxsession_razor_qt_config_key_file_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionRazorQtConfigKeyFile, g_object_unref)
VALA_EXTERN LxsessionRazorQtConfigKeyFile* lxsession_razor_qt_config_key_file_new (const gchar* session_arg,
                                                                       const gchar* desktop_env_name_arg);
VALA_EXTERN LxsessionRazorQtConfigKeyFile* lxsession_razor_qt_config_key_file_construct (GType object_type,
                                                                             const gchar* session_arg,
                                                                             const gchar* desktop_env_name_arg);
VALA_EXTERN LxsessionLxsessionConfigKeyFile* lxsession_lxsession_config_key_file_new (const gchar* session_arg,
                                                                          const gchar* desktop_env_name_arg);
VALA_EXTERN LxsessionLxsessionConfigKeyFile* lxsession_lxsession_config_key_file_construct (GType object_type,
                                                                                const gchar* session_arg,
                                                                                const gchar* desktop_env_name_arg);
VALA_EXTERN void lxsession_lxsession_config_key_file_sync_setting_files (LxsessionLxsessionConfigKeyFile* self);
VALA_EXTERN void lxsession_lxsession_env_export_env (LxsessionLxsessionEnv* self);
VALA_EXTERN gchar* lxsession_get_config_path (const gchar* conf_file);
VALA_EXTERN GType lxsession_conffiles_object_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionConffilesObject, g_object_unref)
VALA_EXTERN LxsessionConffilesObject* lxsession_conffiles_object_new (const gchar* conffiles_conf);
VALA_EXTERN LxsessionConffilesObject* lxsession_conffiles_object_construct (GType object_type,
                                                                const gchar* conffiles_conf);
VALA_EXTERN void lxsession_conffiles_object_apply (LxsessionConffilesObject* self);
VALA_EXTERN LxsessionXSettingsOption* lxsession_xsettings_option_new (void);
VALA_EXTERN LxsessionXSettingsOption* lxsession_xsettings_option_construct (GType object_type);
VALA_EXTERN void lxsession_xsettings_option_activate (LxsessionXSettingsOption* self);
VALA_EXTERN void lxsession_xsettings_option_reload (LxsessionXSettingsOption* self);
VALA_EXTERN gchar* lxsession_lxsession_config_get_item_string (LxsessionLxsessionConfig* self,
                                                   const gchar* categorie,
                                                   const gchar* key1,
                                                   const gchar* key2);
VALA_EXTERN LxsessionWindowsManagerApp* lxsession_windows_manager_app_new (void);
VALA_EXTERN LxsessionWindowsManagerApp* lxsession_windows_manager_app_construct (GType object_type);
VALA_EXTERN void lxsession_windows_manager_app_launch (LxsessionWindowsManagerApp* self);
VALA_EXTERN LxsessionPanelApp* lxsession_panel_app_new (void);
VALA_EXTERN LxsessionPanelApp* lxsession_panel_app_construct (GType object_type);
VALA_EXTERN void lxsession_app_object_launch (LxsessionAppObject* self);
VALA_EXTERN LxsessionDockApp* lxsession_dock_app_new (void);
VALA_EXTERN LxsessionDockApp* lxsession_dock_app_construct (GType object_type);
VALA_EXTERN LxsessionScreensaverApp* lxsession_screensaver_app_new (void);
VALA_EXTERN LxsessionScreensaverApp* lxsession_screensaver_app_construct (GType object_type);
VALA_EXTERN gboolean lxsession_detect_laptop (void);
VALA_EXTERN LxsessionPowerManagerApp* lxsession_power_manager_app_new (void);
VALA_EXTERN LxsessionPowerManagerApp* lxsession_power_manager_app_construct (GType object_type);
VALA_EXTERN LxsessionNetworkGuiApp* lxsession_network_gui_app_new (void);
VALA_EXTERN LxsessionNetworkGuiApp* lxsession_network_gui_app_construct (GType object_type);
VALA_EXTERN LxsessionDesktopApp* lxsession_desktop_app_new (void);
VALA_EXTERN LxsessionDesktopApp* lxsession_desktop_app_construct (GType object_type);
VALA_EXTERN LxsessionGenericSimpleApp* lxsession_generic_simple_app_new (const gchar* argument);
VALA_EXTERN LxsessionGenericSimpleApp* lxsession_generic_simple_app_construct (GType object_type,
                                                                   const gchar* argument);
VALA_EXTERN LxsessionPolkitApp* lxsession_polkit_app_new (void);
VALA_EXTERN LxsessionPolkitApp* lxsession_polkit_app_construct (GType object_type);
VALA_EXTERN LxsessionLauncherManagerApp* lxsession_launcher_manager_app_new (void);
VALA_EXTERN LxsessionLauncherManagerApp* lxsession_launcher_manager_app_construct (GType object_type);
VALA_EXTERN void lxsession_launcher_manager_app_autostart_launch (LxsessionLauncherManagerApp* self);
VALA_EXTERN GType lxsession_lxsession_autostart_config_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (LxsessionLxsessionAutostartConfig, g_object_unref)
VALA_EXTERN LxsessionLxsessionAutostartConfig* lxsession_lxsession_autostart_config_new (void);
VALA_EXTERN LxsessionLxsessionAutostartConfig* lxsession_lxsession_autostart_config_construct (GType object_type);
VALA_EXTERN void lxsession_lxsession_autostart_config_start_applications (LxsessionLxsessionAutostartConfig* self);
VALA_EXTERN void lxsession_lxsession_spawn_command_line_async (const gchar* command_line);
VALA_EXTERN LxsessionClipboardOption* lxsession_clipboard_option_new (LxsessionLxsessionConfig* config);
VALA_EXTERN LxsessionClipboardOption* lxsession_clipboard_option_construct (GType object_type,
                                                                LxsessionLxsessionConfig* config);
VALA_EXTERN void lxsession_option_activate (LxsessionOption* self);
VALA_EXTERN LxsessionKeymapOption* lxsession_keymap_option_new (LxsessionLxsessionConfig* config);
VALA_EXTERN LxsessionKeymapOption* lxsession_keymap_option_construct (GType object_type,
                                                          LxsessionLxsessionConfig* config);
VALA_EXTERN LxsessionXrandrApp* lxsession_xrandr_app_new (void);
VALA_EXTERN LxsessionXrandrApp* lxsession_xrandr_app_construct (GType object_type);
VALA_EXTERN LxsessionKeyringApp* lxsession_keyring_app_new (void);
VALA_EXTERN LxsessionKeyringApp* lxsession_keyring_app_construct (GType object_type);
VALA_EXTERN LxsessionA11yApp* lxsession_a11y_app_new (void);
VALA_EXTERN LxsessionA11yApp* lxsession_a11y_app_construct (GType object_type);
VALA_EXTERN LxsessionProxyManagerApp* lxsession_proxy_manager_app_new (void);
VALA_EXTERN LxsessionProxyManagerApp* lxsession_proxy_manager_app_construct (GType object_type);
VALA_EXTERN LxsessionUpdatesManagerApp* lxsession_updates_manager_app_new (void);
VALA_EXTERN LxsessionUpdatesManagerApp* lxsession_updates_manager_app_construct (GType object_type);
VALA_EXTERN LxsessionCrashManagerApp* lxsession_crash_manager_app_new (void);
VALA_EXTERN LxsessionCrashManagerApp* lxsession_crash_manager_app_construct (GType object_type);
VALA_EXTERN LxsessionUpstartUserSessionOption* lxsession_upstart_user_session_option_new (LxsessionLxsessionConfig* config);
VALA_EXTERN LxsessionUpstartUserSessionOption* lxsession_upstart_user_session_option_construct (GType object_type,
                                                                                    LxsessionLxsessionConfig* config);
VALA_EXTERN void lxsession_upstart_user_session_option_activate (LxsessionUpstartUserSessionOption* self);
VALA_EXTERN void lxsession_on_bus_aquired (GDBusConnection* conn);
static void _lxsession_on_bus_aquired_gbus_acquired_callback (GDBusConnection* connection,
                                                       const gchar* name,
                                                       gpointer self);
static void ___lambda15_ (void);
static void ____lambda15__gbus_name_acquired_callback (GDBusConnection* connection,
                                                const gchar* name,
                                                gpointer self);
static void ___lambda16_ (void);
static void ____lambda16__gbus_name_lost_callback (GDBusConnection* connection,
                                            const gchar* name,
                                            gpointer self);
VALA_EXTERN void lxsession_on_gnome_bus_aquired (GDBusConnection* conn);
static void _lxsession_on_gnome_bus_aquired_gbus_acquired_callback (GDBusConnection* connection,
                                                             const gchar* name,
                                                             gpointer self);
static void ___lambda17_ (void);
static void ____lambda17__gbus_name_acquired_callback (GDBusConnection* connection,
                                                const gchar* name,
                                                gpointer self);
static void ___lambda18_ (void);
static void ____lambda18__gbus_name_lost_callback (GDBusConnection* connection,
                                            const gchar* name,
                                            gpointer self);
VALA_EXTERN void lxsession_clipboard_option_desactivate (LxsessionClipboardOption* self);
VALA_EXTERN void lxsession_polkit_app_deactivate (LxsessionPolkitApp* self);
VALA_EXTERN void lxsession_app_object_stop (LxsessionAppObject* self);
VALA_EXTERN LxsessionMain* lxsession_main_new (void);
VALA_EXTERN LxsessionMain* lxsession_main_construct (GType object_type);
static void lxsession_main_finalize (GObject * obj);
static GType lxsession_main_get_type_once (void);

static const GOptionEntry LXSESSION_MAIN_option_entries[7] = {{"session", 's', (gint) 0, G_OPTION_ARG_STRING, &lxsession_main_session, "specify name of the desktop session profile", "NAME"}, {"de", 'e', (gint) 0, G_OPTION_ARG_STRING, &lxsession_main_desktop_environnement, "specify name of DE, such as LXDE, GNOME, or XFCE.", "NAME"}, {"reload", 'r', (gint) 0, G_OPTION_ARG_NONE, &lxsession_main_reload, "reload configurations (for Xsettings daemon)", NULL}, {"noxsettings", 'n', (gint) 0, G_OPTION_ARG_NONE, &lxsession_main_noxsettings, "disable Xsettings daemon support", NULL}, {"noautostart", 'a', (gint) 0, G_OPTION_ARG_NONE, &lxsession_main_autostart, "autostart applications disable (window-manager mode only)", NULL}, {"compatibility", 'c', (gint) 0, G_OPTION_ARG_STRING, &lxsession_main_compatibility, "specify a compatibility mode for settings (only razor-qt supported)", "NAME"}, {NULL}};

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

static void
_lxsession_on_bus_aquired_gbus_acquired_callback (GDBusConnection* connection,
                                                  const gchar* name,
                                                  gpointer self)
{
	lxsession_on_bus_aquired (connection);
}

static void
___lambda15_ (void)
{
}

static void
____lambda15__gbus_name_acquired_callback (GDBusConnection* connection,
                                           const gchar* name,
                                           gpointer self)
{
	___lambda15_ ();
}

static void
___lambda16_ (void)
{
	g_warning ("main.vala:507: Could not acquire name\n");
}

static void
____lambda16__gbus_name_lost_callback (GDBusConnection* connection,
                                       const gchar* name,
                                       gpointer self)
{
	___lambda16_ ();
}

static void
_lxsession_on_gnome_bus_aquired_gbus_acquired_callback (GDBusConnection* connection,
                                                        const gchar* name,
                                                        gpointer self)
{
	lxsession_on_gnome_bus_aquired (connection);
}

static void
___lambda17_ (void)
{
}

static void
____lambda17__gbus_name_acquired_callback (GDBusConnection* connection,
                                           const gchar* name,
                                           gpointer self)
{
	___lambda17_ ();
}

static void
___lambda18_ (void)
{
	g_warning ("main.vala:516: Could not acquire name\n");
}

static void
____lambda18__gbus_name_lost_callback (GDBusConnection* connection,
                                       const gchar* name,
                                       gpointer self)
{
	___lambda18_ ();
}

static gint
lxsession_main_main (gchar** args,
                     gint args_length1)
{
	const gchar* _tmp8_;
	const gchar* _tmp9_;
	const gchar* _tmp10_;
	const gchar* _tmp12_;
	const gchar* _tmp14_;
	gchar* _tmp15_;
	gchar* log_directory = NULL;
	const gchar* _tmp16_;
	const gchar* _tmp17_;
	gchar* _tmp18_;
	GFile* dir_log = NULL;
	const gchar* _tmp19_;
	GFile* _tmp20_;
	gchar* log_path = NULL;
	const gchar* _tmp21_;
	gchar* _tmp22_;
	const gchar* _tmp23_;
	const gchar* _tmp24_;
	GFile* _tmp25_;
	gint fint = 0;
	const gchar* _tmp30_;
	LxsessionLxSignals* sig = NULL;
	LxsessionLxSignals* _tmp31_;
	LxsessionLxSignals* _tmp32_;
	LxsessionLxSignals* _tmp33_;
	LxsessionLxsessionEnv* environment = NULL;
	const gchar* _tmp34_;
	const gchar* _tmp35_;
	LxsessionLxsessionEnv* _tmp36_;
	LxsessionLxsessionEnv* _tmp37_;
	const gchar* _tmp38_;
	LxsessionLxsessionConfigKeyFile* _tmp49_;
	LxsessionLxsessionEnv* _tmp50_;
	gchar* conffiles_conf = NULL;
	gchar* _tmp51_;
	const gchar* _tmp52_;
	LxsessionLxsessionConfigKeyFile* _tmp62_;
	gchar* _tmp63_;
	gchar* _tmp64_;
	gboolean _tmp65_;
	LxsessionLxsessionConfigKeyFile* _tmp78_;
	gchar* _tmp79_;
	gchar* _tmp80_;
	gboolean _tmp81_;
	LxsessionLxsessionConfigKeyFile* _tmp295_;
	gchar* _tmp296_;
	gchar* _tmp297_;
	gboolean _tmp298_;
	LxsessionLxsessionConfigKeyFile* _tmp304_;
	gchar* _tmp305_;
	gchar* _tmp306_;
	LxsessionLxsessionConfigKeyFile* _tmp307_;
	gchar* _tmp308_;
	gchar* _tmp309_;
	gboolean _tmp310_;
	LxsessionLxsessionConfigKeyFile* _tmp316_;
	gchar* _tmp317_;
	gchar* _tmp318_;
	gboolean _tmp319_;
	LxsessionLxsessionConfigKeyFile* _tmp324_;
	gchar* _tmp325_;
	gchar* _tmp326_;
	gboolean _tmp327_;
	LxsessionLxsessionConfigKeyFile* _tmp332_;
	gchar* _tmp333_;
	gchar* _tmp334_;
	gboolean _tmp335_;
	LxsessionLxsessionConfigKeyFile* _tmp340_;
	gchar* _tmp341_;
	gchar* _tmp342_;
	gboolean _tmp343_;
	LxsessionLxsessionConfigKeyFile* _tmp348_;
	gchar* _tmp349_;
	gchar* _tmp350_;
	gboolean _tmp351_;
	LxsessionLxsessionConfigKeyFile* _tmp355_;
	gchar* _tmp356_;
	gchar* _tmp357_;
	gboolean _tmp358_;
	LxsessionLxsessionConfigKeyFile* _tmp362_;
	gchar* _tmp363_;
	gchar* _tmp364_;
	gboolean _tmp365_;
	LxsessionLxsessionConfigKeyFile* _tmp371_;
	gchar* _tmp372_;
	gchar* _tmp373_;
	gboolean _tmp374_;
	LxsessionLxsessionConfigKeyFile* _tmp375_;
	gchar* _tmp376_;
	gchar* _tmp377_;
	gboolean _tmp378_;
	GMainLoop* _tmp379_;
	GMainLoop* _tmp380_;
	LxsessionClipboardOption* _tmp381_;
	LxsessionLxsessionConfigKeyFile* _tmp383_;
	gchar* _tmp384_;
	gchar* _tmp385_;
	gboolean _tmp386_;
	LxsessionPanelApp* _tmp389_;
	LxsessionDockApp* _tmp391_;
	LxsessionWindowsManagerApp* _tmp393_;
	LxsessionDesktopApp* _tmp395_;
	LxsessionPolkitApp* _tmp397_;
	LxsessionScreensaverApp* _tmp399_;
	LxsessionPowerManagerApp* _tmp401_;
	LxsessionNetworkGuiApp* _tmp403_;
	LxsessionGenericSimpleApp* _tmp405_;
	GError* _inner_error0_ = NULL;
	gint result;
	textdomain (GETTEXT_PACKAGE);
	bind_textdomain_codeset (GETTEXT_PACKAGE, "utf-8");
	{
		GOptionContext* options_args = NULL;
		GOptionContext* _tmp0_;
		GOptionContext* _tmp1_;
		GOptionContext* _tmp2_;
		GOptionContext* _tmp3_;
		_tmp0_ = g_option_context_new ("- Lightweight Session manager");
		options_args = _tmp0_;
		_tmp1_ = options_args;
		g_option_context_set_help_enabled (_tmp1_, TRUE);
		_tmp2_ = options_args;
		g_option_context_add_main_entries (_tmp2_, LXSESSION_MAIN_option_entries, NULL);
		_tmp3_ = options_args;
		g_option_context_parse (_tmp3_, (gint*) (&args_length1), &args, &_inner_error0_);
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			gint _tmp4_ = -1;
			_g_option_context_free0 (options_args);
			if (_inner_error0_->domain == G_OPTION_ERROR) {
				goto __catch0_g_option_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return _tmp4_;
		}
		_g_option_context_free0 (options_args);
	}
	goto __finally0;
	__catch0_g_option_error:
	{
		GError* e = NULL;
		GError* _tmp5_;
		const gchar* _tmp6_;
		e = _inner_error0_;
		_inner_error0_ = NULL;
		_tmp5_ = e;
		_tmp6_ = _tmp5_->message;
		g_critical ("main.vala:98: Option parsing failed: %s\n", _tmp6_);
		result = -1;
		_g_error_free0 (e);
		return result;
	}
	__finally0:
	if (G_UNLIKELY (_inner_error0_ != NULL)) {
		gint _tmp7_ = -1;
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
		g_clear_error (&_inner_error0_);
		return _tmp7_;
	}
	_tmp8_ = lxsession_main_session;
	g_message ("main.vala:102: Session is %s", _tmp8_);
	_tmp9_ = lxsession_main_desktop_environnement;
	g_message ("main.vala:103: DE is %s", _tmp9_);
	_tmp10_ = lxsession_main_session;
	if (_tmp10_ == NULL) {
		gchar* _tmp11_;
		g_message ("main.vala:107: No session set, fallback to LXDE session");
		_tmp11_ = g_strdup ("LXDE");
		_g_free0 (lxsession_main_session);
		lxsession_main_session = _tmp11_;
	}
	_tmp12_ = lxsession_main_desktop_environnement;
	if (_tmp12_ == NULL) {
		gchar* _tmp13_;
		g_message ("main.vala:113: No desktop environnement set, fallback to LXDE");
		_tmp13_ = g_strdup ("LXDE");
		_g_free0 (lxsession_main_desktop_environnement);
		lxsession_main_desktop_environnement = _tmp13_;
	}
	_tmp14_ = lxsession_main_session;
	_tmp15_ = g_strdup (_tmp14_);
	_g_free0 (lxsession_session_global);
	lxsession_session_global = _tmp15_;
	gtk_init ((gint*) (&args_length1), &args);
	_tmp16_ = g_get_user_cache_dir ();
	_tmp17_ = lxsession_main_session;
	_tmp18_ = g_build_filename (_tmp16_, "lxsession", _tmp17_, NULL);
	log_directory = _tmp18_;
	_tmp19_ = log_directory;
	_tmp20_ = g_file_new_for_path (_tmp19_);
	dir_log = _tmp20_;
	_tmp21_ = log_directory;
	_tmp22_ = g_build_filename (_tmp21_, "run.log", NULL);
	log_path = _tmp22_;
	_tmp23_ = log_directory;
	g_message ("main.vala:134: log directory: %s", _tmp23_);
	_tmp24_ = log_path;
	g_message ("main.vala:135: log path: %s", _tmp24_);
	_tmp25_ = dir_log;
	if (!g_file_query_exists (_tmp25_, NULL)) {
		{
			GFile* _tmp26_;
			_tmp26_ = dir_log;
			g_file_make_directory_with_parents (_tmp26_, NULL, &_inner_error0_);
			if (G_UNLIKELY (_inner_error0_ != NULL)) {
				goto __catch1_g_error;
			}
		}
		goto __finally1;
		__catch1_g_error:
		{
			GError* err = NULL;
			GError* _tmp27_;
			const gchar* _tmp28_;
			err = _inner_error0_;
			_inner_error0_ = NULL;
			_tmp27_ = err;
			_tmp28_ = _tmp27_->message;
			g_message ("main.vala:145: %s", _tmp28_);
			_g_error_free0 (err);
		}
		__finally1:
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			gint _tmp29_ = -1;
			_g_free0 (log_path);
			_g_object_unref0 (dir_log);
			_g_free0 (log_directory);
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return _tmp29_;
		}
	}
	_tmp30_ = log_path;
	fint = open (_tmp30_, (O_WRONLY | O_CREAT) | O_TRUNC, (mode_t) 0600);
	dup2 (fint, STDOUT_FILENO);
	dup2 (fint, STDERR_FILENO);
	close (fint);
	_tmp31_ = lxsession_lx_signals_new ();
	sig = _tmp31_;
	_tmp32_ = sig;
	_tmp33_ = _g_object_ref0 (_tmp32_);
	_g_object_unref0 (lxsession_global_sig);
	lxsession_global_sig = _tmp33_;
	_tmp34_ = lxsession_main_session;
	_tmp35_ = lxsession_main_desktop_environnement;
	_tmp36_ = lxsession_lxsession_env_new (_tmp34_, _tmp35_);
	environment = _tmp36_;
	_tmp37_ = environment;
	lxsession_lxsession_env_export_primary_env (_tmp37_);
	_tmp38_ = lxsession_main_compatibility;
	if (g_strcmp0 (_tmp38_, "razor-qt") == 0) {
		LxsessionRazorQtConfigKeyFile* config = NULL;
		const gchar* _tmp39_;
		const gchar* _tmp40_;
		LxsessionRazorQtConfigKeyFile* _tmp41_;
		LxsessionRazorQtConfigKeyFile* _tmp42_;
		LxsessionLxsessionConfigKeyFile* _tmp43_;
		_tmp39_ = lxsession_main_session;
		_tmp40_ = lxsession_main_desktop_environnement;
		_tmp41_ = lxsession_razor_qt_config_key_file_new (_tmp39_, _tmp40_);
		config = _tmp41_;
		_tmp42_ = config;
		_tmp43_ = _g_object_ref0 ((LxsessionLxsessionConfigKeyFile*) _tmp42_);
		_g_object_unref0 (lxsession_global_settings);
		lxsession_global_settings = _tmp43_;
		_g_object_unref0 (config);
	} else {
		LxsessionLxsessionConfigKeyFile* config = NULL;
		const gchar* _tmp44_;
		const gchar* _tmp45_;
		LxsessionLxsessionConfigKeyFile* _tmp46_;
		LxsessionLxsessionConfigKeyFile* _tmp47_;
		LxsessionLxsessionConfigKeyFile* _tmp48_;
		_tmp44_ = lxsession_main_session;
		_tmp45_ = lxsession_main_desktop_environnement;
		_tmp46_ = lxsession_lxsession_config_key_file_new (_tmp44_, _tmp45_);
		config = _tmp46_;
		_tmp47_ = config;
		_tmp48_ = _g_object_ref0 (_tmp47_);
		_g_object_unref0 (lxsession_global_settings);
		lxsession_global_settings = _tmp48_;
		_g_object_unref0 (config);
	}
	_tmp49_ = lxsession_global_settings;
	lxsession_lxsession_config_key_file_sync_setting_files (_tmp49_);
	_tmp50_ = environment;
	lxsession_lxsession_env_export_env (_tmp50_);
	_tmp51_ = lxsession_get_config_path ("conffiles.conf");
	conffiles_conf = _tmp51_;
	_tmp52_ = conffiles_conf;
	if (g_file_test (_tmp52_, G_FILE_TEST_EXISTS)) {
		LxsessionConffilesObject* conffiles = NULL;
		const gchar* _tmp53_;
		LxsessionConffilesObject* _tmp54_;
		LxsessionConffilesObject* _tmp55_;
		_tmp53_ = conffiles_conf;
		_tmp54_ = lxsession_conffiles_object_new (_tmp53_);
		conffiles = _tmp54_;
		_tmp55_ = conffiles;
		lxsession_conffiles_object_apply (_tmp55_);
		_g_object_unref0 (conffiles);
	}
	if (lxsession_main_noxsettings == FALSE) {
		LxsessionXSettingsOption* _tmp56_;
		_tmp56_ = lxsession_global_xsettings_manager;
		if (_tmp56_ == NULL) {
			LxsessionXSettingsOption* xsettings = NULL;
			LxsessionXSettingsOption* _tmp57_;
			LxsessionXSettingsOption* _tmp58_;
			LxsessionXSettingsOption* _tmp59_;
			LxsessionXSettingsOption* _tmp60_;
			_tmp57_ = lxsession_xsettings_option_new ();
			xsettings = _tmp57_;
			_tmp58_ = xsettings;
			_tmp59_ = _g_object_ref0 (_tmp58_);
			_g_object_unref0 (lxsession_global_xsettings_manager);
			lxsession_global_xsettings_manager = _tmp59_;
			_tmp60_ = lxsession_global_xsettings_manager;
			lxsession_xsettings_option_activate (_tmp60_);
			_g_object_unref0 (xsettings);
		} else {
			LxsessionXSettingsOption* _tmp61_;
			_tmp61_ = lxsession_global_xsettings_manager;
			lxsession_xsettings_option_reload (_tmp61_);
		}
	}
	_tmp62_ = lxsession_global_settings;
	_tmp63_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp62_, "Session", "window_manager", NULL);
	_tmp64_ = _tmp63_;
	_tmp65_ = _tmp64_ != NULL;
	_g_free0 (_tmp64_);
	if (_tmp65_) {
		LxsessionWindowsManagerApp* windowsmanager = NULL;
		LxsessionWindowsManagerApp* _tmp66_;
		LxsessionWindowsManagerApp* _tmp67_;
		LxsessionWindowsManagerApp* _tmp68_;
		LxsessionWindowsManagerApp* _tmp69_;
		_tmp66_ = lxsession_windows_manager_app_new ();
		windowsmanager = _tmp66_;
		_tmp67_ = windowsmanager;
		_tmp68_ = _g_object_ref0 (_tmp67_);
		_g_object_unref0 (lxsession_global_windows_manager);
		lxsession_global_windows_manager = _tmp68_;
		_tmp69_ = lxsession_global_windows_manager;
		lxsession_windows_manager_app_launch (_tmp69_);
		_g_object_unref0 (windowsmanager);
	} else {
		LxsessionLxsessionConfigKeyFile* _tmp70_;
		gchar* _tmp71_;
		gchar* _tmp72_;
		gboolean _tmp73_;
		_tmp70_ = lxsession_global_settings;
		_tmp71_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp70_, "Session", "windows_manager", "command");
		_tmp72_ = _tmp71_;
		_tmp73_ = _tmp72_ != NULL;
		_g_free0 (_tmp72_);
		if (_tmp73_) {
			LxsessionWindowsManagerApp* windowsmanager = NULL;
			LxsessionWindowsManagerApp* _tmp74_;
			LxsessionWindowsManagerApp* _tmp75_;
			LxsessionWindowsManagerApp* _tmp76_;
			LxsessionWindowsManagerApp* _tmp77_;
			_tmp74_ = lxsession_windows_manager_app_new ();
			windowsmanager = _tmp74_;
			_tmp75_ = windowsmanager;
			_tmp76_ = _g_object_ref0 (_tmp75_);
			_g_object_unref0 (lxsession_global_windows_manager);
			lxsession_global_windows_manager = _tmp76_;
			_tmp77_ = lxsession_global_windows_manager;
			lxsession_windows_manager_app_launch (_tmp77_);
			_g_object_unref0 (windowsmanager);
		}
	}
	_tmp78_ = lxsession_global_settings;
	_tmp79_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp78_, "Session", "disable_autostart", NULL);
	_tmp80_ = _tmp79_;
	_tmp81_ = g_strcmp0 (_tmp80_, "all") == 0;
	_g_free0 (_tmp80_);
	if (_tmp81_) {
		lxsession_main_autostart = TRUE;
	}
	if (lxsession_main_autostart == FALSE) {
		LxsessionLxsessionConfigKeyFile* _tmp82_;
		gchar* _tmp83_;
		gchar* _tmp84_;
		gboolean _tmp85_;
		LxsessionLxsessionConfigKeyFile* _tmp90_;
		gchar* _tmp91_;
		gchar* _tmp92_;
		gboolean _tmp93_;
		LxsessionLxsessionConfigKeyFile* _tmp98_;
		gchar* _tmp99_;
		gchar* _tmp100_;
		gboolean _tmp101_;
		LxsessionLxsessionConfigKeyFile* _tmp106_;
		gchar* _tmp107_;
		gchar* _tmp108_;
		gboolean _tmp109_;
		LxsessionLxsessionConfigKeyFile* _tmp126_;
		gchar* _tmp127_;
		gchar* _tmp128_;
		gboolean _tmp129_;
		LxsessionLxsessionConfigKeyFile* _tmp146_;
		gchar* _tmp147_;
		gchar* _tmp148_;
		gboolean _tmp149_;
		LxsessionLxsessionConfigKeyFile* _tmp154_;
		gchar* _tmp155_;
		gchar* _tmp156_;
		gboolean _tmp157_;
		LxsessionLxsessionConfigKeyFile* _tmp170_;
		gchar* _tmp171_;
		gchar* _tmp172_;
		gboolean _tmp173_;
		LxsessionLxsessionConfigKeyFile* _tmp178_;
		gchar* _tmp179_;
		gchar* _tmp180_;
		gboolean _tmp181_;
		LxsessionLxsessionConfigKeyFile* _tmp190_;
		gchar* _tmp191_;
		gchar* _tmp192_;
		gboolean _tmp193_;
		LxsessionLxsessionConfigKeyFile* _tmp206_;
		gchar* _tmp207_;
		gchar* _tmp208_;
		gboolean _tmp209_;
		LxsessionLxsessionConfigKeyFile* _tmp222_;
		gchar* _tmp223_;
		gchar* _tmp224_;
		gboolean _tmp225_;
		LxsessionLxsessionConfigKeyFile* _tmp238_;
		gchar* _tmp239_;
		gchar* _tmp240_;
		gboolean _tmp241_;
		LxsessionLxsessionConfigKeyFile* _tmp254_;
		gchar* _tmp255_;
		gchar* _tmp256_;
		gboolean _tmp257_;
		LxsessionLxsessionConfigKeyFile* _tmp270_;
		gchar* _tmp271_;
		gchar* _tmp272_;
		gboolean _tmp273_;
		LxsessionLxsessionAutostartConfig* _auto_ = NULL;
		LxsessionLxsessionAutostartConfig* _tmp286_;
		LxsessionLxsessionAutostartConfig* _tmp287_;
		LxsessionLxsessionConfigKeyFile* _tmp288_;
		gchar* _tmp289_;
		gchar* _tmp290_;
		gboolean _tmp291_;
		_tmp82_ = lxsession_global_settings;
		_tmp83_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp82_, "Session", "panel", "command");
		_tmp84_ = _tmp83_;
		_tmp85_ = _tmp84_ != NULL;
		_g_free0 (_tmp84_);
		if (_tmp85_) {
			LxsessionPanelApp* panel = NULL;
			LxsessionPanelApp* _tmp86_;
			LxsessionPanelApp* _tmp87_;
			LxsessionPanelApp* _tmp88_;
			LxsessionPanelApp* _tmp89_;
			_tmp86_ = lxsession_panel_app_new ();
			panel = _tmp86_;
			_tmp87_ = panel;
			_tmp88_ = _g_object_ref0 (_tmp87_);
			_g_object_unref0 (lxsession_global_panel);
			lxsession_global_panel = _tmp88_;
			_tmp89_ = lxsession_global_panel;
			lxsession_app_object_launch ((LxsessionAppObject*) _tmp89_);
			_g_object_unref0 (panel);
		}
		_tmp90_ = lxsession_global_settings;
		_tmp91_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp90_, "Session", "dock", "command");
		_tmp92_ = _tmp91_;
		_tmp93_ = _tmp92_ != NULL;
		_g_free0 (_tmp92_);
		if (_tmp93_) {
			LxsessionDockApp* dock = NULL;
			LxsessionDockApp* _tmp94_;
			LxsessionDockApp* _tmp95_;
			LxsessionDockApp* _tmp96_;
			LxsessionDockApp* _tmp97_;
			_tmp94_ = lxsession_dock_app_new ();
			dock = _tmp94_;
			_tmp95_ = dock;
			_tmp96_ = _g_object_ref0 (_tmp95_);
			_g_object_unref0 (lxsession_global_dock);
			lxsession_global_dock = _tmp96_;
			_tmp97_ = lxsession_global_dock;
			lxsession_app_object_launch ((LxsessionAppObject*) _tmp97_);
			_g_object_unref0 (dock);
		}
		_tmp98_ = lxsession_global_settings;
		_tmp99_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp98_, "Session", "screensaver", "command");
		_tmp100_ = _tmp99_;
		_tmp101_ = _tmp100_ != NULL;
		_g_free0 (_tmp100_);
		if (_tmp101_) {
			LxsessionScreensaverApp* screensaver = NULL;
			LxsessionScreensaverApp* _tmp102_;
			LxsessionScreensaverApp* _tmp103_;
			LxsessionScreensaverApp* _tmp104_;
			LxsessionScreensaverApp* _tmp105_;
			_tmp102_ = lxsession_screensaver_app_new ();
			screensaver = _tmp102_;
			_tmp103_ = screensaver;
			_tmp104_ = _g_object_ref0 (_tmp103_);
			_g_object_unref0 (lxsession_global_screensaver);
			lxsession_global_screensaver = _tmp104_;
			_tmp105_ = lxsession_global_screensaver;
			lxsession_app_object_launch ((LxsessionAppObject*) _tmp105_);
			_g_object_unref0 (screensaver);
		}
		_tmp106_ = lxsession_global_settings;
		_tmp107_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp106_, "Session", "power_manager", "command");
		_tmp108_ = _tmp107_;
		_tmp109_ = _tmp108_ != NULL;
		_g_free0 (_tmp108_);
		if (_tmp109_) {
			LxsessionLxsessionConfigKeyFile* _tmp110_;
			gchar* _tmp111_;
			gchar* _tmp112_;
			gboolean _tmp113_;
			_tmp110_ = lxsession_global_settings;
			_tmp111_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp110_, "State", "laptop_mode", NULL);
			_tmp112_ = _tmp111_;
			_tmp113_ = g_strcmp0 (_tmp112_, "unknown") == 0;
			_g_free0 (_tmp112_);
			if (_tmp113_) {
				gboolean state = FALSE;
				gchar* state_text = NULL;
				gchar* _tmp114_;
				LxsessionLxSignals* _tmp116_;
				const gchar* _tmp117_;
				LxsessionPowerManagerApp* powermanager = NULL;
				LxsessionPowerManagerApp* _tmp118_;
				LxsessionPowerManagerApp* _tmp119_;
				LxsessionPowerManagerApp* _tmp120_;
				LxsessionPowerManagerApp* _tmp121_;
				state = lxsession_detect_laptop ();
				_tmp114_ = g_strdup ("no");
				state_text = _tmp114_;
				if (state == TRUE) {
					gchar* _tmp115_;
					_tmp115_ = g_strdup ("yes");
					_g_free0 (state_text);
					state_text = _tmp115_;
				}
				_tmp116_ = lxsession_global_sig;
				_tmp117_ = state_text;
				g_signal_emit_by_name (_tmp116_, "generic-set-signal", "State", "laptop_mode", NULL, "string", _tmp117_);
				_tmp118_ = lxsession_power_manager_app_new ();
				powermanager = _tmp118_;
				_tmp119_ = powermanager;
				_tmp120_ = _g_object_ref0 (_tmp119_);
				_g_object_unref0 (lxsession_global_power_manager);
				lxsession_global_power_manager = _tmp120_;
				_tmp121_ = lxsession_global_power_manager;
				lxsession_app_object_launch ((LxsessionAppObject*) _tmp121_);
				_g_object_unref0 (powermanager);
				_g_free0 (state_text);
			} else {
				LxsessionPowerManagerApp* powermanager = NULL;
				LxsessionPowerManagerApp* _tmp122_;
				LxsessionPowerManagerApp* _tmp123_;
				LxsessionPowerManagerApp* _tmp124_;
				LxsessionPowerManagerApp* _tmp125_;
				_tmp122_ = lxsession_power_manager_app_new ();
				powermanager = _tmp122_;
				_tmp123_ = powermanager;
				_tmp124_ = _g_object_ref0 (_tmp123_);
				_g_object_unref0 (lxsession_global_power_manager);
				lxsession_global_power_manager = _tmp124_;
				_tmp125_ = lxsession_global_power_manager;
				lxsession_app_object_launch ((LxsessionAppObject*) _tmp125_);
				_g_object_unref0 (powermanager);
			}
		}
		_tmp126_ = lxsession_global_settings;
		_tmp127_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp126_, "Session", "network_gui", "command");
		_tmp128_ = _tmp127_;
		_tmp129_ = _tmp128_ != NULL;
		_g_free0 (_tmp128_);
		if (_tmp129_) {
			LxsessionLxsessionConfigKeyFile* _tmp130_;
			gchar* _tmp131_;
			gchar* _tmp132_;
			gboolean _tmp133_;
			_tmp130_ = lxsession_global_settings;
			_tmp131_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp130_, "State", "laptop_mode", NULL);
			_tmp132_ = _tmp131_;
			_tmp133_ = g_strcmp0 (_tmp132_, "unknown") == 0;
			_g_free0 (_tmp132_);
			if (_tmp133_) {
				gboolean state = FALSE;
				gchar* state_text = NULL;
				gchar* _tmp134_;
				LxsessionLxSignals* _tmp136_;
				const gchar* _tmp137_;
				LxsessionNetworkGuiApp* networkgui = NULL;
				LxsessionNetworkGuiApp* _tmp138_;
				LxsessionNetworkGuiApp* _tmp139_;
				LxsessionNetworkGuiApp* _tmp140_;
				LxsessionNetworkGuiApp* _tmp141_;
				state = lxsession_detect_laptop ();
				_tmp134_ = g_strdup ("no");
				state_text = _tmp134_;
				if (state == TRUE) {
					gchar* _tmp135_;
					_tmp135_ = g_strdup ("yes");
					_g_free0 (state_text);
					state_text = _tmp135_;
				}
				_tmp136_ = lxsession_global_sig;
				_tmp137_ = state_text;
				g_signal_emit_by_name (_tmp136_, "generic-set-signal", "State", "laptop_mode", NULL, "string", _tmp137_);
				_tmp138_ = lxsession_network_gui_app_new ();
				networkgui = _tmp138_;
				_tmp139_ = networkgui;
				_tmp140_ = _g_object_ref0 (_tmp139_);
				_g_object_unref0 (lxsession_global_network_gui);
				lxsession_global_network_gui = _tmp140_;
				_tmp141_ = lxsession_global_network_gui;
				lxsession_app_object_launch ((LxsessionAppObject*) _tmp141_);
				_g_object_unref0 (networkgui);
				_g_free0 (state_text);
			} else {
				LxsessionNetworkGuiApp* networkgui = NULL;
				LxsessionNetworkGuiApp* _tmp142_;
				LxsessionNetworkGuiApp* _tmp143_;
				LxsessionNetworkGuiApp* _tmp144_;
				LxsessionNetworkGuiApp* _tmp145_;
				_tmp142_ = lxsession_network_gui_app_new ();
				networkgui = _tmp142_;
				_tmp143_ = networkgui;
				_tmp144_ = _g_object_ref0 (_tmp143_);
				_g_object_unref0 (lxsession_global_network_gui);
				lxsession_global_network_gui = _tmp144_;
				_tmp145_ = lxsession_global_network_gui;
				lxsession_app_object_launch ((LxsessionAppObject*) _tmp145_);
				_g_object_unref0 (networkgui);
			}
		}
		_tmp146_ = lxsession_global_settings;
		_tmp147_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp146_, "Session", "desktop_manager", "command");
		_tmp148_ = _tmp147_;
		_tmp149_ = _tmp148_ != NULL;
		_g_free0 (_tmp148_);
		if (_tmp149_) {
			LxsessionDesktopApp* desktopmanager = NULL;
			LxsessionDesktopApp* _tmp150_;
			LxsessionDesktopApp* _tmp151_;
			LxsessionDesktopApp* _tmp152_;
			LxsessionDesktopApp* _tmp153_;
			_tmp150_ = lxsession_desktop_app_new ();
			desktopmanager = _tmp150_;
			_tmp151_ = desktopmanager;
			_tmp152_ = _g_object_ref0 (_tmp151_);
			_g_object_unref0 (lxsession_global_desktop);
			lxsession_global_desktop = _tmp152_;
			_tmp153_ = lxsession_global_desktop;
			lxsession_app_object_launch ((LxsessionAppObject*) _tmp153_);
			_g_object_unref0 (desktopmanager);
		}
		_tmp154_ = lxsession_global_settings;
		_tmp155_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp154_, "Session", "composite_manager", "autostart");
		_tmp156_ = _tmp155_;
		_tmp157_ = g_strcmp0 (_tmp156_, "true") == 0;
		_g_free0 (_tmp156_);
		if (_tmp157_) {
			LxsessionLxsessionConfigKeyFile* _tmp158_;
			gchar* _tmp159_;
			gchar* _tmp160_;
			gboolean _tmp161_;
			_tmp158_ = lxsession_global_settings;
			_tmp159_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp158_, "Session", "composite_manager", "command");
			_tmp160_ = _tmp159_;
			_tmp161_ = _tmp160_ != NULL;
			_g_free0 (_tmp160_);
			if (_tmp161_) {
				LxsessionGenericSimpleApp* compositemanager = NULL;
				LxsessionLxsessionConfigKeyFile* _tmp162_;
				gchar* _tmp163_;
				gchar* _tmp164_;
				LxsessionGenericSimpleApp* _tmp165_;
				LxsessionGenericSimpleApp* _tmp166_;
				LxsessionGenericSimpleApp* _tmp167_;
				LxsessionGenericSimpleApp* _tmp168_;
				LxsessionGenericSimpleApp* _tmp169_;
				_tmp162_ = lxsession_global_settings;
				_tmp163_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp162_, "Session", "composite_manager", "command");
				_tmp164_ = _tmp163_;
				_tmp165_ = lxsession_generic_simple_app_new (_tmp164_);
				_tmp166_ = _tmp165_;
				_g_free0 (_tmp164_);
				compositemanager = _tmp166_;
				_tmp167_ = compositemanager;
				_tmp168_ = _g_object_ref0 (_tmp167_);
				_g_object_unref0 (lxsession_global_composite_manager);
				lxsession_global_composite_manager = _tmp168_;
				_tmp169_ = lxsession_global_composite_manager;
				lxsession_app_object_launch ((LxsessionAppObject*) _tmp169_);
				_g_object_unref0 (compositemanager);
			}
		}
		_tmp170_ = lxsession_global_settings;
		_tmp171_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp170_, "Session", "polkit", "command");
		_tmp172_ = _tmp171_;
		_tmp173_ = _tmp172_ != NULL;
		_g_free0 (_tmp172_);
		if (_tmp173_) {
			LxsessionPolkitApp* securitypolkit = NULL;
			LxsessionPolkitApp* _tmp174_;
			LxsessionPolkitApp* _tmp175_;
			LxsessionPolkitApp* _tmp176_;
			LxsessionPolkitApp* _tmp177_;
			_tmp174_ = lxsession_polkit_app_new ();
			securitypolkit = _tmp174_;
			_tmp175_ = securitypolkit;
			_tmp176_ = _g_object_ref0 (_tmp175_);
			_g_object_unref0 (lxsession_global_polkit);
			lxsession_global_polkit = _tmp176_;
			_tmp177_ = lxsession_global_polkit;
			lxsession_app_object_launch ((LxsessionAppObject*) _tmp177_);
			_g_object_unref0 (securitypolkit);
		}
		_tmp178_ = lxsession_global_settings;
		_tmp179_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp178_, "Session", "launcher_manager", "autostart");
		_tmp180_ = _tmp179_;
		_tmp181_ = g_strcmp0 (_tmp180_, "true") == 0;
		_g_free0 (_tmp180_);
		if (_tmp181_) {
			LxsessionLxsessionConfigKeyFile* _tmp182_;
			gchar* _tmp183_;
			gchar* _tmp184_;
			gboolean _tmp185_;
			_tmp182_ = lxsession_global_settings;
			_tmp183_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp182_, "Session", "launcher_manager", "command");
			_tmp184_ = _tmp183_;
			_tmp185_ = _tmp184_ != NULL;
			_g_free0 (_tmp184_);
			if (_tmp185_) {
				LxsessionLauncherManagerApp* launcher = NULL;
				LxsessionLauncherManagerApp* _tmp186_;
				LxsessionLauncherManagerApp* _tmp187_;
				LxsessionLauncherManagerApp* _tmp188_;
				LxsessionLauncherManagerApp* _tmp189_;
				_tmp186_ = lxsession_launcher_manager_app_new ();
				launcher = _tmp186_;
				_tmp187_ = launcher;
				_tmp188_ = _g_object_ref0 (_tmp187_);
				_g_object_unref0 (lxsession_global_launcher_manager);
				lxsession_global_launcher_manager = _tmp188_;
				_tmp189_ = lxsession_global_launcher_manager;
				lxsession_launcher_manager_app_autostart_launch (_tmp189_);
				_g_object_unref0 (launcher);
			}
		}
		_tmp190_ = lxsession_global_settings;
		_tmp191_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp190_, "Session", "im1", "autostart");
		_tmp192_ = _tmp191_;
		_tmp193_ = g_strcmp0 (_tmp192_, "true") == 0;
		_g_free0 (_tmp192_);
		if (_tmp193_) {
			LxsessionLxsessionConfigKeyFile* _tmp194_;
			gchar* _tmp195_;
			gchar* _tmp196_;
			gboolean _tmp197_;
			_tmp194_ = lxsession_global_settings;
			_tmp195_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp194_, "Session", "im1", "command");
			_tmp196_ = _tmp195_;
			_tmp197_ = _tmp196_ != NULL;
			_g_free0 (_tmp196_);
			if (_tmp197_) {
				LxsessionGenericSimpleApp* im1 = NULL;
				LxsessionLxsessionConfigKeyFile* _tmp198_;
				gchar* _tmp199_;
				gchar* _tmp200_;
				LxsessionGenericSimpleApp* _tmp201_;
				LxsessionGenericSimpleApp* _tmp202_;
				LxsessionGenericSimpleApp* _tmp203_;
				LxsessionGenericSimpleApp* _tmp204_;
				LxsessionGenericSimpleApp* _tmp205_;
				_tmp198_ = lxsession_global_settings;
				_tmp199_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp198_, "Session", "im1", "command");
				_tmp200_ = _tmp199_;
				_tmp201_ = lxsession_generic_simple_app_new (_tmp200_);
				_tmp202_ = _tmp201_;
				_g_free0 (_tmp200_);
				im1 = _tmp202_;
				_tmp203_ = im1;
				_tmp204_ = _g_object_ref0 (_tmp203_);
				_g_object_unref0 (lxsession_global_im1);
				lxsession_global_im1 = _tmp204_;
				_tmp205_ = lxsession_global_im1;
				lxsession_app_object_launch ((LxsessionAppObject*) _tmp205_);
				_g_object_unref0 (im1);
			}
		}
		_tmp206_ = lxsession_global_settings;
		_tmp207_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp206_, "Session", "im2", "autostart");
		_tmp208_ = _tmp207_;
		_tmp209_ = g_strcmp0 (_tmp208_, "true") == 0;
		_g_free0 (_tmp208_);
		if (_tmp209_) {
			LxsessionLxsessionConfigKeyFile* _tmp210_;
			gchar* _tmp211_;
			gchar* _tmp212_;
			gboolean _tmp213_;
			_tmp210_ = lxsession_global_settings;
			_tmp211_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp210_, "Session", "im2", "command");
			_tmp212_ = _tmp211_;
			_tmp213_ = _tmp212_ != NULL;
			_g_free0 (_tmp212_);
			if (_tmp213_) {
				LxsessionGenericSimpleApp* im2 = NULL;
				LxsessionLxsessionConfigKeyFile* _tmp214_;
				gchar* _tmp215_;
				gchar* _tmp216_;
				LxsessionGenericSimpleApp* _tmp217_;
				LxsessionGenericSimpleApp* _tmp218_;
				LxsessionGenericSimpleApp* _tmp219_;
				LxsessionGenericSimpleApp* _tmp220_;
				LxsessionGenericSimpleApp* _tmp221_;
				_tmp214_ = lxsession_global_settings;
				_tmp215_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp214_, "Session", "im2", "command");
				_tmp216_ = _tmp215_;
				_tmp217_ = lxsession_generic_simple_app_new (_tmp216_);
				_tmp218_ = _tmp217_;
				_g_free0 (_tmp216_);
				im2 = _tmp218_;
				_tmp219_ = im2;
				_tmp220_ = _g_object_ref0 (_tmp219_);
				_g_object_unref0 (lxsession_global_im2);
				lxsession_global_im2 = _tmp220_;
				_tmp221_ = lxsession_global_im2;
				lxsession_app_object_launch ((LxsessionAppObject*) _tmp221_);
				_g_object_unref0 (im2);
			}
		}
		_tmp222_ = lxsession_global_settings;
		_tmp223_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp222_, "Session", "widget1", "autostart");
		_tmp224_ = _tmp223_;
		_tmp225_ = g_strcmp0 (_tmp224_, "true") == 0;
		_g_free0 (_tmp224_);
		if (_tmp225_) {
			LxsessionLxsessionConfigKeyFile* _tmp226_;
			gchar* _tmp227_;
			gchar* _tmp228_;
			gboolean _tmp229_;
			_tmp226_ = lxsession_global_settings;
			_tmp227_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp226_, "Session", "widget1", "command");
			_tmp228_ = _tmp227_;
			_tmp229_ = _tmp228_ != NULL;
			_g_free0 (_tmp228_);
			if (_tmp229_) {
				LxsessionGenericSimpleApp* widget1 = NULL;
				LxsessionLxsessionConfigKeyFile* _tmp230_;
				gchar* _tmp231_;
				gchar* _tmp232_;
				LxsessionGenericSimpleApp* _tmp233_;
				LxsessionGenericSimpleApp* _tmp234_;
				LxsessionGenericSimpleApp* _tmp235_;
				LxsessionGenericSimpleApp* _tmp236_;
				LxsessionGenericSimpleApp* _tmp237_;
				_tmp230_ = lxsession_global_settings;
				_tmp231_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp230_, "Session", "widget1", "command");
				_tmp232_ = _tmp231_;
				_tmp233_ = lxsession_generic_simple_app_new (_tmp232_);
				_tmp234_ = _tmp233_;
				_g_free0 (_tmp232_);
				widget1 = _tmp234_;
				_tmp235_ = widget1;
				_tmp236_ = _g_object_ref0 (_tmp235_);
				_g_object_unref0 (lxsession_global_widget1);
				lxsession_global_widget1 = _tmp236_;
				_tmp237_ = lxsession_global_widget1;
				lxsession_app_object_launch ((LxsessionAppObject*) _tmp237_);
				_g_object_unref0 (widget1);
			}
		}
		_tmp238_ = lxsession_global_settings;
		_tmp239_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp238_, "Session", "notification", "autostart");
		_tmp240_ = _tmp239_;
		_tmp241_ = g_strcmp0 (_tmp240_, "true") == 0;
		_g_free0 (_tmp240_);
		if (_tmp241_) {
			LxsessionLxsessionConfigKeyFile* _tmp242_;
			gchar* _tmp243_;
			gchar* _tmp244_;
			gboolean _tmp245_;
			_tmp242_ = lxsession_global_settings;
			_tmp243_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp242_, "Session", "notification", "command");
			_tmp244_ = _tmp243_;
			_tmp245_ = _tmp244_ != NULL;
			_g_free0 (_tmp244_);
			if (_tmp245_) {
				LxsessionGenericSimpleApp* notification = NULL;
				LxsessionLxsessionConfigKeyFile* _tmp246_;
				gchar* _tmp247_;
				gchar* _tmp248_;
				LxsessionGenericSimpleApp* _tmp249_;
				LxsessionGenericSimpleApp* _tmp250_;
				LxsessionGenericSimpleApp* _tmp251_;
				LxsessionGenericSimpleApp* _tmp252_;
				LxsessionGenericSimpleApp* _tmp253_;
				_tmp246_ = lxsession_global_settings;
				_tmp247_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp246_, "Session", "notification", "command");
				_tmp248_ = _tmp247_;
				_tmp249_ = lxsession_generic_simple_app_new (_tmp248_);
				_tmp250_ = _tmp249_;
				_g_free0 (_tmp248_);
				notification = _tmp250_;
				_tmp251_ = notification;
				_tmp252_ = _g_object_ref0 (_tmp251_);
				_g_object_unref0 (lxsession_global_notification);
				lxsession_global_notification = _tmp252_;
				_tmp253_ = lxsession_global_notification;
				lxsession_app_object_launch ((LxsessionAppObject*) _tmp253_);
				_g_object_unref0 (notification);
			}
		}
		_tmp254_ = lxsession_global_settings;
		_tmp255_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp254_, "Session", "keybindings", "autostart");
		_tmp256_ = _tmp255_;
		_tmp257_ = g_strcmp0 (_tmp256_, "true") == 0;
		_g_free0 (_tmp256_);
		if (_tmp257_) {
			LxsessionLxsessionConfigKeyFile* _tmp258_;
			gchar* _tmp259_;
			gchar* _tmp260_;
			gboolean _tmp261_;
			_tmp258_ = lxsession_global_settings;
			_tmp259_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp258_, "Session", "keybindings", "command");
			_tmp260_ = _tmp259_;
			_tmp261_ = _tmp260_ != NULL;
			_g_free0 (_tmp260_);
			if (_tmp261_) {
				LxsessionGenericSimpleApp* keybindings = NULL;
				LxsessionLxsessionConfigKeyFile* _tmp262_;
				gchar* _tmp263_;
				gchar* _tmp264_;
				LxsessionGenericSimpleApp* _tmp265_;
				LxsessionGenericSimpleApp* _tmp266_;
				LxsessionGenericSimpleApp* _tmp267_;
				LxsessionGenericSimpleApp* _tmp268_;
				LxsessionGenericSimpleApp* _tmp269_;
				_tmp262_ = lxsession_global_settings;
				_tmp263_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp262_, "Session", "keybindings", "command");
				_tmp264_ = _tmp263_;
				_tmp265_ = lxsession_generic_simple_app_new (_tmp264_);
				_tmp266_ = _tmp265_;
				_g_free0 (_tmp264_);
				keybindings = _tmp266_;
				_tmp267_ = keybindings;
				_tmp268_ = _g_object_ref0 (_tmp267_);
				_g_object_unref0 (lxsession_global_keybindings);
				lxsession_global_keybindings = _tmp268_;
				_tmp269_ = lxsession_global_keybindings;
				lxsession_app_object_launch ((LxsessionAppObject*) _tmp269_);
				_g_object_unref0 (keybindings);
			}
		}
		_tmp270_ = lxsession_global_settings;
		_tmp271_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp270_, "Session", "im_manager", "autostart");
		_tmp272_ = _tmp271_;
		_tmp273_ = g_strcmp0 (_tmp272_, "true") == 0;
		_g_free0 (_tmp272_);
		if (_tmp273_) {
			LxsessionLxsessionConfigKeyFile* _tmp274_;
			gchar* _tmp275_;
			gchar* _tmp276_;
			gboolean _tmp277_;
			_tmp274_ = lxsession_global_settings;
			_tmp275_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp274_, "Session", "im_manager", "command");
			_tmp276_ = _tmp275_;
			_tmp277_ = _tmp276_ != NULL;
			_g_free0 (_tmp276_);
			if (_tmp277_) {
				LxsessionGenericSimpleApp* im_manager = NULL;
				LxsessionLxsessionConfigKeyFile* _tmp278_;
				gchar* _tmp279_;
				gchar* _tmp280_;
				LxsessionGenericSimpleApp* _tmp281_;
				LxsessionGenericSimpleApp* _tmp282_;
				LxsessionGenericSimpleApp* _tmp283_;
				LxsessionGenericSimpleApp* _tmp284_;
				LxsessionGenericSimpleApp* _tmp285_;
				_tmp278_ = lxsession_global_settings;
				_tmp279_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp278_, "Session", "im_manager", "command");
				_tmp280_ = _tmp279_;
				_tmp281_ = lxsession_generic_simple_app_new (_tmp280_);
				_tmp282_ = _tmp281_;
				_g_free0 (_tmp280_);
				im_manager = _tmp282_;
				_tmp283_ = im_manager;
				_tmp284_ = _g_object_ref0 (_tmp283_);
				_g_object_unref0 (lxsession_global_im_manager);
				lxsession_global_im_manager = _tmp284_;
				_tmp285_ = lxsession_global_im_manager;
				lxsession_app_object_launch ((LxsessionAppObject*) _tmp285_);
				_g_object_unref0 (im_manager);
			}
		}
		_tmp286_ = lxsession_lxsession_autostart_config_new ();
		_auto_ = _tmp286_;
		_tmp287_ = _auto_;
		lxsession_lxsession_autostart_config_start_applications (_tmp287_);
		_tmp288_ = lxsession_global_settings;
		_tmp289_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp288_, "Session", "disable_autostart", NULL);
		_tmp290_ = _tmp289_;
		_tmp291_ = g_strcmp0 (_tmp290_, "config-only") == 0;
		_g_free0 (_tmp290_);
		if (_tmp291_) {
		} else {
			gchar* autostart_cmd = NULL;
			const gchar* _tmp292_;
			gchar* _tmp293_;
			const gchar* _tmp294_;
			_tmp292_ = lxsession_main_desktop_environnement;
			_tmp293_ = g_strconcat ("lxsession-xdg-autostart -d ", _tmp292_, NULL);
			autostart_cmd = _tmp293_;
			_tmp294_ = autostart_cmd;
			lxsession_lxsession_spawn_command_line_async (_tmp294_);
			_g_free0 (autostart_cmd);
		}
		_g_object_unref0 (_auto_);
	}
	_tmp295_ = lxsession_global_settings;
	_tmp296_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp295_, "Session", "clipboard", "command");
	_tmp297_ = _tmp296_;
	_tmp298_ = _tmp297_ != NULL;
	_g_free0 (_tmp297_);
	if (_tmp298_) {
		LxsessionClipboardOption* clipboard = NULL;
		LxsessionLxsessionConfigKeyFile* _tmp299_;
		LxsessionClipboardOption* _tmp300_;
		LxsessionClipboardOption* _tmp301_;
		LxsessionClipboardOption* _tmp302_;
		LxsessionClipboardOption* _tmp303_;
		_tmp299_ = lxsession_global_settings;
		_tmp300_ = lxsession_clipboard_option_new ((LxsessionLxsessionConfig*) _tmp299_);
		clipboard = _tmp300_;
		_tmp301_ = clipboard;
		_tmp302_ = _g_object_ref0 (_tmp301_);
		_g_object_unref0 (lxsession_global_clipboard);
		lxsession_global_clipboard = _tmp302_;
		_tmp303_ = lxsession_global_clipboard;
		lxsession_option_activate ((LxsessionOption*) _tmp303_);
		_g_object_unref0 (clipboard);
	}
	_tmp304_ = lxsession_global_settings;
	_tmp305_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp304_, "Keymap", "mode", NULL);
	_tmp306_ = _tmp305_;
	g_message ("main.vala:443: Check keymap_mode %s", _tmp306_);
	_g_free0 (_tmp306_);
	_tmp307_ = lxsession_global_settings;
	_tmp308_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp307_, "Keymap", "mode", NULL);
	_tmp309_ = _tmp308_;
	_tmp310_ = _tmp309_ != NULL;
	_g_free0 (_tmp309_);
	if (_tmp310_) {
		LxsessionKeymapOption* keymap = NULL;
		LxsessionLxsessionConfigKeyFile* _tmp311_;
		LxsessionKeymapOption* _tmp312_;
		LxsessionKeymapOption* _tmp313_;
		LxsessionKeymapOption* _tmp314_;
		LxsessionKeymapOption* _tmp315_;
		g_message ("main.vala:446: Create Option Keymap");
		_tmp311_ = lxsession_global_settings;
		_tmp312_ = lxsession_keymap_option_new ((LxsessionLxsessionConfig*) _tmp311_);
		keymap = _tmp312_;
		_tmp313_ = keymap;
		_tmp314_ = _g_object_ref0 (_tmp313_);
		_g_object_unref0 (lxsession_global_keymap);
		lxsession_global_keymap = _tmp314_;
		_tmp315_ = lxsession_global_keymap;
		lxsession_option_activate ((LxsessionOption*) _tmp315_);
		_g_object_unref0 (keymap);
	}
	_tmp316_ = lxsession_global_settings;
	_tmp317_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp316_, "Session", "xrandr", "command");
	_tmp318_ = _tmp317_;
	_tmp319_ = _tmp318_ != NULL;
	_g_free0 (_tmp318_);
	if (_tmp319_) {
		LxsessionXrandrApp* xrandr = NULL;
		LxsessionXrandrApp* _tmp320_;
		LxsessionXrandrApp* _tmp321_;
		LxsessionXrandrApp* _tmp322_;
		LxsessionXrandrApp* _tmp323_;
		_tmp320_ = lxsession_xrandr_app_new ();
		xrandr = _tmp320_;
		_tmp321_ = xrandr;
		_tmp322_ = _g_object_ref0 (_tmp321_);
		_g_object_unref0 (lxsession_global_xrandr);
		lxsession_global_xrandr = _tmp322_;
		_tmp323_ = xrandr;
		lxsession_app_object_launch ((LxsessionAppObject*) _tmp323_);
		_g_object_unref0 (xrandr);
	}
	_tmp324_ = lxsession_global_settings;
	_tmp325_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp324_, "Session", "keyring", "command");
	_tmp326_ = _tmp325_;
	_tmp327_ = _tmp326_ != NULL;
	_g_free0 (_tmp326_);
	if (_tmp327_) {
		LxsessionKeyringApp* keyring = NULL;
		LxsessionKeyringApp* _tmp328_;
		LxsessionKeyringApp* _tmp329_;
		LxsessionKeyringApp* _tmp330_;
		LxsessionKeyringApp* _tmp331_;
		_tmp328_ = lxsession_keyring_app_new ();
		keyring = _tmp328_;
		_tmp329_ = keyring;
		_tmp330_ = _g_object_ref0 (_tmp329_);
		_g_object_unref0 (lxsession_global_keyring);
		lxsession_global_keyring = _tmp330_;
		_tmp331_ = lxsession_global_keyring;
		lxsession_app_object_launch ((LxsessionAppObject*) _tmp331_);
		_g_object_unref0 (keyring);
	}
	_tmp332_ = lxsession_global_settings;
	_tmp333_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp332_, "Session", "a11y", "command");
	_tmp334_ = _tmp333_;
	_tmp335_ = _tmp334_ != NULL;
	_g_free0 (_tmp334_);
	if (_tmp335_) {
		LxsessionA11yApp* a11y = NULL;
		LxsessionA11yApp* _tmp336_;
		LxsessionA11yApp* _tmp337_;
		LxsessionA11yApp* _tmp338_;
		LxsessionA11yApp* _tmp339_;
		_tmp336_ = lxsession_a11y_app_new ();
		a11y = _tmp336_;
		_tmp337_ = a11y;
		_tmp338_ = _g_object_ref0 (_tmp337_);
		_g_object_unref0 (lxsession_global_a11y);
		lxsession_global_a11y = _tmp338_;
		_tmp339_ = lxsession_global_a11y;
		lxsession_app_object_launch ((LxsessionAppObject*) _tmp339_);
		_g_object_unref0 (a11y);
	}
	_tmp340_ = lxsession_global_settings;
	_tmp341_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp340_, "Session", "proxy_manager", "command");
	_tmp342_ = _tmp341_;
	_tmp343_ = _tmp342_ != NULL;
	_g_free0 (_tmp342_);
	if (_tmp343_) {
		LxsessionProxyManagerApp* proxy = NULL;
		LxsessionProxyManagerApp* _tmp344_;
		LxsessionProxyManagerApp* _tmp345_;
		LxsessionProxyManagerApp* _tmp346_;
		LxsessionProxyManagerApp* _tmp347_;
		_tmp344_ = lxsession_proxy_manager_app_new ();
		proxy = _tmp344_;
		_tmp345_ = proxy;
		_tmp346_ = _g_object_ref0 (_tmp345_);
		_g_object_unref0 (lxsession_global_proxy);
		lxsession_global_proxy = _tmp346_;
		_tmp347_ = lxsession_global_proxy;
		lxsession_app_object_launch ((LxsessionAppObject*) _tmp347_);
		_g_object_unref0 (proxy);
	}
	_tmp348_ = lxsession_global_settings;
	_tmp349_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp348_, "Session", "updates_manager", "command");
	_tmp350_ = _tmp349_;
	_tmp351_ = _tmp350_ != NULL;
	_g_free0 (_tmp350_);
	if (_tmp351_) {
		LxsessionUpdatesManagerApp* updates = NULL;
		LxsessionUpdatesManagerApp* _tmp352_;
		LxsessionUpdatesManagerApp* _tmp353_;
		LxsessionUpdatesManagerApp* _tmp354_;
		_tmp352_ = lxsession_updates_manager_app_new ();
		updates = _tmp352_;
		_tmp353_ = updates;
		_tmp354_ = _g_object_ref0 (_tmp353_);
		_g_object_unref0 (lxsession_global_updates);
		lxsession_global_updates = _tmp354_;
		_g_object_unref0 (updates);
	}
	_tmp355_ = lxsession_global_settings;
	_tmp356_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp355_, "Session", "crash_manager", "command");
	_tmp357_ = _tmp356_;
	_tmp358_ = _tmp357_ != NULL;
	_g_free0 (_tmp357_);
	if (_tmp358_) {
		LxsessionCrashManagerApp* crash = NULL;
		LxsessionCrashManagerApp* _tmp359_;
		LxsessionCrashManagerApp* _tmp360_;
		LxsessionCrashManagerApp* _tmp361_;
		_tmp359_ = lxsession_crash_manager_app_new ();
		crash = _tmp359_;
		_tmp360_ = crash;
		_tmp361_ = _g_object_ref0 (_tmp360_);
		_g_object_unref0 (lxsession_global_crash);
		lxsession_global_crash = _tmp361_;
		_g_object_unref0 (crash);
	}
	_tmp362_ = lxsession_global_settings;
	_tmp363_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp362_, "Session", "upstart_user_session", NULL);
	_tmp364_ = _tmp363_;
	_tmp365_ = g_strcmp0 (_tmp364_, "true") == 0;
	_g_free0 (_tmp364_);
	if (_tmp365_) {
		LxsessionUpstartUserSessionOption* upstart_session = NULL;
		LxsessionLxsessionConfigKeyFile* _tmp366_;
		LxsessionUpstartUserSessionOption* _tmp367_;
		LxsessionUpstartUserSessionOption* _tmp368_;
		LxsessionUpstartUserSessionOption* _tmp369_;
		LxsessionUpstartUserSessionOption* _tmp370_;
		_tmp366_ = lxsession_global_settings;
		_tmp367_ = lxsession_upstart_user_session_option_new ((LxsessionLxsessionConfig*) _tmp366_);
		upstart_session = _tmp367_;
		_tmp368_ = upstart_session;
		_tmp369_ = _g_object_ref0 (_tmp368_);
		_g_object_unref0 (lxsession_global_upstart_session);
		lxsession_global_upstart_session = _tmp369_;
		_tmp370_ = lxsession_global_upstart_session;
		lxsession_upstart_user_session_option_activate (_tmp370_);
		_g_object_unref0 (upstart_session);
	}
	_tmp371_ = lxsession_global_settings;
	_tmp372_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp371_, "Dbus", "lxde", NULL);
	_tmp373_ = _tmp372_;
	_tmp374_ = g_strcmp0 (_tmp373_, "true") == 0;
	_g_free0 (_tmp373_);
	if (_tmp374_) {
		g_bus_own_name_with_closures (G_BUS_TYPE_SESSION, "org.lxde.SessionManager", G_BUS_NAME_OWNER_FLAGS_NONE, (GClosure*) g_cclosure_new ((GCallback) _lxsession_on_bus_aquired_gbus_acquired_callback, NULL, (GClosureNotify) NULL), (GClosure*) ((____lambda15__gbus_name_acquired_callback == NULL) ? NULL : g_cclosure_new ((GCallback) ____lambda15__gbus_name_acquired_callback, NULL, (GClosureNotify) NULL)), (GClosure*) ((____lambda16__gbus_name_lost_callback == NULL) ? NULL : g_cclosure_new ((GCallback) ____lambda16__gbus_name_lost_callback, NULL, (GClosureNotify) NULL)));
	}
	_tmp375_ = lxsession_global_settings;
	_tmp376_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp375_, "Dbus", "gnome", NULL);
	_tmp377_ = _tmp376_;
	_tmp378_ = g_strcmp0 (_tmp377_, "true") == 0;
	_g_free0 (_tmp377_);
	if (_tmp378_) {
		g_bus_own_name_with_closures (G_BUS_TYPE_SESSION, "org.gnome.SessionManager", G_BUS_NAME_OWNER_FLAGS_NONE, (GClosure*) g_cclosure_new ((GCallback) _lxsession_on_gnome_bus_aquired_gbus_acquired_callback, NULL, (GClosureNotify) NULL), (GClosure*) ((____lambda17__gbus_name_acquired_callback == NULL) ? NULL : g_cclosure_new ((GCallback) ____lambda17__gbus_name_acquired_callback, NULL, (GClosureNotify) NULL)), (GClosure*) ((____lambda18__gbus_name_lost_callback == NULL) ? NULL : g_cclosure_new ((GCallback) ____lambda18__gbus_name_lost_callback, NULL, (GClosureNotify) NULL)));
	}
	_tmp379_ = g_main_loop_new (NULL, FALSE);
	_tmp380_ = _tmp379_;
	g_main_loop_run (_tmp380_);
	_g_main_loop_unref0 (_tmp380_);
	_tmp381_ = lxsession_global_clipboard;
	if (_tmp381_ != NULL) {
		LxsessionClipboardOption* _tmp382_;
		_tmp382_ = lxsession_global_clipboard;
		lxsession_clipboard_option_desactivate (_tmp382_);
	}
	_tmp383_ = lxsession_global_settings;
	_tmp384_ = lxsession_lxsession_config_get_item_string ((LxsessionLxsessionConfig*) _tmp383_, "Session", "polkit", "command");
	_tmp385_ = _tmp384_;
	_tmp386_ = _tmp385_ != NULL;
	_g_free0 (_tmp385_);
	if (_tmp386_) {
		LxsessionPolkitApp* _tmp387_;
		LxsessionPolkitApp* _tmp388_;
		_tmp387_ = lxsession_global_polkit;
		lxsession_polkit_app_deactivate (_tmp387_);
		_tmp388_ = lxsession_global_polkit;
		lxsession_app_object_stop ((LxsessionAppObject*) _tmp388_);
	}
	_tmp389_ = lxsession_global_panel;
	if (_tmp389_ != NULL) {
		LxsessionPanelApp* _tmp390_;
		_tmp390_ = lxsession_global_panel;
		lxsession_app_object_stop ((LxsessionAppObject*) _tmp390_);
	}
	_tmp391_ = lxsession_global_dock;
	if (_tmp391_ != NULL) {
		LxsessionDockApp* _tmp392_;
		_tmp392_ = lxsession_global_dock;
		lxsession_app_object_stop ((LxsessionAppObject*) _tmp392_);
	}
	_tmp393_ = lxsession_global_windows_manager;
	if (_tmp393_ != NULL) {
		LxsessionWindowsManagerApp* _tmp394_;
		_tmp394_ = lxsession_global_windows_manager;
		lxsession_app_object_stop ((LxsessionAppObject*) _tmp394_);
	}
	_tmp395_ = lxsession_global_desktop;
	if (_tmp395_ != NULL) {
		LxsessionDesktopApp* _tmp396_;
		_tmp396_ = lxsession_global_desktop;
		lxsession_app_object_stop ((LxsessionAppObject*) _tmp396_);
	}
	_tmp397_ = lxsession_global_polkit;
	if (_tmp397_ != NULL) {
		LxsessionPolkitApp* _tmp398_;
		_tmp398_ = lxsession_global_polkit;
		lxsession_app_object_stop ((LxsessionAppObject*) _tmp398_);
	}
	_tmp399_ = lxsession_global_screensaver;
	if (_tmp399_ != NULL) {
		LxsessionScreensaverApp* _tmp400_;
		_tmp400_ = lxsession_global_screensaver;
		lxsession_app_object_stop ((LxsessionAppObject*) _tmp400_);
	}
	_tmp401_ = lxsession_global_power_manager;
	if (_tmp401_ != NULL) {
		LxsessionPowerManagerApp* _tmp402_;
		_tmp402_ = lxsession_global_power_manager;
		lxsession_app_object_stop ((LxsessionAppObject*) _tmp402_);
	}
	_tmp403_ = lxsession_global_network_gui;
	if (_tmp403_ != NULL) {
		LxsessionNetworkGuiApp* _tmp404_;
		_tmp404_ = lxsession_global_network_gui;
		lxsession_app_object_stop ((LxsessionAppObject*) _tmp404_);
	}
	_tmp405_ = lxsession_global_composite_manager;
	if (_tmp405_ != NULL) {
		LxsessionGenericSimpleApp* _tmp406_;
		_tmp406_ = lxsession_global_composite_manager;
		lxsession_app_object_stop ((LxsessionAppObject*) _tmp406_);
	}
	result = 0;
	_g_free0 (conffiles_conf);
	_g_object_unref0 (environment);
	_g_object_unref0 (sig);
	_g_free0 (log_path);
	_g_object_unref0 (dir_log);
	_g_free0 (log_directory);
	return result;
}

int
main (int argc,
      char ** argv)
{
	return lxsession_main_main (argv, argc);
}

LxsessionMain*
lxsession_main_construct (GType object_type)
{
	LxsessionMain * self = NULL;
	self = (LxsessionMain*) g_object_new (object_type, NULL);
	return self;
}

LxsessionMain*
lxsession_main_new (void)
{
	return lxsession_main_construct (LXSESSION_TYPE_MAIN);
}

static void
lxsession_main_class_init (LxsessionMainClass * klass,
                           gpointer klass_data)
{
	gchar* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	lxsession_main_parent_class = g_type_class_peek_parent (klass);
	G_OBJECT_CLASS (klass)->finalize = lxsession_main_finalize;
	_tmp0_ = g_strdup ("LXDE");
	lxsession_main_session = _tmp0_;
	_tmp1_ = g_strdup ("LXDE");
	lxsession_main_desktop_environnement = _tmp1_;
	_tmp2_ = g_strdup ("");
	lxsession_main_compatibility = _tmp2_;
}

static void
lxsession_main_instance_init (LxsessionMain * self,
                              gpointer klass)
{
}

static void
lxsession_main_finalize (GObject * obj)
{
	LxsessionMain * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, LXSESSION_TYPE_MAIN, LxsessionMain);
	G_OBJECT_CLASS (lxsession_main_parent_class)->finalize (obj);
}

static GType
lxsession_main_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (LxsessionMainClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) lxsession_main_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (LxsessionMain), 0, (GInstanceInitFunc) lxsession_main_instance_init, NULL };
	GType lxsession_main_type_id;
	lxsession_main_type_id = g_type_register_static (G_TYPE_OBJECT, "LxsessionMain", &g_define_type_info, 0);
	return lxsession_main_type_id;
}

GType
lxsession_main_get_type (void)
{
	static volatile gsize lxsession_main_type_id__once = 0;
	if (g_once_init_enter (&lxsession_main_type_id__once)) {
		GType lxsession_main_type_id;
		lxsession_main_type_id = lxsession_main_get_type_once ();
		g_once_init_leave (&lxsession_main_type_id__once, lxsession_main_type_id);
	}
	return lxsession_main_type_id__once;
}

