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


#include <glib.h>
#include <glib-object.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <gtk/gtk.h>
#include <float.h>
#include <math.h>
#include <gee.h>
#include <gio/gio.h>
#include <stdio.h>

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

#define TYPE_LEFT_LABEL (left_label_get_type ())
#define LEFT_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_LEFT_LABEL, LeftLabel))
#define LEFT_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_LEFT_LABEL, LeftLabelClass))
#define IS_LEFT_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_LEFT_LABEL))
#define IS_LEFT_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_LEFT_LABEL))
#define LEFT_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_LEFT_LABEL, LeftLabelClass))

typedef struct _LeftLabel LeftLabel;
typedef struct _LeftLabelClass LeftLabelClass;
typedef struct _LeftLabelPrivate LeftLabelPrivate;
#define _g_free0(var) (var = (g_free (var), NULL))

#define TYPE_WRAP_LABEL (wrap_label_get_type ())
#define WRAP_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_WRAP_LABEL, WrapLabel))
#define WRAP_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_WRAP_LABEL, WrapLabelClass))
#define IS_WRAP_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_WRAP_LABEL))
#define IS_WRAP_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_WRAP_LABEL))
#define WRAP_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_WRAP_LABEL, WrapLabelClass))

typedef struct _WrapLabel WrapLabel;
typedef struct _WrapLabelClass WrapLabelClass;
typedef struct _WrapLabelPrivate WrapLabelPrivate;

#define TYPE_RIGHT_LABEL (right_label_get_type ())
#define RIGHT_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_RIGHT_LABEL, RightLabel))
#define RIGHT_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_RIGHT_LABEL, RightLabelClass))
#define IS_RIGHT_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_RIGHT_LABEL))
#define IS_RIGHT_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_RIGHT_LABEL))
#define RIGHT_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_RIGHT_LABEL, RightLabelClass))

typedef struct _RightLabel RightLabel;
typedef struct _RightLabelClass RightLabelClass;
typedef struct _RightLabelPrivate RightLabelPrivate;

#define TYPE_MAIN_WINDOW (main_window_get_type ())
#define MAIN_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MAIN_WINDOW, MainWindow))
#define MAIN_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MAIN_WINDOW, MainWindowClass))
#define IS_MAIN_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MAIN_WINDOW))
#define IS_MAIN_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_MAIN_WINDOW))
#define MAIN_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_MAIN_WINDOW, MainWindowClass))

typedef struct _MainWindow MainWindow;
typedef struct _MainWindowClass MainWindowClass;
typedef struct _MainWindowPrivate MainWindowPrivate;

#define TYPE_UNIT (unit_get_type ())
#define UNIT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_UNIT, Unit))
#define IS_UNIT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_UNIT))
#define UNIT_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_UNIT, UnitIface))

typedef struct _Unit Unit;
typedef struct _UnitIface UnitIface;

#define TYPE_UNIT_PROXY (unit_proxy_get_type ())

#define UNIT_TYPE_JOB_LINK (unit_job_link_get_type ())
typedef struct _UnitJobLink UnitJobLink;

#define TYPE_MANAGER (manager_get_type ())
#define MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MANAGER, Manager))
#define IS_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_MANAGER))
#define MANAGER_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_MANAGER, ManagerIface))

typedef struct _Manager Manager;
typedef struct _ManagerIface ManagerIface;

#define TYPE_MANAGER_PROXY (manager_proxy_get_type ())

#define MANAGER_TYPE_UNIT_INFO (manager_unit_info_get_type ())
typedef struct _ManagerUnitInfo ManagerUnitInfo;

#define MANAGER_TYPE_JOB_INFO (manager_job_info_get_type ())
typedef struct _ManagerJobInfo ManagerJobInfo;

#define TYPE_JOB (job_get_type ())
#define JOB(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_JOB, Job))
#define IS_JOB(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_JOB))
#define JOB_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_JOB, JobIface))

typedef struct _Job Job;
typedef struct _JobIface JobIface;

#define TYPE_JOB_PROXY (job_proxy_get_type ())

#define JOB_TYPE_UNIT_LINK (job_unit_link_get_type ())
typedef struct _JobUnitLink JobUnitLink;

#define TYPE_PROPERTIES (properties_get_type ())
#define PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PROPERTIES, Properties))
#define IS_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PROPERTIES))
#define PROPERTIES_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), TYPE_PROPERTIES, PropertiesIface))

typedef struct _Properties Properties;
typedef struct _PropertiesIface PropertiesIface;

#define TYPE_PROPERTIES_PROXY (properties_proxy_get_type ())
#define _gtk_tree_path_free0(var) ((var == NULL) ? NULL : (var = (gtk_tree_path_free (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))

struct _LeftLabel {
	GtkLabel parent_instance;
	LeftLabelPrivate * priv;
};

struct _LeftLabelClass {
	GtkLabelClass parent_class;
};

struct _WrapLabel {
	GtkLabel parent_instance;
	WrapLabelPrivate * priv;
};

struct _WrapLabelClass {
	GtkLabelClass parent_class;
};

struct _RightLabel {
	WrapLabel parent_instance;
	RightLabelPrivate * priv;
};

struct _RightLabelClass {
	WrapLabelClass parent_class;
};

struct _MainWindow {
	GtkWindow parent_instance;
	MainWindowPrivate * priv;
};

struct _MainWindowClass {
	GtkWindowClass parent_class;
};

struct _UnitJobLink {
	guint32 id;
	char* path;
};

struct _UnitIface {
	GTypeInterface parent_iface;
	char* (*start) (Unit* self, const gchar* mode, GError** error);
	char* (*stop) (Unit* self, const gchar* mode, GError** error);
	char* (*reload) (Unit* self, const gchar* mode, GError** error);
	char* (*restart) (Unit* self, const gchar* mode, GError** error);
	char* (*try_restart) (Unit* self, const gchar* mode, GError** error);
	char* (*reload_or_restart) (Unit* self, const gchar* mode, GError** error);
	char* (*reload_or_try_restart) (Unit* self, const gchar* mode, GError** error);
	void (*reset_failed) (Unit* self, GError** error);
	gchar* (*get_id) (Unit* self);
	gchar** (*get_names) (Unit* self, int* result_length1);
	gchar* (*get_following) (Unit* self);
	gchar** (*get_requires) (Unit* self, int* result_length1);
	gchar** (*get_requires_overridable) (Unit* self, int* result_length1);
	gchar** (*get_requisite) (Unit* self, int* result_length1);
	gchar** (*get_requisite_overridable) (Unit* self, int* result_length1);
	gchar** (*get_wants) (Unit* self, int* result_length1);
	gchar** (*get_required_by) (Unit* self, int* result_length1);
	gchar** (*get_required_by_overridable) (Unit* self, int* result_length1);
	gchar** (*get_wanted_by) (Unit* self, int* result_length1);
	gchar** (*get_conflicts) (Unit* self, int* result_length1);
	gchar** (*get_conflicted_by) (Unit* self, int* result_length1);
	gchar** (*get_before) (Unit* self, int* result_length1);
	gchar** (*get_after) (Unit* self, int* result_length1);
	gchar** (*get_on_failure) (Unit* self, int* result_length1);
	gchar* (*get_description) (Unit* self);
	gchar* (*get_load_state) (Unit* self);
	gchar* (*get_active_state) (Unit* self);
	gchar* (*get_sub_state) (Unit* self);
	gchar* (*get_fragment_path) (Unit* self);
	guint64 (*get_inactive_exit_timestamp) (Unit* self);
	guint64 (*get_active_enter_timestamp) (Unit* self);
	guint64 (*get_active_exit_timestamp) (Unit* self);
	guint64 (*get_inactive_enter_timestamp) (Unit* self);
	gboolean (*get_can_start) (Unit* self);
	gboolean (*get_can_stop) (Unit* self);
	gboolean (*get_can_reload) (Unit* self);
	void (*get_job) (Unit* self, UnitJobLink* value);
	gboolean (*get_recursive_stop) (Unit* self);
	gboolean (*get_stop_when_unneeded) (Unit* self);
	gboolean (*get_refuse_manual_start) (Unit* self);
	gboolean (*get_refuse_manual_stop) (Unit* self);
	gboolean (*get_default_dependencies) (Unit* self);
	gchar* (*get_default_control_group) (Unit* self);
	gchar** (*get_control_groups) (Unit* self, int* result_length1);
	gboolean (*get_need_daemon_reload) (Unit* self);
	guint64 (*get_job_timeout_usec) (Unit* self);
};

struct _ManagerUnitInfo {
	gchar* id;
	gchar* description;
	gchar* load_state;
	gchar* active_state;
	gchar* sub_state;
	gchar* following;
	char* unit_path;
	guint32 job_id;
	gchar* job_type;
	char* job_path;
};

struct _ManagerJobInfo {
	guint32 id;
	gchar* name;
	gchar* type;
	gchar* state;
	char* job_path;
	char* unit_path;
};

struct _ManagerIface {
	GTypeInterface parent_iface;
	ManagerUnitInfo* (*list_units) (Manager* self, int* result_length1, GError** error);
	ManagerJobInfo* (*list_jobs) (Manager* self, int* result_length1, GError** error);
	char* (*get_unit) (Manager* self, const gchar* name, GError** error);
	char* (*get_unit_by_pid) (Manager* self, guint32 pid, GError** error);
	char* (*load_unit) (Manager* self, const gchar* name, GError** error);
	char* (*get_job) (Manager* self, guint32 id, GError** error);
	char* (*start_unit) (Manager* self, const gchar* name, const gchar* mode, GError** error);
	char* (*stop_unit) (Manager* self, const gchar* name, const gchar* mode, GError** error);
	char* (*reload_unit) (Manager* self, const gchar* name, const gchar* mode, GError** error);
	char* (*restart_unit) (Manager* self, const gchar* name, const gchar* mode, GError** error);
	char* (*try_restart_unit) (Manager* self, const gchar* name, const gchar* mode, GError** error);
	char* (*reload_or_restart_unit) (Manager* self, const gchar* name, const gchar* mode, GError** error);
	char* (*reload_or_try_restart_unit) (Manager* self, const gchar* name, const gchar* mode, GError** error);
	void (*reset_failed_unit) (Manager* self, const gchar* name, GError** error);
	void (*clear_jobs) (Manager* self, GError** error);
	void (*subscribe) (Manager* self, GError** error);
	void (*unsubscribe) (Manager* self, GError** error);
	gchar* (*dump) (Manager* self, GError** error);
	void (*reload) (Manager* self, GError** error);
	void (*reexecute) (Manager* self, GError** error);
	void (*exit) (Manager* self, GError** error);
	void (*halt) (Manager* self, GError** error);
	void (*power_off) (Manager* self, GError** error);
	void (*reboot) (Manager* self, GError** error);
	void (*kexec) (Manager* self, GError** error);
	char* (*create_snapshot) (Manager* self, const gchar* name, gboolean cleanup, GError** error);
	void (*set_environment) (Manager* self, gchar** names, int names_length1, GError** error);
	void (*unset_environment) (Manager* self, gchar** names, int names_length1, GError** error);
	gchar** (*get_environment) (Manager* self, int* result_length1);
};

struct _MainWindowPrivate {
	gchar* current_unit_id;
	guint32 current_job_id;
	GtkTreeView* unit_view;
	GtkTreeView* job_view;
	GtkListStore* unit_model;
	GtkListStore* job_model;
	GeeHashMap* unit_map;
	GtkButton* start_button;
	GtkButton* stop_button;
	GtkButton* restart_button;
	GtkButton* reload_button;
	GtkButton* cancel_button;
	GtkEntry* unit_load_entry;
	GtkButton* unit_load_button;
	GtkButton* server_snapshot_button;
	GtkButton* server_reload_button;
	Manager* manager;
	RightLabel* unit_id_label;
	RightLabel* unit_dependency_label;
	RightLabel* unit_description_label;
	RightLabel* unit_load_state_label;
	RightLabel* unit_active_state_label;
	RightLabel* unit_sub_state_label;
	RightLabel* unit_fragment_path_label;
	RightLabel* unit_active_enter_timestamp_label;
	RightLabel* unit_active_exit_timestamp_label;
	RightLabel* unit_can_start_label;
	RightLabel* unit_can_reload_label;
	RightLabel* unit_cgroup_label;
	RightLabel* job_id_label;
	RightLabel* job_state_label;
	RightLabel* job_type_label;
	GtkComboBox* unit_type_combo_box;
	GtkCheckButton* inactive_checkbox;
};

struct _JobUnitLink {
	gchar* id;
	char* path;
};

struct _JobIface {
	GTypeInterface parent_iface;
	void (*cancel) (Job* self, GError** error);
	guint32 (*get_id) (Job* self);
	gchar* (*get_state) (Job* self);
	gchar* (*get_job_type) (Job* self);
	void (*get_unit) (Job* self, JobUnitLink* value);
};

struct _PropertiesIface {
	GTypeInterface parent_iface;
	GVariant* (*get) (Properties* self, const gchar* iface, const gchar* property, GError** error);
};


extern gboolean user;
gboolean user = FALSE;
static gpointer left_label_parent_class = NULL;
static gpointer right_label_parent_class = NULL;
static gpointer main_window_parent_class = NULL;

gchar* format_time (guint64 time_ns);
void new_column (GtkTreeView* view, gint column_id, const gchar* title);
GType left_label_get_type (void) G_GNUC_CONST;
enum  {
	LEFT_LABEL_DUMMY_PROPERTY
};
LeftLabel* left_label_new (const gchar* text);
LeftLabel* left_label_construct (GType object_type, const gchar* text);
GType wrap_label_get_type (void) G_GNUC_CONST;
GType right_label_get_type (void) G_GNUC_CONST;
enum  {
	RIGHT_LABEL_DUMMY_PROPERTY
};
RightLabel* right_label_new (const gchar* text);
RightLabel* right_label_construct (GType object_type, const gchar* text);
WrapLabel* wrap_label_new (const gchar* text);
WrapLabel* wrap_label_construct (GType object_type, const gchar* text);
void right_label_set_text_or_na (RightLabel* self, const gchar* text);
void wrap_label_set_markup (WrapLabel* self, const gchar* str);
void wrap_label_set_text (WrapLabel* self, const gchar* str);
void right_label_set_markup_or_na (RightLabel* self, const gchar* text);
GType main_window_get_type (void) G_GNUC_CONST;
GType unit_proxy_get_type (void) G_GNUC_CONST;
guint unit_register_object (void* object, GDBusConnection* connection, const gchar* path, GError** error);
GType unit_job_link_get_type (void) G_GNUC_CONST;
UnitJobLink* unit_job_link_dup (const UnitJobLink* self);
void unit_job_link_free (UnitJobLink* self);
void unit_job_link_copy (const UnitJobLink* self, UnitJobLink* dest);
void unit_job_link_destroy (UnitJobLink* self);
GType unit_get_type (void) G_GNUC_CONST;
GType manager_proxy_get_type (void) G_GNUC_CONST;
guint manager_register_object (void* object, GDBusConnection* connection, const gchar* path, GError** error);
GType manager_unit_info_get_type (void) G_GNUC_CONST;
ManagerUnitInfo* manager_unit_info_dup (const ManagerUnitInfo* self);
void manager_unit_info_free (ManagerUnitInfo* self);
void manager_unit_info_copy (const ManagerUnitInfo* self, ManagerUnitInfo* dest);
void manager_unit_info_destroy (ManagerUnitInfo* self);
GType manager_job_info_get_type (void) G_GNUC_CONST;
ManagerJobInfo* manager_job_info_dup (const ManagerJobInfo* self);
void manager_job_info_free (ManagerJobInfo* self);
void manager_job_info_copy (const ManagerJobInfo* self, ManagerJobInfo* dest);
void manager_job_info_destroy (ManagerJobInfo* self);
GType manager_get_type (void) G_GNUC_CONST;
#define MAIN_WINDOW_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_MAIN_WINDOW, MainWindowPrivate))
enum  {
	MAIN_WINDOW_DUMMY_PROPERTY
};
MainWindow* main_window_new (GError** error);
MainWindow* main_window_construct (GType object_type, GError** error);
static void _gtk_main_quit_gtk_object_destroy (GtkObject* _sender, gpointer self);
void main_window_unit_type_changed (MainWindow* self);
static void _main_window_unit_type_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self);
static void _main_window_unit_type_changed_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self);
void main_window_on_unit_load_entry_changed (MainWindow* self);
static void _main_window_on_unit_load_entry_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self);
void main_window_on_unit_load (MainWindow* self);
static void _main_window_on_unit_load_gtk_entry_activate (GtkEntry* _sender, gpointer self);
static void _main_window_on_unit_load_gtk_button_clicked (GtkButton* _sender, gpointer self);
void main_window_on_server_snapshot (MainWindow* self);
static void _main_window_on_server_snapshot_gtk_button_clicked (GtkButton* _sender, gpointer self);
void main_window_on_server_reload (MainWindow* self);
static void _main_window_on_server_reload_gtk_button_clicked (GtkButton* _sender, gpointer self);
GType job_proxy_get_type (void) G_GNUC_CONST;
guint job_register_object (void* object, GDBusConnection* connection, const gchar* path, GError** error);
GType job_unit_link_get_type (void) G_GNUC_CONST;
JobUnitLink* job_unit_link_dup (const JobUnitLink* self);
void job_unit_link_free (JobUnitLink* self);
void job_unit_link_copy (const JobUnitLink* self, JobUnitLink* dest);
void job_unit_link_destroy (JobUnitLink* self);
GType job_get_type (void) G_GNUC_CONST;
gboolean main_window_unit_filter (MainWindow* self, GtkTreeModel* model, GtkTreeIter* iter);
static gboolean _main_window_unit_filter_gtk_tree_model_filter_visible_func (GtkTreeModel* model, GtkTreeIter* iter, gpointer self);
void main_window_unit_changed (MainWindow* self);
static void _main_window_unit_changed_gtk_tree_view_cursor_changed (GtkTreeView* _sender, gpointer self);
void main_window_job_changed (MainWindow* self);
static void _main_window_job_changed_gtk_tree_view_cursor_changed (GtkTreeView* _sender, gpointer self);
gboolean main_window_on_activate_link (MainWindow* self, const gchar* uri);
static gboolean _main_window_on_activate_link_gtk_label_activate_link (GtkLabel* _sender, const gchar* uri, gpointer self);
void main_window_on_start (MainWindow* self);
static void _main_window_on_start_gtk_button_clicked (GtkButton* _sender, gpointer self);
void main_window_on_stop (MainWindow* self);
static void _main_window_on_stop_gtk_button_clicked (GtkButton* _sender, gpointer self);
void main_window_on_reload (MainWindow* self);
static void _main_window_on_reload_gtk_button_clicked (GtkButton* _sender, gpointer self);
void main_window_on_restart (MainWindow* self);
static void _main_window_on_restart_gtk_button_clicked (GtkButton* _sender, gpointer self);
void main_window_on_cancel (MainWindow* self);
static void _main_window_on_cancel_gtk_button_clicked (GtkButton* _sender, gpointer self);
void main_window_on_unit_new (MainWindow* self, const gchar* id, const char* path);
static void _main_window_on_unit_new_manager_unit_new (Manager* _sender, const gchar* id, const char* path, gpointer self);
void main_window_on_job_new (MainWindow* self, guint32 id, const char* path);
static void _main_window_on_job_new_manager_job_new (Manager* _sender, guint32 id, const char* path, gpointer self);
void main_window_on_unit_removed (MainWindow* self, const gchar* id, const char* path);
static void _main_window_on_unit_removed_manager_unit_removed (Manager* _sender, const gchar* id, const char* path, gpointer self);
void main_window_on_job_removed (MainWindow* self, guint32 id, const char* path, const gchar* res);
static void _main_window_on_job_removed_manager_job_removed (Manager* _sender, guint32 id, const char* path, const gchar* res, gpointer self);
void manager_subscribe (Manager* self, GError** error);
void main_window_clear_unit (MainWindow* self);
void main_window_clear_job (MainWindow* self);
void main_window_populate_unit_model (MainWindow* self, GError** error);
void main_window_populate_job_model (MainWindow* self, GError** error);
ManagerUnitInfo* manager_list_units (Manager* self, int* result_length1, GError** error);
GType properties_proxy_get_type (void) G_GNUC_CONST;
guint properties_register_object (void* object, GDBusConnection* connection, const gchar* path, GError** error);
GType properties_get_type (void) G_GNUC_CONST;
static void _vala_ManagerUnitInfo_array_free (ManagerUnitInfo* array, gint array_length);
void main_window_on_unit_changed (MainWindow* self, Properties* p, const gchar* iface, GHashTable* changed_properties, gchar** invalidated_properties, int invalidated_properties_length1);
static void _main_window_on_unit_changed_properties_properties_changed (Properties* _sender, const gchar* iface, GHashTable* changed_properties, gchar** invalidated_properties, int invalidated_properties_length1, gpointer self);
ManagerJobInfo* manager_list_jobs (Manager* self, int* result_length1, GError** error);
static void _vala_ManagerJobInfo_array_free (ManagerJobInfo* array, gint array_length);
void main_window_on_job_changed (MainWindow* self, Properties* p, const gchar* iface, GHashTable* changed_properties, gchar** invalidated_properties, int invalidated_properties_length1);
static void _main_window_on_job_changed_properties_properties_changed (Properties* _sender, const gchar* iface, GHashTable* changed_properties, gchar** invalidated_properties, int invalidated_properties_length1, gpointer self);
Unit* main_window_get_current_unit (MainWindow* self);
Unit* main_window_get_unit (MainWindow* self, const gchar* id);
void main_window_show_unit (MainWindow* self, Unit* unit);
gchar* main_window_format_unit_link (MainWindow* self, const gchar* i, gboolean link);
gchar* unit_get_sub_state (Unit* self);
gchar* main_window_make_dependency_string (MainWindow* self, const gchar* prefix, const gchar* word, gchar** dependencies, int dependencies_length1);
gchar* unit_get_id (Unit* self);
gchar** unit_get_names (Unit* self, int* result_length1);
gchar** unit_get_requires (Unit* self, int* result_length1);
gchar** unit_get_requires_overridable (Unit* self, int* result_length1);
gchar** unit_get_requisite (Unit* self, int* result_length1);
gchar** unit_get_requisite_overridable (Unit* self, int* result_length1);
gchar** unit_get_wants (Unit* self, int* result_length1);
gchar** unit_get_required_by (Unit* self, int* result_length1);
gchar** unit_get_required_by_overridable (Unit* self, int* result_length1);
gchar** unit_get_wanted_by (Unit* self, int* result_length1);
gchar** unit_get_conflicts (Unit* self, int* result_length1);
gchar** unit_get_before (Unit* self, int* result_length1);
gchar** unit_get_after (Unit* self, int* result_length1);
gchar* unit_get_description (Unit* self);
gchar* unit_get_load_state (Unit* self);
gchar* unit_get_active_state (Unit* self);
gchar* unit_get_fragment_path (Unit* self);
guint64 unit_get_active_enter_timestamp (Unit* self);
guint64 unit_get_active_exit_timestamp (Unit* self);
gboolean unit_get_can_start (Unit* self);
gboolean unit_get_can_reload (Unit* self);
gchar* unit_get_default_control_group (Unit* self);
Job* main_window_get_current_job (MainWindow* self);
void main_window_show_job (MainWindow* self, Job* job);
guint32 job_get_id (Job* self);
gchar* job_get_state (Job* self);
gchar* job_get_job_type (Job* self);
char* unit_start (Unit* self, const gchar* mode, GError** error);
void main_window_show_error (MainWindow* self, const gchar* e);
char* unit_stop (Unit* self, const gchar* mode, GError** error);
char* unit_reload (Unit* self, const gchar* mode, GError** error);
char* unit_restart (Unit* self, const gchar* mode, GError** error);
void job_cancel (Job* self, GError** error);
void main_window_update_unit_iter (MainWindow* self, GtkTreeIter* iter, const gchar* id, Unit* u);
void unit_get_job (Unit* self, UnitJobLink* result);
void main_window_update_job_iter (MainWindow* self, GtkTreeIter* iter, guint32 id, Job* j);
void job_get_unit (Job* self, JobUnitLink* result);
void manager_reload (Manager* self, GError** error);
char* manager_create_snapshot (Manager* self, const gchar* name, gboolean cleanup, GError** error);
char* manager_load_unit (Manager* self, const gchar* name, GError** error);
char* manager_get_unit (Manager* self, const gchar* name, GError** error);
static void main_window_finalize (GObject* obj);
void show_error (const gchar* e);
gint _vala_main (gchar** args, int args_length1);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);

const GOptionEntry entries[3] = {{"user", (gchar) 0, 0, G_OPTION_ARG_NONE, &user, "Connect to user service manager", NULL}, {"system", (gchar) 0, (gint) G_OPTION_FLAG_REVERSE, G_OPTION_ARG_NONE, &user, "Connect to system manager", NULL}, {NULL}};

static void g_time_local (time_t time, struct tm* result) {
	struct tm _result_ = {0};
	struct tm _tmp0_ = {0};
#line 2436 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	localtime_r (&time, &_tmp0_);
#line 2436 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_result_ = _tmp0_;
#line 2437 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	*result = _result_;
#line 2437 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	return;
#line 506 "systemadm.c"
}


static gchar* g_time_format (struct tm *self, const gchar* format) {
	gchar* result = NULL;
	gchar* _tmp0_ = NULL;
	gchar* buffer;
	gint buffer_length1;
	gint _buffer_size_;
	gchar* _tmp1_;
	gint _tmp1__length1;
	const gchar* _tmp2_;
	gchar* _tmp3_;
	gint _tmp3__length1;
	gchar* _tmp4_;
#line 2444 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	g_return_val_if_fail (format != NULL, NULL);
#line 2445 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_tmp0_ = g_new0 (gchar, 64);
#line 2445 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	buffer = _tmp0_;
#line 2445 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	buffer_length1 = 64;
#line 2445 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_buffer_size_ = buffer_length1;
#line 2446 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_tmp1_ = buffer;
#line 2446 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_tmp1__length1 = buffer_length1;
#line 2446 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_tmp2_ = format;
#line 2446 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	strftime (_tmp1_, _tmp1__length1, _tmp2_, &(*self));
#line 2447 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_tmp3_ = buffer;
#line 2447 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_tmp3__length1 = buffer_length1;
#line 2447 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	_tmp4_ = g_strdup ((const gchar*) _tmp3_);
#line 2447 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	result = _tmp4_;
#line 2447 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	buffer = (g_free (buffer), NULL);
#line 2447 "/usr/share/vala-0.14/vapi/glib-2.0.vapi"
	return result;
#line 552 "systemadm.c"
}


gchar* format_time (guint64 time_ns) {
	gchar* result = NULL;
	guint64 _tmp0_;
	guint64 _tmp2_;
	struct tm _tmp3_ = {0};
	struct tm timestamp;
	gchar* _tmp4_ = NULL;
#line 27 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = time_ns;
#line 27 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp0_ <= ((guint64) 0)) {
#line 567 "systemadm.c"
		gchar* _tmp1_;
#line 28 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp1_ = g_strdup ("");
#line 28 "/home/lennart/projects/systemd/src/systemadm.vala"
		result = _tmp1_;
#line 28 "/home/lennart/projects/systemd/src/systemadm.vala"
		return result;
#line 575 "systemadm.c"
	}
#line 29 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp2_ = time_ns;
#line 29 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_time_local ((time_t) (_tmp2_ / 1000000), &_tmp3_);
#line 29 "/home/lennart/projects/systemd/src/systemadm.vala"
	timestamp = _tmp3_;
#line 30 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp4_ = g_time_format (&timestamp, "%a, %d %b %Y %H:%M:%S");
#line 30 "/home/lennart/projects/systemd/src/systemadm.vala"
	result = _tmp4_;
#line 30 "/home/lennart/projects/systemd/src/systemadm.vala"
	return result;
#line 589 "systemadm.c"
}


void new_column (GtkTreeView* view, gint column_id, const gchar* title) {
	GtkTreeViewColumn* col = NULL;
	const gchar* _tmp0_;
	GtkCellRendererText* _tmp1_;
	GtkCellRendererText* _tmp2_;
	gint _tmp3_;
	GtkTreeViewColumn* _tmp4_;
	GtkTreeViewColumn* _tmp5_;
	gint _tmp6_;
	GtkTreeView* _tmp7_;
#line 33 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (view != NULL);
#line 33 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (title != NULL);
#line 35 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = title;
#line 35 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = (GtkCellRendererText*) gtk_cell_renderer_text_new ();
#line 35 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp2_ = g_object_ref_sink (_tmp1_);
#line 35 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp3_ = column_id;
#line 35 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp4_ = gtk_tree_view_column_new_with_attributes (_tmp0_, (GtkCellRenderer*) _tmp2_, "text", _tmp3_, NULL);
#line 35 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp5_ = g_object_ref_sink (_tmp4_);
#line 35 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (col);
#line 35 "/home/lennart/projects/systemd/src/systemadm.vala"
	col = _tmp5_;
#line 35 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (_tmp2_);
#line 36 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp6_ = column_id;
#line 36 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_tree_view_column_set_sort_column_id (col, _tmp6_);
#line 37 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp7_ = view;
#line 37 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_tree_view_insert_column (_tmp7_, col, -1);
#line 33 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (col);
#line 635 "systemadm.c"
}


LeftLabel* left_label_construct (GType object_type, const gchar* text) {
	LeftLabel * self = NULL;
	const gchar* _tmp0_;
#line 41 "/home/lennart/projects/systemd/src/systemadm.vala"
	self = (LeftLabel*) g_object_new (object_type, NULL);
#line 42 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = text;
#line 42 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp0_ != NULL) {
#line 648 "systemadm.c"
		const gchar* _tmp1_;
		gchar* _tmp2_ = NULL;
		gchar* _tmp3_;
#line 43 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp1_ = text;
#line 43 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp2_ = g_strdup_printf ("<b>%s</b>", _tmp1_);
#line 43 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp3_ = _tmp2_;
#line 43 "/home/lennart/projects/systemd/src/systemadm.vala"
		gtk_label_set_markup ((GtkLabel*) self, _tmp3_);
#line 43 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (_tmp3_);
#line 662 "systemadm.c"
	}
#line 44 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_misc_set_alignment ((GtkMisc*) self, (gfloat) 0, (gfloat) 0);
#line 45 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_misc_set_padding ((GtkMisc*) self, 6, 0);
#line 41 "/home/lennart/projects/systemd/src/systemadm.vala"
	return self;
#line 670 "systemadm.c"
}


LeftLabel* left_label_new (const gchar* text) {
#line 41 "/home/lennart/projects/systemd/src/systemadm.vala"
	return left_label_construct (TYPE_LEFT_LABEL, text);
#line 677 "systemadm.c"
}


static void left_label_class_init (LeftLabelClass * klass) {
#line 40 "/home/lennart/projects/systemd/src/systemadm.vala"
	left_label_parent_class = g_type_class_peek_parent (klass);
#line 684 "systemadm.c"
}


static void left_label_instance_init (LeftLabel * self) {
}


GType left_label_get_type (void) {
	static volatile gsize left_label_type_id__volatile = 0;
	if (g_once_init_enter (&left_label_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (LeftLabelClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) left_label_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (LeftLabel), 0, (GInstanceInitFunc) left_label_instance_init, NULL };
		GType left_label_type_id;
		left_label_type_id = g_type_register_static (GTK_TYPE_LABEL, "LeftLabel", &g_define_type_info, 0);
		g_once_init_leave (&left_label_type_id__volatile, left_label_type_id);
	}
	return left_label_type_id__volatile;
}


RightLabel* right_label_construct (GType object_type, const gchar* text) {
	RightLabel * self = NULL;
	const gchar* _tmp0_;
#line 51 "/home/lennart/projects/systemd/src/systemadm.vala"
	self = (RightLabel*) wrap_label_construct (object_type, NULL);
#line 52 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_label_set_selectable ((GtkLabel*) self, TRUE);
#line 53 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = text;
#line 53 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (self, _tmp0_);
#line 51 "/home/lennart/projects/systemd/src/systemadm.vala"
	return self;
#line 717 "systemadm.c"
}


RightLabel* right_label_new (const gchar* text) {
#line 51 "/home/lennart/projects/systemd/src/systemadm.vala"
	return right_label_construct (TYPE_RIGHT_LABEL, text);
#line 724 "systemadm.c"
}


void right_label_set_text_or_na (RightLabel* self, const gchar* text) {
	gboolean _tmp0_ = FALSE;
	const gchar* _tmp1_;
	gboolean _tmp3_;
#line 56 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 57 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = text;
#line 57 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp1_ == NULL) {
#line 57 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp0_ = TRUE;
#line 740 "systemadm.c"
	} else {
		const gchar* _tmp2_;
#line 57 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp2_ = text;
#line 57 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp0_ = g_strcmp0 (_tmp2_, "") == 0;
#line 747 "systemadm.c"
	}
#line 57 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp3_ = _tmp0_;
#line 57 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp3_) {
#line 58 "/home/lennart/projects/systemd/src/systemadm.vala"
		wrap_label_set_markup ((WrapLabel*) self, "<i>n/a</i>");
#line 755 "systemadm.c"
	} else {
		const gchar* _tmp4_;
#line 60 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp4_ = text;
#line 60 "/home/lennart/projects/systemd/src/systemadm.vala"
		wrap_label_set_text ((WrapLabel*) self, _tmp4_);
#line 762 "systemadm.c"
	}
}


void right_label_set_markup_or_na (RightLabel* self, const gchar* text) {
	gboolean _tmp0_ = FALSE;
	const gchar* _tmp1_;
	gboolean _tmp3_;
#line 63 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 64 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = text;
#line 64 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp1_ == NULL) {
#line 64 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp0_ = TRUE;
#line 779 "systemadm.c"
	} else {
		const gchar* _tmp2_;
#line 64 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp2_ = text;
#line 64 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp0_ = g_strcmp0 (_tmp2_, "") == 0;
#line 786 "systemadm.c"
	}
#line 64 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp3_ = _tmp0_;
#line 64 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp3_) {
#line 65 "/home/lennart/projects/systemd/src/systemadm.vala"
		wrap_label_set_markup ((WrapLabel*) self, "<i>n/a</i>");
#line 794 "systemadm.c"
	} else {
		const gchar* _tmp4_;
#line 67 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp4_ = text;
#line 67 "/home/lennart/projects/systemd/src/systemadm.vala"
		wrap_label_set_markup ((WrapLabel*) self, _tmp4_);
#line 801 "systemadm.c"
	}
}


static void right_label_class_init (RightLabelClass * klass) {
#line 49 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_parent_class = g_type_class_peek_parent (klass);
#line 809 "systemadm.c"
}


static void right_label_instance_init (RightLabel * self) {
}


GType right_label_get_type (void) {
	static volatile gsize right_label_type_id__volatile = 0;
	if (g_once_init_enter (&right_label_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (RightLabelClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) right_label_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (RightLabel), 0, (GInstanceInitFunc) right_label_instance_init, NULL };
		GType right_label_type_id;
		right_label_type_id = g_type_register_static (TYPE_WRAP_LABEL, "RightLabel", &g_define_type_info, 0);
		g_once_init_leave (&right_label_type_id__volatile, right_label_type_id);
	}
	return right_label_type_id__volatile;
}


static void _gtk_main_quit_gtk_object_destroy (GtkObject* _sender, gpointer self) {
#line 123 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_main_quit ();
#line 832 "systemadm.c"
}


static void _main_window_unit_type_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
#line 153 "/home/lennart/projects/systemd/src/systemadm.vala"
	main_window_unit_type_changed (self);
#line 839 "systemadm.c"
}


static void _main_window_unit_type_changed_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) {
#line 156 "/home/lennart/projects/systemd/src/systemadm.vala"
	main_window_unit_type_changed (self);
#line 846 "systemadm.c"
}


static void _main_window_on_unit_load_entry_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self) {
#line 163 "/home/lennart/projects/systemd/src/systemadm.vala"
	main_window_on_unit_load_entry_changed (self);
#line 853 "systemadm.c"
}


static void _main_window_on_unit_load_gtk_entry_activate (GtkEntry* _sender, gpointer self) {
#line 164 "/home/lennart/projects/systemd/src/systemadm.vala"
	main_window_on_unit_load (self);
#line 860 "systemadm.c"
}


static void _main_window_on_unit_load_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 165 "/home/lennart/projects/systemd/src/systemadm.vala"
	main_window_on_unit_load (self);
#line 867 "systemadm.c"
}


static void _main_window_on_server_snapshot_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 174 "/home/lennart/projects/systemd/src/systemadm.vala"
	main_window_on_server_snapshot (self);
#line 874 "systemadm.c"
}


static void _main_window_on_server_reload_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 175 "/home/lennart/projects/systemd/src/systemadm.vala"
	main_window_on_server_reload (self);
#line 881 "systemadm.c"
}


static gboolean _main_window_unit_filter_gtk_tree_model_filter_visible_func (GtkTreeModel* model, GtkTreeIter* iter, gpointer self) {
	gboolean result;
	result = main_window_unit_filter (self, model, iter);
#line 188 "/home/lennart/projects/systemd/src/systemadm.vala"
	return result;
#line 890 "systemadm.c"
}


static void _main_window_unit_changed_gtk_tree_view_cursor_changed (GtkTreeView* _sender, gpointer self) {
#line 195 "/home/lennart/projects/systemd/src/systemadm.vala"
	main_window_unit_changed (self);
#line 897 "systemadm.c"
}


static void _main_window_job_changed_gtk_tree_view_cursor_changed (GtkTreeView* _sender, gpointer self) {
#line 196 "/home/lennart/projects/systemd/src/systemadm.vala"
	main_window_job_changed (self);
#line 904 "systemadm.c"
}


static gboolean _main_window_on_activate_link_gtk_label_activate_link (GtkLabel* _sender, const gchar* uri, gpointer self) {
	gboolean result;
	result = main_window_on_activate_link (self, uri);
#line 240 "/home/lennart/projects/systemd/src/systemadm.vala"
	return result;
#line 913 "systemadm.c"
}


static void _main_window_on_start_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 299 "/home/lennart/projects/systemd/src/systemadm.vala"
	main_window_on_start (self);
#line 920 "systemadm.c"
}


static void _main_window_on_stop_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 300 "/home/lennart/projects/systemd/src/systemadm.vala"
	main_window_on_stop (self);
#line 927 "systemadm.c"
}


static void _main_window_on_reload_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 301 "/home/lennart/projects/systemd/src/systemadm.vala"
	main_window_on_reload (self);
#line 934 "systemadm.c"
}


static void _main_window_on_restart_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 302 "/home/lennart/projects/systemd/src/systemadm.vala"
	main_window_on_restart (self);
#line 941 "systemadm.c"
}


static void _main_window_on_cancel_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 316 "/home/lennart/projects/systemd/src/systemadm.vala"
	main_window_on_cancel (self);
#line 948 "systemadm.c"
}


static void _main_window_on_unit_new_manager_unit_new (Manager* _sender, const gchar* id, const char* path, gpointer self) {
#line 325 "/home/lennart/projects/systemd/src/systemadm.vala"
	main_window_on_unit_new (self, id, path);
#line 955 "systemadm.c"
}


static void _main_window_on_job_new_manager_job_new (Manager* _sender, guint32 id, const char* path, gpointer self) {
#line 326 "/home/lennart/projects/systemd/src/systemadm.vala"
	main_window_on_job_new (self, id, path);
#line 962 "systemadm.c"
}


static void _main_window_on_unit_removed_manager_unit_removed (Manager* _sender, const gchar* id, const char* path, gpointer self) {
#line 327 "/home/lennart/projects/systemd/src/systemadm.vala"
	main_window_on_unit_removed (self, id, path);
#line 969 "systemadm.c"
}


static void _main_window_on_job_removed_manager_job_removed (Manager* _sender, guint32 id, const char* path, const gchar* res, gpointer self) {
#line 328 "/home/lennart/projects/systemd/src/systemadm.vala"
	main_window_on_job_removed (self, id, path, res);
#line 976 "systemadm.c"
}


MainWindow* main_window_construct (GType object_type, GError** error) {
	MainWindow * self = NULL;
	const gchar* _tmp0_ = NULL;
	gboolean _tmp1_;
	const gchar* _tmp2_;
	GtkNotebook* _tmp3_;
	GtkNotebook* _tmp4_;
	GtkNotebook* notebook;
	GtkNotebook* _tmp5_;
	GtkVBox* _tmp6_;
	GtkBox* _tmp7_;
	GtkBox* unit_vbox;
	GtkNotebook* _tmp8_;
	GtkBox* _tmp9_;
	GtkLabel* _tmp10_;
	GtkLabel* _tmp11_;
	GtkBox* _tmp12_;
	GtkVBox* _tmp13_;
	GtkBox* _tmp14_;
	GtkBox* job_vbox;
	GtkNotebook* _tmp15_;
	GtkBox* _tmp16_;
	GtkLabel* _tmp17_;
	GtkLabel* _tmp18_;
	GtkBox* _tmp19_;
	GtkComboBox* _tmp20_;
	GtkComboBox* _tmp21_;
	GtkHBox* _tmp22_;
	GtkBox* _tmp23_;
	GtkBox* type_hbox;
	GtkBox* _tmp24_;
	GtkComboBox* _tmp25_;
	GtkBox* _tmp26_;
	GtkBox* _tmp27_;
	GtkComboBox* _tmp28_;
	GtkComboBox* _tmp29_;
	GtkComboBox* _tmp30_;
	GtkComboBox* _tmp31_;
	GtkComboBox* _tmp32_;
	GtkComboBox* _tmp33_;
	GtkComboBox* _tmp34_;
	GtkComboBox* _tmp35_;
	GtkComboBox* _tmp36_;
	GtkComboBox* _tmp37_;
	GtkComboBox* _tmp38_;
	GtkComboBox* _tmp39_;
	GtkComboBox* _tmp40_;
	GtkCheckButton* _tmp41_;
	GtkCheckButton* _tmp42_;
	GtkCheckButton* _tmp43_;
	GtkBox* _tmp44_;
	GtkCheckButton* _tmp45_;
	GtkEntry* _tmp46_;
	GtkEntry* _tmp47_;
	GtkButton* _tmp48_;
	GtkButton* _tmp49_;
	GtkButton* _tmp50_;
	GtkEntry* _tmp51_;
	GtkEntry* _tmp52_;
	GtkButton* _tmp53_;
	GtkHBox* _tmp54_;
	GtkBox* _tmp55_;
	GtkBox* unit_load_hbox;
	GtkBox* _tmp56_;
	GtkEntry* _tmp57_;
	GtkBox* _tmp58_;
	GtkButton* _tmp59_;
	GtkButton* _tmp60_;
	GtkButton* _tmp61_;
	GtkButton* _tmp62_;
	GtkButton* _tmp63_;
	GtkButton* _tmp64_;
	GtkButton* _tmp65_;
	GtkBox* _tmp66_;
	GtkButton* _tmp67_;
	GtkBox* _tmp68_;
	GtkButton* _tmp69_;
	GtkBox* _tmp70_;
	GtkBox* _tmp71_;
	GtkListStore* _tmp72_;
	GtkListStore* _tmp73_;
	GeeHashMap* _tmp74_;
	GtkTreeModelFilter* unit_model_filter = NULL;
	GtkListStore* _tmp75_;
	GtkTreeModelFilter* _tmp76_;
	GtkTreeModelFilter* _tmp77_;
	GtkTreeModelFilter* _tmp78_;
	GtkTreeModelSort* _tmp79_;
	GtkTreeModelSort* unit_model_sort;
	GtkTreeModelSort* _tmp80_;
	GtkTreeView* _tmp81_;
	GtkTreeView* _tmp82_;
	GtkListStore* _tmp83_;
	GtkTreeView* _tmp84_;
	GtkTreeView* _tmp85_;
	GtkTreeView* _tmp86_;
	GtkTreeView* _tmp87_;
	GtkTreeView* _tmp88_;
	GtkTreeView* _tmp89_;
	GtkTreeView* _tmp90_;
	GtkTreeView* _tmp91_;
	GtkTreeView* _tmp92_;
	GtkTreeView* _tmp93_;
	GtkTreeView* _tmp94_;
	GtkTreeView* _tmp95_;
	GtkTreeView* _tmp96_;
	GtkScrolledWindow* _tmp97_;
	GtkScrolledWindow* _tmp98_;
	GtkScrolledWindow* scroll;
	GtkScrolledWindow* _tmp99_;
	GtkScrolledWindow* _tmp100_;
	GtkScrolledWindow* _tmp101_;
	GtkTreeView* _tmp102_;
	GtkBox* _tmp103_;
	GtkScrolledWindow* _tmp104_;
	GtkScrolledWindow* _tmp105_;
	GtkScrolledWindow* _tmp106_;
	GtkScrolledWindow* _tmp107_;
	GtkScrolledWindow* _tmp108_;
	GtkScrolledWindow* _tmp109_;
	GtkTreeView* _tmp110_;
	GtkBox* _tmp111_;
	GtkScrolledWindow* _tmp112_;
	RightLabel* _tmp113_;
	RightLabel* _tmp114_;
	RightLabel* _tmp115_;
	RightLabel* _tmp116_;
	RightLabel* _tmp117_;
	RightLabel* _tmp118_;
	RightLabel* _tmp119_;
	RightLabel* _tmp120_;
	RightLabel* _tmp121_;
	RightLabel* _tmp122_;
	RightLabel* _tmp123_;
	RightLabel* _tmp124_;
	RightLabel* _tmp125_;
	RightLabel* _tmp126_;
	RightLabel* _tmp127_;
	RightLabel* _tmp128_;
	RightLabel* _tmp129_;
	RightLabel* _tmp130_;
	RightLabel* _tmp131_;
	RightLabel* _tmp132_;
	RightLabel* _tmp133_;
	RightLabel* _tmp134_;
	RightLabel* _tmp135_;
	RightLabel* _tmp136_;
	RightLabel* _tmp137_;
	RightLabel* _tmp138_;
	RightLabel* _tmp139_;
	RightLabel* _tmp140_;
	RightLabel* _tmp141_;
	RightLabel* _tmp142_;
	RightLabel* _tmp143_;
	RightLabel* _tmp144_;
	RightLabel* _tmp145_;
	RightLabel* _tmp146_;
	GtkTable* _tmp147_;
	GtkTable* _tmp148_;
	GtkTable* unit_table;
	GtkTable* _tmp149_;
	GtkTable* _tmp150_;
	GtkBox* _tmp151_;
	GtkTable* _tmp152_;
	GtkTable* _tmp153_;
	GtkTable* _tmp154_;
	GtkTable* job_table;
	GtkTable* _tmp155_;
	GtkTable* _tmp156_;
	GtkBox* _tmp157_;
	GtkTable* _tmp158_;
	GtkTable* _tmp159_;
	LeftLabel* _tmp160_;
	LeftLabel* _tmp161_;
	GtkTable* _tmp162_;
	RightLabel* _tmp163_;
	GtkTable* _tmp164_;
	LeftLabel* _tmp165_;
	LeftLabel* _tmp166_;
	GtkTable* _tmp167_;
	RightLabel* _tmp168_;
	GtkTable* _tmp169_;
	LeftLabel* _tmp170_;
	LeftLabel* _tmp171_;
	GtkTable* _tmp172_;
	RightLabel* _tmp173_;
	GtkTable* _tmp174_;
	LeftLabel* _tmp175_;
	LeftLabel* _tmp176_;
	GtkTable* _tmp177_;
	RightLabel* _tmp178_;
	GtkTable* _tmp179_;
	LeftLabel* _tmp180_;
	LeftLabel* _tmp181_;
	GtkTable* _tmp182_;
	RightLabel* _tmp183_;
	GtkTable* _tmp184_;
	LeftLabel* _tmp185_;
	LeftLabel* _tmp186_;
	GtkTable* _tmp187_;
	RightLabel* _tmp188_;
	GtkTable* _tmp189_;
	LeftLabel* _tmp190_;
	LeftLabel* _tmp191_;
	GtkTable* _tmp192_;
	RightLabel* _tmp193_;
	GtkTable* _tmp194_;
	LeftLabel* _tmp195_;
	LeftLabel* _tmp196_;
	GtkTable* _tmp197_;
	RightLabel* _tmp198_;
	GtkTable* _tmp199_;
	LeftLabel* _tmp200_;
	LeftLabel* _tmp201_;
	GtkTable* _tmp202_;
	RightLabel* _tmp203_;
	GtkTable* _tmp204_;
	LeftLabel* _tmp205_;
	LeftLabel* _tmp206_;
	GtkTable* _tmp207_;
	RightLabel* _tmp208_;
	GtkTable* _tmp209_;
	LeftLabel* _tmp210_;
	LeftLabel* _tmp211_;
	GtkTable* _tmp212_;
	RightLabel* _tmp213_;
	GtkTable* _tmp214_;
	LeftLabel* _tmp215_;
	LeftLabel* _tmp216_;
	GtkTable* _tmp217_;
	RightLabel* _tmp218_;
	GtkTable* _tmp219_;
	LeftLabel* _tmp220_;
	LeftLabel* _tmp221_;
	GtkTable* _tmp222_;
	RightLabel* _tmp223_;
	GtkTable* _tmp224_;
	LeftLabel* _tmp225_;
	LeftLabel* _tmp226_;
	GtkTable* _tmp227_;
	RightLabel* _tmp228_;
	GtkTable* _tmp229_;
	LeftLabel* _tmp230_;
	LeftLabel* _tmp231_;
	GtkTable* _tmp232_;
	RightLabel* _tmp233_;
	GtkHButtonBox* _tmp234_;
	GtkButtonBox* _tmp235_;
	GtkButtonBox* bbox;
	GtkButtonBox* _tmp236_;
	GtkButtonBox* _tmp237_;
	GtkBox* _tmp238_;
	GtkButtonBox* _tmp239_;
	GtkButton* _tmp240_;
	GtkButton* _tmp241_;
	GtkButton* _tmp242_;
	GtkButton* _tmp243_;
	GtkButton* _tmp244_;
	GtkButton* _tmp245_;
	GtkButton* _tmp246_;
	GtkButton* _tmp247_;
	GtkButton* _tmp248_;
	GtkButton* _tmp249_;
	GtkButton* _tmp250_;
	GtkButton* _tmp251_;
	GtkButtonBox* _tmp252_;
	GtkButton* _tmp253_;
	GtkButtonBox* _tmp254_;
	GtkButton* _tmp255_;
	GtkButtonBox* _tmp256_;
	GtkButton* _tmp257_;
	GtkButtonBox* _tmp258_;
	GtkButton* _tmp259_;
	GtkHButtonBox* _tmp260_;
	GtkButtonBox* _tmp261_;
	GtkButtonBox* _tmp262_;
	GtkButtonBox* _tmp263_;
	GtkBox* _tmp264_;
	GtkButtonBox* _tmp265_;
	GtkButton* _tmp266_;
	GtkButton* _tmp267_;
	GtkButton* _tmp268_;
	GtkButtonBox* _tmp269_;
	GtkButton* _tmp270_;
	GBusType _tmp271_ = 0;
	gboolean _tmp272_;
	GBusType _tmp273_;
	Manager* _tmp274_ = NULL;
	Manager* _tmp275_;
	Manager* _tmp276_;
	Manager* _tmp277_;
	Manager* _tmp278_;
	Manager* _tmp279_;
	Manager* _tmp280_;
	GError * _inner_error_ = NULL;
#line 118 "/home/lennart/projects/systemd/src/systemadm.vala"
	self = (MainWindow*) g_object_new (object_type, NULL);
#line 119 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = user;
#line 119 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp1_) {
#line 119 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp0_ = "systemd User Service Manager";
#line 1283 "systemadm.c"
	} else {
#line 119 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp0_ = "systemd System Manager";
#line 1287 "systemadm.c"
	}
#line 119 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp2_ = _tmp0_;
#line 119 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_window_set_title ((GtkWindow*) self, _tmp2_);
#line 120 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_window_set_position ((GtkWindow*) self, GTK_WIN_POS_CENTER);
#line 121 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_window_set_default_size ((GtkWindow*) self, 1000, 700);
#line 122 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_container_set_border_width ((GtkContainer*) self, (guint) 12);
#line 123 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_signal_connect ((GtkObject*) self, "destroy", (GCallback) _gtk_main_quit_gtk_object_destroy, NULL);
#line 125 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp3_ = (GtkNotebook*) gtk_notebook_new ();
#line 125 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp4_ = g_object_ref_sink (_tmp3_);
#line 125 "/home/lennart/projects/systemd/src/systemadm.vala"
	notebook = _tmp4_;
#line 126 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp5_ = notebook;
#line 126 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_container_add ((GtkContainer*) self, (GtkWidget*) _tmp5_);
#line 128 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp6_ = (GtkVBox*) gtk_vbox_new (FALSE, 12);
#line 128 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp7_ = (GtkBox*) g_object_ref_sink (_tmp6_);
#line 128 "/home/lennart/projects/systemd/src/systemadm.vala"
	unit_vbox = _tmp7_;
#line 129 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp8_ = notebook;
#line 129 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp9_ = unit_vbox;
#line 129 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp10_ = (GtkLabel*) gtk_label_new ("Units");
#line 129 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp11_ = g_object_ref_sink (_tmp10_);
#line 129 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_notebook_append_page (_tmp8_, (GtkWidget*) _tmp9_, (GtkWidget*) _tmp11_);
#line 129 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (_tmp11_);
#line 130 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp12_ = unit_vbox;
#line 130 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_container_set_border_width ((GtkContainer*) _tmp12_, (guint) 12);
#line 132 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp13_ = (GtkVBox*) gtk_vbox_new (FALSE, 12);
#line 132 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp14_ = (GtkBox*) g_object_ref_sink (_tmp13_);
#line 132 "/home/lennart/projects/systemd/src/systemadm.vala"
	job_vbox = _tmp14_;
#line 133 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp15_ = notebook;
#line 133 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp16_ = job_vbox;
#line 133 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp17_ = (GtkLabel*) gtk_label_new ("Jobs");
#line 133 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp18_ = g_object_ref_sink (_tmp17_);
#line 133 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_notebook_append_page (_tmp15_, (GtkWidget*) _tmp16_, (GtkWidget*) _tmp18_);
#line 133 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (_tmp18_);
#line 134 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp19_ = job_vbox;
#line 134 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_container_set_border_width ((GtkContainer*) _tmp19_, (guint) 12);
#line 136 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp20_ = (GtkComboBox*) gtk_combo_box_new_text ();
#line 136 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp21_ = g_object_ref_sink (_tmp20_);
#line 136 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_type_combo_box);
#line 136 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->unit_type_combo_box = _tmp21_;
#line 137 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp22_ = (GtkHBox*) gtk_hbox_new (FALSE, 6);
#line 137 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp23_ = (GtkBox*) g_object_ref_sink (_tmp22_);
#line 137 "/home/lennart/projects/systemd/src/systemadm.vala"
	type_hbox = _tmp23_;
#line 138 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp24_ = type_hbox;
#line 138 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp25_ = self->priv->unit_type_combo_box;
#line 138 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_box_pack_start (_tmp24_, (GtkWidget*) _tmp25_, FALSE, FALSE, (guint) 0);
#line 139 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp26_ = unit_vbox;
#line 139 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp27_ = type_hbox;
#line 139 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_box_pack_start (_tmp26_, (GtkWidget*) _tmp27_, FALSE, FALSE, (guint) 0);
#line 141 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp28_ = self->priv->unit_type_combo_box;
#line 141 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_combo_box_append_text (_tmp28_, "All unit types");
#line 142 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp29_ = self->priv->unit_type_combo_box;
#line 142 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_combo_box_append_text (_tmp29_, "Targets");
#line 143 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp30_ = self->priv->unit_type_combo_box;
#line 143 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_combo_box_append_text (_tmp30_, "Services");
#line 144 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp31_ = self->priv->unit_type_combo_box;
#line 144 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_combo_box_append_text (_tmp31_, "Devices");
#line 145 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp32_ = self->priv->unit_type_combo_box;
#line 145 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_combo_box_append_text (_tmp32_, "Mounts");
#line 146 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp33_ = self->priv->unit_type_combo_box;
#line 146 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_combo_box_append_text (_tmp33_, "Automounts");
#line 147 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp34_ = self->priv->unit_type_combo_box;
#line 147 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_combo_box_append_text (_tmp34_, "Swaps");
#line 148 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp35_ = self->priv->unit_type_combo_box;
#line 148 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_combo_box_append_text (_tmp35_, "Sockets");
#line 149 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp36_ = self->priv->unit_type_combo_box;
#line 149 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_combo_box_append_text (_tmp36_, "Paths");
#line 150 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp37_ = self->priv->unit_type_combo_box;
#line 150 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_combo_box_append_text (_tmp37_, "Timers");
#line 151 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp38_ = self->priv->unit_type_combo_box;
#line 151 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_combo_box_append_text (_tmp38_, "Snapshots");
#line 152 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp39_ = self->priv->unit_type_combo_box;
#line 152 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_combo_box_set_active (_tmp39_, 0);
#line 153 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp40_ = self->priv->unit_type_combo_box;
#line 153 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_signal_connect_object (_tmp40_, "changed", (GCallback) _main_window_unit_type_changed_gtk_combo_box_changed, self, 0);
#line 155 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp41_ = (GtkCheckButton*) gtk_check_button_new_with_label ("inactive too");
#line 155 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp42_ = g_object_ref_sink (_tmp41_);
#line 155 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->inactive_checkbox);
#line 155 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->inactive_checkbox = _tmp42_;
#line 156 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp43_ = self->priv->inactive_checkbox;
#line 156 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_signal_connect_object ((GtkToggleButton*) _tmp43_, "toggled", (GCallback) _main_window_unit_type_changed_gtk_toggle_button_toggled, self, 0);
#line 157 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp44_ = type_hbox;
#line 157 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp45_ = self->priv->inactive_checkbox;
#line 157 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_box_pack_start (_tmp44_, (GtkWidget*) _tmp45_, FALSE, FALSE, (guint) 0);
#line 159 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp46_ = (GtkEntry*) gtk_entry_new ();
#line 159 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp47_ = g_object_ref_sink (_tmp46_);
#line 159 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_load_entry);
#line 159 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->unit_load_entry = _tmp47_;
#line 160 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp48_ = (GtkButton*) gtk_button_new_with_mnemonic ("_Load");
#line 160 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp49_ = g_object_ref_sink (_tmp48_);
#line 160 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_load_button);
#line 160 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->unit_load_button = _tmp49_;
#line 161 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp50_ = self->priv->unit_load_button;
#line 161 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp50_, FALSE);
#line 163 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp51_ = self->priv->unit_load_entry;
#line 163 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_signal_connect_object ((GtkEditable*) _tmp51_, "changed", (GCallback) _main_window_on_unit_load_entry_changed_gtk_editable_changed, self, 0);
#line 164 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp52_ = self->priv->unit_load_entry;
#line 164 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_signal_connect_object (_tmp52_, "activate", (GCallback) _main_window_on_unit_load_gtk_entry_activate, self, 0);
#line 165 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp53_ = self->priv->unit_load_button;
#line 165 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_signal_connect_object (_tmp53_, "clicked", (GCallback) _main_window_on_unit_load_gtk_button_clicked, self, 0);
#line 167 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp54_ = (GtkHBox*) gtk_hbox_new (FALSE, 6);
#line 167 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp55_ = (GtkBox*) g_object_ref_sink (_tmp54_);
#line 167 "/home/lennart/projects/systemd/src/systemadm.vala"
	unit_load_hbox = _tmp55_;
#line 168 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp56_ = unit_load_hbox;
#line 168 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp57_ = self->priv->unit_load_entry;
#line 168 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_box_pack_start (_tmp56_, (GtkWidget*) _tmp57_, FALSE, TRUE, (guint) 0);
#line 169 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp58_ = unit_load_hbox;
#line 169 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp59_ = self->priv->unit_load_button;
#line 169 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_box_pack_start (_tmp58_, (GtkWidget*) _tmp59_, FALSE, TRUE, (guint) 0);
#line 171 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp60_ = (GtkButton*) gtk_button_new_with_mnemonic ("Take S_napshot");
#line 171 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp61_ = g_object_ref_sink (_tmp60_);
#line 171 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->server_snapshot_button);
#line 171 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->server_snapshot_button = _tmp61_;
#line 172 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp62_ = (GtkButton*) gtk_button_new_with_mnemonic ("Reload _Configuration");
#line 172 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp63_ = g_object_ref_sink (_tmp62_);
#line 172 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->server_reload_button);
#line 172 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->server_reload_button = _tmp63_;
#line 174 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp64_ = self->priv->server_snapshot_button;
#line 174 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_signal_connect_object (_tmp64_, "clicked", (GCallback) _main_window_on_server_snapshot_gtk_button_clicked, self, 0);
#line 175 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp65_ = self->priv->server_reload_button;
#line 175 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_signal_connect_object (_tmp65_, "clicked", (GCallback) _main_window_on_server_reload_gtk_button_clicked, self, 0);
#line 177 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp66_ = type_hbox;
#line 177 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp67_ = self->priv->server_snapshot_button;
#line 177 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_box_pack_end (_tmp66_, (GtkWidget*) _tmp67_, FALSE, TRUE, (guint) 0);
#line 178 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp68_ = type_hbox;
#line 178 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp69_ = self->priv->server_reload_button;
#line 178 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_box_pack_end (_tmp68_, (GtkWidget*) _tmp69_, FALSE, TRUE, (guint) 0);
#line 179 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp70_ = type_hbox;
#line 179 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp71_ = unit_load_hbox;
#line 179 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_box_pack_end (_tmp70_, (GtkWidget*) _tmp71_, FALSE, TRUE, (guint) 24);
#line 181 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp72_ = gtk_list_store_new (7, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, TYPE_UNIT);
#line 181 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_model);
#line 181 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->unit_model = _tmp72_;
#line 182 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp73_ = gtk_list_store_new (6, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, TYPE_JOB, G_TYPE_UINT);
#line 182 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->job_model);
#line 182 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->job_model = _tmp73_;
#line 184 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp74_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, TYPE_UNIT, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
#line 184 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_map);
#line 184 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->unit_map = _tmp74_;
#line 187 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp75_ = self->priv->unit_model;
#line 187 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp76_ = (GtkTreeModelFilter*) gtk_tree_model_filter_new ((GtkTreeModel*) _tmp75_, NULL);
#line 187 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (unit_model_filter);
#line 187 "/home/lennart/projects/systemd/src/systemadm.vala"
	unit_model_filter = _tmp76_;
#line 188 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp77_ = unit_model_filter;
#line 188 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_tree_model_filter_set_visible_func (_tmp77_, _main_window_unit_filter_gtk_tree_model_filter_visible_func, g_object_ref (self), g_object_unref);
#line 190 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp78_ = unit_model_filter;
#line 190 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp79_ = (GtkTreeModelSort*) gtk_tree_model_sort_new_with_model ((GtkTreeModel*) _tmp78_);
#line 190 "/home/lennart/projects/systemd/src/systemadm.vala"
	unit_model_sort = _tmp79_;
#line 192 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp80_ = unit_model_sort;
#line 192 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp81_ = (GtkTreeView*) gtk_tree_view_new_with_model ((GtkTreeModel*) _tmp80_);
#line 192 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp82_ = g_object_ref_sink (_tmp81_);
#line 192 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_view);
#line 192 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->unit_view = _tmp82_;
#line 193 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp83_ = self->priv->job_model;
#line 193 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp84_ = (GtkTreeView*) gtk_tree_view_new_with_model ((GtkTreeModel*) _tmp83_);
#line 193 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp85_ = g_object_ref_sink (_tmp84_);
#line 193 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->job_view);
#line 193 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->job_view = _tmp85_;
#line 195 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp86_ = self->priv->unit_view;
#line 195 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_signal_connect_object (_tmp86_, "cursor-changed", (GCallback) _main_window_unit_changed_gtk_tree_view_cursor_changed, self, 0);
#line 196 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp87_ = self->priv->job_view;
#line 196 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_signal_connect_object (_tmp87_, "cursor-changed", (GCallback) _main_window_job_changed_gtk_tree_view_cursor_changed, self, 0);
#line 198 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp88_ = self->priv->unit_view;
#line 198 "/home/lennart/projects/systemd/src/systemadm.vala"
	new_column (_tmp88_, 2, "Load State");
#line 199 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp89_ = self->priv->unit_view;
#line 199 "/home/lennart/projects/systemd/src/systemadm.vala"
	new_column (_tmp89_, 3, "Active State");
#line 200 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp90_ = self->priv->unit_view;
#line 200 "/home/lennart/projects/systemd/src/systemadm.vala"
	new_column (_tmp90_, 4, "Unit State");
#line 201 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp91_ = self->priv->unit_view;
#line 201 "/home/lennart/projects/systemd/src/systemadm.vala"
	new_column (_tmp91_, 0, "Unit");
#line 202 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp92_ = self->priv->unit_view;
#line 202 "/home/lennart/projects/systemd/src/systemadm.vala"
	new_column (_tmp92_, 5, "Job");
#line 204 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp93_ = self->priv->job_view;
#line 204 "/home/lennart/projects/systemd/src/systemadm.vala"
	new_column (_tmp93_, 0, "Job");
#line 205 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp94_ = self->priv->job_view;
#line 205 "/home/lennart/projects/systemd/src/systemadm.vala"
	new_column (_tmp94_, 1, "Unit");
#line 206 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp95_ = self->priv->job_view;
#line 206 "/home/lennart/projects/systemd/src/systemadm.vala"
	new_column (_tmp95_, 2, "Type");
#line 207 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp96_ = self->priv->job_view;
#line 207 "/home/lennart/projects/systemd/src/systemadm.vala"
	new_column (_tmp96_, 3, "State");
#line 209 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp97_ = (GtkScrolledWindow*) gtk_scrolled_window_new (NULL, NULL);
#line 209 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp98_ = g_object_ref_sink (_tmp97_);
#line 209 "/home/lennart/projects/systemd/src/systemadm.vala"
	scroll = _tmp98_;
#line 210 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp99_ = scroll;
#line 210 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_scrolled_window_set_policy (_tmp99_, GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
#line 211 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp100_ = scroll;
#line 211 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_scrolled_window_set_shadow_type (_tmp100_, GTK_SHADOW_IN);
#line 212 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp101_ = scroll;
#line 212 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp102_ = self->priv->unit_view;
#line 212 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_container_add ((GtkContainer*) _tmp101_, (GtkWidget*) _tmp102_);
#line 213 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp103_ = unit_vbox;
#line 213 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp104_ = scroll;
#line 213 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_box_pack_start (_tmp103_, (GtkWidget*) _tmp104_, TRUE, TRUE, (guint) 0);
#line 215 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp105_ = (GtkScrolledWindow*) gtk_scrolled_window_new (NULL, NULL);
#line 215 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp106_ = g_object_ref_sink (_tmp105_);
#line 215 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (scroll);
#line 215 "/home/lennart/projects/systemd/src/systemadm.vala"
	scroll = _tmp106_;
#line 216 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp107_ = scroll;
#line 216 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_scrolled_window_set_policy (_tmp107_, GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
#line 217 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp108_ = scroll;
#line 217 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_scrolled_window_set_shadow_type (_tmp108_, GTK_SHADOW_IN);
#line 218 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp109_ = scroll;
#line 218 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp110_ = self->priv->job_view;
#line 218 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_container_add ((GtkContainer*) _tmp109_, (GtkWidget*) _tmp110_);
#line 219 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp111_ = job_vbox;
#line 219 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp112_ = scroll;
#line 219 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_box_pack_start (_tmp111_, (GtkWidget*) _tmp112_, TRUE, TRUE, (guint) 0);
#line 221 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp113_ = right_label_new (NULL);
#line 221 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp114_ = g_object_ref_sink (_tmp113_);
#line 221 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_id_label);
#line 221 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->unit_id_label = _tmp114_;
#line 222 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp115_ = right_label_new (NULL);
#line 222 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp116_ = g_object_ref_sink (_tmp115_);
#line 222 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_dependency_label);
#line 222 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->unit_dependency_label = _tmp116_;
#line 223 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp117_ = right_label_new (NULL);
#line 223 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp118_ = g_object_ref_sink (_tmp117_);
#line 223 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_description_label);
#line 223 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->unit_description_label = _tmp118_;
#line 224 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp119_ = right_label_new (NULL);
#line 224 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp120_ = g_object_ref_sink (_tmp119_);
#line 224 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_load_state_label);
#line 224 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->unit_load_state_label = _tmp120_;
#line 225 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp121_ = right_label_new (NULL);
#line 225 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp122_ = g_object_ref_sink (_tmp121_);
#line 225 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_active_state_label);
#line 225 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->unit_active_state_label = _tmp122_;
#line 226 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp123_ = right_label_new (NULL);
#line 226 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp124_ = g_object_ref_sink (_tmp123_);
#line 226 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_sub_state_label);
#line 226 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->unit_sub_state_label = _tmp124_;
#line 227 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp125_ = right_label_new (NULL);
#line 227 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp126_ = g_object_ref_sink (_tmp125_);
#line 227 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_fragment_path_label);
#line 227 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->unit_fragment_path_label = _tmp126_;
#line 228 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp127_ = right_label_new (NULL);
#line 228 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp128_ = g_object_ref_sink (_tmp127_);
#line 228 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_active_enter_timestamp_label);
#line 228 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->unit_active_enter_timestamp_label = _tmp128_;
#line 229 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp129_ = right_label_new (NULL);
#line 229 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp130_ = g_object_ref_sink (_tmp129_);
#line 229 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_active_exit_timestamp_label);
#line 229 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->unit_active_exit_timestamp_label = _tmp130_;
#line 230 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp131_ = right_label_new (NULL);
#line 230 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp132_ = g_object_ref_sink (_tmp131_);
#line 230 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_can_start_label);
#line 230 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->unit_can_start_label = _tmp132_;
#line 231 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp133_ = right_label_new (NULL);
#line 231 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp134_ = g_object_ref_sink (_tmp133_);
#line 231 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_can_reload_label);
#line 231 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->unit_can_reload_label = _tmp134_;
#line 232 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp135_ = right_label_new (NULL);
#line 232 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp136_ = g_object_ref_sink (_tmp135_);
#line 232 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_cgroup_label);
#line 232 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->unit_cgroup_label = _tmp136_;
#line 234 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp137_ = right_label_new (NULL);
#line 234 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp138_ = g_object_ref_sink (_tmp137_);
#line 234 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->job_id_label);
#line 234 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->job_id_label = _tmp138_;
#line 235 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp139_ = right_label_new (NULL);
#line 235 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp140_ = g_object_ref_sink (_tmp139_);
#line 235 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->job_state_label);
#line 235 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->job_state_label = _tmp140_;
#line 236 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp141_ = right_label_new (NULL);
#line 236 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp142_ = g_object_ref_sink (_tmp141_);
#line 236 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->job_type_label);
#line 236 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->job_type_label = _tmp142_;
#line 238 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp143_ = self->priv->unit_dependency_label;
#line 238 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_label_set_track_visited_links ((GtkLabel*) _tmp143_, FALSE);
#line 239 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp144_ = self->priv->unit_dependency_label;
#line 239 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_label_set_selectable ((GtkLabel*) _tmp144_, TRUE);
#line 240 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp145_ = self->priv->unit_dependency_label;
#line 240 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_signal_connect_object ((GtkLabel*) _tmp145_, "activate-link", (GCallback) _main_window_on_activate_link_gtk_label_activate_link, self, 0);
#line 242 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp146_ = self->priv->unit_fragment_path_label;
#line 242 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_label_set_track_visited_links ((GtkLabel*) _tmp146_, FALSE);
#line 244 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp147_ = (GtkTable*) gtk_table_new ((guint) 8, (guint) 6, FALSE);
#line 244 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp148_ = g_object_ref_sink (_tmp147_);
#line 244 "/home/lennart/projects/systemd/src/systemadm.vala"
	unit_table = _tmp148_;
#line 245 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp149_ = unit_table;
#line 245 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_set_row_spacings (_tmp149_, (guint) 6);
#line 246 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp150_ = unit_table;
#line 246 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_container_set_border_width ((GtkContainer*) _tmp150_, (guint) 0);
#line 247 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp151_ = unit_vbox;
#line 247 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp152_ = unit_table;
#line 247 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_box_pack_start (_tmp151_, (GtkWidget*) _tmp152_, FALSE, TRUE, (guint) 0);
#line 249 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp153_ = (GtkTable*) gtk_table_new ((guint) 2, (guint) 2, FALSE);
#line 249 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp154_ = g_object_ref_sink (_tmp153_);
#line 249 "/home/lennart/projects/systemd/src/systemadm.vala"
	job_table = _tmp154_;
#line 250 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp155_ = job_table;
#line 250 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_set_row_spacings (_tmp155_, (guint) 6);
#line 251 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp156_ = job_table;
#line 251 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_container_set_border_width ((GtkContainer*) _tmp156_, (guint) 0);
#line 252 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp157_ = job_vbox;
#line 252 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp158_ = job_table;
#line 252 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_box_pack_start (_tmp157_, (GtkWidget*) _tmp158_, FALSE, TRUE, (guint) 0);
#line 254 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp159_ = unit_table;
#line 254 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp160_ = left_label_new ("Id:");
#line 254 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp161_ = g_object_ref_sink (_tmp160_);
#line 254 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp159_, (GtkWidget*) _tmp161_, (guint) 0, (guint) 1, (guint) 0, (guint) 1, GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 254 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (_tmp161_);
#line 255 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp162_ = unit_table;
#line 255 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp163_ = self->priv->unit_id_label;
#line 255 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp162_, (GtkWidget*) _tmp163_, (guint) 1, (guint) 6, (guint) 0, (guint) 1, GTK_EXPAND | GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 256 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp164_ = unit_table;
#line 256 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp165_ = left_label_new ("Description:");
#line 256 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp166_ = g_object_ref_sink (_tmp165_);
#line 256 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp164_, (GtkWidget*) _tmp166_, (guint) 0, (guint) 1, (guint) 1, (guint) 2, GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 256 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (_tmp166_);
#line 257 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp167_ = unit_table;
#line 257 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp168_ = self->priv->unit_description_label;
#line 257 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp167_, (GtkWidget*) _tmp168_, (guint) 1, (guint) 6, (guint) 1, (guint) 2, GTK_EXPAND | GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 258 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp169_ = unit_table;
#line 258 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp170_ = left_label_new ("Dependencies:");
#line 258 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp171_ = g_object_ref_sink (_tmp170_);
#line 258 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp169_, (GtkWidget*) _tmp171_, (guint) 0, (guint) 1, (guint) 2, (guint) 3, GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 258 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (_tmp171_);
#line 259 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp172_ = unit_table;
#line 259 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp173_ = self->priv->unit_dependency_label;
#line 259 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp172_, (GtkWidget*) _tmp173_, (guint) 1, (guint) 6, (guint) 2, (guint) 3, GTK_EXPAND | GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 260 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp174_ = unit_table;
#line 260 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp175_ = left_label_new ("Fragment Path:");
#line 260 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp176_ = g_object_ref_sink (_tmp175_);
#line 260 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp174_, (GtkWidget*) _tmp176_, (guint) 0, (guint) 1, (guint) 3, (guint) 4, GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 260 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (_tmp176_);
#line 261 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp177_ = unit_table;
#line 261 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp178_ = self->priv->unit_fragment_path_label;
#line 261 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp177_, (GtkWidget*) _tmp178_, (guint) 1, (guint) 6, (guint) 3, (guint) 4, GTK_EXPAND | GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 262 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp179_ = unit_table;
#line 262 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp180_ = left_label_new ("Control Group:");
#line 262 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp181_ = g_object_ref_sink (_tmp180_);
#line 262 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp179_, (GtkWidget*) _tmp181_, (guint) 0, (guint) 1, (guint) 4, (guint) 5, GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 262 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (_tmp181_);
#line 263 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp182_ = unit_table;
#line 263 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp183_ = self->priv->unit_cgroup_label;
#line 263 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp182_, (GtkWidget*) _tmp183_, (guint) 1, (guint) 6, (guint) 4, (guint) 5, GTK_EXPAND | GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 265 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp184_ = unit_table;
#line 265 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp185_ = left_label_new ("Load State:");
#line 265 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp186_ = g_object_ref_sink (_tmp185_);
#line 265 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp184_, (GtkWidget*) _tmp186_, (guint) 0, (guint) 1, (guint) 5, (guint) 6, GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 265 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (_tmp186_);
#line 266 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp187_ = unit_table;
#line 266 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp188_ = self->priv->unit_load_state_label;
#line 266 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp187_, (GtkWidget*) _tmp188_, (guint) 1, (guint) 2, (guint) 5, (guint) 6, GTK_EXPAND | GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 267 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp189_ = unit_table;
#line 267 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp190_ = left_label_new ("Active State:");
#line 267 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp191_ = g_object_ref_sink (_tmp190_);
#line 267 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp189_, (GtkWidget*) _tmp191_, (guint) 0, (guint) 1, (guint) 6, (guint) 7, GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 267 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (_tmp191_);
#line 268 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp192_ = unit_table;
#line 268 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp193_ = self->priv->unit_active_state_label;
#line 268 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp192_, (GtkWidget*) _tmp193_, (guint) 1, (guint) 2, (guint) 6, (guint) 7, GTK_EXPAND | GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 269 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp194_ = unit_table;
#line 269 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp195_ = left_label_new ("Unit State:");
#line 269 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp196_ = g_object_ref_sink (_tmp195_);
#line 269 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp194_, (GtkWidget*) _tmp196_, (guint) 0, (guint) 1, (guint) 7, (guint) 8, GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 269 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (_tmp196_);
#line 270 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp197_ = unit_table;
#line 270 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp198_ = self->priv->unit_sub_state_label;
#line 270 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp197_, (GtkWidget*) _tmp198_, (guint) 1, (guint) 2, (guint) 7, (guint) 8, GTK_EXPAND | GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 272 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp199_ = unit_table;
#line 272 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp200_ = left_label_new ("Activated:");
#line 272 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp201_ = g_object_ref_sink (_tmp200_);
#line 272 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp199_, (GtkWidget*) _tmp201_, (guint) 2, (guint) 3, (guint) 6, (guint) 7, GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 272 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (_tmp201_);
#line 273 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp202_ = unit_table;
#line 273 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp203_ = self->priv->unit_active_enter_timestamp_label;
#line 273 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp202_, (GtkWidget*) _tmp203_, (guint) 3, (guint) 4, (guint) 6, (guint) 7, GTK_EXPAND | GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 274 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp204_ = unit_table;
#line 274 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp205_ = left_label_new ("Deactivated:");
#line 274 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp206_ = g_object_ref_sink (_tmp205_);
#line 274 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp204_, (GtkWidget*) _tmp206_, (guint) 2, (guint) 3, (guint) 7, (guint) 8, GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 274 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (_tmp206_);
#line 275 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp207_ = unit_table;
#line 275 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp208_ = self->priv->unit_active_exit_timestamp_label;
#line 275 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp207_, (GtkWidget*) _tmp208_, (guint) 3, (guint) 4, (guint) 7, (guint) 8, GTK_EXPAND | GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 277 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp209_ = unit_table;
#line 277 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp210_ = left_label_new ("Can Start/Stop:");
#line 277 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp211_ = g_object_ref_sink (_tmp210_);
#line 277 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp209_, (GtkWidget*) _tmp211_, (guint) 4, (guint) 5, (guint) 6, (guint) 7, GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 277 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (_tmp211_);
#line 278 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp212_ = unit_table;
#line 278 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp213_ = self->priv->unit_can_start_label;
#line 278 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp212_, (GtkWidget*) _tmp213_, (guint) 5, (guint) 6, (guint) 6, (guint) 7, GTK_EXPAND | GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 279 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp214_ = unit_table;
#line 279 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp215_ = left_label_new ("Can Reload:");
#line 279 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp216_ = g_object_ref_sink (_tmp215_);
#line 279 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp214_, (GtkWidget*) _tmp216_, (guint) 4, (guint) 5, (guint) 7, (guint) 8, GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 279 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (_tmp216_);
#line 280 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp217_ = unit_table;
#line 280 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp218_ = self->priv->unit_can_reload_label;
#line 280 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp217_, (GtkWidget*) _tmp218_, (guint) 5, (guint) 6, (guint) 7, (guint) 8, GTK_EXPAND | GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 282 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp219_ = job_table;
#line 282 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp220_ = left_label_new ("Id:");
#line 282 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp221_ = g_object_ref_sink (_tmp220_);
#line 282 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp219_, (GtkWidget*) _tmp221_, (guint) 0, (guint) 1, (guint) 0, (guint) 1, GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 282 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (_tmp221_);
#line 283 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp222_ = job_table;
#line 283 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp223_ = self->priv->job_id_label;
#line 283 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp222_, (GtkWidget*) _tmp223_, (guint) 1, (guint) 2, (guint) 0, (guint) 1, GTK_EXPAND | GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 284 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp224_ = job_table;
#line 284 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp225_ = left_label_new ("State:");
#line 284 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp226_ = g_object_ref_sink (_tmp225_);
#line 284 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp224_, (GtkWidget*) _tmp226_, (guint) 0, (guint) 1, (guint) 1, (guint) 2, GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 284 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (_tmp226_);
#line 285 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp227_ = job_table;
#line 285 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp228_ = self->priv->job_state_label;
#line 285 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp227_, (GtkWidget*) _tmp228_, (guint) 1, (guint) 2, (guint) 1, (guint) 2, GTK_EXPAND | GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 286 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp229_ = job_table;
#line 286 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp230_ = left_label_new ("Type:");
#line 286 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp231_ = g_object_ref_sink (_tmp230_);
#line 286 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp229_, (GtkWidget*) _tmp231_, (guint) 0, (guint) 1, (guint) 2, (guint) 3, GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 286 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (_tmp231_);
#line 287 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp232_ = job_table;
#line 287 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp233_ = self->priv->job_type_label;
#line 287 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_table_attach (_tmp232_, (GtkWidget*) _tmp233_, (guint) 1, (guint) 2, (guint) 2, (guint) 3, GTK_EXPAND | GTK_FILL, GTK_FILL, (guint) 0, (guint) 0);
#line 289 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp234_ = (GtkHButtonBox*) gtk_hbutton_box_new ();
#line 289 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp235_ = (GtkButtonBox*) g_object_ref_sink (_tmp234_);
#line 289 "/home/lennart/projects/systemd/src/systemadm.vala"
	bbox = _tmp235_;
#line 290 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp236_ = bbox;
#line 290 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_button_box_set_layout (_tmp236_, GTK_BUTTONBOX_START);
#line 291 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp237_ = bbox;
#line 291 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_box_set_spacing ((GtkBox*) _tmp237_, 6);
#line 292 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp238_ = unit_vbox;
#line 292 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp239_ = bbox;
#line 292 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_box_pack_start (_tmp238_, (GtkWidget*) _tmp239_, FALSE, TRUE, (guint) 0);
#line 294 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp240_ = (GtkButton*) gtk_button_new_with_mnemonic ("_Start");
#line 294 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp241_ = g_object_ref_sink (_tmp240_);
#line 294 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->start_button);
#line 294 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->start_button = _tmp241_;
#line 295 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp242_ = (GtkButton*) gtk_button_new_with_mnemonic ("Sto_p");
#line 295 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp243_ = g_object_ref_sink (_tmp242_);
#line 295 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->stop_button);
#line 295 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->stop_button = _tmp243_;
#line 296 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp244_ = (GtkButton*) gtk_button_new_with_mnemonic ("_Reload");
#line 296 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp245_ = g_object_ref_sink (_tmp244_);
#line 296 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->reload_button);
#line 296 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->reload_button = _tmp245_;
#line 297 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp246_ = (GtkButton*) gtk_button_new_with_mnemonic ("Res_tart");
#line 297 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp247_ = g_object_ref_sink (_tmp246_);
#line 297 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->restart_button);
#line 297 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->restart_button = _tmp247_;
#line 299 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp248_ = self->priv->start_button;
#line 299 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_signal_connect_object (_tmp248_, "clicked", (GCallback) _main_window_on_start_gtk_button_clicked, self, 0);
#line 300 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp249_ = self->priv->stop_button;
#line 300 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_signal_connect_object (_tmp249_, "clicked", (GCallback) _main_window_on_stop_gtk_button_clicked, self, 0);
#line 301 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp250_ = self->priv->reload_button;
#line 301 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_signal_connect_object (_tmp250_, "clicked", (GCallback) _main_window_on_reload_gtk_button_clicked, self, 0);
#line 302 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp251_ = self->priv->restart_button;
#line 302 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_signal_connect_object (_tmp251_, "clicked", (GCallback) _main_window_on_restart_gtk_button_clicked, self, 0);
#line 304 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp252_ = bbox;
#line 304 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp253_ = self->priv->start_button;
#line 304 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_box_pack_start ((GtkBox*) _tmp252_, (GtkWidget*) _tmp253_, FALSE, TRUE, (guint) 0);
#line 305 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp254_ = bbox;
#line 305 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp255_ = self->priv->stop_button;
#line 305 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_box_pack_start ((GtkBox*) _tmp254_, (GtkWidget*) _tmp255_, FALSE, TRUE, (guint) 0);
#line 306 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp256_ = bbox;
#line 306 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp257_ = self->priv->restart_button;
#line 306 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_box_pack_start ((GtkBox*) _tmp256_, (GtkWidget*) _tmp257_, FALSE, TRUE, (guint) 0);
#line 307 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp258_ = bbox;
#line 307 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp259_ = self->priv->reload_button;
#line 307 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_box_pack_start ((GtkBox*) _tmp258_, (GtkWidget*) _tmp259_, FALSE, TRUE, (guint) 0);
#line 309 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp260_ = (GtkHButtonBox*) gtk_hbutton_box_new ();
#line 309 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp261_ = (GtkButtonBox*) g_object_ref_sink (_tmp260_);
#line 309 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (bbox);
#line 309 "/home/lennart/projects/systemd/src/systemadm.vala"
	bbox = _tmp261_;
#line 310 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp262_ = bbox;
#line 310 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_button_box_set_layout (_tmp262_, GTK_BUTTONBOX_START);
#line 311 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp263_ = bbox;
#line 311 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_box_set_spacing ((GtkBox*) _tmp263_, 6);
#line 312 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp264_ = job_vbox;
#line 312 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp265_ = bbox;
#line 312 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_box_pack_start (_tmp264_, (GtkWidget*) _tmp265_, FALSE, TRUE, (guint) 0);
#line 314 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp266_ = (GtkButton*) gtk_button_new_with_mnemonic ("_Cancel");
#line 314 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp267_ = g_object_ref_sink (_tmp266_);
#line 314 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->cancel_button);
#line 314 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->cancel_button = _tmp267_;
#line 316 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp268_ = self->priv->cancel_button;
#line 316 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_signal_connect_object (_tmp268_, "clicked", (GCallback) _main_window_on_cancel_gtk_button_clicked, self, 0);
#line 318 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp269_ = bbox;
#line 318 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp270_ = self->priv->cancel_button;
#line 318 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_box_pack_start ((GtkBox*) _tmp269_, (GtkWidget*) _tmp270_, FALSE, TRUE, (guint) 0);
#line 321 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp272_ = user;
#line 321 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp272_) {
#line 321 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp271_ = G_BUS_TYPE_SESSION;
#line 2251 "systemadm.c"
	} else {
#line 321 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp271_ = G_BUS_TYPE_SYSTEM;
#line 2255 "systemadm.c"
	}
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp273_ = _tmp271_;
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp274_ = g_initable_new (TYPE_MANAGER_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", "org.freedesktop.systemd1", "g-bus-type", _tmp273_, "g-object-path", "/org/freedesktop/systemd1", "g-interface-name", "org.freedesktop.systemd1.Manager", NULL);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp275_ = (Manager*) _tmp274_;
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_inner_error_ != NULL) {
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_inner_error_->domain == G_IO_ERROR) {
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			g_propagate_error (error, _inner_error_);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (bbox);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (job_table);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_table);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (scroll);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_model_sort);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_model_filter);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_load_hbox);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (type_hbox);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (job_vbox);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_vbox);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (notebook);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (self);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			return NULL;
#line 2295 "systemadm.c"
		} else {
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (bbox);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (job_table);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_table);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (scroll);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_model_sort);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_model_filter);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_load_hbox);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (type_hbox);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (job_vbox);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_vbox);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (notebook);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			g_clear_error (&_inner_error_);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
			return NULL;
#line 2325 "systemadm.c"
		}
	}
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->manager);
#line 320 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->manager = _tmp275_;
#line 325 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp276_ = self->priv->manager;
#line 325 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_signal_connect_object (_tmp276_, "unit-new", (GCallback) _main_window_on_unit_new_manager_unit_new, self, 0);
#line 326 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp277_ = self->priv->manager;
#line 326 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_signal_connect_object (_tmp277_, "job-new", (GCallback) _main_window_on_job_new_manager_job_new, self, 0);
#line 327 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp278_ = self->priv->manager;
#line 327 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_signal_connect_object (_tmp278_, "unit-removed", (GCallback) _main_window_on_unit_removed_manager_unit_removed, self, 0);
#line 328 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp279_ = self->priv->manager;
#line 328 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_signal_connect_object (_tmp279_, "job-removed", (GCallback) _main_window_on_job_removed_manager_job_removed, self, 0);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp280_ = self->priv->manager;
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
	manager_subscribe (_tmp280_, &_inner_error_);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_inner_error_ != NULL) {
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_inner_error_->domain == G_IO_ERROR) {
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			g_propagate_error (error, _inner_error_);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (bbox);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (job_table);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_table);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (scroll);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_model_sort);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_model_filter);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_load_hbox);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (type_hbox);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (job_vbox);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_vbox);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (notebook);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (self);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			return NULL;
#line 2384 "systemadm.c"
		} else {
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (bbox);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (job_table);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_table);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (scroll);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_model_sort);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_model_filter);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_load_hbox);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (type_hbox);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (job_vbox);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_vbox);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (notebook);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			g_clear_error (&_inner_error_);
#line 330 "/home/lennart/projects/systemd/src/systemadm.vala"
			return NULL;
#line 2414 "systemadm.c"
		}
	}
#line 332 "/home/lennart/projects/systemd/src/systemadm.vala"
	main_window_clear_unit (self);
#line 333 "/home/lennart/projects/systemd/src/systemadm.vala"
	main_window_clear_job (self);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
	main_window_populate_unit_model (self, &_inner_error_);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_inner_error_ != NULL) {
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_inner_error_->domain == G_IO_ERROR) {
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			g_propagate_error (error, _inner_error_);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (bbox);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (job_table);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_table);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (scroll);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_model_sort);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_model_filter);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_load_hbox);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (type_hbox);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (job_vbox);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_vbox);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (notebook);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (self);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			return NULL;
#line 2455 "systemadm.c"
		} else {
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (bbox);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (job_table);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_table);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (scroll);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_model_sort);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_model_filter);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_load_hbox);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (type_hbox);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (job_vbox);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_vbox);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (notebook);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			g_clear_error (&_inner_error_);
#line 334 "/home/lennart/projects/systemd/src/systemadm.vala"
			return NULL;
#line 2485 "systemadm.c"
		}
	}
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
	main_window_populate_job_model (self, &_inner_error_);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_inner_error_ != NULL) {
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_inner_error_->domain == G_IO_ERROR) {
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			g_propagate_error (error, _inner_error_);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (bbox);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (job_table);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_table);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (scroll);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_model_sort);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_model_filter);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_load_hbox);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (type_hbox);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (job_vbox);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_vbox);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (notebook);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (self);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			return NULL;
#line 2522 "systemadm.c"
		} else {
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (bbox);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (job_table);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_table);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (scroll);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_model_sort);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_model_filter);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_load_hbox);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (type_hbox);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (job_vbox);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (unit_vbox);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (notebook);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			g_clear_error (&_inner_error_);
#line 335 "/home/lennart/projects/systemd/src/systemadm.vala"
			return NULL;
#line 2552 "systemadm.c"
		}
	}
#line 118 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (bbox);
#line 118 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (job_table);
#line 118 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (unit_table);
#line 118 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (scroll);
#line 118 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (unit_model_sort);
#line 118 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (unit_model_filter);
#line 118 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (unit_load_hbox);
#line 118 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (type_hbox);
#line 118 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (job_vbox);
#line 118 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (unit_vbox);
#line 118 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (notebook);
#line 118 "/home/lennart/projects/systemd/src/systemadm.vala"
	return self;
#line 2579 "systemadm.c"
}


MainWindow* main_window_new (GError** error) {
#line 118 "/home/lennart/projects/systemd/src/systemadm.vala"
	return main_window_construct (TYPE_MAIN_WINDOW, error);
#line 2586 "systemadm.c"
}


static void _vala_ManagerUnitInfo_array_free (ManagerUnitInfo* array, gint array_length) {
#line 346 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (array != NULL) {
#line 2593 "systemadm.c"
		int i;
#line 346 "/home/lennart/projects/systemd/src/systemadm.vala"
		for (i = 0; i < array_length; i = i + 1) {
#line 346 "/home/lennart/projects/systemd/src/systemadm.vala"
			manager_unit_info_destroy (&array[i]);
#line 2599 "systemadm.c"
		}
	}
#line 346 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_free (array);
#line 2604 "systemadm.c"
}


static void _main_window_on_unit_changed_properties_properties_changed (Properties* _sender, const gchar* iface, GHashTable* changed_properties, gchar** invalidated_properties, int invalidated_properties_length1, gpointer self) {
#line 351 "/home/lennart/projects/systemd/src/systemadm.vala"
	main_window_on_unit_changed (self, _sender, iface, changed_properties, invalidated_properties, invalidated_properties_length1);
#line 2611 "systemadm.c"
}


void main_window_populate_unit_model (MainWindow* self, GError** error) {
	GtkListStore* _tmp0_;
	Manager* _tmp1_;
	gint _tmp2_ = 0;
	ManagerUnitInfo* _tmp3_ = NULL;
	ManagerUnitInfo* list;
	gint list_length1;
	gint _list_size_;
	ManagerUnitInfo* _tmp4_;
	gint _tmp4__length1;
	GError * _inner_error_ = NULL;
#line 338 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 339 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = self->priv->unit_model;
#line 339 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_list_store_clear (_tmp0_);
#line 341 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = self->priv->manager;
#line 341 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp3_ = manager_list_units (_tmp1_, &_tmp2_, &_inner_error_);
#line 341 "/home/lennart/projects/systemd/src/systemadm.vala"
	list = _tmp3_;
#line 341 "/home/lennart/projects/systemd/src/systemadm.vala"
	list_length1 = _tmp2_;
#line 341 "/home/lennart/projects/systemd/src/systemadm.vala"
	_list_size_ = list_length1;
#line 341 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_inner_error_ != NULL) {
#line 341 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_inner_error_->domain == G_IO_ERROR) {
#line 341 "/home/lennart/projects/systemd/src/systemadm.vala"
			g_propagate_error (error, _inner_error_);
#line 341 "/home/lennart/projects/systemd/src/systemadm.vala"
			return;
#line 2650 "systemadm.c"
		} else {
#line 341 "/home/lennart/projects/systemd/src/systemadm.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 341 "/home/lennart/projects/systemd/src/systemadm.vala"
			g_clear_error (&_inner_error_);
#line 341 "/home/lennart/projects/systemd/src/systemadm.vala"
			return;
#line 2658 "systemadm.c"
		}
	}
#line 343 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp4_ = list;
#line 343 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp4__length1 = list_length1;
#line 2665 "systemadm.c"
	{
		ManagerUnitInfo* i_collection = NULL;
		gint i_collection_length1 = 0;
		gint _i_collection_size_ = 0;
		gint i_it = 0;
#line 343 "/home/lennart/projects/systemd/src/systemadm.vala"
		i_collection = _tmp4_;
#line 343 "/home/lennart/projects/systemd/src/systemadm.vala"
		i_collection_length1 = _tmp4__length1;
#line 343 "/home/lennart/projects/systemd/src/systemadm.vala"
		for (i_it = 0; i_it < _tmp4__length1; i_it = i_it + 1) {
#line 2677 "systemadm.c"
			ManagerUnitInfo _tmp5_ = {0};
			ManagerUnitInfo i = {0};
#line 343 "/home/lennart/projects/systemd/src/systemadm.vala"
			manager_unit_info_copy (&i_collection[i_it], &_tmp5_);
#line 343 "/home/lennart/projects/systemd/src/systemadm.vala"
			i = _tmp5_;
#line 2684 "systemadm.c"
			{
				GtkTreeIter iter = {0};
				GBusType _tmp6_ = 0;
				gboolean _tmp7_;
				GBusType _tmp8_;
				ManagerUnitInfo _tmp9_;
				const char* _tmp10_;
				Properties* _tmp11_ = NULL;
				Properties* p;
				Properties* _tmp12_;
				GBusType _tmp13_ = 0;
				gboolean _tmp14_;
				GBusType _tmp15_;
				ManagerUnitInfo _tmp16_;
				const char* _tmp17_;
				Unit* _tmp18_ = NULL;
				Unit* u;
				GeeHashMap* _tmp19_;
				ManagerUnitInfo _tmp20_;
				const gchar* _tmp21_;
				Unit* _tmp22_;
				GtkListStore* _tmp23_;
				GtkTreeIter _tmp24_ = {0};
				gchar* _tmp25_ = NULL;
				ManagerUnitInfo _tmp26_;
				const gchar* _tmp27_;
				GtkListStore* _tmp32_;
				GtkTreeIter _tmp33_;
				ManagerUnitInfo _tmp34_;
				const gchar* _tmp35_;
				ManagerUnitInfo _tmp36_;
				const gchar* _tmp37_;
				ManagerUnitInfo _tmp38_;
				const gchar* _tmp39_;
				ManagerUnitInfo _tmp40_;
				const gchar* _tmp41_;
				ManagerUnitInfo _tmp42_;
				const gchar* _tmp43_;
				const gchar* _tmp44_;
				Unit* _tmp45_;
#line 347 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp7_ = user;
#line 347 "/home/lennart/projects/systemd/src/systemadm.vala"
				if (_tmp7_) {
#line 347 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp6_ = G_BUS_TYPE_SESSION;
#line 2731 "systemadm.c"
				} else {
#line 347 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp6_ = G_BUS_TYPE_SYSTEM;
#line 2735 "systemadm.c"
				}
#line 346 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp8_ = _tmp6_;
#line 346 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp9_ = i;
#line 346 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp10_ = _tmp9_.unit_path;
#line 346 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp11_ = g_initable_new (TYPE_PROPERTIES_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", "org.freedesktop.systemd1", "g-bus-type", _tmp8_, "g-object-path", (const gchar*) _tmp10_, "g-interface-name", "org.freedesktop.Properties", NULL);
#line 346 "/home/lennart/projects/systemd/src/systemadm.vala"
				p = (Properties*) _tmp11_;
#line 346 "/home/lennart/projects/systemd/src/systemadm.vala"
				if (_inner_error_ != NULL) {
#line 346 "/home/lennart/projects/systemd/src/systemadm.vala"
					if (_inner_error_->domain == G_IO_ERROR) {
#line 346 "/home/lennart/projects/systemd/src/systemadm.vala"
						g_propagate_error (error, _inner_error_);
#line 346 "/home/lennart/projects/systemd/src/systemadm.vala"
						manager_unit_info_destroy (&i);
#line 346 "/home/lennart/projects/systemd/src/systemadm.vala"
						list = (_vala_ManagerUnitInfo_array_free (list, list_length1), NULL);
#line 346 "/home/lennart/projects/systemd/src/systemadm.vala"
						return;
#line 2759 "systemadm.c"
					} else {
#line 346 "/home/lennart/projects/systemd/src/systemadm.vala"
						manager_unit_info_destroy (&i);
#line 346 "/home/lennart/projects/systemd/src/systemadm.vala"
						list = (_vala_ManagerUnitInfo_array_free (list, list_length1), NULL);
#line 346 "/home/lennart/projects/systemd/src/systemadm.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 346 "/home/lennart/projects/systemd/src/systemadm.vala"
						g_clear_error (&_inner_error_);
#line 346 "/home/lennart/projects/systemd/src/systemadm.vala"
						return;
#line 2771 "systemadm.c"
					}
				}
#line 351 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp12_ = p;
#line 351 "/home/lennart/projects/systemd/src/systemadm.vala"
				g_signal_connect_object (_tmp12_, "properties-changed", (GCallback) _main_window_on_unit_changed_properties_properties_changed, self, 0);
#line 354 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp14_ = user;
#line 354 "/home/lennart/projects/systemd/src/systemadm.vala"
				if (_tmp14_) {
#line 354 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp13_ = G_BUS_TYPE_SESSION;
#line 2784 "systemadm.c"
				} else {
#line 354 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp13_ = G_BUS_TYPE_SYSTEM;
#line 2788 "systemadm.c"
				}
#line 353 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp15_ = _tmp13_;
#line 353 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp16_ = i;
#line 353 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp17_ = _tmp16_.unit_path;
#line 353 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp18_ = g_initable_new (TYPE_UNIT_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", "org.freedesktop.systemd1", "g-bus-type", _tmp15_, "g-object-path", (const gchar*) _tmp17_, "g-interface-name", "org.freedesktop.systemd1.Unit", NULL);
#line 353 "/home/lennart/projects/systemd/src/systemadm.vala"
				u = (Unit*) _tmp18_;
#line 353 "/home/lennart/projects/systemd/src/systemadm.vala"
				if (_inner_error_ != NULL) {
#line 353 "/home/lennart/projects/systemd/src/systemadm.vala"
					if (_inner_error_->domain == G_IO_ERROR) {
#line 353 "/home/lennart/projects/systemd/src/systemadm.vala"
						g_propagate_error (error, _inner_error_);
#line 353 "/home/lennart/projects/systemd/src/systemadm.vala"
						_g_object_unref0 (p);
#line 353 "/home/lennart/projects/systemd/src/systemadm.vala"
						manager_unit_info_destroy (&i);
#line 353 "/home/lennart/projects/systemd/src/systemadm.vala"
						list = (_vala_ManagerUnitInfo_array_free (list, list_length1), NULL);
#line 353 "/home/lennart/projects/systemd/src/systemadm.vala"
						return;
#line 2814 "systemadm.c"
					} else {
#line 353 "/home/lennart/projects/systemd/src/systemadm.vala"
						_g_object_unref0 (p);
#line 353 "/home/lennart/projects/systemd/src/systemadm.vala"
						manager_unit_info_destroy (&i);
#line 353 "/home/lennart/projects/systemd/src/systemadm.vala"
						list = (_vala_ManagerUnitInfo_array_free (list, list_length1), NULL);
#line 353 "/home/lennart/projects/systemd/src/systemadm.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 353 "/home/lennart/projects/systemd/src/systemadm.vala"
						g_clear_error (&_inner_error_);
#line 353 "/home/lennart/projects/systemd/src/systemadm.vala"
						return;
#line 2828 "systemadm.c"
					}
				}
#line 358 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp19_ = self->priv->unit_map;
#line 358 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp20_ = i;
#line 358 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp21_ = _tmp20_.id;
#line 358 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp22_ = u;
#line 358 "/home/lennart/projects/systemd/src/systemadm.vala"
				gee_abstract_map_set ((GeeAbstractMap*) _tmp19_, _tmp21_, _tmp22_);
#line 360 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp23_ = self->priv->unit_model;
#line 360 "/home/lennart/projects/systemd/src/systemadm.vala"
				gtk_list_store_append (_tmp23_, &_tmp24_);
#line 360 "/home/lennart/projects/systemd/src/systemadm.vala"
				iter = _tmp24_;
#line 367 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp26_ = i;
#line 367 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp27_ = _tmp26_.job_type;
#line 367 "/home/lennart/projects/systemd/src/systemadm.vala"
				if (g_strcmp0 (_tmp27_, "") != 0) {
#line 2853 "systemadm.c"
					ManagerUnitInfo _tmp28_;
					const gchar* _tmp29_;
					gchar* _tmp30_ = NULL;
#line 367 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp28_ = i;
#line 367 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp29_ = _tmp28_.job_type;
#line 367 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp30_ = g_strdup_printf ("→ %s", _tmp29_);
#line 367 "/home/lennart/projects/systemd/src/systemadm.vala"
					_g_free0 (_tmp25_);
#line 367 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp25_ = _tmp30_;
#line 2867 "systemadm.c"
				} else {
					gchar* _tmp31_;
#line 367 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp31_ = g_strdup ("");
#line 367 "/home/lennart/projects/systemd/src/systemadm.vala"
					_g_free0 (_tmp25_);
#line 367 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp25_ = _tmp31_;
#line 2876 "systemadm.c"
				}
#line 361 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp32_ = self->priv->unit_model;
#line 361 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp33_ = iter;
#line 361 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp34_ = i;
#line 361 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp35_ = _tmp34_.id;
#line 361 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp36_ = i;
#line 361 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp37_ = _tmp36_.description;
#line 361 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp38_ = i;
#line 361 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp39_ = _tmp38_.load_state;
#line 361 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp40_ = i;
#line 361 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp41_ = _tmp40_.active_state;
#line 361 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp42_ = i;
#line 361 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp43_ = _tmp42_.sub_state;
#line 361 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp44_ = _tmp25_;
#line 361 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp45_ = u;
#line 361 "/home/lennart/projects/systemd/src/systemadm.vala"
				gtk_list_store_set (_tmp32_, &_tmp33_, 0, _tmp35_, 1, _tmp37_, 2, _tmp39_, 3, _tmp41_, 4, _tmp43_, 5, _tmp44_, 6, _tmp45_, -1);
#line 343 "/home/lennart/projects/systemd/src/systemadm.vala"
				_g_free0 (_tmp25_);
#line 343 "/home/lennart/projects/systemd/src/systemadm.vala"
				_g_object_unref0 (u);
#line 343 "/home/lennart/projects/systemd/src/systemadm.vala"
				_g_object_unref0 (p);
#line 343 "/home/lennart/projects/systemd/src/systemadm.vala"
				manager_unit_info_destroy (&i);
#line 2916 "systemadm.c"
			}
		}
	}
#line 338 "/home/lennart/projects/systemd/src/systemadm.vala"
	list = (_vala_ManagerUnitInfo_array_free (list, list_length1), NULL);
#line 2922 "systemadm.c"
}


static void _vala_ManagerJobInfo_array_free (ManagerJobInfo* array, gint array_length) {
#line 380 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (array != NULL) {
#line 2929 "systemadm.c"
		int i;
#line 380 "/home/lennart/projects/systemd/src/systemadm.vala"
		for (i = 0; i < array_length; i = i + 1) {
#line 380 "/home/lennart/projects/systemd/src/systemadm.vala"
			manager_job_info_destroy (&array[i]);
#line 2935 "systemadm.c"
		}
	}
#line 380 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_free (array);
#line 2940 "systemadm.c"
}


static void _main_window_on_job_changed_properties_properties_changed (Properties* _sender, const gchar* iface, GHashTable* changed_properties, gchar** invalidated_properties, int invalidated_properties_length1, gpointer self) {
#line 385 "/home/lennart/projects/systemd/src/systemadm.vala"
	main_window_on_job_changed (self, _sender, iface, changed_properties, invalidated_properties, invalidated_properties_length1);
#line 2947 "systemadm.c"
}


void main_window_populate_job_model (MainWindow* self, GError** error) {
	GtkListStore* _tmp0_;
	Manager* _tmp1_;
	gint _tmp2_ = 0;
	ManagerJobInfo* _tmp3_ = NULL;
	ManagerJobInfo* list;
	gint list_length1;
	gint _list_size_;
	ManagerJobInfo* _tmp4_;
	gint _tmp4__length1;
	GError * _inner_error_ = NULL;
#line 372 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 373 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = self->priv->job_model;
#line 373 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_list_store_clear (_tmp0_);
#line 375 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = self->priv->manager;
#line 375 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp3_ = manager_list_jobs (_tmp1_, &_tmp2_, &_inner_error_);
#line 375 "/home/lennart/projects/systemd/src/systemadm.vala"
	list = _tmp3_;
#line 375 "/home/lennart/projects/systemd/src/systemadm.vala"
	list_length1 = _tmp2_;
#line 375 "/home/lennart/projects/systemd/src/systemadm.vala"
	_list_size_ = list_length1;
#line 375 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_inner_error_ != NULL) {
#line 375 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_inner_error_->domain == G_IO_ERROR) {
#line 375 "/home/lennart/projects/systemd/src/systemadm.vala"
			g_propagate_error (error, _inner_error_);
#line 375 "/home/lennart/projects/systemd/src/systemadm.vala"
			return;
#line 2986 "systemadm.c"
		} else {
#line 375 "/home/lennart/projects/systemd/src/systemadm.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 375 "/home/lennart/projects/systemd/src/systemadm.vala"
			g_clear_error (&_inner_error_);
#line 375 "/home/lennart/projects/systemd/src/systemadm.vala"
			return;
#line 2994 "systemadm.c"
		}
	}
#line 377 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp4_ = list;
#line 377 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp4__length1 = list_length1;
#line 3001 "systemadm.c"
	{
		ManagerJobInfo* i_collection = NULL;
		gint i_collection_length1 = 0;
		gint _i_collection_size_ = 0;
		gint i_it = 0;
#line 377 "/home/lennart/projects/systemd/src/systemadm.vala"
		i_collection = _tmp4_;
#line 377 "/home/lennart/projects/systemd/src/systemadm.vala"
		i_collection_length1 = _tmp4__length1;
#line 377 "/home/lennart/projects/systemd/src/systemadm.vala"
		for (i_it = 0; i_it < _tmp4__length1; i_it = i_it + 1) {
#line 3013 "systemadm.c"
			ManagerJobInfo _tmp5_ = {0};
			ManagerJobInfo i = {0};
#line 377 "/home/lennart/projects/systemd/src/systemadm.vala"
			manager_job_info_copy (&i_collection[i_it], &_tmp5_);
#line 377 "/home/lennart/projects/systemd/src/systemadm.vala"
			i = _tmp5_;
#line 3020 "systemadm.c"
			{
				GtkTreeIter iter = {0};
				GBusType _tmp6_ = 0;
				gboolean _tmp7_;
				GBusType _tmp8_;
				ManagerJobInfo _tmp9_;
				const char* _tmp10_;
				Properties* _tmp11_ = NULL;
				Properties* p;
				Properties* _tmp12_;
				GBusType _tmp13_ = 0;
				gboolean _tmp14_;
				GBusType _tmp15_;
				ManagerJobInfo _tmp16_;
				const char* _tmp17_;
				Job* _tmp18_ = NULL;
				Job* j;
				GtkListStore* _tmp19_;
				GtkTreeIter _tmp20_ = {0};
				GtkListStore* _tmp21_;
				GtkTreeIter _tmp22_;
				ManagerJobInfo _tmp23_;
				guint32 _tmp24_;
				gchar* _tmp25_ = NULL;
				gchar* _tmp26_;
				ManagerJobInfo _tmp27_;
				const gchar* _tmp28_;
				ManagerJobInfo _tmp29_;
				const gchar* _tmp30_;
				gchar* _tmp31_ = NULL;
				gchar* _tmp32_;
				ManagerJobInfo _tmp33_;
				const gchar* _tmp34_;
				Job* _tmp35_;
				ManagerJobInfo _tmp36_;
				guint32 _tmp37_;
#line 381 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp7_ = user;
#line 381 "/home/lennart/projects/systemd/src/systemadm.vala"
				if (_tmp7_) {
#line 381 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp6_ = G_BUS_TYPE_SESSION;
#line 3063 "systemadm.c"
				} else {
#line 381 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp6_ = G_BUS_TYPE_SYSTEM;
#line 3067 "systemadm.c"
				}
#line 380 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp8_ = _tmp6_;
#line 380 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp9_ = i;
#line 380 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp10_ = _tmp9_.job_path;
#line 380 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp11_ = g_initable_new (TYPE_PROPERTIES_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", "org.freedesktop.systemd1", "g-bus-type", _tmp8_, "g-object-path", (const gchar*) _tmp10_, "g-interface-name", "org.freedesktop.Properties", NULL);
#line 380 "/home/lennart/projects/systemd/src/systemadm.vala"
				p = (Properties*) _tmp11_;
#line 380 "/home/lennart/projects/systemd/src/systemadm.vala"
				if (_inner_error_ != NULL) {
#line 380 "/home/lennart/projects/systemd/src/systemadm.vala"
					if (_inner_error_->domain == G_IO_ERROR) {
#line 380 "/home/lennart/projects/systemd/src/systemadm.vala"
						g_propagate_error (error, _inner_error_);
#line 380 "/home/lennart/projects/systemd/src/systemadm.vala"
						manager_job_info_destroy (&i);
#line 380 "/home/lennart/projects/systemd/src/systemadm.vala"
						list = (_vala_ManagerJobInfo_array_free (list, list_length1), NULL);
#line 380 "/home/lennart/projects/systemd/src/systemadm.vala"
						return;
#line 3091 "systemadm.c"
					} else {
#line 380 "/home/lennart/projects/systemd/src/systemadm.vala"
						manager_job_info_destroy (&i);
#line 380 "/home/lennart/projects/systemd/src/systemadm.vala"
						list = (_vala_ManagerJobInfo_array_free (list, list_length1), NULL);
#line 380 "/home/lennart/projects/systemd/src/systemadm.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 380 "/home/lennart/projects/systemd/src/systemadm.vala"
						g_clear_error (&_inner_error_);
#line 380 "/home/lennart/projects/systemd/src/systemadm.vala"
						return;
#line 3103 "systemadm.c"
					}
				}
#line 385 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp12_ = p;
#line 385 "/home/lennart/projects/systemd/src/systemadm.vala"
				g_signal_connect_object (_tmp12_, "properties-changed", (GCallback) _main_window_on_job_changed_properties_properties_changed, self, 0);
#line 388 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp14_ = user;
#line 388 "/home/lennart/projects/systemd/src/systemadm.vala"
				if (_tmp14_) {
#line 388 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp13_ = G_BUS_TYPE_SESSION;
#line 3116 "systemadm.c"
				} else {
#line 388 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp13_ = G_BUS_TYPE_SYSTEM;
#line 3120 "systemadm.c"
				}
#line 387 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp15_ = _tmp13_;
#line 387 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp16_ = i;
#line 387 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp17_ = _tmp16_.job_path;
#line 387 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp18_ = g_initable_new (TYPE_JOB_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", "org.freedesktop.systemd1", "g-bus-type", _tmp15_, "g-object-path", (const gchar*) _tmp17_, "g-interface-name", "org.freedesktop.systemd1.Job", NULL);
#line 387 "/home/lennart/projects/systemd/src/systemadm.vala"
				j = (Job*) _tmp18_;
#line 387 "/home/lennart/projects/systemd/src/systemadm.vala"
				if (_inner_error_ != NULL) {
#line 387 "/home/lennart/projects/systemd/src/systemadm.vala"
					if (_inner_error_->domain == G_IO_ERROR) {
#line 387 "/home/lennart/projects/systemd/src/systemadm.vala"
						g_propagate_error (error, _inner_error_);
#line 387 "/home/lennart/projects/systemd/src/systemadm.vala"
						_g_object_unref0 (p);
#line 387 "/home/lennart/projects/systemd/src/systemadm.vala"
						manager_job_info_destroy (&i);
#line 387 "/home/lennart/projects/systemd/src/systemadm.vala"
						list = (_vala_ManagerJobInfo_array_free (list, list_length1), NULL);
#line 387 "/home/lennart/projects/systemd/src/systemadm.vala"
						return;
#line 3146 "systemadm.c"
					} else {
#line 387 "/home/lennart/projects/systemd/src/systemadm.vala"
						_g_object_unref0 (p);
#line 387 "/home/lennart/projects/systemd/src/systemadm.vala"
						manager_job_info_destroy (&i);
#line 387 "/home/lennart/projects/systemd/src/systemadm.vala"
						list = (_vala_ManagerJobInfo_array_free (list, list_length1), NULL);
#line 387 "/home/lennart/projects/systemd/src/systemadm.vala"
						g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 387 "/home/lennart/projects/systemd/src/systemadm.vala"
						g_clear_error (&_inner_error_);
#line 387 "/home/lennart/projects/systemd/src/systemadm.vala"
						return;
#line 3160 "systemadm.c"
					}
				}
#line 392 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp19_ = self->priv->job_model;
#line 392 "/home/lennart/projects/systemd/src/systemadm.vala"
				gtk_list_store_append (_tmp19_, &_tmp20_);
#line 392 "/home/lennart/projects/systemd/src/systemadm.vala"
				iter = _tmp20_;
#line 393 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp21_ = self->priv->job_model;
#line 393 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp22_ = iter;
#line 393 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp23_ = i;
#line 393 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp24_ = _tmp23_.id;
#line 393 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp25_ = g_strdup_printf ("%u", (guint) _tmp24_);
#line 393 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp26_ = _tmp25_;
#line 393 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp27_ = i;
#line 393 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp28_ = _tmp27_.name;
#line 393 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp29_ = i;
#line 393 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp30_ = _tmp29_.type;
#line 393 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp31_ = g_strdup_printf ("→ %s", _tmp30_);
#line 393 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp32_ = _tmp31_;
#line 393 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp33_ = i;
#line 393 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp34_ = _tmp33_.state;
#line 393 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp35_ = j;
#line 393 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp36_ = i;
#line 393 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp37_ = _tmp36_.id;
#line 393 "/home/lennart/projects/systemd/src/systemadm.vala"
				gtk_list_store_set (_tmp21_, &_tmp22_, 0, _tmp26_, 1, _tmp28_, 2, _tmp32_, 3, _tmp34_, 4, _tmp35_, 5, _tmp37_, -1);
#line 393 "/home/lennart/projects/systemd/src/systemadm.vala"
				_g_free0 (_tmp32_);
#line 393 "/home/lennart/projects/systemd/src/systemadm.vala"
				_g_free0 (_tmp26_);
#line 377 "/home/lennart/projects/systemd/src/systemadm.vala"
				_g_object_unref0 (j);
#line 377 "/home/lennart/projects/systemd/src/systemadm.vala"
				_g_object_unref0 (p);
#line 377 "/home/lennart/projects/systemd/src/systemadm.vala"
				manager_job_info_destroy (&i);
#line 3215 "systemadm.c"
			}
		}
	}
#line 372 "/home/lennart/projects/systemd/src/systemadm.vala"
	list = (_vala_ManagerJobInfo_array_free (list, list_length1), NULL);
#line 3221 "systemadm.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 410 "/home/lennart/projects/systemd/src/systemadm.vala"
	return self ? g_object_ref (self) : NULL;
#line 3228 "systemadm.c"
}


Unit* main_window_get_current_unit (MainWindow* self) {
	Unit* result = NULL;
	GtkTreePath* p = NULL;
	GtkTreeView* _tmp0_;
	GtkTreePath* _tmp1_ = NULL;
	GtkTreePath* _tmp2_;
	GtkTreeView* _tmp3_;
	GtkTreeModel* _tmp4_ = NULL;
	GtkTreeModel* _tmp5_;
	GtkTreeModel* model;
	GtkTreeIter iter = {0};
	Unit* u = NULL;
	GtkTreeModel* _tmp6_;
	GtkTreePath* _tmp7_;
	GtkTreeIter _tmp8_ = {0};
	GtkTreeModel* _tmp9_;
	GtkTreeIter _tmp10_;
#line 403 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 405 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = self->priv->unit_view;
#line 405 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_tree_view_get_cursor (_tmp0_, &_tmp1_, NULL);
#line 405 "/home/lennart/projects/systemd/src/systemadm.vala"
	_gtk_tree_path_free0 (p);
#line 405 "/home/lennart/projects/systemd/src/systemadm.vala"
	p = _tmp1_;
#line 407 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp2_ = p;
#line 407 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp2_ == NULL) {
#line 408 "/home/lennart/projects/systemd/src/systemadm.vala"
		result = NULL;
#line 408 "/home/lennart/projects/systemd/src/systemadm.vala"
		_gtk_tree_path_free0 (p);
#line 408 "/home/lennart/projects/systemd/src/systemadm.vala"
		return result;
#line 3269 "systemadm.c"
	}
#line 410 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp3_ = self->priv->unit_view;
#line 410 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp4_ = gtk_tree_view_get_model (_tmp3_);
#line 410 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp5_ = _g_object_ref0 (_tmp4_);
#line 410 "/home/lennart/projects/systemd/src/systemadm.vala"
	model = _tmp5_;
#line 414 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp6_ = model;
#line 414 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp7_ = p;
#line 414 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_tree_model_get_iter (_tmp6_, &_tmp8_, _tmp7_);
#line 414 "/home/lennart/projects/systemd/src/systemadm.vala"
	iter = _tmp8_;
#line 415 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp9_ = model;
#line 415 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp10_ = iter;
#line 415 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_tree_model_get (_tmp9_, &_tmp10_, 6, &u, -1);
#line 417 "/home/lennart/projects/systemd/src/systemadm.vala"
	result = u;
#line 417 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (model);
#line 417 "/home/lennart/projects/systemd/src/systemadm.vala"
	_gtk_tree_path_free0 (p);
#line 417 "/home/lennart/projects/systemd/src/systemadm.vala"
	return result;
#line 3301 "systemadm.c"
}


Unit* main_window_get_unit (MainWindow* self, const gchar* id) {
	Unit* result = NULL;
	GeeHashMap* _tmp0_;
	const gchar* _tmp1_;
	gpointer _tmp2_ = NULL;
#line 420 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 420 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_val_if_fail (id != NULL, NULL);
#line 421 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = self->priv->unit_map;
#line 421 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = id;
#line 421 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp2_ = gee_abstract_map_get ((GeeAbstractMap*) _tmp0_, _tmp1_);
#line 421 "/home/lennart/projects/systemd/src/systemadm.vala"
	result = (Unit*) _tmp2_;
#line 421 "/home/lennart/projects/systemd/src/systemadm.vala"
	return result;
#line 3324 "systemadm.c"
}


void main_window_unit_changed (MainWindow* self) {
	Unit* _tmp0_ = NULL;
	Unit* u;
	Unit* _tmp1_;
#line 424 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 425 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = main_window_get_current_unit (self);
#line 425 "/home/lennart/projects/systemd/src/systemadm.vala"
	u = _tmp0_;
#line 427 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = u;
#line 427 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp1_ == NULL) {
#line 428 "/home/lennart/projects/systemd/src/systemadm.vala"
		main_window_clear_unit (self);
#line 3344 "systemadm.c"
	} else {
		Unit* _tmp2_;
#line 430 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp2_ = u;
#line 430 "/home/lennart/projects/systemd/src/systemadm.vala"
		main_window_show_unit (self, _tmp2_);
#line 3351 "systemadm.c"
	}
#line 424 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (u);
#line 3355 "systemadm.c"
}


void main_window_clear_unit (MainWindow* self) {
	GtkButton* _tmp0_;
	GtkButton* _tmp1_;
	GtkButton* _tmp2_;
	GtkButton* _tmp3_;
	RightLabel* _tmp4_;
	RightLabel* _tmp5_;
	RightLabel* _tmp6_;
	RightLabel* _tmp7_;
	RightLabel* _tmp8_;
	RightLabel* _tmp9_;
	RightLabel* _tmp10_;
	RightLabel* _tmp11_;
	RightLabel* _tmp12_;
	RightLabel* _tmp13_;
	RightLabel* _tmp14_;
	RightLabel* _tmp15_;
#line 433 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 434 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (self->priv->current_unit_id);
#line 434 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->current_unit_id = NULL;
#line 436 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = self->priv->start_button;
#line 436 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp0_, FALSE);
#line 437 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = self->priv->stop_button;
#line 437 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp1_, FALSE);
#line 438 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp2_ = self->priv->reload_button;
#line 438 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp2_, FALSE);
#line 439 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp3_ = self->priv->restart_button;
#line 439 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp3_, FALSE);
#line 441 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp4_ = self->priv->unit_id_label;
#line 441 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp4_, NULL);
#line 442 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp5_ = self->priv->unit_description_label;
#line 442 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp5_, NULL);
#line 443 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp6_ = self->priv->unit_description_label;
#line 443 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp6_, NULL);
#line 444 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp7_ = self->priv->unit_load_state_label;
#line 444 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp7_, NULL);
#line 445 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp8_ = self->priv->unit_active_state_label;
#line 445 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp8_, NULL);
#line 446 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp9_ = self->priv->unit_sub_state_label;
#line 446 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp9_, NULL);
#line 447 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp10_ = self->priv->unit_fragment_path_label;
#line 447 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp10_, NULL);
#line 448 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp11_ = self->priv->unit_active_enter_timestamp_label;
#line 448 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp11_, NULL);
#line 449 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp12_ = self->priv->unit_active_exit_timestamp_label;
#line 449 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp12_, NULL);
#line 450 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp13_ = self->priv->unit_can_reload_label;
#line 450 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp13_, NULL);
#line 451 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp14_ = self->priv->unit_can_start_label;
#line 451 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp14_, NULL);
#line 452 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp15_ = self->priv->unit_cgroup_label;
#line 452 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp15_, NULL);
#line 3446 "systemadm.c"
}


gchar* main_window_format_unit_link (MainWindow* self, const gchar* i, gboolean link) {
	gchar* result = NULL;
	const gchar* _tmp0_;
	Unit* _tmp1_ = NULL;
	Unit* u;
	Unit* _tmp2_;
	gchar* color = NULL;
	Unit* _tmp8_;
	gchar* _tmp9_;
	gchar* _tmp10_;
	gchar* _tmp11_;
	GQuark _tmp13_ = 0U;
#line 461 "/home/lennart/projects/systemd/src/systemadm.vala"
	static GQuark _tmp12_label0 = 0;
#line 461 "/home/lennart/projects/systemd/src/systemadm.vala"
	static GQuark _tmp12_label1 = 0;
#line 461 "/home/lennart/projects/systemd/src/systemadm.vala"
	static GQuark _tmp12_label2 = 0;
#line 3468 "systemadm.c"
	const gchar* _tmp18_;
	gchar* _tmp19_;
	gchar* _tmp20_;
	gchar* _tmp21_;
	gchar* _tmp22_;
	const gchar* _tmp23_;
	gchar* _tmp24_;
	gchar* _tmp25_;
	gchar* _tmp26_;
	gchar* _tmp27_;
	Unit* _tmp28_;
	gchar* _tmp29_;
	gchar* _tmp30_;
	gchar* _tmp31_;
	gchar* _tmp32_;
	gchar* _tmp33_;
	gchar* _tmp34_;
	gchar* _tmp35_;
	gchar* _tmp36_;
	gchar* _tmp37_;
	gchar* span;
	gboolean _tmp38_;
#line 455 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 455 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_val_if_fail (i != NULL, NULL);
#line 456 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = i;
#line 456 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = main_window_get_unit (self, _tmp0_);
#line 456 "/home/lennart/projects/systemd/src/systemadm.vala"
	u = _tmp1_;
#line 457 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp2_ = u;
#line 457 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp2_ == NULL) {
#line 3505 "systemadm.c"
		const gchar* _tmp3_;
		gchar* _tmp4_;
		gchar* _tmp5_;
		gchar* _tmp6_;
		gchar* _tmp7_;
#line 458 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp3_ = i;
#line 458 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp4_ = g_strconcat ("<span color='grey'>", _tmp3_, NULL);
#line 458 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp5_ = _tmp4_;
#line 458 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp6_ = g_strconcat (_tmp5_, "</span", NULL);
#line 458 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp7_ = _tmp6_;
#line 458 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (_tmp5_);
#line 458 "/home/lennart/projects/systemd/src/systemadm.vala"
		result = _tmp7_;
#line 458 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_object_unref0 (u);
#line 458 "/home/lennart/projects/systemd/src/systemadm.vala"
		return result;
#line 3529 "systemadm.c"
	}
#line 461 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp8_ = u;
#line 461 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp9_ = unit_get_sub_state (_tmp8_);
#line 461 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp10_ = _tmp9_;
#line 461 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp11_ = _tmp10_;
#line 461 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp13_ = (NULL == _tmp11_) ? 0 : g_quark_from_string (_tmp11_);
#line 461 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_free (_tmp11_);
#line 461 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp13_ == ((0 != _tmp12_label0) ? _tmp12_label0 : (_tmp12_label0 = g_quark_from_static_string ("active")))) {
#line 461 "/home/lennart/projects/systemd/src/systemadm.vala"
		switch (0) {
#line 3547 "systemadm.c"
			default:
			{
				gchar* _tmp14_;
#line 462 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp14_ = g_strdup ("blue");
#line 462 "/home/lennart/projects/systemd/src/systemadm.vala"
				_g_free0 (color);
#line 462 "/home/lennart/projects/systemd/src/systemadm.vala"
				color = _tmp14_;
#line 462 "/home/lennart/projects/systemd/src/systemadm.vala"
				break;
#line 3559 "systemadm.c"
			}
		}
	} else if (_tmp13_ == ((0 != _tmp12_label1) ? _tmp12_label1 : (_tmp12_label1 = g_quark_from_static_string ("dead")))) {
#line 461 "/home/lennart/projects/systemd/src/systemadm.vala"
		switch (0) {
#line 3565 "systemadm.c"
			default:
			{
				gchar* _tmp15_;
#line 463 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp15_ = g_strdup ("red");
#line 463 "/home/lennart/projects/systemd/src/systemadm.vala"
				_g_free0 (color);
#line 463 "/home/lennart/projects/systemd/src/systemadm.vala"
				color = _tmp15_;
#line 463 "/home/lennart/projects/systemd/src/systemadm.vala"
				break;
#line 3577 "systemadm.c"
			}
		}
	} else if (_tmp13_ == ((0 != _tmp12_label2) ? _tmp12_label2 : (_tmp12_label2 = g_quark_from_static_string ("running")))) {
#line 461 "/home/lennart/projects/systemd/src/systemadm.vala"
		switch (0) {
#line 3583 "systemadm.c"
			default:
			{
				gchar* _tmp16_;
#line 464 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp16_ = g_strdup ("green");
#line 464 "/home/lennart/projects/systemd/src/systemadm.vala"
				_g_free0 (color);
#line 464 "/home/lennart/projects/systemd/src/systemadm.vala"
				color = _tmp16_;
#line 464 "/home/lennart/projects/systemd/src/systemadm.vala"
				break;
#line 3595 "systemadm.c"
			}
		}
	} else {
#line 461 "/home/lennart/projects/systemd/src/systemadm.vala"
		switch (0) {
#line 3601 "systemadm.c"
			default:
			{
				gchar* _tmp17_;
#line 465 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp17_ = g_strdup ("black");
#line 465 "/home/lennart/projects/systemd/src/systemadm.vala"
				_g_free0 (color);
#line 465 "/home/lennart/projects/systemd/src/systemadm.vala"
				color = _tmp17_;
#line 465 "/home/lennart/projects/systemd/src/systemadm.vala"
				break;
#line 3613 "systemadm.c"
			}
		}
	}
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp18_ = color;
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp19_ = g_strconcat ("<span underline='none' color='", _tmp18_, NULL);
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp20_ = _tmp19_;
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp21_ = g_strconcat (_tmp20_, "'>", NULL);
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp22_ = _tmp21_;
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp23_ = i;
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp24_ = g_strconcat (_tmp22_, _tmp23_, NULL);
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp25_ = _tmp24_;
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp26_ = g_strconcat (_tmp25_, "(", NULL);
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp27_ = _tmp26_;
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp28_ = u;
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp29_ = unit_get_sub_state (_tmp28_);
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp30_ = _tmp29_;
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp31_ = _tmp30_;
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp32_ = g_strconcat (_tmp27_, _tmp31_, NULL);
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp33_ = _tmp32_;
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp34_ = g_strconcat (_tmp33_, ")", NULL);
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp35_ = _tmp34_;
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp36_ = g_strconcat (_tmp35_, "</span>", NULL);
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp37_ = _tmp36_;
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp35_);
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp33_);
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp31_);
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp27_);
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp25_);
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp22_);
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp20_);
#line 467 "/home/lennart/projects/systemd/src/systemadm.vala"
	span = _tmp37_;
#line 470 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp38_ = link;
#line 470 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp38_) {
#line 3677 "systemadm.c"
		const gchar* _tmp39_;
		gchar* _tmp40_;
		gchar* _tmp41_;
		gchar* _tmp42_;
		gchar* _tmp43_;
		const gchar* _tmp44_;
		gchar* _tmp45_;
		gchar* _tmp46_;
		gchar* _tmp47_;
		gchar* _tmp48_;
#line 471 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp39_ = i;
#line 471 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp40_ = g_strconcat (" <a href='", _tmp39_, NULL);
#line 471 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp41_ = _tmp40_;
#line 471 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp42_ = g_strconcat (_tmp41_, "'>", NULL);
#line 471 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp43_ = _tmp42_;
#line 471 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp44_ = span;
#line 471 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp45_ = g_strconcat (_tmp43_, _tmp44_, NULL);
#line 471 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp46_ = _tmp45_;
#line 471 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp47_ = g_strconcat (_tmp46_, "</a>", NULL);
#line 471 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp48_ = _tmp47_;
#line 471 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (_tmp46_);
#line 471 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (_tmp43_);
#line 471 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (_tmp41_);
#line 471 "/home/lennart/projects/systemd/src/systemadm.vala"
		result = _tmp48_;
#line 471 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (span);
#line 471 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (color);
#line 471 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_object_unref0 (u);
#line 471 "/home/lennart/projects/systemd/src/systemadm.vala"
		return result;
#line 3724 "systemadm.c"
	} else {
#line 473 "/home/lennart/projects/systemd/src/systemadm.vala"
		result = span;
#line 473 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (color);
#line 473 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_object_unref0 (u);
#line 473 "/home/lennart/projects/systemd/src/systemadm.vala"
		return result;
#line 3734 "systemadm.c"
	}
#line 455 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (span);
#line 455 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (color);
#line 455 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (u);
#line 3742 "systemadm.c"
}


gchar* main_window_make_dependency_string (MainWindow* self, const gchar* prefix, const gchar* word, gchar** dependencies, int dependencies_length1) {
	gchar* result = NULL;
	GeeTreeSet* _tmp0_;
	GeeCollection* sorted;
	gchar** _tmp1_;
	gint _tmp1__length1;
	gboolean first;
	gchar* r = NULL;
	const gchar* _tmp5_;
#line 477 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 477 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_val_if_fail (word != NULL, NULL);
#line 478 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = gee_tree_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL);
#line 478 "/home/lennart/projects/systemd/src/systemadm.vala"
	sorted = (GeeCollection*) _tmp0_;
#line 479 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = dependencies;
#line 479 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1__length1 = dependencies_length1;
#line 3767 "systemadm.c"
	{
		gchar** i_collection = NULL;
		gint i_collection_length1 = 0;
		gint _i_collection_size_ = 0;
		gint i_it = 0;
#line 479 "/home/lennart/projects/systemd/src/systemadm.vala"
		i_collection = _tmp1_;
#line 479 "/home/lennart/projects/systemd/src/systemadm.vala"
		i_collection_length1 = _tmp1__length1;
#line 479 "/home/lennart/projects/systemd/src/systemadm.vala"
		for (i_it = 0; i_it < _tmp1__length1; i_it = i_it + 1) {
#line 3779 "systemadm.c"
			gchar* _tmp2_;
			gchar* i = NULL;
#line 479 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp2_ = g_strdup (i_collection[i_it]);
#line 479 "/home/lennart/projects/systemd/src/systemadm.vala"
			i = _tmp2_;
#line 3786 "systemadm.c"
			{
				GeeCollection* _tmp3_;
				const gchar* _tmp4_;
#line 480 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp3_ = sorted;
#line 480 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp4_ = i;
#line 480 "/home/lennart/projects/systemd/src/systemadm.vala"
				gee_collection_add (_tmp3_, _tmp4_);
#line 479 "/home/lennart/projects/systemd/src/systemadm.vala"
				_g_free0 (i);
#line 3798 "systemadm.c"
			}
		}
	}
#line 482 "/home/lennart/projects/systemd/src/systemadm.vala"
	first = TRUE;
#line 485 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp5_ = prefix;
#line 485 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp5_ == NULL) {
#line 3808 "systemadm.c"
		gchar* _tmp6_;
#line 486 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp6_ = g_strdup ("");
#line 486 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (r);
#line 486 "/home/lennart/projects/systemd/src/systemadm.vala"
		r = _tmp6_;
#line 3816 "systemadm.c"
	} else {
		const gchar* _tmp7_;
		gchar* _tmp8_;
#line 488 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp7_ = prefix;
#line 488 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp8_ = g_strdup (_tmp7_);
#line 488 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (r);
#line 488 "/home/lennart/projects/systemd/src/systemadm.vala"
		r = _tmp8_;
#line 3828 "systemadm.c"
	}
	{
		GeeCollection* _tmp9_;
		GeeIterator* _tmp10_ = NULL;
		GeeIterator* _i_it;
#line 490 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp9_ = sorted;
#line 490 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp10_ = gee_iterable_iterator ((GeeIterable*) _tmp9_);
#line 490 "/home/lennart/projects/systemd/src/systemadm.vala"
		_i_it = _tmp10_;
#line 490 "/home/lennart/projects/systemd/src/systemadm.vala"
		while (TRUE) {
#line 3842 "systemadm.c"
			GeeIterator* _tmp11_;
			gboolean _tmp12_ = FALSE;
			GeeIterator* _tmp13_;
			gpointer _tmp14_ = NULL;
			gchar* _tmp15_;
			gchar* i;
			const gchar* _tmp16_;
			gboolean _tmp22_;
			const gchar* _tmp30_;
			const gchar* _tmp31_;
			gchar* _tmp32_ = NULL;
			gchar* _tmp33_;
			gchar* _tmp34_;
#line 490 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp11_ = _i_it;
#line 490 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp12_ = gee_iterator_next (_tmp11_);
#line 490 "/home/lennart/projects/systemd/src/systemadm.vala"
			if (!_tmp12_) {
#line 490 "/home/lennart/projects/systemd/src/systemadm.vala"
				break;
#line 3864 "systemadm.c"
			}
#line 490 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp13_ = _i_it;
#line 490 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp14_ = gee_iterator_get (_tmp13_);
#line 490 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp15_ = g_strdup ((const gchar*) _tmp14_);
#line 490 "/home/lennart/projects/systemd/src/systemadm.vala"
			i = _tmp15_;
#line 491 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp16_ = r;
#line 491 "/home/lennart/projects/systemd/src/systemadm.vala"
			if (g_strcmp0 (_tmp16_, "") != 0) {
#line 3878 "systemadm.c"
				const gchar* _tmp17_ = NULL;
				gboolean _tmp18_;
				const gchar* _tmp19_;
				const gchar* _tmp20_;
				gchar* _tmp21_;
#line 492 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp18_ = first;
#line 492 "/home/lennart/projects/systemd/src/systemadm.vala"
				if (_tmp18_) {
#line 492 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp17_ = "\n";
#line 3890 "systemadm.c"
				} else {
#line 492 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp17_ = ",";
#line 3894 "systemadm.c"
				}
#line 492 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp19_ = r;
#line 492 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp20_ = _tmp17_;
#line 492 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp21_ = g_strconcat (_tmp19_, _tmp20_, NULL);
#line 492 "/home/lennart/projects/systemd/src/systemadm.vala"
				_g_free0 (r);
#line 492 "/home/lennart/projects/systemd/src/systemadm.vala"
				r = _tmp21_;
#line 3906 "systemadm.c"
			}
#line 494 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp22_ = first;
#line 494 "/home/lennart/projects/systemd/src/systemadm.vala"
			if (_tmp22_) {
#line 3912 "systemadm.c"
				const gchar* _tmp23_;
				const gchar* _tmp24_;
				gchar* _tmp25_;
				gchar* _tmp26_;
				gchar* _tmp27_;
				gchar* _tmp28_;
				gchar* _tmp29_;
#line 495 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp23_ = r;
#line 495 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp24_ = word;
#line 495 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp25_ = g_strconcat ("<b>", _tmp24_, NULL);
#line 495 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp26_ = _tmp25_;
#line 495 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp27_ = g_strconcat (_tmp26_, ":</b>", NULL);
#line 495 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp28_ = _tmp27_;
#line 495 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp29_ = g_strconcat (_tmp23_, _tmp28_, NULL);
#line 495 "/home/lennart/projects/systemd/src/systemadm.vala"
				_g_free0 (r);
#line 495 "/home/lennart/projects/systemd/src/systemadm.vala"
				r = _tmp29_;
#line 495 "/home/lennart/projects/systemd/src/systemadm.vala"
				_g_free0 (_tmp28_);
#line 495 "/home/lennart/projects/systemd/src/systemadm.vala"
				_g_free0 (_tmp26_);
#line 496 "/home/lennart/projects/systemd/src/systemadm.vala"
				first = FALSE;
#line 3944 "systemadm.c"
			}
#line 499 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp30_ = r;
#line 499 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp31_ = i;
#line 499 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp32_ = main_window_format_unit_link (self, _tmp31_, TRUE);
#line 499 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp33_ = _tmp32_;
#line 499 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp34_ = g_strconcat (_tmp30_, _tmp33_, NULL);
#line 499 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (r);
#line 499 "/home/lennart/projects/systemd/src/systemadm.vala"
			r = _tmp34_;
#line 499 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (_tmp33_);
#line 490 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (i);
#line 3964 "systemadm.c"
		}
#line 490 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_object_unref0 (_i_it);
#line 3968 "systemadm.c"
	}
#line 502 "/home/lennart/projects/systemd/src/systemadm.vala"
	result = r;
#line 502 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (sorted);
#line 502 "/home/lennart/projects/systemd/src/systemadm.vala"
	return result;
#line 3976 "systemadm.c"
}


void main_window_show_unit (MainWindow* self, Unit* unit) {
	Unit* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	const gchar* _tmp3_;
	gchar* _tmp4_ = NULL;
	gchar* id_display;
	gboolean has_alias;
	Unit* _tmp5_;
	gchar** _tmp6_;
	gint _tmp6__length1;
	gchar** _tmp7_;
	gint _tmp7__length1;
	gboolean _tmp19_;
	RightLabel* _tmp22_;
	const gchar* _tmp23_;
	Unit* _tmp24_;
	gchar** _tmp25_;
	gint _tmp25__length1;
	gchar** _tmp26_;
	gint _tmp26__length1;
	gchar** requires;
	gint requires_length1;
	gint _requires_size_;
	Unit* _tmp27_;
	gchar** _tmp28_;
	gint _tmp28__length1;
	gchar** _tmp29_;
	gint _tmp29__length1;
	gchar** requires_overridable;
	gint requires_overridable_length1;
	gint _requires_overridable_size_;
	Unit* _tmp30_;
	gchar** _tmp31_;
	gint _tmp31__length1;
	gchar** _tmp32_;
	gint _tmp32__length1;
	gchar** requisite;
	gint requisite_length1;
	gint _requisite_size_;
	Unit* _tmp33_;
	gchar** _tmp34_;
	gint _tmp34__length1;
	gchar** _tmp35_;
	gint _tmp35__length1;
	gchar** requisite_overridable;
	gint requisite_overridable_length1;
	gint _requisite_overridable_size_;
	Unit* _tmp36_;
	gchar** _tmp37_;
	gint _tmp37__length1;
	gchar** _tmp38_;
	gint _tmp38__length1;
	gchar** wants;
	gint wants_length1;
	gint _wants_size_;
	Unit* _tmp39_;
	gchar** _tmp40_;
	gint _tmp40__length1;
	gchar** _tmp41_;
	gint _tmp41__length1;
	gchar** required_by;
	gint required_by_length1;
	gint _required_by_size_;
	Unit* _tmp42_;
	gchar** _tmp43_;
	gint _tmp43__length1;
	gchar** _tmp44_;
	gint _tmp44__length1;
	gchar** required_by_overridable;
	gint required_by_overridable_length1;
	gint _required_by_overridable_size_;
	Unit* _tmp45_;
	gchar** _tmp46_;
	gint _tmp46__length1;
	gchar** _tmp47_;
	gint _tmp47__length1;
	gchar** wanted_by;
	gint wanted_by_length1;
	gint _wanted_by_size_;
	Unit* _tmp48_;
	gchar** _tmp49_;
	gint _tmp49__length1;
	gchar** _tmp50_;
	gint _tmp50__length1;
	gchar** conflicts;
	gint conflicts_length1;
	gint _conflicts_size_;
	Unit* _tmp51_;
	gchar** _tmp52_;
	gint _tmp52__length1;
	gchar** _tmp53_;
	gint _tmp53__length1;
	gchar** before;
	gint before_length1;
	gint _before_size_;
	Unit* _tmp54_;
	gchar** _tmp55_;
	gint _tmp55__length1;
	gchar** _tmp56_;
	gint _tmp56__length1;
	gchar** after;
	gint after_length1;
	gint _after_size_;
	RightLabel* _tmp57_;
	gchar** _tmp58_;
	gint _tmp58__length1;
	gchar* _tmp59_ = NULL;
	gchar* _tmp60_;
	gchar** _tmp61_;
	gint _tmp61__length1;
	gchar* _tmp62_ = NULL;
	gchar* _tmp63_;
	gchar** _tmp64_;
	gint _tmp64__length1;
	gchar* _tmp65_ = NULL;
	gchar* _tmp66_;
	gchar** _tmp67_;
	gint _tmp67__length1;
	gchar* _tmp68_ = NULL;
	gchar* _tmp69_;
	gchar** _tmp70_;
	gint _tmp70__length1;
	gchar* _tmp71_ = NULL;
	gchar* _tmp72_;
	gchar** _tmp73_;
	gint _tmp73__length1;
	gchar* _tmp74_ = NULL;
	gchar* _tmp75_;
	gchar** _tmp76_;
	gint _tmp76__length1;
	gchar* _tmp77_ = NULL;
	gchar* _tmp78_;
	gchar** _tmp79_;
	gint _tmp79__length1;
	gchar* _tmp80_ = NULL;
	gchar* _tmp81_;
	gchar** _tmp82_;
	gint _tmp82__length1;
	gchar* _tmp83_ = NULL;
	gchar* _tmp84_;
	gchar** _tmp85_;
	gint _tmp85__length1;
	gchar* _tmp86_ = NULL;
	gchar* _tmp87_;
	gchar** _tmp88_;
	gint _tmp88__length1;
	gchar* _tmp89_ = NULL;
	gchar* _tmp90_;
	RightLabel* _tmp91_;
	Unit* _tmp92_;
	gchar* _tmp93_;
	gchar* _tmp94_;
	gchar* _tmp95_;
	RightLabel* _tmp96_;
	Unit* _tmp97_;
	gchar* _tmp98_;
	gchar* _tmp99_;
	gchar* _tmp100_;
	RightLabel* _tmp101_;
	Unit* _tmp102_;
	gchar* _tmp103_;
	gchar* _tmp104_;
	gchar* _tmp105_;
	RightLabel* _tmp106_;
	Unit* _tmp107_;
	gchar* _tmp108_;
	gchar* _tmp109_;
	gchar* _tmp110_;
	Unit* _tmp111_;
	gchar* _tmp112_;
	gchar* _tmp113_;
	gchar* fp;
	const gchar* _tmp114_;
	RightLabel* _tmp129_;
	Unit* _tmp130_;
	guint64 _tmp131_;
	guint64 _tmp132_;
	gchar* _tmp133_ = NULL;
	gchar* _tmp134_;
	RightLabel* _tmp135_;
	Unit* _tmp136_;
	guint64 _tmp137_;
	guint64 _tmp138_;
	gchar* _tmp139_ = NULL;
	gchar* _tmp140_;
	Unit* _tmp141_;
	gboolean _tmp142_;
	gboolean _tmp143_;
	gboolean b;
	GtkButton* _tmp144_;
	gboolean _tmp145_;
	GtkButton* _tmp146_;
	gboolean _tmp147_;
	GtkButton* _tmp148_;
	gboolean _tmp149_;
	const gchar* _tmp150_ = NULL;
	gboolean _tmp151_;
	RightLabel* _tmp152_;
	const gchar* _tmp153_;
	Unit* _tmp154_;
	gboolean _tmp155_;
	gboolean _tmp156_;
	GtkButton* _tmp157_;
	gboolean _tmp158_;
	const gchar* _tmp159_ = NULL;
	gboolean _tmp160_;
	RightLabel* _tmp161_;
	const gchar* _tmp162_;
	RightLabel* _tmp163_;
	Unit* _tmp164_;
	gchar* _tmp165_;
	gchar* _tmp166_;
	gchar* _tmp167_;
#line 505 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 505 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (unit != NULL);
#line 506 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = unit;
#line 506 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = unit_get_id (_tmp0_);
#line 506 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp2_ = _tmp1_;
#line 506 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (self->priv->current_unit_id);
#line 506 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->current_unit_id = _tmp2_;
#line 508 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp3_ = self->priv->current_unit_id;
#line 508 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp4_ = main_window_format_unit_link (self, _tmp3_, FALSE);
#line 508 "/home/lennart/projects/systemd/src/systemadm.vala"
	id_display = _tmp4_;
#line 509 "/home/lennart/projects/systemd/src/systemadm.vala"
	has_alias = FALSE;
#line 510 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp5_ = unit;
#line 510 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp6_ = unit_get_names (_tmp5_, &_tmp6__length1);
#line 510 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp7_ = _tmp6_;
#line 510 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp7__length1 = _tmp6__length1;
#line 4224 "systemadm.c"
	{
		gchar** i_collection = NULL;
		gint i_collection_length1 = 0;
		gint _i_collection_size_ = 0;
		gint i_it = 0;
#line 510 "/home/lennart/projects/systemd/src/systemadm.vala"
		i_collection = _tmp7_;
#line 510 "/home/lennart/projects/systemd/src/systemadm.vala"
		i_collection_length1 = _tmp7__length1;
#line 510 "/home/lennart/projects/systemd/src/systemadm.vala"
		for (i_it = 0; i_it < _tmp7__length1; i_it = i_it + 1) {
#line 4236 "systemadm.c"
			gchar* _tmp8_;
			gchar* i = NULL;
#line 510 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp8_ = g_strdup (i_collection[i_it]);
#line 510 "/home/lennart/projects/systemd/src/systemadm.vala"
			i = _tmp8_;
#line 4243 "systemadm.c"
			{
				const gchar* _tmp9_;
				const gchar* _tmp10_;
				gboolean _tmp11_;
				const gchar* _tmp14_;
				const gchar* _tmp15_;
				gchar* _tmp16_;
				gchar* _tmp17_;
				gchar* _tmp18_;
#line 511 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp9_ = i;
#line 511 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp10_ = self->priv->current_unit_id;
#line 511 "/home/lennart/projects/systemd/src/systemadm.vala"
				if (g_strcmp0 (_tmp9_, _tmp10_) == 0) {
#line 512 "/home/lennart/projects/systemd/src/systemadm.vala"
					_g_free0 (i);
#line 512 "/home/lennart/projects/systemd/src/systemadm.vala"
					continue;
#line 4263 "systemadm.c"
				}
#line 514 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp11_ = has_alias;
#line 514 "/home/lennart/projects/systemd/src/systemadm.vala"
				if (!_tmp11_) {
#line 4269 "systemadm.c"
					const gchar* _tmp12_;
					gchar* _tmp13_;
#line 515 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp12_ = id_display;
#line 515 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp13_ = g_strconcat (_tmp12_, " (aliases:", NULL);
#line 515 "/home/lennart/projects/systemd/src/systemadm.vala"
					_g_free0 (id_display);
#line 515 "/home/lennart/projects/systemd/src/systemadm.vala"
					id_display = _tmp13_;
#line 516 "/home/lennart/projects/systemd/src/systemadm.vala"
					has_alias = TRUE;
#line 4282 "systemadm.c"
				}
#line 519 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp14_ = id_display;
#line 519 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp15_ = i;
#line 519 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp16_ = g_strconcat (" ", _tmp15_, NULL);
#line 519 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp17_ = _tmp16_;
#line 519 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp18_ = g_strconcat (_tmp14_, _tmp17_, NULL);
#line 519 "/home/lennart/projects/systemd/src/systemadm.vala"
				_g_free0 (id_display);
#line 519 "/home/lennart/projects/systemd/src/systemadm.vala"
				id_display = _tmp18_;
#line 519 "/home/lennart/projects/systemd/src/systemadm.vala"
				_g_free0 (_tmp17_);
#line 510 "/home/lennart/projects/systemd/src/systemadm.vala"
				_g_free0 (i);
#line 4302 "systemadm.c"
			}
		}
#line 510 "/home/lennart/projects/systemd/src/systemadm.vala"
		i_collection = (_vala_array_free (i_collection, i_collection_length1, (GDestroyNotify) g_free), NULL);
#line 4307 "systemadm.c"
	}
#line 521 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp19_ = has_alias;
#line 521 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp19_) {
#line 4313 "systemadm.c"
		const gchar* _tmp20_;
		gchar* _tmp21_;
#line 522 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp20_ = id_display;
#line 522 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp21_ = g_strconcat (_tmp20_, ")", NULL);
#line 522 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (id_display);
#line 522 "/home/lennart/projects/systemd/src/systemadm.vala"
		id_display = _tmp21_;
#line 4324 "systemadm.c"
	}
#line 524 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp22_ = self->priv->unit_id_label;
#line 524 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp23_ = id_display;
#line 524 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_markup_or_na (_tmp22_, _tmp23_);
#line 527 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp24_ = unit;
#line 527 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp25_ = unit_get_requires (_tmp24_, &_tmp25__length1);
#line 527 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp26_ = _tmp25_;
#line 527 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp26__length1 = _tmp25__length1;
#line 527 "/home/lennart/projects/systemd/src/systemadm.vala"
	requires = _tmp26_;
#line 527 "/home/lennart/projects/systemd/src/systemadm.vala"
	requires_length1 = _tmp26__length1;
#line 527 "/home/lennart/projects/systemd/src/systemadm.vala"
	_requires_size_ = requires_length1;
#line 528 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp27_ = unit;
#line 528 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp28_ = unit_get_requires_overridable (_tmp27_, &_tmp28__length1);
#line 528 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp29_ = _tmp28_;
#line 528 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp29__length1 = _tmp28__length1;
#line 528 "/home/lennart/projects/systemd/src/systemadm.vala"
	requires_overridable = _tmp29_;
#line 528 "/home/lennart/projects/systemd/src/systemadm.vala"
	requires_overridable_length1 = _tmp29__length1;
#line 528 "/home/lennart/projects/systemd/src/systemadm.vala"
	_requires_overridable_size_ = requires_overridable_length1;
#line 529 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp30_ = unit;
#line 529 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp31_ = unit_get_requisite (_tmp30_, &_tmp31__length1);
#line 529 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp32_ = _tmp31_;
#line 529 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp32__length1 = _tmp31__length1;
#line 529 "/home/lennart/projects/systemd/src/systemadm.vala"
	requisite = _tmp32_;
#line 529 "/home/lennart/projects/systemd/src/systemadm.vala"
	requisite_length1 = _tmp32__length1;
#line 529 "/home/lennart/projects/systemd/src/systemadm.vala"
	_requisite_size_ = requisite_length1;
#line 530 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp33_ = unit;
#line 530 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp34_ = unit_get_requisite_overridable (_tmp33_, &_tmp34__length1);
#line 530 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp35_ = _tmp34_;
#line 530 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp35__length1 = _tmp34__length1;
#line 530 "/home/lennart/projects/systemd/src/systemadm.vala"
	requisite_overridable = _tmp35_;
#line 530 "/home/lennart/projects/systemd/src/systemadm.vala"
	requisite_overridable_length1 = _tmp35__length1;
#line 530 "/home/lennart/projects/systemd/src/systemadm.vala"
	_requisite_overridable_size_ = requisite_overridable_length1;
#line 531 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp36_ = unit;
#line 531 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp37_ = unit_get_wants (_tmp36_, &_tmp37__length1);
#line 531 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp38_ = _tmp37_;
#line 531 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp38__length1 = _tmp37__length1;
#line 531 "/home/lennart/projects/systemd/src/systemadm.vala"
	wants = _tmp38_;
#line 531 "/home/lennart/projects/systemd/src/systemadm.vala"
	wants_length1 = _tmp38__length1;
#line 531 "/home/lennart/projects/systemd/src/systemadm.vala"
	_wants_size_ = wants_length1;
#line 532 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp39_ = unit;
#line 532 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp40_ = unit_get_required_by (_tmp39_, &_tmp40__length1);
#line 532 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp41_ = _tmp40_;
#line 532 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp41__length1 = _tmp40__length1;
#line 532 "/home/lennart/projects/systemd/src/systemadm.vala"
	required_by = _tmp41_;
#line 532 "/home/lennart/projects/systemd/src/systemadm.vala"
	required_by_length1 = _tmp41__length1;
#line 532 "/home/lennart/projects/systemd/src/systemadm.vala"
	_required_by_size_ = required_by_length1;
#line 533 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp42_ = unit;
#line 533 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp43_ = unit_get_required_by_overridable (_tmp42_, &_tmp43__length1);
#line 533 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp44_ = _tmp43_;
#line 533 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp44__length1 = _tmp43__length1;
#line 533 "/home/lennart/projects/systemd/src/systemadm.vala"
	required_by_overridable = _tmp44_;
#line 533 "/home/lennart/projects/systemd/src/systemadm.vala"
	required_by_overridable_length1 = _tmp44__length1;
#line 533 "/home/lennart/projects/systemd/src/systemadm.vala"
	_required_by_overridable_size_ = required_by_overridable_length1;
#line 534 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp45_ = unit;
#line 534 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp46_ = unit_get_wanted_by (_tmp45_, &_tmp46__length1);
#line 534 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp47_ = _tmp46_;
#line 534 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp47__length1 = _tmp46__length1;
#line 534 "/home/lennart/projects/systemd/src/systemadm.vala"
	wanted_by = _tmp47_;
#line 534 "/home/lennart/projects/systemd/src/systemadm.vala"
	wanted_by_length1 = _tmp47__length1;
#line 534 "/home/lennart/projects/systemd/src/systemadm.vala"
	_wanted_by_size_ = wanted_by_length1;
#line 535 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp48_ = unit;
#line 535 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp49_ = unit_get_conflicts (_tmp48_, &_tmp49__length1);
#line 535 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp50_ = _tmp49_;
#line 535 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp50__length1 = _tmp49__length1;
#line 535 "/home/lennart/projects/systemd/src/systemadm.vala"
	conflicts = _tmp50_;
#line 535 "/home/lennart/projects/systemd/src/systemadm.vala"
	conflicts_length1 = _tmp50__length1;
#line 535 "/home/lennart/projects/systemd/src/systemadm.vala"
	_conflicts_size_ = conflicts_length1;
#line 536 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp51_ = unit;
#line 536 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp52_ = unit_get_before (_tmp51_, &_tmp52__length1);
#line 536 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp53_ = _tmp52_;
#line 536 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp53__length1 = _tmp52__length1;
#line 536 "/home/lennart/projects/systemd/src/systemadm.vala"
	before = _tmp53_;
#line 536 "/home/lennart/projects/systemd/src/systemadm.vala"
	before_length1 = _tmp53__length1;
#line 536 "/home/lennart/projects/systemd/src/systemadm.vala"
	_before_size_ = before_length1;
#line 537 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp54_ = unit;
#line 537 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp55_ = unit_get_after (_tmp54_, &_tmp55__length1);
#line 537 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp56_ = _tmp55_;
#line 537 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp56__length1 = _tmp55__length1;
#line 537 "/home/lennart/projects/systemd/src/systemadm.vala"
	after = _tmp56_;
#line 537 "/home/lennart/projects/systemd/src/systemadm.vala"
	after_length1 = _tmp56__length1;
#line 537 "/home/lennart/projects/systemd/src/systemadm.vala"
	_after_size_ = after_length1;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp57_ = self->priv->unit_dependency_label;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp58_ = requires;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp58__length1 = requires_length1;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp59_ = main_window_make_dependency_string (self, NULL, "requires", _tmp58_, _tmp58__length1);
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp60_ = _tmp59_;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp61_ = requires_overridable;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp61__length1 = requires_overridable_length1;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp62_ = main_window_make_dependency_string (self, _tmp60_, "overridable requires", _tmp61_, _tmp61__length1);
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp63_ = _tmp62_;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp64_ = requisite;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp64__length1 = requisite_length1;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp65_ = main_window_make_dependency_string (self, _tmp63_, "requisite", _tmp64_, _tmp64__length1);
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp66_ = _tmp65_;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp67_ = requisite_overridable;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp67__length1 = requisite_overridable_length1;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp68_ = main_window_make_dependency_string (self, _tmp66_, "overridable requisite", _tmp67_, _tmp67__length1);
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp69_ = _tmp68_;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp70_ = wants;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp70__length1 = wants_length1;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp71_ = main_window_make_dependency_string (self, _tmp69_, "wants", _tmp70_, _tmp70__length1);
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp72_ = _tmp71_;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp73_ = conflicts;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp73__length1 = conflicts_length1;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp74_ = main_window_make_dependency_string (self, _tmp72_, "conflicts", _tmp73_, _tmp73__length1);
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp75_ = _tmp74_;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp76_ = required_by;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp76__length1 = required_by_length1;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp77_ = main_window_make_dependency_string (self, _tmp75_, "required by", _tmp76_, _tmp76__length1);
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp78_ = _tmp77_;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp79_ = required_by_overridable;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp79__length1 = required_by_overridable_length1;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp80_ = main_window_make_dependency_string (self, _tmp78_, "overridable required by", _tmp79_, _tmp79__length1);
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp81_ = _tmp80_;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp82_ = wanted_by;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp82__length1 = wanted_by_length1;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp83_ = main_window_make_dependency_string (self, _tmp81_, "wanted by", _tmp82_, _tmp82__length1);
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp84_ = _tmp83_;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp85_ = after;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp85__length1 = after_length1;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp86_ = main_window_make_dependency_string (self, _tmp84_, "after", _tmp85_, _tmp85__length1);
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp87_ = _tmp86_;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp88_ = before;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp88__length1 = before_length1;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp89_ = main_window_make_dependency_string (self, _tmp87_, "before", _tmp88_, _tmp88__length1);
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp90_ = _tmp89_;
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_markup_or_na (_tmp57_, _tmp90_);
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp90_);
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp87_);
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp84_);
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp81_);
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp78_);
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp75_);
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp72_);
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp69_);
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp66_);
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp63_);
#line 539 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp60_);
#line 563 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp91_ = self->priv->unit_description_label;
#line 563 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp92_ = unit;
#line 563 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp93_ = unit_get_description (_tmp92_);
#line 563 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp94_ = _tmp93_;
#line 563 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp95_ = _tmp94_;
#line 563 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp91_, _tmp95_);
#line 563 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp95_);
#line 564 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp96_ = self->priv->unit_load_state_label;
#line 564 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp97_ = unit;
#line 564 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp98_ = unit_get_load_state (_tmp97_);
#line 564 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp99_ = _tmp98_;
#line 564 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp100_ = _tmp99_;
#line 564 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp96_, _tmp100_);
#line 564 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp100_);
#line 565 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp101_ = self->priv->unit_active_state_label;
#line 565 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp102_ = unit;
#line 565 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp103_ = unit_get_active_state (_tmp102_);
#line 565 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp104_ = _tmp103_;
#line 565 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp105_ = _tmp104_;
#line 565 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp101_, _tmp105_);
#line 565 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp105_);
#line 566 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp106_ = self->priv->unit_sub_state_label;
#line 566 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp107_ = unit;
#line 566 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp108_ = unit_get_sub_state (_tmp107_);
#line 566 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp109_ = _tmp108_;
#line 566 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp110_ = _tmp109_;
#line 566 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp106_, _tmp110_);
#line 566 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp110_);
#line 568 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp111_ = unit;
#line 568 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp112_ = unit_get_fragment_path (_tmp111_);
#line 568 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp113_ = _tmp112_;
#line 568 "/home/lennart/projects/systemd/src/systemadm.vala"
	fp = _tmp113_;
#line 569 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp114_ = fp;
#line 569 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (g_strcmp0 (_tmp114_, "") != 0) {
#line 4668 "systemadm.c"
		RightLabel* _tmp115_;
		const gchar* _tmp116_;
		gchar* _tmp117_;
		gchar* _tmp118_;
		gchar* _tmp119_;
		gchar* _tmp120_;
		gchar* _tmp121_;
		gchar* _tmp122_;
		const gchar* _tmp123_;
		gchar* _tmp124_;
		gchar* _tmp125_;
		gchar* _tmp126_;
		gchar* _tmp127_;
#line 570 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp115_ = self->priv->unit_fragment_path_label;
#line 570 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp116_ = fp;
#line 570 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp117_ = g_strconcat ("<a href=\"file://", _tmp116_, NULL);
#line 570 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp118_ = _tmp117_;
#line 570 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp119_ = g_strconcat (_tmp118_, "\">", NULL);
#line 570 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp120_ = _tmp119_;
#line 570 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp121_ = g_strconcat (_tmp120_, "<span underline='none' color='black'>", NULL);
#line 570 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp122_ = _tmp121_;
#line 570 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp123_ = fp;
#line 570 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp124_ = g_strconcat (_tmp122_, _tmp123_, NULL);
#line 570 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp125_ = _tmp124_;
#line 570 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp126_ = g_strconcat (_tmp125_, "</span></a>", NULL);
#line 570 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp127_ = _tmp126_;
#line 570 "/home/lennart/projects/systemd/src/systemadm.vala"
		right_label_set_markup_or_na (_tmp115_, _tmp127_);
#line 570 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (_tmp127_);
#line 570 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (_tmp125_);
#line 570 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (_tmp122_);
#line 570 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (_tmp120_);
#line 570 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (_tmp118_);
#line 4720 "systemadm.c"
	} else {
		RightLabel* _tmp128_;
#line 574 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp128_ = self->priv->unit_fragment_path_label;
#line 574 "/home/lennart/projects/systemd/src/systemadm.vala"
		right_label_set_text_or_na (_tmp128_, NULL);
#line 4727 "systemadm.c"
	}
#line 577 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp129_ = self->priv->unit_active_enter_timestamp_label;
#line 577 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp130_ = unit;
#line 577 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp131_ = unit_get_active_enter_timestamp (_tmp130_);
#line 577 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp132_ = _tmp131_;
#line 577 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp133_ = format_time (_tmp132_);
#line 577 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp134_ = _tmp133_;
#line 577 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp129_, _tmp134_);
#line 577 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp134_);
#line 579 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp135_ = self->priv->unit_active_exit_timestamp_label;
#line 579 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp136_ = unit;
#line 579 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp137_ = unit_get_active_exit_timestamp (_tmp136_);
#line 579 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp138_ = _tmp137_;
#line 579 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp139_ = format_time (_tmp138_);
#line 579 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp140_ = _tmp139_;
#line 579 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp135_, _tmp140_);
#line 579 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp140_);
#line 581 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp141_ = unit;
#line 581 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp142_ = unit_get_can_start (_tmp141_);
#line 581 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp143_ = _tmp142_;
#line 581 "/home/lennart/projects/systemd/src/systemadm.vala"
	b = _tmp143_;
#line 582 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp144_ = self->priv->start_button;
#line 582 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp145_ = b;
#line 582 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp144_, _tmp145_);
#line 583 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp146_ = self->priv->stop_button;
#line 583 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp147_ = b;
#line 583 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp146_, _tmp147_);
#line 584 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp148_ = self->priv->restart_button;
#line 584 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp149_ = b;
#line 584 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp148_, _tmp149_);
#line 585 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp151_ = b;
#line 585 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp151_) {
#line 585 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp150_ = "Yes";
#line 4793 "systemadm.c"
	} else {
#line 585 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp150_ = "No";
#line 4797 "systemadm.c"
	}
#line 585 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp152_ = self->priv->unit_can_start_label;
#line 585 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp153_ = _tmp150_;
#line 585 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp152_, _tmp153_);
#line 587 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp154_ = unit;
#line 587 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp155_ = unit_get_can_reload (_tmp154_);
#line 587 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp156_ = _tmp155_;
#line 587 "/home/lennart/projects/systemd/src/systemadm.vala"
	b = _tmp156_;
#line 588 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp157_ = self->priv->reload_button;
#line 588 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp158_ = b;
#line 588 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp157_, _tmp158_);
#line 589 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp160_ = b;
#line 589 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp160_) {
#line 589 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp159_ = "Yes";
#line 4825 "systemadm.c"
	} else {
#line 589 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp159_ = "No";
#line 4829 "systemadm.c"
	}
#line 589 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp161_ = self->priv->unit_can_reload_label;
#line 589 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp162_ = _tmp159_;
#line 589 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp161_, _tmp162_);
#line 591 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp163_ = self->priv->unit_cgroup_label;
#line 591 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp164_ = unit;
#line 591 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp165_ = unit_get_default_control_group (_tmp164_);
#line 591 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp166_ = _tmp165_;
#line 591 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp167_ = _tmp166_;
#line 591 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp163_, _tmp167_);
#line 591 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp167_);
#line 505 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (fp);
#line 505 "/home/lennart/projects/systemd/src/systemadm.vala"
	after = (_vala_array_free (after, after_length1, (GDestroyNotify) g_free), NULL);
#line 505 "/home/lennart/projects/systemd/src/systemadm.vala"
	before = (_vala_array_free (before, before_length1, (GDestroyNotify) g_free), NULL);
#line 505 "/home/lennart/projects/systemd/src/systemadm.vala"
	conflicts = (_vala_array_free (conflicts, conflicts_length1, (GDestroyNotify) g_free), NULL);
#line 505 "/home/lennart/projects/systemd/src/systemadm.vala"
	wanted_by = (_vala_array_free (wanted_by, wanted_by_length1, (GDestroyNotify) g_free), NULL);
#line 505 "/home/lennart/projects/systemd/src/systemadm.vala"
	required_by_overridable = (_vala_array_free (required_by_overridable, required_by_overridable_length1, (GDestroyNotify) g_free), NULL);
#line 505 "/home/lennart/projects/systemd/src/systemadm.vala"
	required_by = (_vala_array_free (required_by, required_by_length1, (GDestroyNotify) g_free), NULL);
#line 505 "/home/lennart/projects/systemd/src/systemadm.vala"
	wants = (_vala_array_free (wants, wants_length1, (GDestroyNotify) g_free), NULL);
#line 505 "/home/lennart/projects/systemd/src/systemadm.vala"
	requisite_overridable = (_vala_array_free (requisite_overridable, requisite_overridable_length1, (GDestroyNotify) g_free), NULL);
#line 505 "/home/lennart/projects/systemd/src/systemadm.vala"
	requisite = (_vala_array_free (requisite, requisite_length1, (GDestroyNotify) g_free), NULL);
#line 505 "/home/lennart/projects/systemd/src/systemadm.vala"
	requires_overridable = (_vala_array_free (requires_overridable, requires_overridable_length1, (GDestroyNotify) g_free), NULL);
#line 505 "/home/lennart/projects/systemd/src/systemadm.vala"
	requires = (_vala_array_free (requires, requires_length1, (GDestroyNotify) g_free), NULL);
#line 505 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (id_display);
#line 4877 "systemadm.c"
}


Job* main_window_get_current_job (MainWindow* self) {
	Job* result = NULL;
	GtkTreePath* p = NULL;
	GtkTreeView* _tmp0_;
	GtkTreePath* _tmp1_ = NULL;
	GtkTreePath* _tmp2_;
	GtkTreeIter iter = {0};
	GtkTreeView* _tmp3_;
	GtkTreeModel* _tmp4_ = NULL;
	GtkTreeModel* _tmp5_;
	GtkTreeModel* model;
	Job* j = NULL;
	GtkTreeModel* _tmp6_;
	GtkTreePath* _tmp7_;
	GtkTreeIter _tmp8_ = {0};
	GtkTreeModel* _tmp9_;
	GtkTreeIter _tmp10_;
	Job* _tmp11_;
	Job* _tmp12_;
#line 594 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 596 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = self->priv->job_view;
#line 596 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_tree_view_get_cursor (_tmp0_, &_tmp1_, NULL);
#line 596 "/home/lennart/projects/systemd/src/systemadm.vala"
	_gtk_tree_path_free0 (p);
#line 596 "/home/lennart/projects/systemd/src/systemadm.vala"
	p = _tmp1_;
#line 598 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp2_ = p;
#line 598 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp2_ == NULL) {
#line 599 "/home/lennart/projects/systemd/src/systemadm.vala"
		result = NULL;
#line 599 "/home/lennart/projects/systemd/src/systemadm.vala"
		_gtk_tree_path_free0 (p);
#line 599 "/home/lennart/projects/systemd/src/systemadm.vala"
		return result;
#line 4920 "systemadm.c"
	}
#line 602 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp3_ = self->priv->job_view;
#line 602 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp4_ = gtk_tree_view_get_model (_tmp3_);
#line 602 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp5_ = _g_object_ref0 (_tmp4_);
#line 602 "/home/lennart/projects/systemd/src/systemadm.vala"
	model = _tmp5_;
#line 605 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp6_ = model;
#line 605 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp7_ = p;
#line 605 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_tree_model_get_iter (_tmp6_, &_tmp8_, _tmp7_);
#line 605 "/home/lennart/projects/systemd/src/systemadm.vala"
	iter = _tmp8_;
#line 606 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp9_ = model;
#line 606 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp10_ = iter;
#line 606 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_tree_model_get (_tmp9_, &_tmp10_, 4, &j, -1);
#line 608 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp11_ = j;
#line 608 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp12_ = _g_object_ref0 (_tmp11_);
#line 608 "/home/lennart/projects/systemd/src/systemadm.vala"
	result = _tmp12_;
#line 608 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (model);
#line 608 "/home/lennart/projects/systemd/src/systemadm.vala"
	_gtk_tree_path_free0 (p);
#line 608 "/home/lennart/projects/systemd/src/systemadm.vala"
	return result;
#line 4956 "systemadm.c"
}


void main_window_job_changed (MainWindow* self) {
	Job* _tmp0_ = NULL;
	Job* j;
	Job* _tmp1_;
#line 611 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 612 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = main_window_get_current_job (self);
#line 612 "/home/lennart/projects/systemd/src/systemadm.vala"
	j = _tmp0_;
#line 614 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = j;
#line 614 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp1_ == NULL) {
#line 615 "/home/lennart/projects/systemd/src/systemadm.vala"
		main_window_clear_job (self);
#line 4976 "systemadm.c"
	} else {
		Job* _tmp2_;
#line 617 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp2_ = j;
#line 617 "/home/lennart/projects/systemd/src/systemadm.vala"
		main_window_show_job (self, _tmp2_);
#line 4983 "systemadm.c"
	}
#line 611 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (j);
#line 4987 "systemadm.c"
}


void main_window_clear_job (MainWindow* self) {
	RightLabel* _tmp0_;
	RightLabel* _tmp1_;
	RightLabel* _tmp2_;
	GtkButton* _tmp3_;
#line 620 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 621 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->current_job_id = (guint32) 0;
#line 623 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = self->priv->job_id_label;
#line 623 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp0_, NULL);
#line 624 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = self->priv->job_state_label;
#line 624 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp1_, NULL);
#line 625 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp2_ = self->priv->job_type_label;
#line 625 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp2_, NULL);
#line 627 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp3_ = self->priv->cancel_button;
#line 627 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp3_, FALSE);
#line 5016 "systemadm.c"
}


void main_window_show_job (MainWindow* self, Job* job) {
	Job* _tmp0_;
	guint32 _tmp1_;
	guint32 _tmp2_;
	RightLabel* _tmp3_;
	guint32 _tmp4_;
	gchar* _tmp5_ = NULL;
	gchar* _tmp6_;
	RightLabel* _tmp7_;
	Job* _tmp8_;
	gchar* _tmp9_;
	gchar* _tmp10_;
	gchar* _tmp11_;
	RightLabel* _tmp12_;
	Job* _tmp13_;
	gchar* _tmp14_;
	gchar* _tmp15_;
	gchar* _tmp16_;
	GtkButton* _tmp17_;
#line 630 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 630 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (job != NULL);
#line 631 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = job;
#line 631 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = job_get_id (_tmp0_);
#line 631 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp2_ = _tmp1_;
#line 631 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv->current_job_id = _tmp2_;
#line 633 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp3_ = self->priv->job_id_label;
#line 633 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp4_ = self->priv->current_job_id;
#line 633 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp5_ = g_strdup_printf ("%u", (guint) _tmp4_);
#line 633 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp6_ = _tmp5_;
#line 633 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp3_, _tmp6_);
#line 633 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp6_);
#line 634 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp7_ = self->priv->job_state_label;
#line 634 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp8_ = job;
#line 634 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp9_ = job_get_state (_tmp8_);
#line 634 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp10_ = _tmp9_;
#line 634 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp11_ = _tmp10_;
#line 634 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp7_, _tmp11_);
#line 634 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp11_);
#line 635 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp12_ = self->priv->job_type_label;
#line 635 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp13_ = job;
#line 635 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp14_ = job_get_job_type (_tmp13_);
#line 635 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp15_ = _tmp14_;
#line 635 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp16_ = _tmp15_;
#line 635 "/home/lennart/projects/systemd/src/systemadm.vala"
	right_label_set_text_or_na (_tmp12_, _tmp16_);
#line 635 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp16_);
#line 637 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp17_ = self->priv->cancel_button;
#line 637 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp17_, TRUE);
#line 5095 "systemadm.c"
}


void main_window_on_start (MainWindow* self) {
	Unit* _tmp0_ = NULL;
	Unit* u;
	Unit* _tmp1_;
	GError * _inner_error_ = NULL;
#line 640 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 641 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = main_window_get_current_unit (self);
#line 641 "/home/lennart/projects/systemd/src/systemadm.vala"
	u = _tmp0_;
#line 643 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = u;
#line 643 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp1_ == NULL) {
#line 644 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_object_unref0 (u);
#line 644 "/home/lennart/projects/systemd/src/systemadm.vala"
		return;
#line 5118 "systemadm.c"
	}
	{
		Unit* _tmp2_;
		char* _tmp3_ = NULL;
		char* _tmp4_;
#line 647 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp2_ = u;
#line 647 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp3_ = unit_start (_tmp2_, "replace", &_inner_error_);
#line 647 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp4_ = _tmp3_;
#line 647 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (_tmp4_);
#line 647 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_inner_error_ != NULL) {
#line 5134 "systemadm.c"
			goto __catch0_g_error;
		}
	}
	goto __finally0;
	__catch0_g_error:
	{
		GError* e = NULL;
		GError* _tmp5_;
		const gchar* _tmp6_;
#line 646 "/home/lennart/projects/systemd/src/systemadm.vala"
		e = _inner_error_;
#line 646 "/home/lennart/projects/systemd/src/systemadm.vala"
		_inner_error_ = NULL;
#line 649 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp5_ = e;
#line 649 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp6_ = _tmp5_->message;
#line 649 "/home/lennart/projects/systemd/src/systemadm.vala"
		main_window_show_error (self, _tmp6_);
#line 646 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_error_free0 (e);
#line 5156 "systemadm.c"
	}
	__finally0:
#line 646 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_inner_error_ != NULL) {
#line 646 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_object_unref0 (u);
#line 646 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 646 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_clear_error (&_inner_error_);
#line 646 "/home/lennart/projects/systemd/src/systemadm.vala"
		return;
#line 5169 "systemadm.c"
	}
#line 640 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (u);
#line 5173 "systemadm.c"
}


void main_window_on_stop (MainWindow* self) {
	Unit* _tmp0_ = NULL;
	Unit* u;
	Unit* _tmp1_;
	GError * _inner_error_ = NULL;
#line 653 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 654 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = main_window_get_current_unit (self);
#line 654 "/home/lennart/projects/systemd/src/systemadm.vala"
	u = _tmp0_;
#line 656 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = u;
#line 656 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp1_ == NULL) {
#line 657 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_object_unref0 (u);
#line 657 "/home/lennart/projects/systemd/src/systemadm.vala"
		return;
#line 5196 "systemadm.c"
	}
	{
		Unit* _tmp2_;
		char* _tmp3_ = NULL;
		char* _tmp4_;
#line 660 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp2_ = u;
#line 660 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp3_ = unit_stop (_tmp2_, "replace", &_inner_error_);
#line 660 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp4_ = _tmp3_;
#line 660 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (_tmp4_);
#line 660 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_inner_error_ != NULL) {
#line 5212 "systemadm.c"
			goto __catch1_g_error;
		}
	}
	goto __finally1;
	__catch1_g_error:
	{
		GError* e = NULL;
		GError* _tmp5_;
		const gchar* _tmp6_;
#line 659 "/home/lennart/projects/systemd/src/systemadm.vala"
		e = _inner_error_;
#line 659 "/home/lennart/projects/systemd/src/systemadm.vala"
		_inner_error_ = NULL;
#line 662 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp5_ = e;
#line 662 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp6_ = _tmp5_->message;
#line 662 "/home/lennart/projects/systemd/src/systemadm.vala"
		main_window_show_error (self, _tmp6_);
#line 659 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_error_free0 (e);
#line 5234 "systemadm.c"
	}
	__finally1:
#line 659 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_inner_error_ != NULL) {
#line 659 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_object_unref0 (u);
#line 659 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 659 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_clear_error (&_inner_error_);
#line 659 "/home/lennart/projects/systemd/src/systemadm.vala"
		return;
#line 5247 "systemadm.c"
	}
#line 653 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (u);
#line 5251 "systemadm.c"
}


void main_window_on_reload (MainWindow* self) {
	Unit* _tmp0_ = NULL;
	Unit* u;
	Unit* _tmp1_;
	GError * _inner_error_ = NULL;
#line 666 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 667 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = main_window_get_current_unit (self);
#line 667 "/home/lennart/projects/systemd/src/systemadm.vala"
	u = _tmp0_;
#line 669 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = u;
#line 669 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp1_ == NULL) {
#line 670 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_object_unref0 (u);
#line 670 "/home/lennart/projects/systemd/src/systemadm.vala"
		return;
#line 5274 "systemadm.c"
	}
	{
		Unit* _tmp2_;
		char* _tmp3_ = NULL;
		char* _tmp4_;
#line 673 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp2_ = u;
#line 673 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp3_ = unit_reload (_tmp2_, "replace", &_inner_error_);
#line 673 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp4_ = _tmp3_;
#line 673 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (_tmp4_);
#line 673 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_inner_error_ != NULL) {
#line 5290 "systemadm.c"
			goto __catch2_g_error;
		}
	}
	goto __finally2;
	__catch2_g_error:
	{
		GError* e = NULL;
		GError* _tmp5_;
		const gchar* _tmp6_;
#line 672 "/home/lennart/projects/systemd/src/systemadm.vala"
		e = _inner_error_;
#line 672 "/home/lennart/projects/systemd/src/systemadm.vala"
		_inner_error_ = NULL;
#line 675 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp5_ = e;
#line 675 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp6_ = _tmp5_->message;
#line 675 "/home/lennart/projects/systemd/src/systemadm.vala"
		main_window_show_error (self, _tmp6_);
#line 672 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_error_free0 (e);
#line 5312 "systemadm.c"
	}
	__finally2:
#line 672 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_inner_error_ != NULL) {
#line 672 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_object_unref0 (u);
#line 672 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 672 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_clear_error (&_inner_error_);
#line 672 "/home/lennart/projects/systemd/src/systemadm.vala"
		return;
#line 5325 "systemadm.c"
	}
#line 666 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (u);
#line 5329 "systemadm.c"
}


void main_window_on_restart (MainWindow* self) {
	Unit* _tmp0_ = NULL;
	Unit* u;
	Unit* _tmp1_;
	GError * _inner_error_ = NULL;
#line 679 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 680 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = main_window_get_current_unit (self);
#line 680 "/home/lennart/projects/systemd/src/systemadm.vala"
	u = _tmp0_;
#line 682 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = u;
#line 682 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp1_ == NULL) {
#line 683 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_object_unref0 (u);
#line 683 "/home/lennart/projects/systemd/src/systemadm.vala"
		return;
#line 5352 "systemadm.c"
	}
	{
		Unit* _tmp2_;
		char* _tmp3_ = NULL;
		char* _tmp4_;
#line 686 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp2_ = u;
#line 686 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp3_ = unit_restart (_tmp2_, "replace", &_inner_error_);
#line 686 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp4_ = _tmp3_;
#line 686 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (_tmp4_);
#line 686 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_inner_error_ != NULL) {
#line 5368 "systemadm.c"
			goto __catch3_g_error;
		}
	}
	goto __finally3;
	__catch3_g_error:
	{
		GError* e = NULL;
		GError* _tmp5_;
		const gchar* _tmp6_;
#line 685 "/home/lennart/projects/systemd/src/systemadm.vala"
		e = _inner_error_;
#line 685 "/home/lennart/projects/systemd/src/systemadm.vala"
		_inner_error_ = NULL;
#line 688 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp5_ = e;
#line 688 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp6_ = _tmp5_->message;
#line 688 "/home/lennart/projects/systemd/src/systemadm.vala"
		main_window_show_error (self, _tmp6_);
#line 685 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_error_free0 (e);
#line 5390 "systemadm.c"
	}
	__finally3:
#line 685 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_inner_error_ != NULL) {
#line 685 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_object_unref0 (u);
#line 685 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 685 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_clear_error (&_inner_error_);
#line 685 "/home/lennart/projects/systemd/src/systemadm.vala"
		return;
#line 5403 "systemadm.c"
	}
#line 679 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (u);
#line 5407 "systemadm.c"
}


void main_window_on_cancel (MainWindow* self) {
	Job* _tmp0_ = NULL;
	Job* j;
	Job* _tmp1_;
	GError * _inner_error_ = NULL;
#line 692 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 693 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = main_window_get_current_job (self);
#line 693 "/home/lennart/projects/systemd/src/systemadm.vala"
	j = _tmp0_;
#line 695 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = j;
#line 695 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp1_ == NULL) {
#line 696 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_object_unref0 (j);
#line 696 "/home/lennart/projects/systemd/src/systemadm.vala"
		return;
#line 5430 "systemadm.c"
	}
	{
		Job* _tmp2_;
#line 699 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp2_ = j;
#line 699 "/home/lennart/projects/systemd/src/systemadm.vala"
		job_cancel (_tmp2_, &_inner_error_);
#line 699 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_inner_error_ != NULL) {
#line 5440 "systemadm.c"
			goto __catch4_g_error;
		}
	}
	goto __finally4;
	__catch4_g_error:
	{
		GError* e = NULL;
		GError* _tmp3_;
		const gchar* _tmp4_;
#line 698 "/home/lennart/projects/systemd/src/systemadm.vala"
		e = _inner_error_;
#line 698 "/home/lennart/projects/systemd/src/systemadm.vala"
		_inner_error_ = NULL;
#line 701 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp3_ = e;
#line 701 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp4_ = _tmp3_->message;
#line 701 "/home/lennart/projects/systemd/src/systemadm.vala"
		main_window_show_error (self, _tmp4_);
#line 698 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_error_free0 (e);
#line 5462 "systemadm.c"
	}
	__finally4:
#line 698 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_inner_error_ != NULL) {
#line 698 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_object_unref0 (j);
#line 698 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 698 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_clear_error (&_inner_error_);
#line 698 "/home/lennart/projects/systemd/src/systemadm.vala"
		return;
#line 5475 "systemadm.c"
	}
#line 692 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (j);
#line 5479 "systemadm.c"
}


void main_window_update_unit_iter (MainWindow* self, GtkTreeIter* iter, const gchar* id, Unit* u) {
	GError * _inner_error_ = NULL;
#line 705 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 705 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (iter != NULL);
#line 705 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (id != NULL);
#line 705 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (u != NULL);
#line 5493 "systemadm.c"
	{
		gchar* _tmp0_;
		gchar* t;
		Unit* _tmp1_;
		UnitJobLink _tmp2_;
		UnitJobLink _tmp3_;
		UnitJobLink jl;
		UnitJobLink _tmp4_;
		guint32 _tmp5_;
		gchar* _tmp15_ = NULL;
		const gchar* _tmp16_;
		GtkListStore* _tmp20_;
		GtkTreeIter _tmp21_;
		const gchar* _tmp22_;
		Unit* _tmp23_;
		gchar* _tmp24_;
		gchar* _tmp25_;
		gchar* _tmp26_;
		Unit* _tmp27_;
		gchar* _tmp28_;
		gchar* _tmp29_;
		gchar* _tmp30_;
		Unit* _tmp31_;
		gchar* _tmp32_;
		gchar* _tmp33_;
		gchar* _tmp34_;
		Unit* _tmp35_;
		gchar* _tmp36_;
		gchar* _tmp37_;
		gchar* _tmp38_;
		const gchar* _tmp39_;
		Unit* _tmp40_;
#line 708 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp0_ = g_strdup ("");
#line 708 "/home/lennart/projects/systemd/src/systemadm.vala"
		t = _tmp0_;
#line 709 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp1_ = u;
#line 709 "/home/lennart/projects/systemd/src/systemadm.vala"
		unit_get_job (_tmp1_, &_tmp2_);
#line 709 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp3_ = _tmp2_;
#line 709 "/home/lennart/projects/systemd/src/systemadm.vala"
		jl = _tmp3_;
#line 711 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp4_ = jl;
#line 711 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp5_ = _tmp4_.id;
#line 711 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_tmp5_ != ((guint32) 0)) {
#line 5544 "systemadm.c"
			GBusType _tmp6_ = 0;
			gboolean _tmp7_;
			GBusType _tmp8_;
			UnitJobLink _tmp9_;
			const char* _tmp10_;
			Job* _tmp11_ = NULL;
			Job* j;
			Job* _tmp12_;
			gchar* _tmp13_;
			gchar* _tmp14_;
#line 713 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp7_ = user;
#line 713 "/home/lennart/projects/systemd/src/systemadm.vala"
			if (_tmp7_) {
#line 713 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp6_ = G_BUS_TYPE_SESSION;
#line 5561 "systemadm.c"
			} else {
#line 713 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp6_ = G_BUS_TYPE_SYSTEM;
#line 5565 "systemadm.c"
			}
#line 712 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp8_ = _tmp6_;
#line 712 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp9_ = jl;
#line 712 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp10_ = _tmp9_.path;
#line 712 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp11_ = g_initable_new (TYPE_JOB_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", "org.freedesktop.systemd1", "g-bus-type", _tmp8_, "g-object-path", (const gchar*) _tmp10_, "g-interface-name", "org.freedesktop.systemd1.Job", NULL);
#line 712 "/home/lennart/projects/systemd/src/systemadm.vala"
			j = (Job*) _tmp11_;
#line 712 "/home/lennart/projects/systemd/src/systemadm.vala"
			if (_inner_error_ != NULL) {
#line 712 "/home/lennart/projects/systemd/src/systemadm.vala"
				unit_job_link_destroy (&jl);
#line 712 "/home/lennart/projects/systemd/src/systemadm.vala"
				_g_free0 (t);
#line 5583 "systemadm.c"
				goto __catch5_g_error;
			}
#line 717 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp12_ = j;
#line 717 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp13_ = job_get_job_type (_tmp12_);
#line 717 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp14_ = _tmp13_;
#line 717 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (t);
#line 717 "/home/lennart/projects/systemd/src/systemadm.vala"
			t = _tmp14_;
#line 711 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (j);
#line 5598 "systemadm.c"
		}
#line 726 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp16_ = t;
#line 726 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (g_strcmp0 (_tmp16_, "") != 0) {
#line 5604 "systemadm.c"
			const gchar* _tmp17_;
			gchar* _tmp18_ = NULL;
#line 726 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp17_ = t;
#line 726 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp18_ = g_strdup_printf ("→ %s", _tmp17_);
#line 726 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (_tmp15_);
#line 726 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp15_ = _tmp18_;
#line 5615 "systemadm.c"
		} else {
			gchar* _tmp19_;
#line 726 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp19_ = g_strdup ("");
#line 726 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (_tmp15_);
#line 726 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp15_ = _tmp19_;
#line 5624 "systemadm.c"
		}
#line 720 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp20_ = self->priv->unit_model;
#line 720 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp21_ = *iter;
#line 720 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp22_ = id;
#line 720 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp23_ = u;
#line 720 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp24_ = unit_get_description (_tmp23_);
#line 720 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp25_ = _tmp24_;
#line 720 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp26_ = _tmp25_;
#line 720 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp27_ = u;
#line 720 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp28_ = unit_get_load_state (_tmp27_);
#line 720 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp29_ = _tmp28_;
#line 720 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp30_ = _tmp29_;
#line 720 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp31_ = u;
#line 720 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp32_ = unit_get_active_state (_tmp31_);
#line 720 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp33_ = _tmp32_;
#line 720 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp34_ = _tmp33_;
#line 720 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp35_ = u;
#line 720 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp36_ = unit_get_sub_state (_tmp35_);
#line 720 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp37_ = _tmp36_;
#line 720 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp38_ = _tmp37_;
#line 720 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp39_ = _tmp15_;
#line 720 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp40_ = u;
#line 720 "/home/lennart/projects/systemd/src/systemadm.vala"
		gtk_list_store_set (_tmp20_, &_tmp21_, 0, _tmp22_, 1, _tmp26_, 2, _tmp30_, 3, _tmp34_, 4, _tmp38_, 5, _tmp39_, 6, _tmp40_, -1);
#line 720 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (_tmp38_);
#line 720 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (_tmp34_);
#line 720 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (_tmp30_);
#line 720 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (_tmp26_);
#line 707 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (_tmp15_);
#line 707 "/home/lennart/projects/systemd/src/systemadm.vala"
		unit_job_link_destroy (&jl);
#line 707 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (t);
#line 5684 "systemadm.c"
	}
	goto __finally5;
	__catch5_g_error:
	{
		GError* e = NULL;
		GError* _tmp41_;
		const gchar* _tmp42_;
#line 707 "/home/lennart/projects/systemd/src/systemadm.vala"
		e = _inner_error_;
#line 707 "/home/lennart/projects/systemd/src/systemadm.vala"
		_inner_error_ = NULL;
#line 729 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp41_ = e;
#line 729 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp42_ = _tmp41_->message;
#line 729 "/home/lennart/projects/systemd/src/systemadm.vala"
		main_window_show_error (self, _tmp42_);
#line 707 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_error_free0 (e);
#line 5704 "systemadm.c"
	}
	__finally5:
#line 707 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_inner_error_ != NULL) {
#line 707 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 707 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_clear_error (&_inner_error_);
#line 707 "/home/lennart/projects/systemd/src/systemadm.vala"
		return;
#line 5715 "systemadm.c"
	}
}


void main_window_on_unit_new (MainWindow* self, const gchar* id, const char* path) {
	GError * _inner_error_ = NULL;
#line 733 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 733 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (id != NULL);
#line 733 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (path != NULL);
#line 5728 "systemadm.c"
	{
		GBusType _tmp0_ = 0;
		gboolean _tmp1_;
		GBusType _tmp2_;
		const char* _tmp3_;
		Properties* _tmp4_ = NULL;
		Properties* p;
		Properties* _tmp5_;
		GtkTreeIter iter = {0};
		GtkListStore* _tmp6_;
		GtkTreeIter _tmp7_ = {0};
		GBusType _tmp8_ = 0;
		gboolean _tmp9_;
		GBusType _tmp10_;
		const char* _tmp11_;
		Unit* _tmp12_ = NULL;
		Unit* u;
		GeeHashMap* _tmp13_;
		const gchar* _tmp14_;
		Unit* _tmp15_;
		GtkTreeIter _tmp16_;
		const gchar* _tmp17_;
		Unit* _tmp18_;
#line 737 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp1_ = user;
#line 737 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_tmp1_) {
#line 737 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp0_ = G_BUS_TYPE_SESSION;
#line 5758 "systemadm.c"
		} else {
#line 737 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp0_ = G_BUS_TYPE_SYSTEM;
#line 5762 "systemadm.c"
		}
#line 736 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp2_ = _tmp0_;
#line 736 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp3_ = path;
#line 736 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp4_ = g_initable_new (TYPE_PROPERTIES_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", "org.freedesktop.systemd1", "g-bus-type", _tmp2_, "g-object-path", (const gchar*) _tmp3_, "g-interface-name", "org.freedesktop.Properties", NULL);
#line 736 "/home/lennart/projects/systemd/src/systemadm.vala"
		p = (Properties*) _tmp4_;
#line 736 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_inner_error_ != NULL) {
#line 5774 "systemadm.c"
			goto __catch6_g_error;
		}
#line 741 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp5_ = p;
#line 741 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_signal_connect_object (_tmp5_, "properties-changed", (GCallback) _main_window_on_unit_changed_properties_properties_changed, self, 0);
#line 744 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp6_ = self->priv->unit_model;
#line 744 "/home/lennart/projects/systemd/src/systemadm.vala"
		gtk_list_store_append (_tmp6_, &_tmp7_);
#line 744 "/home/lennart/projects/systemd/src/systemadm.vala"
		iter = _tmp7_;
#line 747 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp9_ = user;
#line 747 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_tmp9_) {
#line 747 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp8_ = G_BUS_TYPE_SESSION;
#line 5793 "systemadm.c"
		} else {
#line 747 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp8_ = G_BUS_TYPE_SYSTEM;
#line 5797 "systemadm.c"
		}
#line 746 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp10_ = _tmp8_;
#line 746 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp11_ = path;
#line 746 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp12_ = g_initable_new (TYPE_UNIT_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", "org.freedesktop.systemd1", "g-bus-type", _tmp10_, "g-object-path", (const gchar*) _tmp11_, "g-interface-name", "org.freedesktop.systemd1.Unit", NULL);
#line 746 "/home/lennart/projects/systemd/src/systemadm.vala"
		u = (Unit*) _tmp12_;
#line 746 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_inner_error_ != NULL) {
#line 746 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (p);
#line 5811 "systemadm.c"
			goto __catch6_g_error;
		}
#line 751 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp13_ = self->priv->unit_map;
#line 751 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp14_ = id;
#line 751 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp15_ = u;
#line 751 "/home/lennart/projects/systemd/src/systemadm.vala"
		gee_abstract_map_set ((GeeAbstractMap*) _tmp13_, _tmp14_, _tmp15_);
#line 753 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp16_ = iter;
#line 753 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp17_ = id;
#line 753 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp18_ = u;
#line 753 "/home/lennart/projects/systemd/src/systemadm.vala"
		main_window_update_unit_iter (self, &_tmp16_, _tmp17_, _tmp18_);
#line 734 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_object_unref0 (u);
#line 734 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_object_unref0 (p);
#line 5834 "systemadm.c"
	}
	goto __finally6;
	__catch6_g_error:
	{
		GError* e = NULL;
		GError* _tmp19_;
		const gchar* _tmp20_;
#line 734 "/home/lennart/projects/systemd/src/systemadm.vala"
		e = _inner_error_;
#line 734 "/home/lennart/projects/systemd/src/systemadm.vala"
		_inner_error_ = NULL;
#line 755 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp19_ = e;
#line 755 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp20_ = _tmp19_->message;
#line 755 "/home/lennart/projects/systemd/src/systemadm.vala"
		main_window_show_error (self, _tmp20_);
#line 734 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_error_free0 (e);
#line 5854 "systemadm.c"
	}
	__finally6:
#line 734 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_inner_error_ != NULL) {
#line 734 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 734 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_clear_error (&_inner_error_);
#line 734 "/home/lennart/projects/systemd/src/systemadm.vala"
		return;
#line 5865 "systemadm.c"
	}
}


void main_window_update_job_iter (MainWindow* self, GtkTreeIter* iter, guint32 id, Job* j) {
	GtkListStore* _tmp0_;
	GtkTreeIter _tmp1_;
	guint32 _tmp2_;
	gchar* _tmp3_ = NULL;
	gchar* _tmp4_;
	Job* _tmp5_;
	JobUnitLink _tmp6_;
	JobUnitLink _tmp7_;
	JobUnitLink _tmp8_;
	const gchar* _tmp9_;
	Job* _tmp10_;
	gchar* _tmp11_;
	gchar* _tmp12_;
	gchar* _tmp13_;
	gchar* _tmp14_ = NULL;
	gchar* _tmp15_;
	Job* _tmp16_;
	gchar* _tmp17_;
	gchar* _tmp18_;
	gchar* _tmp19_;
	Job* _tmp20_;
	guint32 _tmp21_;
#line 759 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 759 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (iter != NULL);
#line 759 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (j != NULL);
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = self->priv->job_model;
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = *iter;
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp2_ = id;
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp3_ = g_strdup_printf ("%u", (guint) _tmp2_);
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp4_ = _tmp3_;
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp5_ = j;
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	job_get_unit (_tmp5_, &_tmp6_);
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp7_ = _tmp6_;
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp8_ = _tmp7_;
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp9_ = _tmp8_.id;
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp10_ = j;
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp11_ = job_get_job_type (_tmp10_);
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp12_ = _tmp11_;
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp13_ = _tmp12_;
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp14_ = g_strdup_printf ("→ %s", _tmp13_);
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp15_ = _tmp14_;
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp16_ = j;
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp17_ = job_get_state (_tmp16_);
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp18_ = _tmp17_;
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp19_ = _tmp18_;
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp20_ = j;
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp21_ = id;
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_list_store_set (_tmp0_, &_tmp1_, 0, _tmp4_, 1, _tmp9_, 2, _tmp15_, 3, _tmp19_, 4, _tmp20_, 5, _tmp21_, -1);
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp19_);
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp15_);
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp13_);
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	job_unit_link_destroy (&_tmp8_);
#line 760 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (_tmp4_);
#line 5955 "systemadm.c"
}


void main_window_on_job_new (MainWindow* self, guint32 id, const char* path) {
	GError * _inner_error_ = NULL;
#line 769 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 769 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (path != NULL);
#line 5965 "systemadm.c"
	{
		GBusType _tmp0_ = 0;
		gboolean _tmp1_;
		GBusType _tmp2_;
		const char* _tmp3_;
		Properties* _tmp4_ = NULL;
		Properties* p;
		Properties* _tmp5_;
		GtkTreeIter iter = {0};
		GtkListStore* _tmp6_;
		GtkTreeIter _tmp7_ = {0};
		GBusType _tmp8_ = 0;
		gboolean _tmp9_;
		GBusType _tmp10_;
		const char* _tmp11_;
		Job* _tmp12_ = NULL;
		Job* j;
		GtkTreeIter _tmp13_;
		guint32 _tmp14_;
		Job* _tmp15_;
#line 774 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp1_ = user;
#line 774 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_tmp1_) {
#line 774 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp0_ = G_BUS_TYPE_SESSION;
#line 5992 "systemadm.c"
		} else {
#line 774 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp0_ = G_BUS_TYPE_SYSTEM;
#line 5996 "systemadm.c"
		}
#line 773 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp2_ = _tmp0_;
#line 773 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp3_ = path;
#line 773 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp4_ = g_initable_new (TYPE_PROPERTIES_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", "org.freedesktop.systemd1", "g-bus-type", _tmp2_, "g-object-path", (const gchar*) _tmp3_, "g-interface-name", "org.freedesktop.Properties", NULL);
#line 773 "/home/lennart/projects/systemd/src/systemadm.vala"
		p = (Properties*) _tmp4_;
#line 773 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_inner_error_ != NULL) {
#line 6008 "systemadm.c"
			goto __catch7_g_error;
		}
#line 778 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp5_ = p;
#line 778 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_signal_connect_object (_tmp5_, "properties-changed", (GCallback) _main_window_on_job_changed_properties_properties_changed, self, 0);
#line 781 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp6_ = self->priv->job_model;
#line 781 "/home/lennart/projects/systemd/src/systemadm.vala"
		gtk_list_store_append (_tmp6_, &_tmp7_);
#line 781 "/home/lennart/projects/systemd/src/systemadm.vala"
		iter = _tmp7_;
#line 784 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp9_ = user;
#line 784 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_tmp9_) {
#line 784 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp8_ = G_BUS_TYPE_SESSION;
#line 6027 "systemadm.c"
		} else {
#line 784 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp8_ = G_BUS_TYPE_SYSTEM;
#line 6031 "systemadm.c"
		}
#line 783 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp10_ = _tmp8_;
#line 783 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp11_ = path;
#line 783 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp12_ = g_initable_new (TYPE_JOB_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", "org.freedesktop.systemd1", "g-bus-type", _tmp10_, "g-object-path", (const gchar*) _tmp11_, "g-interface-name", "org.freedesktop.systemd1.Job", NULL);
#line 783 "/home/lennart/projects/systemd/src/systemadm.vala"
		j = (Job*) _tmp12_;
#line 783 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_inner_error_ != NULL) {
#line 783 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (p);
#line 6045 "systemadm.c"
			goto __catch7_g_error;
		}
#line 788 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp13_ = iter;
#line 788 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp14_ = id;
#line 788 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp15_ = j;
#line 788 "/home/lennart/projects/systemd/src/systemadm.vala"
		main_window_update_job_iter (self, &_tmp13_, _tmp14_, _tmp15_);
#line 771 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_object_unref0 (j);
#line 771 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_object_unref0 (p);
#line 6060 "systemadm.c"
	}
	goto __finally7;
	__catch7_g_error:
	{
		GError* e = NULL;
		GError* _tmp16_;
		const gchar* _tmp17_;
#line 771 "/home/lennart/projects/systemd/src/systemadm.vala"
		e = _inner_error_;
#line 771 "/home/lennart/projects/systemd/src/systemadm.vala"
		_inner_error_ = NULL;
#line 791 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp16_ = e;
#line 791 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp17_ = _tmp16_->message;
#line 791 "/home/lennart/projects/systemd/src/systemadm.vala"
		main_window_show_error (self, _tmp17_);
#line 771 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_error_free0 (e);
#line 6080 "systemadm.c"
	}
	__finally7:
#line 771 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_inner_error_ != NULL) {
#line 771 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 771 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_clear_error (&_inner_error_);
#line 771 "/home/lennart/projects/systemd/src/systemadm.vala"
		return;
#line 6091 "systemadm.c"
	}
}


void main_window_on_unit_removed (MainWindow* self, const gchar* id, const char* path) {
	GtkTreeIter iter = {0};
	GtkListStore* _tmp0_;
	GtkTreeIter _tmp1_ = {0};
	gboolean _tmp2_ = FALSE;
	GeeHashMap* _tmp15_;
	const gchar* _tmp16_;
#line 795 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 795 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (id != NULL);
#line 795 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (path != NULL);
#line 797 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = self->priv->unit_model;
#line 797 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp2_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp0_, &_tmp1_);
#line 797 "/home/lennart/projects/systemd/src/systemadm.vala"
	iter = _tmp1_;
#line 797 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (!_tmp2_) {
#line 798 "/home/lennart/projects/systemd/src/systemadm.vala"
		return;
#line 6119 "systemadm.c"
	}
	{
		gboolean _tmp3_;
#line 800 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp3_ = TRUE;
#line 800 "/home/lennart/projects/systemd/src/systemadm.vala"
		while (TRUE) {
#line 6127 "systemadm.c"
			gboolean _tmp4_;
			gchar* name = NULL;
			GtkListStore* _tmp7_;
			GtkTreeIter _tmp8_;
			const gchar* _tmp9_;
			const gchar* _tmp10_;
#line 800 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp4_ = _tmp3_;
#line 800 "/home/lennart/projects/systemd/src/systemadm.vala"
			if (!_tmp4_) {
#line 6138 "systemadm.c"
				GtkListStore* _tmp5_;
				gboolean _tmp6_ = FALSE;
#line 813 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp5_ = self->priv->unit_model;
#line 813 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp6_ = gtk_tree_model_iter_next ((GtkTreeModel*) _tmp5_, &iter);
#line 813 "/home/lennart/projects/systemd/src/systemadm.vala"
				if (!_tmp6_) {
#line 813 "/home/lennart/projects/systemd/src/systemadm.vala"
					break;
#line 6149 "systemadm.c"
				}
			}
#line 800 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp3_ = FALSE;
#line 803 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp7_ = self->priv->unit_model;
#line 803 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp8_ = iter;
#line 803 "/home/lennart/projects/systemd/src/systemadm.vala"
			gtk_tree_model_get ((GtkTreeModel*) _tmp7_, &_tmp8_, 0, &name, -1);
#line 805 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp9_ = id;
#line 805 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp10_ = name;
#line 805 "/home/lennart/projects/systemd/src/systemadm.vala"
			if (g_strcmp0 (_tmp9_, _tmp10_) == 0) {
#line 6166 "systemadm.c"
				const gchar* _tmp11_;
				const gchar* _tmp12_;
				GtkListStore* _tmp13_;
				GtkTreeIter _tmp14_;
#line 806 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp11_ = self->priv->current_unit_id;
#line 806 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp12_ = name;
#line 806 "/home/lennart/projects/systemd/src/systemadm.vala"
				if (g_strcmp0 (_tmp11_, _tmp12_) == 0) {
#line 807 "/home/lennart/projects/systemd/src/systemadm.vala"
					main_window_clear_unit (self);
#line 6179 "systemadm.c"
				}
#line 809 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp13_ = self->priv->unit_model;
#line 809 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp14_ = iter;
#line 809 "/home/lennart/projects/systemd/src/systemadm.vala"
				gtk_list_store_remove (_tmp13_, &_tmp14_);
#line 810 "/home/lennart/projects/systemd/src/systemadm.vala"
				_g_free0 (name);
#line 810 "/home/lennart/projects/systemd/src/systemadm.vala"
				break;
#line 6191 "systemadm.c"
			}
#line 800 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (name);
#line 6195 "systemadm.c"
		}
	}
#line 815 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp15_ = self->priv->unit_map;
#line 815 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp16_ = id;
#line 815 "/home/lennart/projects/systemd/src/systemadm.vala"
	gee_abstract_map_unset ((GeeAbstractMap*) _tmp15_, _tmp16_, NULL);
#line 6204 "systemadm.c"
}


void main_window_on_job_removed (MainWindow* self, guint32 id, const char* path, const gchar* res) {
	GtkTreeIter iter = {0};
	GtkListStore* _tmp0_;
	GtkTreeIter _tmp1_ = {0};
	gboolean _tmp2_ = FALSE;
#line 818 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 818 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (path != NULL);
#line 818 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (res != NULL);
#line 820 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = self->priv->job_model;
#line 820 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp2_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp0_, &_tmp1_);
#line 820 "/home/lennart/projects/systemd/src/systemadm.vala"
	iter = _tmp1_;
#line 820 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (!_tmp2_) {
#line 821 "/home/lennart/projects/systemd/src/systemadm.vala"
		return;
#line 6229 "systemadm.c"
	}
	{
		gboolean _tmp3_;
#line 823 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp3_ = TRUE;
#line 823 "/home/lennart/projects/systemd/src/systemadm.vala"
		while (TRUE) {
#line 6237 "systemadm.c"
			gboolean _tmp4_;
			guint32 j = 0U;
			GtkListStore* _tmp7_;
			GtkTreeIter _tmp8_;
			guint32 _tmp9_;
			guint32 _tmp10_;
#line 823 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp4_ = _tmp3_;
#line 823 "/home/lennart/projects/systemd/src/systemadm.vala"
			if (!_tmp4_) {
#line 6248 "systemadm.c"
				GtkListStore* _tmp5_;
				gboolean _tmp6_ = FALSE;
#line 837 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp5_ = self->priv->job_model;
#line 837 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp6_ = gtk_tree_model_iter_next ((GtkTreeModel*) _tmp5_, &iter);
#line 837 "/home/lennart/projects/systemd/src/systemadm.vala"
				if (!_tmp6_) {
#line 837 "/home/lennart/projects/systemd/src/systemadm.vala"
					break;
#line 6259 "systemadm.c"
				}
			}
#line 823 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp3_ = FALSE;
#line 826 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp7_ = self->priv->job_model;
#line 826 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp8_ = iter;
#line 826 "/home/lennart/projects/systemd/src/systemadm.vala"
			gtk_tree_model_get ((GtkTreeModel*) _tmp7_, &_tmp8_, 5, &j, -1);
#line 828 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp9_ = id;
#line 828 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp10_ = j;
#line 828 "/home/lennart/projects/systemd/src/systemadm.vala"
			if (_tmp9_ == _tmp10_) {
#line 6276 "systemadm.c"
				guint32 _tmp11_;
				guint32 _tmp12_;
				GtkListStore* _tmp13_;
				GtkTreeIter _tmp14_;
#line 829 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp11_ = self->priv->current_job_id;
#line 829 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp12_ = j;
#line 829 "/home/lennart/projects/systemd/src/systemadm.vala"
				if (_tmp11_ == _tmp12_) {
#line 830 "/home/lennart/projects/systemd/src/systemadm.vala"
					main_window_clear_job (self);
#line 6289 "systemadm.c"
				}
#line 832 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp13_ = self->priv->job_model;
#line 832 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp14_ = iter;
#line 832 "/home/lennart/projects/systemd/src/systemadm.vala"
				gtk_list_store_remove (_tmp13_, &_tmp14_);
#line 834 "/home/lennart/projects/systemd/src/systemadm.vala"
				break;
#line 6299 "systemadm.c"
			}
		}
	}
}


void main_window_on_unit_changed (MainWindow* self, Properties* p, const gchar* iface, GHashTable* changed_properties, gchar** invalidated_properties, int invalidated_properties_length1) {
	GError * _inner_error_ = NULL;
#line 840 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 840 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (p != NULL);
#line 840 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (iface != NULL);
#line 840 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (changed_properties != NULL);
#line 6316 "systemadm.c"
	{
		GtkTreeIter iter = {0};
		gchar* id = NULL;
		GBusType _tmp0_ = 0;
		gboolean _tmp1_;
		GBusType _tmp2_;
		Properties* _tmp3_;
		const gchar* _tmp4_ = NULL;
		Properties* _tmp5_;
		const gchar* _tmp6_ = NULL;
		Unit* _tmp7_ = NULL;
		Unit* u;
		GtkListStore* _tmp8_;
		GtkTreeIter _tmp9_ = {0};
		gboolean _tmp10_ = FALSE;
		Unit* _tmp11_;
		gchar* _tmp12_;
		gchar* _tmp13_;
#line 847 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp1_ = user;
#line 847 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_tmp1_) {
#line 847 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp0_ = G_BUS_TYPE_SESSION;
#line 6341 "systemadm.c"
		} else {
#line 847 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp0_ = G_BUS_TYPE_SYSTEM;
#line 6345 "systemadm.c"
		}
#line 846 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp2_ = _tmp0_;
#line 846 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp3_ = p;
#line 846 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp4_ = g_dbus_proxy_get_name ((GDBusProxy*) _tmp3_);
#line 846 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp5_ = p;
#line 846 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp6_ = g_dbus_proxy_get_object_path ((GDBusProxy*) _tmp5_);
#line 846 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp7_ = g_initable_new (TYPE_UNIT_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", _tmp4_, "g-bus-type", _tmp2_, "g-object-path", _tmp6_, "g-interface-name", "org.freedesktop.systemd1.Unit", NULL);
#line 846 "/home/lennart/projects/systemd/src/systemadm.vala"
		u = (Unit*) _tmp7_;
#line 846 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_inner_error_ != NULL) {
#line 846 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (id);
#line 6365 "systemadm.c"
			goto __catch8_g_error;
		}
#line 851 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp8_ = self->priv->unit_model;
#line 851 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp10_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp8_, &_tmp9_);
#line 851 "/home/lennart/projects/systemd/src/systemadm.vala"
		iter = _tmp9_;
#line 851 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (!_tmp10_) {
#line 852 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (u);
#line 852 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (id);
#line 852 "/home/lennart/projects/systemd/src/systemadm.vala"
			return;
#line 6382 "systemadm.c"
		}
#line 854 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp11_ = u;
#line 854 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp12_ = unit_get_id (_tmp11_);
#line 854 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp13_ = _tmp12_;
#line 854 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (id);
#line 854 "/home/lennart/projects/systemd/src/systemadm.vala"
		id = _tmp13_;
#line 6394 "systemadm.c"
		{
			gboolean _tmp14_;
#line 856 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp14_ = TRUE;
#line 856 "/home/lennart/projects/systemd/src/systemadm.vala"
			while (TRUE) {
#line 6401 "systemadm.c"
				gboolean _tmp15_;
				gchar* name = NULL;
				GtkListStore* _tmp18_;
				GtkTreeIter _tmp19_;
				const gchar* _tmp20_;
				const gchar* _tmp21_;
#line 856 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp15_ = _tmp14_;
#line 856 "/home/lennart/projects/systemd/src/systemadm.vala"
				if (!_tmp15_) {
#line 6412 "systemadm.c"
					GtkListStore* _tmp16_;
					gboolean _tmp17_ = FALSE;
#line 870 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp16_ = self->priv->unit_model;
#line 870 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp17_ = gtk_tree_model_iter_next ((GtkTreeModel*) _tmp16_, &iter);
#line 870 "/home/lennart/projects/systemd/src/systemadm.vala"
					if (!_tmp17_) {
#line 870 "/home/lennart/projects/systemd/src/systemadm.vala"
						break;
#line 6423 "systemadm.c"
					}
				}
#line 856 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp14_ = FALSE;
#line 859 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp18_ = self->priv->unit_model;
#line 859 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp19_ = iter;
#line 859 "/home/lennart/projects/systemd/src/systemadm.vala"
				gtk_tree_model_get ((GtkTreeModel*) _tmp18_, &_tmp19_, 0, &name, -1);
#line 861 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp20_ = id;
#line 861 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp21_ = name;
#line 861 "/home/lennart/projects/systemd/src/systemadm.vala"
				if (g_strcmp0 (_tmp20_, _tmp21_) == 0) {
#line 6440 "systemadm.c"
					GtkTreeIter _tmp22_;
					const gchar* _tmp23_;
					Unit* _tmp24_;
					const gchar* _tmp25_;
					const gchar* _tmp26_;
#line 862 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp22_ = iter;
#line 862 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp23_ = id;
#line 862 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp24_ = u;
#line 862 "/home/lennart/projects/systemd/src/systemadm.vala"
					main_window_update_unit_iter (self, &_tmp22_, _tmp23_, _tmp24_);
#line 864 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp25_ = self->priv->current_unit_id;
#line 864 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp26_ = id;
#line 864 "/home/lennart/projects/systemd/src/systemadm.vala"
					if (g_strcmp0 (_tmp25_, _tmp26_) == 0) {
#line 6460 "systemadm.c"
						Unit* _tmp27_;
#line 865 "/home/lennart/projects/systemd/src/systemadm.vala"
						_tmp27_ = u;
#line 865 "/home/lennart/projects/systemd/src/systemadm.vala"
						main_window_show_unit (self, _tmp27_);
#line 6466 "systemadm.c"
					}
#line 867 "/home/lennart/projects/systemd/src/systemadm.vala"
					_g_free0 (name);
#line 867 "/home/lennart/projects/systemd/src/systemadm.vala"
					break;
#line 6472 "systemadm.c"
				}
#line 856 "/home/lennart/projects/systemd/src/systemadm.vala"
				_g_free0 (name);
#line 6476 "systemadm.c"
			}
		}
#line 842 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_object_unref0 (u);
#line 842 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (id);
#line 6483 "systemadm.c"
	}
	goto __finally8;
	__catch8_g_error:
	{
		GError* e = NULL;
		GError* _tmp28_;
		const gchar* _tmp29_;
#line 842 "/home/lennart/projects/systemd/src/systemadm.vala"
		e = _inner_error_;
#line 842 "/home/lennart/projects/systemd/src/systemadm.vala"
		_inner_error_ = NULL;
#line 873 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp28_ = e;
#line 873 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp29_ = _tmp28_->message;
#line 873 "/home/lennart/projects/systemd/src/systemadm.vala"
		main_window_show_error (self, _tmp29_);
#line 842 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_error_free0 (e);
#line 6503 "systemadm.c"
	}
	__finally8:
#line 842 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_inner_error_ != NULL) {
#line 842 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 842 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_clear_error (&_inner_error_);
#line 842 "/home/lennart/projects/systemd/src/systemadm.vala"
		return;
#line 6514 "systemadm.c"
	}
}


void main_window_on_job_changed (MainWindow* self, Properties* p, const gchar* iface, GHashTable* changed_properties, gchar** invalidated_properties, int invalidated_properties_length1) {
	GError * _inner_error_ = NULL;
#line 877 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 877 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (p != NULL);
#line 877 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (iface != NULL);
#line 877 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (changed_properties != NULL);
#line 6529 "systemadm.c"
	{
		GtkTreeIter iter = {0};
		guint32 id = 0U;
		GBusType _tmp0_ = 0;
		gboolean _tmp1_;
		GBusType _tmp2_;
		Properties* _tmp3_;
		const gchar* _tmp4_ = NULL;
		Properties* _tmp5_;
		const gchar* _tmp6_ = NULL;
		Job* _tmp7_ = NULL;
		Job* j;
		GtkListStore* _tmp8_;
		GtkTreeIter _tmp9_ = {0};
		gboolean _tmp10_ = FALSE;
		Job* _tmp11_;
		guint32 _tmp12_;
		guint32 _tmp13_;
#line 883 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp1_ = user;
#line 883 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_tmp1_) {
#line 883 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp0_ = G_BUS_TYPE_SESSION;
#line 6554 "systemadm.c"
		} else {
#line 883 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp0_ = G_BUS_TYPE_SYSTEM;
#line 6558 "systemadm.c"
		}
#line 882 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp2_ = _tmp0_;
#line 882 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp3_ = p;
#line 882 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp4_ = g_dbus_proxy_get_name ((GDBusProxy*) _tmp3_);
#line 882 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp5_ = p;
#line 882 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp6_ = g_dbus_proxy_get_object_path ((GDBusProxy*) _tmp5_);
#line 882 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp7_ = g_initable_new (TYPE_JOB_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", _tmp4_, "g-bus-type", _tmp2_, "g-object-path", _tmp6_, "g-interface-name", "org.freedesktop.systemd1.Job", NULL);
#line 882 "/home/lennart/projects/systemd/src/systemadm.vala"
		j = (Job*) _tmp7_;
#line 882 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_inner_error_ != NULL) {
#line 6576 "systemadm.c"
			goto __catch9_g_error;
		}
#line 887 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp8_ = self->priv->job_model;
#line 887 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp10_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp8_, &_tmp9_);
#line 887 "/home/lennart/projects/systemd/src/systemadm.vala"
		iter = _tmp9_;
#line 887 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (!_tmp10_) {
#line 888 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_object_unref0 (j);
#line 888 "/home/lennart/projects/systemd/src/systemadm.vala"
			return;
#line 6591 "systemadm.c"
		}
#line 890 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp11_ = j;
#line 890 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp12_ = job_get_id (_tmp11_);
#line 890 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp13_ = _tmp12_;
#line 890 "/home/lennart/projects/systemd/src/systemadm.vala"
		id = _tmp13_;
#line 6601 "systemadm.c"
		{
			gboolean _tmp14_;
#line 892 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp14_ = TRUE;
#line 892 "/home/lennart/projects/systemd/src/systemadm.vala"
			while (TRUE) {
#line 6608 "systemadm.c"
				gboolean _tmp15_;
				guint32 k = 0U;
				GtkListStore* _tmp18_;
				GtkTreeIter _tmp19_;
				guint32 _tmp20_;
				guint32 _tmp21_;
#line 892 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp15_ = _tmp14_;
#line 892 "/home/lennart/projects/systemd/src/systemadm.vala"
				if (!_tmp15_) {
#line 6619 "systemadm.c"
					GtkListStore* _tmp16_;
					gboolean _tmp17_ = FALSE;
#line 906 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp16_ = self->priv->job_model;
#line 906 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp17_ = gtk_tree_model_iter_next ((GtkTreeModel*) _tmp16_, &iter);
#line 906 "/home/lennart/projects/systemd/src/systemadm.vala"
					if (!_tmp17_) {
#line 906 "/home/lennart/projects/systemd/src/systemadm.vala"
						break;
#line 6630 "systemadm.c"
					}
				}
#line 892 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp14_ = FALSE;
#line 895 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp18_ = self->priv->job_model;
#line 895 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp19_ = iter;
#line 895 "/home/lennart/projects/systemd/src/systemadm.vala"
				gtk_tree_model_get ((GtkTreeModel*) _tmp18_, &_tmp19_, 5, &k, -1);
#line 897 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp20_ = id;
#line 897 "/home/lennart/projects/systemd/src/systemadm.vala"
				_tmp21_ = k;
#line 897 "/home/lennart/projects/systemd/src/systemadm.vala"
				if (_tmp20_ == _tmp21_) {
#line 6647 "systemadm.c"
					GtkTreeIter _tmp22_;
					guint32 _tmp23_;
					Job* _tmp24_;
					guint32 _tmp25_;
					guint32 _tmp26_;
#line 898 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp22_ = iter;
#line 898 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp23_ = id;
#line 898 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp24_ = j;
#line 898 "/home/lennart/projects/systemd/src/systemadm.vala"
					main_window_update_job_iter (self, &_tmp22_, _tmp23_, _tmp24_);
#line 900 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp25_ = self->priv->current_job_id;
#line 900 "/home/lennart/projects/systemd/src/systemadm.vala"
					_tmp26_ = id;
#line 900 "/home/lennart/projects/systemd/src/systemadm.vala"
					if (_tmp25_ == _tmp26_) {
#line 6667 "systemadm.c"
						Job* _tmp27_;
#line 901 "/home/lennart/projects/systemd/src/systemadm.vala"
						_tmp27_ = j;
#line 901 "/home/lennart/projects/systemd/src/systemadm.vala"
						main_window_show_job (self, _tmp27_);
#line 6673 "systemadm.c"
					}
#line 903 "/home/lennart/projects/systemd/src/systemadm.vala"
					break;
#line 6677 "systemadm.c"
				}
			}
		}
#line 878 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_object_unref0 (j);
#line 6683 "systemadm.c"
	}
	goto __finally9;
	__catch9_g_error:
	{
		GError* e = NULL;
		GError* _tmp28_;
		const gchar* _tmp29_;
#line 878 "/home/lennart/projects/systemd/src/systemadm.vala"
		e = _inner_error_;
#line 878 "/home/lennart/projects/systemd/src/systemadm.vala"
		_inner_error_ = NULL;
#line 909 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp28_ = e;
#line 909 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp29_ = _tmp28_->message;
#line 909 "/home/lennart/projects/systemd/src/systemadm.vala"
		main_window_show_error (self, _tmp29_);
#line 878 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_error_free0 (e);
#line 6703 "systemadm.c"
	}
	__finally9:
#line 878 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_inner_error_ != NULL) {
#line 878 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 878 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_clear_error (&_inner_error_);
#line 878 "/home/lennart/projects/systemd/src/systemadm.vala"
		return;
#line 6714 "systemadm.c"
	}
}


gboolean main_window_unit_filter (MainWindow* self, GtkTreeModel* model, GtkTreeIter* iter) {
	gboolean result = FALSE;
	gchar* id = NULL;
	gchar* active_state = NULL;
	gchar* job = NULL;
	GtkTreeModel* _tmp0_;
	GtkTreeIter _tmp1_;
	const gchar* _tmp2_;
	gboolean _tmp3_ = FALSE;
	gboolean _tmp4_ = FALSE;
	GtkCheckButton* _tmp5_;
	gboolean _tmp6_ = FALSE;
	gboolean _tmp8_;
	gboolean _tmp10_;
	GtkComboBox* _tmp11_;
	gint _tmp12_ = 0;
#line 913 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 913 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_val_if_fail (model != NULL, FALSE);
#line 913 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_val_if_fail (iter != NULL, FALSE);
#line 916 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = model;
#line 916 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = *iter;
#line 916 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_tree_model_get (_tmp0_, &_tmp1_, 0, &id, 3, &active_state, 5, &job, -1);
#line 918 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp2_ = id;
#line 918 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp2_ == NULL) {
#line 919 "/home/lennart/projects/systemd/src/systemadm.vala"
		result = FALSE;
#line 919 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (job);
#line 919 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (active_state);
#line 919 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (id);
#line 919 "/home/lennart/projects/systemd/src/systemadm.vala"
		return result;
#line 6761 "systemadm.c"
	}
#line 921 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp5_ = self->priv->inactive_checkbox;
#line 921 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp6_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp5_);
#line 921 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (!_tmp6_) {
#line 6769 "systemadm.c"
		const gchar* _tmp7_;
#line 922 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp7_ = active_state;
#line 922 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp4_ = g_strcmp0 (_tmp7_, "inactive") == 0;
#line 6775 "systemadm.c"
	} else {
#line 921 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp4_ = FALSE;
#line 6779 "systemadm.c"
	}
#line 921 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp8_ = _tmp4_;
#line 921 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp8_) {
#line 6785 "systemadm.c"
		const gchar* _tmp9_;
#line 922 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp9_ = job;
#line 922 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp3_ = g_strcmp0 (_tmp9_, "") == 0;
#line 6791 "systemadm.c"
	} else {
#line 921 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp3_ = FALSE;
#line 6795 "systemadm.c"
	}
#line 921 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp10_ = _tmp3_;
#line 921 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_tmp10_) {
#line 923 "/home/lennart/projects/systemd/src/systemadm.vala"
		result = FALSE;
#line 923 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (job);
#line 923 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (active_state);
#line 923 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (id);
#line 923 "/home/lennart/projects/systemd/src/systemadm.vala"
		return result;
#line 6811 "systemadm.c"
	}
#line 925 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp11_ = self->priv->unit_type_combo_box;
#line 925 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp12_ = gtk_combo_box_get_active (_tmp11_);
#line 925 "/home/lennart/projects/systemd/src/systemadm.vala"
	switch (_tmp12_) {
#line 925 "/home/lennart/projects/systemd/src/systemadm.vala"
		case 0:
#line 6821 "systemadm.c"
		{
#line 927 "/home/lennart/projects/systemd/src/systemadm.vala"
			result = TRUE;
#line 927 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (job);
#line 927 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (active_state);
#line 927 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (id);
#line 927 "/home/lennart/projects/systemd/src/systemadm.vala"
			return result;
#line 6833 "systemadm.c"
		}
#line 925 "/home/lennart/projects/systemd/src/systemadm.vala"
		case 1:
#line 6837 "systemadm.c"
		{
			const gchar* _tmp13_;
			gboolean _tmp14_ = FALSE;
#line 929 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp13_ = id;
#line 929 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp14_ = g_str_has_suffix (_tmp13_, ".target");
#line 929 "/home/lennart/projects/systemd/src/systemadm.vala"
			result = _tmp14_;
#line 929 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (job);
#line 929 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (active_state);
#line 929 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (id);
#line 929 "/home/lennart/projects/systemd/src/systemadm.vala"
			return result;
#line 6855 "systemadm.c"
		}
#line 925 "/home/lennart/projects/systemd/src/systemadm.vala"
		case 2:
#line 6859 "systemadm.c"
		{
			const gchar* _tmp15_;
			gboolean _tmp16_ = FALSE;
#line 931 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp15_ = id;
#line 931 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp16_ = g_str_has_suffix (_tmp15_, ".service");
#line 931 "/home/lennart/projects/systemd/src/systemadm.vala"
			result = _tmp16_;
#line 931 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (job);
#line 931 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (active_state);
#line 931 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (id);
#line 931 "/home/lennart/projects/systemd/src/systemadm.vala"
			return result;
#line 6877 "systemadm.c"
		}
#line 925 "/home/lennart/projects/systemd/src/systemadm.vala"
		case 3:
#line 6881 "systemadm.c"
		{
			const gchar* _tmp17_;
			gboolean _tmp18_ = FALSE;
#line 933 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp17_ = id;
#line 933 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp18_ = g_str_has_suffix (_tmp17_, ".device");
#line 933 "/home/lennart/projects/systemd/src/systemadm.vala"
			result = _tmp18_;
#line 933 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (job);
#line 933 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (active_state);
#line 933 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (id);
#line 933 "/home/lennart/projects/systemd/src/systemadm.vala"
			return result;
#line 6899 "systemadm.c"
		}
#line 925 "/home/lennart/projects/systemd/src/systemadm.vala"
		case 4:
#line 6903 "systemadm.c"
		{
			const gchar* _tmp19_;
			gboolean _tmp20_ = FALSE;
#line 935 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp19_ = id;
#line 935 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp20_ = g_str_has_suffix (_tmp19_, ".mount");
#line 935 "/home/lennart/projects/systemd/src/systemadm.vala"
			result = _tmp20_;
#line 935 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (job);
#line 935 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (active_state);
#line 935 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (id);
#line 935 "/home/lennart/projects/systemd/src/systemadm.vala"
			return result;
#line 6921 "systemadm.c"
		}
#line 925 "/home/lennart/projects/systemd/src/systemadm.vala"
		case 5:
#line 6925 "systemadm.c"
		{
			const gchar* _tmp21_;
			gboolean _tmp22_ = FALSE;
#line 937 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp21_ = id;
#line 937 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp22_ = g_str_has_suffix (_tmp21_, ".automount");
#line 937 "/home/lennart/projects/systemd/src/systemadm.vala"
			result = _tmp22_;
#line 937 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (job);
#line 937 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (active_state);
#line 937 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (id);
#line 937 "/home/lennart/projects/systemd/src/systemadm.vala"
			return result;
#line 6943 "systemadm.c"
		}
#line 925 "/home/lennart/projects/systemd/src/systemadm.vala"
		case 6:
#line 6947 "systemadm.c"
		{
			const gchar* _tmp23_;
			gboolean _tmp24_ = FALSE;
#line 939 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp23_ = id;
#line 939 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp24_ = g_str_has_suffix (_tmp23_, ".swap");
#line 939 "/home/lennart/projects/systemd/src/systemadm.vala"
			result = _tmp24_;
#line 939 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (job);
#line 939 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (active_state);
#line 939 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (id);
#line 939 "/home/lennart/projects/systemd/src/systemadm.vala"
			return result;
#line 6965 "systemadm.c"
		}
#line 925 "/home/lennart/projects/systemd/src/systemadm.vala"
		case 7:
#line 6969 "systemadm.c"
		{
			const gchar* _tmp25_;
			gboolean _tmp26_ = FALSE;
#line 941 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp25_ = id;
#line 941 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp26_ = g_str_has_suffix (_tmp25_, ".socket");
#line 941 "/home/lennart/projects/systemd/src/systemadm.vala"
			result = _tmp26_;
#line 941 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (job);
#line 941 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (active_state);
#line 941 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (id);
#line 941 "/home/lennart/projects/systemd/src/systemadm.vala"
			return result;
#line 6987 "systemadm.c"
		}
#line 925 "/home/lennart/projects/systemd/src/systemadm.vala"
		case 8:
#line 6991 "systemadm.c"
		{
			const gchar* _tmp27_;
			gboolean _tmp28_ = FALSE;
#line 943 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp27_ = id;
#line 943 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp28_ = g_str_has_suffix (_tmp27_, ".path");
#line 943 "/home/lennart/projects/systemd/src/systemadm.vala"
			result = _tmp28_;
#line 943 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (job);
#line 943 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (active_state);
#line 943 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (id);
#line 943 "/home/lennart/projects/systemd/src/systemadm.vala"
			return result;
#line 7009 "systemadm.c"
		}
#line 925 "/home/lennart/projects/systemd/src/systemadm.vala"
		case 9:
#line 7013 "systemadm.c"
		{
			const gchar* _tmp29_;
			gboolean _tmp30_ = FALSE;
#line 945 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp29_ = id;
#line 945 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp30_ = g_str_has_suffix (_tmp29_, ".timer");
#line 945 "/home/lennart/projects/systemd/src/systemadm.vala"
			result = _tmp30_;
#line 945 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (job);
#line 945 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (active_state);
#line 945 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (id);
#line 945 "/home/lennart/projects/systemd/src/systemadm.vala"
			return result;
#line 7031 "systemadm.c"
		}
#line 925 "/home/lennart/projects/systemd/src/systemadm.vala"
		case 10:
#line 7035 "systemadm.c"
		{
			const gchar* _tmp31_;
			gboolean _tmp32_ = FALSE;
#line 947 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp31_ = id;
#line 947 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp32_ = g_str_has_suffix (_tmp31_, ".snapshot");
#line 947 "/home/lennart/projects/systemd/src/systemadm.vala"
			result = _tmp32_;
#line 947 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (job);
#line 947 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (active_state);
#line 947 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (id);
#line 947 "/home/lennart/projects/systemd/src/systemadm.vala"
			return result;
#line 7053 "systemadm.c"
		}
		default:
		{
#line 949 "/home/lennart/projects/systemd/src/systemadm.vala"
			g_assert (FALSE);
#line 950 "/home/lennart/projects/systemd/src/systemadm.vala"
			result = FALSE;
#line 950 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (job);
#line 950 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (active_state);
#line 950 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (id);
#line 950 "/home/lennart/projects/systemd/src/systemadm.vala"
			return result;
#line 7069 "systemadm.c"
		}
	}
#line 913 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (job);
#line 913 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (active_state);
#line 913 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (id);
#line 7078 "systemadm.c"
}


void main_window_unit_type_changed (MainWindow* self) {
	GtkTreeView* _tmp0_;
	GtkTreeModel* _tmp1_ = NULL;
	GtkTreeModel* _tmp2_ = NULL;
	GtkTreeModelFilter* _tmp3_;
	GtkTreeModelFilter* model;
#line 954 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 955 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = self->priv->unit_view;
#line 955 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = gtk_tree_view_get_model (_tmp0_);
#line 955 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp2_ = gtk_tree_model_sort_get_model (GTK_TREE_MODEL_SORT (_tmp1_));
#line 955 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp3_ = _g_object_ref0 (GTK_TREE_MODEL_FILTER (_tmp2_));
#line 955 "/home/lennart/projects/systemd/src/systemadm.vala"
	model = _tmp3_;
#line 957 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_tree_model_filter_refilter (model);
#line 954 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (model);
#line 7104 "systemadm.c"
}


void main_window_on_server_reload (MainWindow* self) {
	GError * _inner_error_ = NULL;
#line 960 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 7112 "systemadm.c"
	{
		Manager* _tmp0_;
#line 962 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp0_ = self->priv->manager;
#line 962 "/home/lennart/projects/systemd/src/systemadm.vala"
		manager_reload (_tmp0_, &_inner_error_);
#line 962 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_inner_error_ != NULL) {
#line 7121 "systemadm.c"
			goto __catch10_g_error;
		}
	}
	goto __finally10;
	__catch10_g_error:
	{
		GError* e = NULL;
		GError* _tmp1_;
		const gchar* _tmp2_;
#line 961 "/home/lennart/projects/systemd/src/systemadm.vala"
		e = _inner_error_;
#line 961 "/home/lennart/projects/systemd/src/systemadm.vala"
		_inner_error_ = NULL;
#line 964 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp1_ = e;
#line 964 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp2_ = _tmp1_->message;
#line 964 "/home/lennart/projects/systemd/src/systemadm.vala"
		main_window_show_error (self, _tmp2_);
#line 961 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_error_free0 (e);
#line 7143 "systemadm.c"
	}
	__finally10:
#line 961 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_inner_error_ != NULL) {
#line 961 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 961 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_clear_error (&_inner_error_);
#line 961 "/home/lennart/projects/systemd/src/systemadm.vala"
		return;
#line 7154 "systemadm.c"
	}
}


void main_window_on_server_snapshot (MainWindow* self) {
	GError * _inner_error_ = NULL;
#line 968 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 7163 "systemadm.c"
	{
		Manager* _tmp0_;
		char* _tmp1_ = NULL;
		char* _tmp2_;
		GtkComboBox* _tmp3_;
		gint _tmp4_ = 0;
#line 970 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp0_ = self->priv->manager;
#line 970 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp1_ = manager_create_snapshot (_tmp0_, "", FALSE, &_inner_error_);
#line 970 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp2_ = _tmp1_;
#line 970 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (_tmp2_);
#line 970 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_inner_error_ != NULL) {
#line 7180 "systemadm.c"
			goto __catch11_g_error;
		}
#line 972 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp3_ = self->priv->unit_type_combo_box;
#line 972 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp4_ = gtk_combo_box_get_active (_tmp3_);
#line 972 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_tmp4_ != 0) {
#line 7189 "systemadm.c"
			GtkComboBox* _tmp5_;
#line 973 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp5_ = self->priv->unit_type_combo_box;
#line 973 "/home/lennart/projects/systemd/src/systemadm.vala"
			gtk_combo_box_set_active (_tmp5_, 8);
#line 7195 "systemadm.c"
		}
	}
	goto __finally11;
	__catch11_g_error:
	{
		GError* e = NULL;
		GError* _tmp6_;
		const gchar* _tmp7_;
#line 969 "/home/lennart/projects/systemd/src/systemadm.vala"
		e = _inner_error_;
#line 969 "/home/lennart/projects/systemd/src/systemadm.vala"
		_inner_error_ = NULL;
#line 976 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp6_ = e;
#line 976 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp7_ = _tmp6_->message;
#line 976 "/home/lennart/projects/systemd/src/systemadm.vala"
		main_window_show_error (self, _tmp7_);
#line 969 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_error_free0 (e);
#line 7216 "systemadm.c"
	}
	__finally11:
#line 969 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_inner_error_ != NULL) {
#line 969 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 969 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_clear_error (&_inner_error_);
#line 969 "/home/lennart/projects/systemd/src/systemadm.vala"
		return;
#line 7227 "systemadm.c"
	}
}


void main_window_on_unit_load (MainWindow* self) {
	GtkEntry* _tmp0_;
	const gchar* _tmp1_ = NULL;
	gchar* _tmp2_;
	gchar* t;
	const gchar* _tmp3_;
	GError * _inner_error_ = NULL;
#line 980 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 981 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = self->priv->unit_load_entry;
#line 981 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = gtk_entry_get_text (_tmp0_);
#line 981 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 981 "/home/lennart/projects/systemd/src/systemadm.vala"
	t = _tmp2_;
#line 983 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp3_ = t;
#line 983 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (g_strcmp0 (_tmp3_, "") == 0) {
#line 984 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (t);
#line 984 "/home/lennart/projects/systemd/src/systemadm.vala"
		return;
#line 7257 "systemadm.c"
	}
	{
		Manager* _tmp4_;
		const gchar* _tmp5_;
		char* _tmp6_ = NULL;
		char* path;
		GBusType _tmp7_ = 0;
		gboolean _tmp8_;
		GBusType _tmp9_;
		const char* _tmp10_;
		Unit* _tmp11_ = NULL;
		Unit* u;
		Unit* _tmp12_;
		gchar* _tmp13_;
		gchar* _tmp14_;
		gchar* _tmp15_;
		GtkMessageDialog* _tmp16_;
		GtkMessageDialog* _tmp17_;
		GtkMessageDialog* _tmp18_;
		GtkMessageDialog* m;
		GtkMessageDialog* _tmp19_;
		GtkMessageDialog* _tmp20_;
		GtkMessageDialog* _tmp21_;
		Unit* _tmp22_;
#line 987 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp4_ = self->priv->manager;
#line 987 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp5_ = t;
#line 987 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp6_ = manager_load_unit (_tmp4_, _tmp5_, &_inner_error_);
#line 987 "/home/lennart/projects/systemd/src/systemadm.vala"
		path = _tmp6_;
#line 987 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_inner_error_ != NULL) {
#line 7292 "systemadm.c"
			goto __catch12_g_error;
		}
#line 990 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp8_ = user;
#line 990 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_tmp8_) {
#line 990 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp7_ = G_BUS_TYPE_SESSION;
#line 7301 "systemadm.c"
		} else {
#line 990 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp7_ = G_BUS_TYPE_SYSTEM;
#line 7305 "systemadm.c"
		}
#line 989 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp9_ = _tmp7_;
#line 989 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp10_ = path;
#line 989 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp11_ = g_initable_new (TYPE_UNIT_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", "org.freedesktop.systemd1", "g-bus-type", _tmp9_, "g-object-path", (const gchar*) _tmp10_, "g-interface-name", "org.freedesktop.systemd1.Unit", NULL);
#line 989 "/home/lennart/projects/systemd/src/systemadm.vala"
		u = (Unit*) _tmp11_;
#line 989 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_inner_error_ != NULL) {
#line 989 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (path);
#line 7319 "systemadm.c"
			goto __catch12_g_error;
		}
#line 994 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp12_ = u;
#line 994 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp13_ = unit_get_id (_tmp12_);
#line 994 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp14_ = _tmp13_;
#line 994 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp15_ = _tmp14_;
#line 994 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp16_ = (GtkMessageDialog*) gtk_message_dialog_new ((GtkWindow*) self, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, "Unit available as id %s", _tmp15_);
#line 994 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp17_ = g_object_ref_sink (_tmp16_);
#line 994 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp18_ = _tmp17_;
#line 994 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (_tmp15_);
#line 994 "/home/lennart/projects/systemd/src/systemadm.vala"
		m = _tmp18_;
#line 999 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp19_ = m;
#line 999 "/home/lennart/projects/systemd/src/systemadm.vala"
		gtk_window_set_title ((GtkWindow*) _tmp19_, "Unit");
#line 1000 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp20_ = m;
#line 1000 "/home/lennart/projects/systemd/src/systemadm.vala"
		gtk_dialog_run ((GtkDialog*) _tmp20_);
#line 1001 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp21_ = m;
#line 1001 "/home/lennart/projects/systemd/src/systemadm.vala"
		gtk_object_destroy ((GtkObject*) _tmp21_);
#line 1003 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp22_ = u;
#line 1003 "/home/lennart/projects/systemd/src/systemadm.vala"
		main_window_show_unit (self, _tmp22_);
#line 986 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_object_unref0 (m);
#line 986 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_object_unref0 (u);
#line 986 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (path);
#line 7362 "systemadm.c"
	}
	goto __finally12;
	__catch12_g_error:
	{
		GError* e = NULL;
		GError* _tmp23_;
		const gchar* _tmp24_;
#line 986 "/home/lennart/projects/systemd/src/systemadm.vala"
		e = _inner_error_;
#line 986 "/home/lennart/projects/systemd/src/systemadm.vala"
		_inner_error_ = NULL;
#line 1005 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp23_ = e;
#line 1005 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp24_ = _tmp23_->message;
#line 1005 "/home/lennart/projects/systemd/src/systemadm.vala"
		main_window_show_error (self, _tmp24_);
#line 986 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_error_free0 (e);
#line 7382 "systemadm.c"
	}
	__finally12:
#line 986 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_inner_error_ != NULL) {
#line 986 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (t);
#line 986 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 986 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_clear_error (&_inner_error_);
#line 986 "/home/lennart/projects/systemd/src/systemadm.vala"
		return;
#line 7395 "systemadm.c"
	}
#line 980 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (t);
#line 7399 "systemadm.c"
}


void main_window_on_unit_load_entry_changed (MainWindow* self) {
	GtkButton* _tmp0_;
	GtkEntry* _tmp1_;
	const gchar* _tmp2_ = NULL;
#line 1009 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 1010 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = self->priv->unit_load_button;
#line 1010 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = self->priv->unit_load_entry;
#line 1010 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp2_ = gtk_entry_get_text (_tmp1_);
#line 1010 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp0_, g_strcmp0 (_tmp2_, "") != 0);
#line 7417 "systemadm.c"
}


gboolean main_window_on_activate_link (MainWindow* self, const gchar* uri) {
	gboolean result = FALSE;
	GError * _inner_error_ = NULL;
#line 1013 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 1013 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_val_if_fail (uri != NULL, FALSE);
#line 7428 "systemadm.c"
	{
		Manager* _tmp0_;
		const gchar* _tmp1_;
		char* _tmp2_ = NULL;
		gchar* path;
		GBusType _tmp3_ = 0;
		gboolean _tmp4_;
		GBusType _tmp5_;
		const gchar* _tmp6_;
		Unit* _tmp7_ = NULL;
		Unit* u;
		Unit* _tmp8_;
#line 1016 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp0_ = self->priv->manager;
#line 1016 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp1_ = uri;
#line 1016 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp2_ = manager_get_unit (_tmp0_, _tmp1_, &_inner_error_);
#line 1016 "/home/lennart/projects/systemd/src/systemadm.vala"
		path = (gchar*) _tmp2_;
#line 1016 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_inner_error_ != NULL) {
#line 7451 "systemadm.c"
			goto __catch13_g_error;
		}
#line 1019 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp4_ = user;
#line 1019 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_tmp4_) {
#line 1019 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp3_ = G_BUS_TYPE_SESSION;
#line 7460 "systemadm.c"
		} else {
#line 1019 "/home/lennart/projects/systemd/src/systemadm.vala"
			_tmp3_ = G_BUS_TYPE_SYSTEM;
#line 7464 "systemadm.c"
		}
#line 1018 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp5_ = _tmp3_;
#line 1018 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp6_ = path;
#line 1018 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp7_ = g_initable_new (TYPE_UNIT_PROXY, NULL, &_inner_error_, "g-flags", 0, "g-name", "org.freedesktop.systemd1", "g-bus-type", _tmp5_, "g-object-path", _tmp6_, "g-interface-name", "org.freedesktop.systemd1.Unit", NULL);
#line 1018 "/home/lennart/projects/systemd/src/systemadm.vala"
		u = (Unit*) _tmp7_;
#line 1018 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_inner_error_ != NULL) {
#line 1018 "/home/lennart/projects/systemd/src/systemadm.vala"
			_g_free0 (path);
#line 7478 "systemadm.c"
			goto __catch13_g_error;
		}
#line 1023 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp8_ = u;
#line 1023 "/home/lennart/projects/systemd/src/systemadm.vala"
		main_window_show_unit (self, _tmp8_);
#line 1015 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_object_unref0 (u);
#line 1015 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_free0 (path);
#line 7489 "systemadm.c"
	}
	goto __finally13;
	__catch13_g_error:
	{
		GError* e = NULL;
		GError* _tmp9_;
		const gchar* _tmp10_;
#line 1015 "/home/lennart/projects/systemd/src/systemadm.vala"
		e = _inner_error_;
#line 1015 "/home/lennart/projects/systemd/src/systemadm.vala"
		_inner_error_ = NULL;
#line 1025 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp9_ = e;
#line 1025 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp10_ = _tmp9_->message;
#line 1025 "/home/lennart/projects/systemd/src/systemadm.vala"
		main_window_show_error (self, _tmp10_);
#line 1015 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_error_free0 (e);
#line 7509 "systemadm.c"
	}
	__finally13:
#line 1015 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_inner_error_ != NULL) {
#line 1015 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1015 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_clear_error (&_inner_error_);
#line 1015 "/home/lennart/projects/systemd/src/systemadm.vala"
		return FALSE;
#line 7520 "systemadm.c"
	}
#line 1028 "/home/lennart/projects/systemd/src/systemadm.vala"
	result = TRUE;
#line 1028 "/home/lennart/projects/systemd/src/systemadm.vala"
	return result;
#line 7526 "systemadm.c"
}


void main_window_show_error (MainWindow* self, const gchar* e) {
	const gchar* _tmp0_;
	GtkMessageDialog* _tmp1_;
	GtkMessageDialog* _tmp2_;
	GtkMessageDialog* m;
#line 1031 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (self != NULL);
#line 1031 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (e != NULL);
#line 1032 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = e;
#line 1032 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = (GtkMessageDialog*) gtk_message_dialog_new ((GtkWindow*) self, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", _tmp0_);
#line 1032 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp2_ = g_object_ref_sink (_tmp1_);
#line 1032 "/home/lennart/projects/systemd/src/systemadm.vala"
	m = _tmp2_;
#line 1036 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_window_set_title ((GtkWindow*) m, "Error");
#line 1037 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_dialog_run ((GtkDialog*) m);
#line 1038 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_object_destroy ((GtkObject*) m);
#line 1031 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (m);
#line 7555 "systemadm.c"
}


static void main_window_class_init (MainWindowClass * klass) {
#line 71 "/home/lennart/projects/systemd/src/systemadm.vala"
	main_window_parent_class = g_type_class_peek_parent (klass);
#line 71 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_type_class_add_private (klass, sizeof (MainWindowPrivate));
#line 71 "/home/lennart/projects/systemd/src/systemadm.vala"
	G_OBJECT_CLASS (klass)->finalize = main_window_finalize;
#line 7566 "systemadm.c"
}


static void main_window_instance_init (MainWindow * self) {
#line 71 "/home/lennart/projects/systemd/src/systemadm.vala"
	self->priv = MAIN_WINDOW_GET_PRIVATE (self);
#line 7573 "systemadm.c"
}


static void main_window_finalize (GObject* obj) {
	MainWindow * self;
#line 71 "/home/lennart/projects/systemd/src/systemadm.vala"
	self = MAIN_WINDOW (obj);
#line 73 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_free0 (self->priv->current_unit_id);
#line 76 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_view);
#line 77 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->job_view);
#line 79 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_model);
#line 80 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->job_model);
#line 82 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_map);
#line 84 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->start_button);
#line 85 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->stop_button);
#line 86 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->restart_button);
#line 87 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->reload_button);
#line 88 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->cancel_button);
#line 90 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_load_entry);
#line 91 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_load_button);
#line 93 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->server_snapshot_button);
#line 94 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->server_reload_button);
#line 96 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->manager);
#line 98 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_id_label);
#line 99 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_dependency_label);
#line 100 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_description_label);
#line 101 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_load_state_label);
#line 102 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_active_state_label);
#line 103 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_sub_state_label);
#line 104 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_fragment_path_label);
#line 105 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_active_enter_timestamp_label);
#line 106 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_active_exit_timestamp_label);
#line 107 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_can_start_label);
#line 108 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_can_reload_label);
#line 109 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_cgroup_label);
#line 111 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->job_id_label);
#line 112 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->job_state_label);
#line 113 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->job_type_label);
#line 115 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->unit_type_combo_box);
#line 116 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (self->priv->inactive_checkbox);
#line 71 "/home/lennart/projects/systemd/src/systemadm.vala"
	G_OBJECT_CLASS (main_window_parent_class)->finalize (obj);
#line 7649 "systemadm.c"
}


GType main_window_get_type (void) {
	static volatile gsize main_window_type_id__volatile = 0;
	if (g_once_init_enter (&main_window_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (MainWindowClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) main_window_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (MainWindow), 0, (GInstanceInitFunc) main_window_instance_init, NULL };
		GType main_window_type_id;
		main_window_type_id = g_type_register_static (GTK_TYPE_WINDOW, "MainWindow", &g_define_type_info, 0);
		g_once_init_leave (&main_window_type_id__volatile, main_window_type_id);
	}
	return main_window_type_id__volatile;
}


void show_error (const gchar* e) {
	const gchar* _tmp0_;
	GtkMessageDialog* _tmp1_;
	GtkMessageDialog* _tmp2_;
	GtkMessageDialog* m;
#line 1049 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_return_if_fail (e != NULL);
#line 1050 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp0_ = e;
#line 1050 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp1_ = (GtkMessageDialog*) gtk_message_dialog_new (NULL, 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", _tmp0_);
#line 1050 "/home/lennart/projects/systemd/src/systemadm.vala"
	_tmp2_ = g_object_ref_sink (_tmp1_);
#line 1050 "/home/lennart/projects/systemd/src/systemadm.vala"
	m = _tmp2_;
#line 1051 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_dialog_run ((GtkDialog*) m);
#line 1052 "/home/lennart/projects/systemd/src/systemadm.vala"
	gtk_object_destroy ((GtkObject*) m);
#line 1049 "/home/lennart/projects/systemd/src/systemadm.vala"
	_g_object_unref0 (m);
#line 7686 "systemadm.c"
}


gint _vala_main (gchar** args, int args_length1) {
	gint result = 0;
	GError * _inner_error_ = NULL;
	{
		MainWindow* _tmp0_;
		MainWindow* _tmp1_;
		MainWindow* window;
		MainWindow* _tmp2_;
#line 1058 "/home/lennart/projects/systemd/src/systemadm.vala"
		gtk_init_with_args (&args_length1, &args, "[OPTION...]", entries, "systemadm", &_inner_error_);
#line 1058 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_inner_error_ != NULL) {
#line 1058 "/home/lennart/projects/systemd/src/systemadm.vala"
			if (_inner_error_->domain == G_IO_ERROR) {
#line 7704 "systemadm.c"
				goto __catch14_g_io_error;
			}
			goto __catch14_g_error;
		}
#line 1060 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp0_ = main_window_new (&_inner_error_);
#line 1060 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp1_ = g_object_ref_sink (_tmp0_);
#line 1060 "/home/lennart/projects/systemd/src/systemadm.vala"
		window = _tmp1_;
#line 1060 "/home/lennart/projects/systemd/src/systemadm.vala"
		if (_inner_error_ != NULL) {
#line 1060 "/home/lennart/projects/systemd/src/systemadm.vala"
			if (_inner_error_->domain == G_IO_ERROR) {
#line 7719 "systemadm.c"
				goto __catch14_g_io_error;
			}
			goto __catch14_g_error;
		}
#line 1061 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp2_ = window;
#line 1061 "/home/lennart/projects/systemd/src/systemadm.vala"
		gtk_widget_show_all ((GtkWidget*) _tmp2_);
#line 1063 "/home/lennart/projects/systemd/src/systemadm.vala"
		gtk_main ();
#line 1057 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_object_unref0 (window);
#line 7732 "systemadm.c"
	}
	goto __finally14;
	__catch14_g_io_error:
	{
		GError* e = NULL;
		GError* _tmp3_;
		const gchar* _tmp4_;
#line 1057 "/home/lennart/projects/systemd/src/systemadm.vala"
		e = _inner_error_;
#line 1057 "/home/lennart/projects/systemd/src/systemadm.vala"
		_inner_error_ = NULL;
#line 1065 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp3_ = e;
#line 1065 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp4_ = _tmp3_->message;
#line 1065 "/home/lennart/projects/systemd/src/systemadm.vala"
		show_error (_tmp4_);
#line 1057 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_error_free0 (e);
#line 7752 "systemadm.c"
	}
	goto __finally14;
	__catch14_g_error:
	{
		GError* e = NULL;
		FILE* _tmp5_;
		GError* _tmp6_;
		const gchar* _tmp7_;
#line 1057 "/home/lennart/projects/systemd/src/systemadm.vala"
		e = _inner_error_;
#line 1057 "/home/lennart/projects/systemd/src/systemadm.vala"
		_inner_error_ = NULL;
#line 1067 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp5_ = stderr;
#line 1067 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp6_ = e;
#line 1067 "/home/lennart/projects/systemd/src/systemadm.vala"
		_tmp7_ = _tmp6_->message;
#line 1067 "/home/lennart/projects/systemd/src/systemadm.vala"
		fprintf (_tmp5_, "%s\n", _tmp7_);
#line 1057 "/home/lennart/projects/systemd/src/systemadm.vala"
		_g_error_free0 (e);
#line 7775 "systemadm.c"
	}
	__finally14:
#line 1057 "/home/lennart/projects/systemd/src/systemadm.vala"
	if (_inner_error_ != NULL) {
#line 1057 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 1057 "/home/lennart/projects/systemd/src/systemadm.vala"
		g_clear_error (&_inner_error_);
#line 1057 "/home/lennart/projects/systemd/src/systemadm.vala"
		return 0;
#line 7786 "systemadm.c"
	}
#line 1070 "/home/lennart/projects/systemd/src/systemadm.vala"
	result = 0;
#line 1070 "/home/lennart/projects/systemd/src/systemadm.vala"
	return result;
#line 7792 "systemadm.c"
}


int main (int argc, char ** argv) {
#line 1055 "/home/lennart/projects/systemd/src/systemadm.vala"
	g_type_init ();
#line 1055 "/home/lennart/projects/systemd/src/systemadm.vala"
	return _vala_main (argv, argc);
#line 7801 "systemadm.c"
}


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


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



