/* gitg-window.c generated by valac 0.35.5.2-9e6c0, the Vala compiler
 * generated from gitg-window.vala, do not modify */

/*
 * This file is part of gitg
 *
 * Copyright (C) 2012 - Jesse van den Kieboom
 *
 * gitg is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * gitg is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with gitg. If not, see <http://www.gnu.org/licenses/>.
 */

#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
#include "libgitg-ext/libgitg-ext.h"
#include <gio/gio.h>
#include "libgitg/libgitg.h"
#include <stdlib.h>
#include <string.h>
#include <gee.h>
#include <config.h>
#include <glib/gi18n-lib.h>
#include <gdk/gdk.h>
#include <libgit2-glib/ggit.h>
#include <libgitg/gitg-platform-support.h>
#include <libpeas/peas.h>


#define GITG_TYPE_WINDOW (gitg_window_get_type ())
#define GITG_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_WINDOW, GitgWindow))
#define GITG_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_WINDOW, GitgWindowClass))
#define GITG_IS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_WINDOW))
#define GITG_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_WINDOW))
#define GITG_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_WINDOW, GitgWindowClass))

typedef struct _GitgWindow GitgWindow;
typedef struct _GitgWindowClass GitgWindowClass;
typedef struct _GitgWindowPrivate GitgWindowPrivate;

#define GITG_TYPE_RECURSIVE_MONITOR (gitg_recursive_monitor_get_type ())
#define GITG_RECURSIVE_MONITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_RECURSIVE_MONITOR, GitgRecursiveMonitor))
#define GITG_RECURSIVE_MONITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_RECURSIVE_MONITOR, GitgRecursiveMonitorClass))
#define GITG_IS_RECURSIVE_MONITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_RECURSIVE_MONITOR))
#define GITG_IS_RECURSIVE_MONITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_RECURSIVE_MONITOR))
#define GITG_RECURSIVE_MONITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_RECURSIVE_MONITOR, GitgRecursiveMonitorClass))

typedef struct _GitgRecursiveMonitor GitgRecursiveMonitor;
typedef struct _GitgRecursiveMonitorClass GitgRecursiveMonitorClass;

#define GITG_TYPE_UI_ELEMENTS (gitg_ui_elements_get_type ())
#define GITG_UI_ELEMENTS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_UI_ELEMENTS, GitgUIElements))
#define GITG_UI_ELEMENTS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_UI_ELEMENTS, GitgUIElementsClass))
#define GITG_IS_UI_ELEMENTS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_UI_ELEMENTS))
#define GITG_IS_UI_ELEMENTS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_UI_ELEMENTS))
#define GITG_UI_ELEMENTS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_UI_ELEMENTS, GitgUIElementsClass))

typedef struct _GitgUIElements GitgUIElements;
typedef struct _GitgUIElementsClass GitgUIElementsClass;

#define GITG_TYPE_REMOTE_MANAGER (gitg_remote_manager_get_type ())
#define GITG_REMOTE_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_REMOTE_MANAGER, GitgRemoteManager))
#define GITG_REMOTE_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_REMOTE_MANAGER, GitgRemoteManagerClass))
#define GITG_IS_REMOTE_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_REMOTE_MANAGER))
#define GITG_IS_REMOTE_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_REMOTE_MANAGER))
#define GITG_REMOTE_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_REMOTE_MANAGER, GitgRemoteManagerClass))

typedef struct _GitgRemoteManager GitgRemoteManager;
typedef struct _GitgRemoteManagerClass GitgRemoteManagerClass;

#define GITG_TYPE_NOTIFICATIONS (gitg_notifications_get_type ())
#define GITG_NOTIFICATIONS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_NOTIFICATIONS, GitgNotifications))
#define GITG_NOTIFICATIONS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_NOTIFICATIONS, GitgNotificationsClass))
#define GITG_IS_NOTIFICATIONS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_NOTIFICATIONS))
#define GITG_IS_NOTIFICATIONS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_NOTIFICATIONS))
#define GITG_NOTIFICATIONS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_NOTIFICATIONS, GitgNotificationsClass))

typedef struct _GitgNotifications GitgNotifications;
typedef struct _GitgNotificationsClass GitgNotificationsClass;

#define GITG_TYPE_DASH_VIEW (gitg_dash_view_get_type ())
#define GITG_DASH_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_DASH_VIEW, GitgDashView))
#define GITG_DASH_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_DASH_VIEW, GitgDashViewClass))
#define GITG_IS_DASH_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_DASH_VIEW))
#define GITG_IS_DASH_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_DASH_VIEW))
#define GITG_DASH_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_DASH_VIEW, GitgDashViewClass))

typedef struct _GitgDashView GitgDashView;
typedef struct _GitgDashViewClass GitgDashViewClass;

#define GITG_WINDOW_TYPE_MODE (gitg_window_mode_get_type ())
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))

#define GITG_TYPE_CLONE_DIALOG (gitg_clone_dialog_get_type ())
#define GITG_CLONE_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_CLONE_DIALOG, GitgCloneDialog))
#define GITG_CLONE_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_CLONE_DIALOG, GitgCloneDialogClass))
#define GITG_IS_CLONE_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_CLONE_DIALOG))
#define GITG_IS_CLONE_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_CLONE_DIALOG))
#define GITG_CLONE_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_CLONE_DIALOG, GitgCloneDialogClass))

typedef struct _GitgCloneDialog GitgCloneDialog;
typedef struct _GitgCloneDialogClass GitgCloneDialogClass;
typedef struct _Block65Data Block65Data;
typedef struct _Block66Data Block66Data;
#define _g_variant_unref0(var) ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))

#define GITG_TYPE_AUTHOR_DETAILS_DIALOG (gitg_author_details_dialog_get_type ())
#define GITG_AUTHOR_DETAILS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_AUTHOR_DETAILS_DIALOG, GitgAuthorDetailsDialog))
#define GITG_AUTHOR_DETAILS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_AUTHOR_DETAILS_DIALOG, GitgAuthorDetailsDialogClass))
#define GITG_IS_AUTHOR_DETAILS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_AUTHOR_DETAILS_DIALOG))
#define GITG_IS_AUTHOR_DETAILS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_AUTHOR_DETAILS_DIALOG))
#define GITG_AUTHOR_DETAILS_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_AUTHOR_DETAILS_DIALOG, GitgAuthorDetailsDialogClass))

typedef struct _GitgAuthorDetailsDialog GitgAuthorDetailsDialog;
typedef struct _GitgAuthorDetailsDialogClass GitgAuthorDetailsDialogClass;
typedef struct _Block67Data Block67Data;

#define GITG_TYPE_APPLICATION (gitg_application_get_type ())
#define GITG_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_APPLICATION, GitgApplication))
#define GITG_APPLICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_APPLICATION, GitgApplicationClass))
#define GITG_IS_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_APPLICATION))
#define GITG_IS_APPLICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_APPLICATION))
#define GITG_APPLICATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_APPLICATION, GitgApplicationClass))

typedef struct _GitgApplication GitgApplication;
typedef struct _GitgApplicationClass GitgApplicationClass;

#define GITG_TYPE_PLUGINS_ENGINE (gitg_plugins_engine_get_type ())
#define GITG_PLUGINS_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_PLUGINS_ENGINE, GitgPluginsEngine))
#define GITG_PLUGINS_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_PLUGINS_ENGINE, GitgPluginsEngineClass))
#define GITG_IS_PLUGINS_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_PLUGINS_ENGINE))
#define GITG_IS_PLUGINS_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_PLUGINS_ENGINE))
#define GITG_PLUGINS_ENGINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_PLUGINS_ENGINE, GitgPluginsEngineClass))

typedef struct _GitgPluginsEngine GitgPluginsEngine;
typedef struct _GitgPluginsEngineClass GitgPluginsEngineClass;

#define GITG_HISTORY_TYPE_ACTIVITY (gitg_history_activity_get_type ())
#define GITG_HISTORY_ACTIVITY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_HISTORY_TYPE_ACTIVITY, GitgHistoryActivity))
#define GITG_HISTORY_ACTIVITY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_HISTORY_TYPE_ACTIVITY, GitgHistoryActivityClass))
#define GITG_HISTORY_IS_ACTIVITY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_HISTORY_TYPE_ACTIVITY))
#define GITG_HISTORY_IS_ACTIVITY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_HISTORY_TYPE_ACTIVITY))
#define GITG_HISTORY_ACTIVITY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_HISTORY_TYPE_ACTIVITY, GitgHistoryActivityClass))

typedef struct _GitgHistoryActivity GitgHistoryActivity;
typedef struct _GitgHistoryActivityClass GitgHistoryActivityClass;

#define GITG_COMMIT_TYPE_ACTIVITY (gitg_commit_activity_get_type ())
#define GITG_COMMIT_ACTIVITY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_COMMIT_TYPE_ACTIVITY, GitgCommitActivity))
#define GITG_COMMIT_ACTIVITY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_COMMIT_TYPE_ACTIVITY, GitgCommitActivityClass))
#define GITG_COMMIT_IS_ACTIVITY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_COMMIT_TYPE_ACTIVITY))
#define GITG_COMMIT_IS_ACTIVITY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_COMMIT_TYPE_ACTIVITY))
#define GITG_COMMIT_ACTIVITY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_COMMIT_TYPE_ACTIVITY, GitgCommitActivityClass))

typedef struct _GitgCommitActivity GitgCommitActivity;
typedef struct _GitgCommitActivityClass GitgCommitActivityClass;
typedef struct _Block68Data Block68Data;
typedef struct _Block69Data Block69Data;
typedef struct _GitgWindowUserQueryAsyncData GitgWindowUserQueryAsyncData;
typedef struct _Block70Data Block70Data;
typedef struct _Block71Data Block71Data;
enum  {
	GITG_WINDOW_CHANGE_TO_ACTIVITY_SIGNAL,
	GITG_WINDOW_CANCEL_SIGNAL,
	GITG_WINDOW_LAST_SIGNAL
};
static guint gitg_window_signals[GITG_WINDOW_LAST_SIGNAL] = {0};

struct _GitgWindow {
	GtkApplicationWindow parent_instance;
	GitgWindowPrivate * priv;
};

struct _GitgWindowClass {
	GtkApplicationWindowClass parent_class;
	gboolean (*change_to_activity) (GitgWindow* self, gint i);
	void (*cancel) (GitgWindow* self);
};

typedef enum  {
	GITG_WINDOW_MODE_DASH,
	GITG_WINDOW_MODE_ACTIVITY
} GitgWindowMode;

struct _GitgWindowPrivate {
	GSettings* d_state_settings;
	GSettings* d_interface_settings;
	GitgRepository* d_repository;
	GitgRecursiveMonitor* d_repository_monitor;
	GitgExtMessageBus* d_message_bus;
	gchar* d_action;
	GeeHashMap* d_environment;
	gboolean d_busy;
	GtkDialog* d_dialog;
	GtkWidget* d_select_actions;
	GBinding* d_selectable_mode_binding;
	GBinding* d_selectable_available_binding;
	GBinding* d_searchable_available_binding;
	GitgExtSelectionMode d_selectable_mode;
	GitgUIElements* d_activities;
	GitgRemoteManager* d_remote_manager;
	GitgNotifications* d_notifications;
	GtkHeaderBar* d_header_bar;
	GtkToggleButton* d_search_button;
	GtkMenuButton* d_gear_menu;
	GMenuModel* d_activities_model;
	GMenuModel* d_dash_model;
	GtkGrid* d_grid_main;
	GtkGrid* d_grid_top;
	GtkToggleButton* d_select_button;
	GtkButton* d_select_cancel_button;
	GtkButton* d_dash_button;
	GtkButton* d_clone_button;
	GtkButton* d_add_button;
	GtkImage* dash_image;
	GtkStackSwitcher* d_activities_switcher;
	GtkSearchBar* d_search_bar;
	GtkSearchEntry* d_search_entry;
	GtkStack* d_main_stack;
	GitgDashView* d_dash_view;
	GtkStack* d_stack_activities;
	GtkInfoBar* d_infobar;
	GtkLabel* d_infobar_primary_label;
	GtkLabel* d_infobar_secondary_label;
	GtkOverlay* d_overlay;
	GitgWindowMode d_mode;
	gboolean d_enable_monitoring;
};

struct _Block65Data {
	int _ref_count_;
	GitgWindow* self;
	GitgCloneDialog* dlg;
};

struct _Block66Data {
	int _ref_count_;
	GitgWindow* self;
	GtkFileChooserDialog* chooser;
	GtkCheckButton* scan_all;
};

typedef gboolean (*GitgRecursiveMonitorFilterFunc) (GFile* file, void* user_data);
struct _Block67Data {
	int _ref_count_;
	GitgWindow* self;
	gchar* default_activity;
	GitgExtActivity* def;
};

typedef gboolean (*GitgUIElementsForeachUIElementFunc) (GitgExtUIElement* element, void* user_data);
struct _Block68Data {
	int _ref_count_;
	GitgWindow* self;
	gchar* title;
	gchar* message;
	GtkMessageType type;
};

struct _Block69Data {
	int _ref_count_;
	GitgWindow* self;
	GSourceFunc cb;
	gpointer cb_target;
	GDestroyNotify cb_target_destroy_notify;
	GtkResponseType retval;
	gpointer _async_data_;
};

struct _GitgWindowUserQueryAsyncData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	gboolean _task_complete_;
	GitgWindow* self;
	GitgExtUserQuery* query;
	GtkResponseType result;
	Block69Data* _data69_;
	GitgExtUserQuery* _tmp0_;
	GitgExtUserQuery* _tmp1_;
};

struct _Block70Data {
	int _ref_count_;
	GitgWindow* self;
	GtkMessageDialog* dlg;
	gulong qid;
	GitgExtUserQuery* query;
};

struct _Block71Data {
	int _ref_count_;
	GitgWindow* self;
	GAction* selact;
};


static gpointer gitg_window_parent_class = NULL;
static GitgExtApplicationIface * gitg_window_gitg_ext_application_parent_iface = NULL;
static GInitableIface * gitg_window_g_initable_parent_iface = NULL;

GType gitg_window_get_type (void) G_GNUC_CONST;
GType gitg_recursive_monitor_get_type (void) G_GNUC_CONST;
GType gitg_ui_elements_get_type (void) G_GNUC_CONST;
GType gitg_remote_manager_get_type (void) G_GNUC_CONST;
GType gitg_notifications_get_type (void) G_GNUC_CONST;
GType gitg_dash_view_get_type (void) G_GNUC_CONST;
static GType gitg_window_mode_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
#define GITG_WINDOW_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_TYPE_WINDOW, GitgWindowPrivate))
enum  {
	GITG_WINDOW_DUMMY_PROPERTY,
	GITG_WINDOW_CURRENT_ACTIVITY,
	GITG_WINDOW_MESSAGE_BUS,
	GITG_WINDOW_REPOSITORY,
	GITG_WINDOW_ENABLE_MONITORING,
	GITG_WINDOW_ENVIRONMENT,
	GITG_WINDOW_BUSY,
	GITG_WINDOW_SELECTABLE_MODE,
	GITG_WINDOW_REMOTE_LOOKUP,
	GITG_WINDOW_NOTIFICATIONS
};
#define GITG_WINDOW_version VERSION
static void gitg_window_on_search_activated (GitgWindow* self, GSimpleAction* action);
static void _gitg_window_on_search_activated_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self);
static void gitg_window_on_gear_menu_activated (GitgWindow* self, GSimpleAction* action);
static void _gitg_window_on_gear_menu_activated_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self);
static void gitg_window_on_close_activated (GitgWindow* self);
static void _gitg_window_on_close_activated_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self);
static void gitg_window_on_reload_activated (GitgWindow* self);
static void _gitg_window_on_reload_activated_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self);
static void gitg_window_on_repo_author_details_activated (GitgWindow* self);
static void _gitg_window_on_repo_author_details_activated_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self);
static void gitg_window_on_select_activated (GitgWindow* self, GSimpleAction* action);
static void _gitg_window_on_select_activated_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self);
static void gitg_window_dash_button_clicked (GitgWindow* self, GtkButton* dash);
static void _gitg_window_dash_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self);
static void gitg_window_clone_repository_clicked (GitgWindow* self);
GType gitg_clone_dialog_get_type (void) G_GNUC_CONST;
static Block65Data* block65_data_ref (Block65Data* _data65_);
static void block65_data_unref (void * _userdata_);
GitgCloneDialog* gitg_clone_dialog_new (GtkWindow* parent);
GitgCloneDialog* gitg_clone_dialog_construct (GType object_type, GtkWindow* parent);
static void __lambda116_ (Block65Data* _data65_, GtkDialog* d, gint id);
void gitg_dash_view_clone_repository (GitgDashView* self, const gchar* url, GFile* location, gboolean is_bare);
const gchar* gitg_clone_dialog_get_url (GitgCloneDialog* self);
GFile* gitg_clone_dialog_get_location (GitgCloneDialog* self);
gboolean gitg_clone_dialog_get_is_bare (GitgCloneDialog* self);
static void ___lambda116__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self);
static void _gitg_window_clone_repository_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self);
static void gitg_window_add_repository_clicked (GitgWindow* self);
static Block66Data* block66_data_ref (Block66Data* _data66_);
static void block66_data_unref (void * _userdata_);
static void __lambda117_ (Block66Data* _data66_, GtkDialog* c, gint id);
void gitg_dash_view_add_repository_from_location (GitgDashView* self, GFile* location, gboolean scan_all);
static void ___lambda117__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self);
static void _gitg_window_add_repository_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self);
static void gitg_window_search_button_toggled (GitgWindow* self, GtkToggleButton* button);
static void _gitg_window_search_button_toggled_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self);
static void gitg_window_search_entry_changed (GitgWindow* self, GtkEditable* entry);
static void _gitg_window_search_entry_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self);
static void gitg_window_real_style_updated (GtkWidget* base);
static gboolean gitg_window_real_delete_event (GtkWidget* base, GdkEventAny* event);
static GitgExtApplication* gitg_window_real_open_new (GitgExtApplication* base, GgitRepository* repository, const gchar* hint);
GitgWindow* gitg_window_create_new (GtkApplication* app, GitgRepository* repository, const gchar* action);
static void gitg_window_update_title (GitgWindow* self);
static void gitg_window_repository_changed (GitgWindow* self);
GitgRepositoryListBoxRow* gitg_dash_view_add_repository (GitgDashView* self, GitgRepository* repository);
void gitg_ui_elements_update (GitgUIElements* self);
static void gitg_window_activate_default_activity (GitgWindow* self);
static void gitg_window_on_current_activity_changed (GitgWindow* self);
static void gitg_window_real_realize (GtkWidget* base);
static gboolean ___lambda118_ (GitgWindow* self);
static gboolean ____lambda118__gsource_func (gpointer self);
static gboolean gitg_window_real_window_state_event (GtkWidget* base, GdkEventWindowState* event);
static gboolean gitg_window_real_configure_event (GtkWidget* base, GdkEventConfigure* event);
static GitgExtExternalChangeHint gitg_window_external_change_hint_from_file (GitgWindow* self, GFile* location);
static gboolean gitg_window_filter_repository_changes (GitgWindow* self, GFile* location);
static void gitg_window_set_repository_internal (GitgWindow* self, GitgRepository* repository);
void gitg_recursive_monitor_cancel (GitgRecursiveMonitor* self);
static void gitg_window_update_enable_monitoring (GitgWindow* self);
GitgRemoteManager* gitg_remote_manager_new (GitgWindow* window);
GitgRemoteManager* gitg_remote_manager_construct (GType object_type, GitgWindow* window);
gboolean gitg_window_get_enable_monitoring (GitgWindow* self);
static gboolean _gitg_window_filter_repository_changes_gitg_recursive_monitor_filter_func (GFile* file, gpointer self);
GitgRecursiveMonitor* gitg_recursive_monitor_new (GFile* location, GitgRecursiveMonitorFilterFunc filter_func, void* filter_func_target, GDestroyNotify filter_func_target_destroy_notify);
GitgRecursiveMonitor* gitg_recursive_monitor_construct (GType object_type, GFile* location, GitgRecursiveMonitorFilterFunc filter_func, void* filter_func_target, GDestroyNotify filter_func_target_destroy_notify);
static void ___lambda92_ (GitgWindow* self, GFile** files, int files_length1);
static void ____lambda92__gitg_recursive_monitor_changed (GitgRecursiveMonitor* _sender, GFile** files, int files_length1, gpointer self);
GType gitg_author_details_dialog_get_type (void) G_GNUC_CONST;
GitgAuthorDetailsDialog* gitg_author_details_dialog_new (GtkWindow* parent, GgitConfig* config, const gchar* repository_name);
GitgAuthorDetailsDialog* gitg_author_details_dialog_construct (GType object_type, GtkWindow* parent, GgitConfig* config, const gchar* repository_name);
static gboolean gitg_window_activate_activity (GitgWindow* self, const gchar* action);
static Block67Data* block67_data_ref (Block67Data* _data67_);
static void block67_data_unref (void * _userdata_);
void gitg_ui_elements_foreach (GitgUIElements* self, GitgUIElementsForeachUIElementFunc func, void* func_target);
static gboolean __lambda108_ (Block67Data* _data67_, GitgExtUIElement* element);
static gboolean ___lambda108__gitg_ui_elements_foreach_ui_element_func (GitgExtUIElement* element, gpointer self);
void gitg_ui_elements_set_current (GitgUIElements* self, gconstpointer value);
static gboolean ___lambda109_ (GitgWindow* self, GitgExtUIElement* element);
static gboolean ____lambda109__gitg_ui_elements_foreach_ui_element_func (GitgExtUIElement* element, gpointer self);
static gboolean gitg_window_real_init (GInitable* base, GCancellable* cancellable, GError** error);
GType gitg_application_get_type (void) G_GNUC_CONST;
GSettings* gitg_application_get_state_settings (GitgApplication* self);
GType gitg_plugins_engine_get_type (void) G_GNUC_CONST;
GitgPluginsEngine* gitg_plugins_engine_get_default (void);
GitgHistoryActivity* gitg_history_activity_new (GitgExtApplication* application);
GitgHistoryActivity* gitg_history_activity_construct (GType object_type, GitgExtApplication* application);
GType gitg_history_activity_get_type (void) G_GNUC_CONST;
GitgCommitActivity* gitg_commit_activity_new (GitgExtApplication* application);
GitgCommitActivity* gitg_commit_activity_construct (GType object_type, GitgExtApplication* application);
GType gitg_commit_activity_get_type (void) G_GNUC_CONST;
GitgUIElements* gitg_ui_elements_new_with_builtin (GType t_type, GBoxedCopyFunc t_dup_func, GDestroyNotify t_destroy_func, gpointer* builtin, int builtin_length1, PeasExtensionSet* extensions, GtkStack* stack);
GitgUIElements* gitg_ui_elements_construct_with_builtin (GType object_type, GType t_type, GBoxedCopyFunc t_dup_func, GDestroyNotify t_destroy_func, gpointer* builtin, int builtin_length1, PeasExtensionSet* extensions, GtkStack* stack);
static void _gitg_window_on_current_activity_changed_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
void gitg_window_set_environment (GitgWindow* self, gchar** environment, int environment_length1);
GitgWindow* gitg_window_new (void);
GitgWindow* gitg_window_construct (GType object_type);
static GitgExtActivity* gitg_window_real_set_activity_by_id (GitgExtApplication* base, const gchar* id);
gpointer gitg_ui_elements_lookup (GitgUIElements* self, const gchar* id);
gconstpointer gitg_ui_elements_get_current (GitgUIElements* self);
static GitgExtActivity* gitg_window_real_get_activity_by_id (GitgExtApplication* base, const gchar* id);
static void gitg_window_real_open_repository (GitgExtApplication* base, GFile* path);
static void gitg_window_real_show_infobar (GitgExtApplication* base, const gchar* title, const gchar* message, GtkMessageType type);
static Block68Data* block68_data_ref (Block68Data* _data68_);
static void block68_data_unref (void * _userdata_);
static gboolean __lambda162_ (Block68Data* _data68_);
static gboolean ___lambda162__gsource_func (gpointer self);
static void gitg_window_real_user_query_async_data_free (gpointer _data);
static void gitg_window_real_user_query_async (GitgExtApplication* base, GitgExtUserQuery* query, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean gitg_window_real_user_query_async_co (GitgWindowUserQueryAsyncData* _data_);
static Block69Data* block69_data_ref (Block69Data* _data69_);
static void block69_data_unref (void * _userdata_);
static gboolean _gitg_window_real_user_query_async_co_gsource_func (gpointer self);
static gboolean __lambda163_ (Block69Data* _data69_, GtkResponseType response);
static gboolean ___lambda163__gitg_ext_user_query_response (GitgExtUserQuery* _sender, GtkResponseType response_type, gpointer self);
static void gitg_window_real_user_query (GitgExtApplication* base, GitgExtUserQuery* query);
static Block70Data* block70_data_ref (Block70Data* _data70_);
static void block70_data_unref (void * _userdata_);
static void __lambda164_ (Block70Data* _data70_);
static void ___lambda164__gitg_ext_user_query_quit (GitgExtUserQuery* _sender, gpointer self);
static void __lambda165_ (Block70Data* _data70_, GtkDialog* w, gint r);
static void ___lambda165__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self);
static GgitSignature* gitg_window_real_get_verified_committer (GitgExtApplication* base);
void gitg_window_present (GitgWindow* self, const gchar* hint, GitgExtCommandLines* command_lines);
static void gitg_window_on_select_cancel_button_clicked (GitgWindow* self);
void gitg_window_set_selectable_mode (GitgWindow* self, GitgExtSelectionMode value);
static void _gitg_window_on_select_cancel_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self);
void gitg_window_set_enable_monitoring (GitgWindow* self, gboolean value);
GitgExtSelectionMode gitg_window_get_selectable_mode (GitgWindow* self);
static gboolean gitg_window_real_change_to_activity (GitgWindow* self, gint i);
gpointer* gitg_ui_elements_get_available_elements (GitgUIElements* self, int* result_length1);
static void g_cclosure_user_marshal_BOOLEAN__INT (GClosure * closure, GValue * return_value, guint n_param_values, const GValue * param_values, gpointer invocation_hint, gpointer marshal_data);
static void gitg_window_real_cancel (GitgWindow* self);
static GObject * gitg_window_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
static Block71Data* block71_data_ref (Block71Data* _data71_);
static void block71_data_unref (void * _userdata_);
GitgNotifications* gitg_notifications_new (GtkOverlay* overlay);
GitgNotifications* gitg_notifications_construct (GType object_type, GtkOverlay* overlay);
static void _gitg_window___lambda166_ (Block71Data* _data71_);
static void __gitg_window___lambda166__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
gpointer gitg_builder_load_object (GType t_type, GBoxedCopyFunc t_dup_func, GDestroyNotify t_destroy_func, const gchar* id, const gchar* object);
static void _gitg_window___lambda167_ (GitgWindow* self, GtkInfoBar* w, gint r);
static void __gitg_window___lambda167__gtk_info_bar_response (GtkInfoBar* _sender, gint response_id, gpointer self);
static void gitg_window_finalize (GObject * obj);
static void _vala_gitg_window_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_gitg_window_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);
static gint _vala_array_length (gpointer array);

static const GActionEntry GITG_WINDOW_win_entries[6] = {{"search", _gitg_window_on_search_activated_gsimple_action_activate_callback, NULL, "false", NULL}, {"gear-menu", _gitg_window_on_gear_menu_activated_gsimple_action_activate_callback, NULL, "false", NULL}, {"close", _gitg_window_on_close_activated_gsimple_action_activate_callback}, {"reload", _gitg_window_on_reload_activated_gsimple_action_activate_callback}, {"author-details-repo", _gitg_window_on_repo_author_details_activated_gsimple_action_activate_callback}, {"select", _gitg_window_on_select_activated_gsimple_action_activate_callback, NULL, "false", NULL}};

static GType gitg_window_mode_get_type (void) {
	static volatile gsize gitg_window_mode_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_window_mode_type_id__volatile)) {
		static const GEnumValue values[] = {{GITG_WINDOW_MODE_DASH, "GITG_WINDOW_MODE_DASH", "dash"}, {GITG_WINDOW_MODE_ACTIVITY, "GITG_WINDOW_MODE_ACTIVITY", "activity"}, {0, NULL, NULL}};
		GType gitg_window_mode_type_id;
		gitg_window_mode_type_id = g_enum_register_static ("GitgWindowMode", values);
		g_once_init_leave (&gitg_window_mode_type_id__volatile, gitg_window_mode_type_id);
	}
	return gitg_window_mode_type_id__volatile;
}


static void _gitg_window_on_search_activated_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 152 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_window_on_search_activated ((GitgWindow*) self, action);
#line 502 "gitg-window.c"
}


static void _gitg_window_on_gear_menu_activated_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 152 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_window_on_gear_menu_activated ((GitgWindow*) self, action);
#line 509 "gitg-window.c"
}


static void _gitg_window_on_close_activated_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 152 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_window_on_close_activated ((GitgWindow*) self);
#line 516 "gitg-window.c"
}


static void _gitg_window_on_reload_activated_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 152 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_window_on_reload_activated ((GitgWindow*) self);
#line 523 "gitg-window.c"
}


static void _gitg_window_on_repo_author_details_activated_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 152 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_window_on_repo_author_details_activated ((GitgWindow*) self);
#line 530 "gitg-window.c"
}


static void _gitg_window_on_select_activated_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 152 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_window_on_select_activated ((GitgWindow*) self, action);
#line 537 "gitg-window.c"
}


static void gitg_window_dash_button_clicked (GitgWindow* self, GtkButton* dash) {
#line 162 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (self != NULL);
#line 162 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (dash != NULL);
#line 164 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_ext_application_set_repository ((GitgExtApplication*) self, NULL);
#line 548 "gitg-window.c"
}


static void _gitg_window_dash_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_window_dash_button_clicked ((GitgWindow*) self, _sender);
#line 555 "gitg-window.c"
}


static Block65Data* block65_data_ref (Block65Data* _data65_) {
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_atomic_int_inc (&_data65_->_ref_count_);
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return _data65_;
#line 564 "gitg-window.c"
}


static void block65_data_unref (void * _userdata_) {
	Block65Data* _data65_;
	_data65_ = (Block65Data*) _userdata_;
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (g_atomic_int_dec_and_test (&_data65_->_ref_count_)) {
#line 573 "gitg-window.c"
		GitgWindow* self;
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		self = _data65_->self;
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (_data65_->dlg);
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (self);
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_slice_free (Block65Data, _data65_);
#line 583 "gitg-window.c"
	}
}


static void __lambda116_ (Block65Data* _data65_, GtkDialog* d, gint id) {
	GitgWindow* self;
	gint _tmp0_;
	GtkDialog* _tmp9_;
#line 172 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = _data65_->self;
#line 172 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (d != NULL);
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = id;
#line 173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp0_ == ((gint) GTK_RESPONSE_OK)) {
#line 600 "gitg-window.c"
		GitgDashView* _tmp1_;
		const gchar* _tmp2_;
		const gchar* _tmp3_;
		GFile* _tmp4_;
		GFile* _tmp5_;
		GFile* _tmp6_;
		gboolean _tmp7_;
		gboolean _tmp8_;
#line 175 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp1_ = self->priv->d_dash_view;
#line 175 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp2_ = gitg_clone_dialog_get_url (_data65_->dlg);
#line 175 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp3_ = _tmp2_;
#line 175 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp4_ = gitg_clone_dialog_get_location (_data65_->dlg);
#line 175 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp5_ = _tmp4_;
#line 175 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp6_ = _tmp5_;
#line 175 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp7_ = gitg_clone_dialog_get_is_bare (_data65_->dlg);
#line 175 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp8_ = _tmp7_;
#line 175 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_dash_view_clone_repository (_tmp1_, _tmp3_, _tmp6_, _tmp8_);
#line 175 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (_tmp6_);
#line 629 "gitg-window.c"
	}
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp9_ = d;
#line 178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_destroy ((GtkWidget*) _tmp9_);
#line 635 "gitg-window.c"
}


static void ___lambda116__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) {
#line 172 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	__lambda116_ (self, _sender, response_id);
#line 642 "gitg-window.c"
}


static void gitg_window_clone_repository_clicked (GitgWindow* self) {
	Block65Data* _data65_;
	GitgCloneDialog* _tmp0_;
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (self != NULL);
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data65_ = g_slice_new0 (Block65Data);
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data65_->_ref_count_ = 1;
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data65_->self = g_object_ref (self);
#line 170 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = gitg_clone_dialog_new ((GtkWindow*) self);
#line 170 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_object_ref_sink (_tmp0_);
#line 170 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data65_->dlg = _tmp0_;
#line 172 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_signal_connect_data ((GtkDialog*) _data65_->dlg, "response", (GCallback) ___lambda116__gtk_dialog_response, block65_data_ref (_data65_), (GClosureNotify) block65_data_unref, 0);
#line 181 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_show ((GtkWidget*) _data65_->dlg);
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	block65_data_unref (_data65_);
#line 168 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data65_ = NULL;
#line 671 "gitg-window.c"
}


static void _gitg_window_clone_repository_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_window_clone_repository_clicked ((GitgWindow*) self);
#line 678 "gitg-window.c"
}


static Block66Data* block66_data_ref (Block66Data* _data66_) {
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_atomic_int_inc (&_data66_->_ref_count_);
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return _data66_;
#line 687 "gitg-window.c"
}


static void block66_data_unref (void * _userdata_) {
	Block66Data* _data66_;
	_data66_ = (Block66Data*) _userdata_;
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (g_atomic_int_dec_and_test (&_data66_->_ref_count_)) {
#line 696 "gitg-window.c"
		GitgWindow* self;
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		self = _data66_->self;
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (_data66_->scan_all);
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (_data66_->chooser);
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (self);
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_slice_free (Block66Data, _data66_);
#line 708 "gitg-window.c"
	}
}


static void __lambda117_ (Block66Data* _data66_, GtkDialog* c, gint id) {
	GitgWindow* self;
	gint _tmp0_;
	GtkDialog* _tmp8_;
#line 204 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = _data66_->self;
#line 204 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (c != NULL);
#line 205 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = id;
#line 205 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp0_ == ((gint) GTK_RESPONSE_OK)) {
#line 725 "gitg-window.c"
		GFile* file;
		GFile* _tmp1_;
		GFile* _tmp2_;
		GitgDashView* _tmp4_;
		GFile* _tmp5_;
		gboolean _tmp6_;
		gboolean _tmp7_;
#line 207 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp1_ = gtk_file_chooser_get_file ((GtkFileChooser*) _data66_->chooser);
#line 207 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		file = _tmp1_;
#line 209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp2_ = file;
#line 209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (_tmp2_ == NULL) {
#line 741 "gitg-window.c"
			GFile* _tmp3_;
#line 211 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp3_ = gtk_file_chooser_get_current_folder_file ((GtkFileChooser*) _data66_->chooser);
#line 211 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_object_unref0 (file);
#line 211 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			file = _tmp3_;
#line 749 "gitg-window.c"
		}
#line 214 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp4_ = self->priv->d_dash_view;
#line 214 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp5_ = file;
#line 214 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp6_ = gtk_toggle_button_get_active ((GtkToggleButton*) _data66_->scan_all);
#line 214 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp7_ = _tmp6_;
#line 214 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_dash_view_add_repository_from_location (_tmp4_, _tmp5_, _tmp7_);
#line 205 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (file);
#line 763 "gitg-window.c"
	}
#line 217 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp8_ = c;
#line 217 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_destroy ((GtkWidget*) _tmp8_);
#line 769 "gitg-window.c"
}


static void ___lambda117__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) {
#line 204 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	__lambda117_ (self, _sender, response_id);
#line 776 "gitg-window.c"
}


static void gitg_window_add_repository_clicked (GitgWindow* self) {
	Block66Data* _data66_;
	GtkFileChooserDialog* _tmp0_;
	GtkCheckButton* _tmp1_;
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (self != NULL);
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data66_ = g_slice_new0 (Block66Data);
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data66_->_ref_count_ = 1;
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data66_->self = g_object_ref (self);
#line 187 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = (GtkFileChooserDialog*) gtk_file_chooser_dialog_new (_ ("Add Repository"), (GtkWindow*) self, GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, _ ("_Cancel"), GTK_RESPONSE_CANCEL, _ ("_Add"), GTK_RESPONSE_OK, NULL);
#line 187 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_object_ref_sink (_tmp0_);
#line 187 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data66_->chooser = _tmp0_;
#line 193 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_ ("_Scan for all git repositories from this directory"));
#line 193 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_object_ref_sink (_tmp1_);
#line 193 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data66_->scan_all = _tmp1_;
#line 195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_set_halign ((GtkWidget*) _data66_->scan_all, GTK_ALIGN_END);
#line 196 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_set_hexpand ((GtkWidget*) _data66_->scan_all, TRUE);
#line 197 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_show ((GtkWidget*) _data66_->scan_all);
#line 199 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_file_chooser_set_extra_widget ((GtkFileChooser*) _data66_->chooser, (GtkWidget*) _data66_->scan_all);
#line 201 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_window_set_modal ((GtkWindow*) _data66_->chooser, TRUE);
#line 202 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_dialog_set_default_response ((GtkDialog*) _data66_->chooser, (gint) GTK_RESPONSE_OK);
#line 204 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_signal_connect_data ((GtkDialog*) _data66_->chooser, "response", (GCallback) ___lambda117__gtk_dialog_response, block66_data_ref (_data66_), (GClosureNotify) block66_data_unref, 0);
#line 220 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_show ((GtkWidget*) _data66_->chooser);
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	block66_data_unref (_data66_);
#line 185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data66_ = NULL;
#line 824 "gitg-window.c"
}


static void _gitg_window_add_repository_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_window_add_repository_clicked ((GitgWindow*) self);
#line 831 "gitg-window.c"
}


static void gitg_window_search_button_toggled (GitgWindow* self, GtkToggleButton* button) {
	GitgExtSearchable* searchable;
	GitgExtActivity* _tmp0_;
	GitgExtActivity* _tmp1_;
	GitgExtSearchable* _tmp2_;
	GtkToggleButton* _tmp3_;
	gboolean _tmp4_;
#line 224 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (self != NULL);
#line 224 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (button != NULL);
#line 226 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = gitg_ext_application_get_current_activity ((GitgExtApplication*) self);
#line 226 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = _tmp0_;
#line 226 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, GITG_EXT_TYPE_SEARCHABLE) ? ((GitgExtSearchable*) _tmp1_) : NULL;
#line 226 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp2_ == NULL) {
#line 226 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (_tmp1_);
#line 856 "gitg-window.c"
	}
#line 226 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	searchable = _tmp2_;
#line 228 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp3_ = button;
#line 228 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp4_ = gtk_toggle_button_get_active (_tmp3_);
#line 228 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp4_) {
#line 866 "gitg-window.c"
		GtkSearchEntry* _tmp5_;
		GtkSearchEntry* _tmp6_;
		GitgExtSearchable* _tmp7_;
		gchar* _tmp8_;
		gchar* _tmp9_;
		gchar* _tmp10_;
		GitgExtSearchable* _tmp11_;
		GitgExtSearchable* _tmp12_;
		GtkSearchEntry* _tmp13_;
#line 230 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp5_ = self->priv->d_search_entry;
#line 230 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_grab_focus ((GtkWidget*) _tmp5_);
#line 232 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp6_ = self->priv->d_search_entry;
#line 232 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp7_ = searchable;
#line 232 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp8_ = gitg_ext_searchable_get_search_text (_tmp7_);
#line 232 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp9_ = _tmp8_;
#line 232 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp10_ = _tmp9_;
#line 232 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_entry_set_text ((GtkEntry*) _tmp6_, _tmp10_);
#line 232 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_free0 (_tmp10_);
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp11_ = searchable;
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_ext_searchable_set_search_visible (_tmp11_, TRUE);
#line 234 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp12_ = searchable;
#line 234 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp13_ = self->priv->d_search_entry;
#line 234 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_ext_searchable_set_search_entry (_tmp12_, (GtkEntry*) _tmp13_);
#line 904 "gitg-window.c"
	} else {
		GitgExtSearchable* _tmp14_;
		GitgExtSearchable* _tmp15_;
#line 238 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp14_ = searchable;
#line 238 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_ext_searchable_set_search_visible (_tmp14_, FALSE);
#line 239 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp15_ = searchable;
#line 239 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_ext_searchable_set_search_entry (_tmp15_, NULL);
#line 916 "gitg-window.c"
	}
#line 224 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (searchable);
#line 920 "gitg-window.c"
}


static void _gitg_window_search_button_toggled_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) {
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_window_search_button_toggled ((GitgWindow*) self, _sender);
#line 927 "gitg-window.c"
}


static void gitg_window_search_entry_changed (GitgWindow* self, GtkEditable* entry) {
	GitgExtSearchable* searchable;
	GitgExtActivity* _tmp0_;
	GitgExtActivity* _tmp1_;
	GitgExtSearchable* _tmp2_;
	gchar* ntext;
	GtkEditable* _tmp3_;
	const gchar* _tmp4_;
	const gchar* _tmp5_;
	gchar* _tmp6_;
	const gchar* _tmp7_;
	GitgExtSearchable* _tmp8_;
	gchar* _tmp9_;
	gchar* _tmp10_;
	gchar* _tmp11_;
	gboolean _tmp12_;
#line 244 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (self != NULL);
#line 244 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (entry != NULL);
#line 246 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = gitg_ext_application_get_current_activity ((GitgExtApplication*) self);
#line 246 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = _tmp0_;
#line 246 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, GITG_EXT_TYPE_SEARCHABLE) ? ((GitgExtSearchable*) _tmp1_) : NULL;
#line 246 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp2_ == NULL) {
#line 246 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (_tmp1_);
#line 961 "gitg-window.c"
	}
#line 246 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	searchable = _tmp2_;
#line 247 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp3_ = entry;
#line 247 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp4_ = gtk_entry_get_text (G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, gtk_entry_get_type ()) ? ((GtkEntry*) _tmp3_) : NULL);
#line 247 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp5_ = _tmp4_;
#line 247 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp6_ = g_strdup (_tmp5_);
#line 247 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	ntext = _tmp6_;
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp7_ = ntext;
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp8_ = searchable;
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp9_ = gitg_ext_searchable_get_search_text (_tmp8_);
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp10_ = _tmp9_;
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp11_ = _tmp10_;
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp12_ = g_strcmp0 (_tmp7_, _tmp11_) != 0;
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_free0 (_tmp11_);
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp12_) {
#line 991 "gitg-window.c"
		GitgExtSearchable* _tmp13_;
		const gchar* _tmp14_;
#line 251 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp13_ = searchable;
#line 251 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp14_ = ntext;
#line 251 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_ext_searchable_set_search_text (_tmp13_, _tmp14_);
#line 1000 "gitg-window.c"
	}
#line 244 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_free0 (ntext);
#line 244 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (searchable);
#line 1006 "gitg-window.c"
}


static void _gitg_window_search_entry_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self) {
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_window_search_entry_changed ((GitgWindow*) self, _sender);
#line 1013 "gitg-window.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 371 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return self ? g_object_ref (self) : NULL;
#line 1020 "gitg-window.c"
}


static void gitg_window_real_style_updated (GtkWidget* base) {
	GitgWindow * self;
	GtkSettings* settings;
	GtkSettings* _tmp0_;
	GtkSettings* _tmp1_;
	gchar* theme;
	const gchar* _tmp2_;
	gchar* _tmp3_;
	gboolean _tmp4_ = FALSE;
	GtkSettings* _tmp5_;
	gboolean _tmp6_;
	gboolean _tmp7_;
	gboolean dark;
	gboolean _tmp12_;
#line 367 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = (GitgWindow*) base;
#line 369 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	GTK_WIDGET_CLASS (gitg_window_parent_class)->style_updated ((GtkWidget*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_application_window_get_type (), GtkApplicationWindow));
#line 371 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = gtk_settings_get_default ();
#line 371 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 371 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	settings = _tmp1_;
#line 372 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp2_ = g_getenv ("GTK_THEME");
#line 372 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp3_ = g_strdup (_tmp2_);
#line 372 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	theme = _tmp3_;
#line 374 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp5_ = settings;
#line 374 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_object_get (_tmp5_, "gtk-application-prefer-dark-theme", &_tmp6_, NULL);
#line 374 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp7_ = _tmp6_;
#line 374 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp7_) {
#line 374 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp4_ = TRUE;
#line 1064 "gitg-window.c"
	} else {
		gboolean _tmp8_ = FALSE;
		const gchar* _tmp9_;
#line 374 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp9_ = theme;
#line 374 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (_tmp9_ != NULL) {
#line 1072 "gitg-window.c"
			const gchar* _tmp10_;
			gboolean _tmp11_;
#line 374 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp10_ = theme;
#line 374 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp11_ = g_str_has_suffix (_tmp10_, ":dark");
#line 374 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp8_ = _tmp11_;
#line 1081 "gitg-window.c"
		} else {
#line 374 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp8_ = FALSE;
#line 1085 "gitg-window.c"
		}
#line 374 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp4_ = _tmp8_;
#line 1089 "gitg-window.c"
	}
#line 374 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	dark = _tmp4_;
#line 376 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp12_ = dark;
#line 376 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp12_) {
#line 1097 "gitg-window.c"
		GtkStyleContext* _tmp13_;
#line 378 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp13_ = gtk_widget_get_style_context ((GtkWidget*) self);
#line 378 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_style_context_add_class (_tmp13_, "dark");
#line 1103 "gitg-window.c"
	} else {
		GtkStyleContext* _tmp14_;
#line 382 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp14_ = gtk_widget_get_style_context ((GtkWidget*) self);
#line 382 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_style_context_remove_class (_tmp14_, "dark");
#line 1110 "gitg-window.c"
	}
#line 367 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_free0 (theme);
#line 367 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (settings);
#line 1116 "gitg-window.c"
}


static gboolean gitg_window_real_delete_event (GtkWidget* base, GdkEventAny* event) {
	GitgWindow * self;
	gboolean result = FALSE;
	gboolean ret;
	gboolean _tmp2_;
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = (GitgWindow*) base;
#line 386 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 388 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	ret = FALSE;
#line 390 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (GTK_WIDGET_CLASS (gitg_window_parent_class)->delete_event != NULL) {
#line 1133 "gitg-window.c"
		GdkEventAny* _tmp0_;
		gboolean _tmp1_;
#line 392 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp0_ = event;
#line 392 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp1_ = GTK_WIDGET_CLASS (gitg_window_parent_class)->delete_event ((GtkWidget*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_application_window_get_type (), GtkApplicationWindow), _tmp0_);
#line 392 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		ret = _tmp1_;
#line 1142 "gitg-window.c"
	}
#line 395 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp2_ = ret;
#line 395 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (!_tmp2_) {
#line 397 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_ext_application_set_repository ((GitgExtApplication*) self, NULL);
#line 1150 "gitg-window.c"
	}
#line 400 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	result = ret;
#line 400 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 1156 "gitg-window.c"
}


static void gitg_window_on_close_activated (GitgWindow* self) {
#line 403 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (self != NULL);
#line 405 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_window_close ((GtkWindow*) self);
#line 1165 "gitg-window.c"
}


static void gitg_window_on_search_activated (GitgWindow* self, GSimpleAction* action) {
	GtkToggleButton* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
#line 408 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (self != NULL);
#line 408 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (action != NULL);
#line 410 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = self->priv->d_search_button;
#line 410 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = gtk_widget_get_visible ((GtkWidget*) _tmp0_);
#line 410 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp2_ = _tmp1_;
#line 410 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp2_) {
#line 1185 "gitg-window.c"
		gboolean state;
		GSimpleAction* _tmp3_;
		GVariant* _tmp4_;
		GVariant* _tmp5_;
		gboolean _tmp6_;
		gboolean _tmp7_;
		GSimpleAction* _tmp8_;
		gboolean _tmp9_;
		GVariant* _tmp10_;
		GVariant* _tmp11_;
#line 412 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp3_ = action;
#line 412 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp4_ = g_action_get_state ((GAction*) _tmp3_);
#line 412 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp5_ = _tmp4_;
#line 412 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp6_ = g_variant_get_boolean (_tmp5_);
#line 412 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp7_ = _tmp6_;
#line 412 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_variant_unref0 (_tmp5_);
#line 412 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		state = _tmp7_;
#line 413 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp8_ = action;
#line 413 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp9_ = state;
#line 413 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp10_ = g_variant_new_boolean (!_tmp9_);
#line 413 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_variant_ref_sink (_tmp10_);
#line 413 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp11_ = _tmp10_;
#line 413 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_simple_action_set_state (_tmp8_, _tmp11_);
#line 413 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_variant_unref0 (_tmp11_);
#line 1224 "gitg-window.c"
	}
}


static void gitg_window_on_gear_menu_activated (GitgWindow* self, GSimpleAction* action) {
	gboolean state;
	GSimpleAction* _tmp0_;
	GVariant* _tmp1_;
	GVariant* _tmp2_;
	gboolean _tmp3_;
	gboolean _tmp4_;
	GSimpleAction* _tmp5_;
	GVariant* _tmp6_;
	GVariant* _tmp7_;
#line 417 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (self != NULL);
#line 417 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (action != NULL);
#line 419 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = action;
#line 419 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = g_action_get_state ((GAction*) _tmp0_);
#line 419 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp2_ = _tmp1_;
#line 419 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp3_ = g_variant_get_boolean (_tmp2_);
#line 419 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp4_ = _tmp3_;
#line 419 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_variant_unref0 (_tmp2_);
#line 419 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	state = _tmp4_;
#line 421 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp5_ = action;
#line 421 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp6_ = g_variant_new_boolean (!state);
#line 421 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_variant_ref_sink (_tmp6_);
#line 421 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp7_ = _tmp6_;
#line 421 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_simple_action_set_state (_tmp5_, _tmp7_);
#line 421 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_variant_unref0 (_tmp7_);
#line 1269 "gitg-window.c"
}


static GitgExtApplication* gitg_window_real_open_new (GitgExtApplication* base, GgitRepository* repository, const gchar* hint) {
	GitgWindow * self;
	GitgExtApplication* result = NULL;
	GitgWindow* window;
	GtkApplication* _tmp0_;
	GtkApplication* _tmp1_;
	GgitRepository* _tmp2_;
	const gchar* _tmp3_;
	GitgWindow* _tmp4_;
#line 455 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = (GitgWindow*) base;
#line 455 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_val_if_fail (repository != NULL, NULL);
#line 457 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = gtk_window_get_application ((GtkWindow*) self);
#line 457 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = _tmp0_;
#line 457 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp2_ = repository;
#line 457 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp3_ = hint;
#line 457 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp4_ = gitg_window_create_new (_tmp1_, G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GITG_TYPE_REPOSITORY, GitgRepository), _tmp3_);
#line 457 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	window = _tmp4_;
#line 458 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_window_present ((GtkWindow*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_application_window_get_type (), GtkApplicationWindow));
#line 460 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	result = (GitgExtApplication*) window;
#line 460 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 1304 "gitg-window.c"
}


static const gchar* string_to_string (const gchar* self) {
	const gchar* result = NULL;
#line 1434 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1435 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	result = self;
#line 1435 "/home/mcatanzaro/Projects/GNOME/install/share/vala-0.36/vapi/glib-2.0.vapi"
	return result;
#line 1316 "gitg-window.c"
}


static void gitg_window_update_title (GitgWindow* self) {
	gchar* windowtitle;
	gchar* _tmp0_;
	gchar* title = NULL;
	gchar* subtitle;
	GitgRepository* _tmp1_;
	gboolean _tmp42_;
	GError * _inner_error_ = NULL;
#line 463 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (self != NULL);
#line 465 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = g_strdup ("gitg");
#line 465 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	windowtitle = _tmp0_;
#line 467 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	subtitle = NULL;
#line 469 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = self->priv->d_repository;
#line 469 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp1_ != NULL) {
#line 1340 "gitg-window.c"
		GFile* workdir;
		GitgRepository* _tmp2_;
		GFile* _tmp3_;
		GFile* _tmp4_;
		gchar* head_name;
		const gchar* _tmp38_;
#line 471 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp2_ = self->priv->d_repository;
#line 471 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp3_ = ggit_repository_get_workdir ((GgitRepository*) _tmp2_);
#line 471 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		workdir = _tmp3_;
#line 473 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp4_ = workdir;
#line 473 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (_tmp4_ != NULL) {
#line 1357 "gitg-window.c"
			gchar* parent_path;
			GFile* _tmp5_;
			GFile* _tmp6_;
			GFile* _tmp7_;
			gchar* _tmp8_;
			gchar* _tmp9_;
			GitgRepository* _tmp10_;
			gchar* _tmp11_;
			gchar* _tmp12_;
			gchar* _tmp13_;
			const gchar* _tmp14_;
			const gchar* _tmp15_;
			const gchar* _tmp16_;
			gchar* _tmp17_;
			GitgRepository* _tmp18_;
			gchar* _tmp19_;
			gchar* _tmp20_;
			gchar* _tmp21_;
			const gchar* _tmp22_;
			gchar* _tmp23_;
#line 475 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp5_ = workdir;
#line 475 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp6_ = g_file_get_parent (_tmp5_);
#line 475 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp7_ = _tmp6_;
#line 475 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp8_ = gitg_utils_replace_home_dir_with_tilde (_tmp7_);
#line 475 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp9_ = _tmp8_;
#line 475 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_object_unref0 (_tmp7_);
#line 475 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			parent_path = _tmp9_;
#line 477 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp10_ = self->priv->d_repository;
#line 477 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp11_ = gitg_repository_get_name (_tmp10_);
#line 477 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp12_ = _tmp11_;
#line 477 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp13_ = _tmp12_;
#line 477 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp14_ = string_to_string (_tmp13_);
#line 477 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp15_ = parent_path;
#line 477 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp16_ = string_to_string (_tmp15_);
#line 477 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp17_ = g_strconcat (_tmp14_, " (", _tmp16_, ")", NULL);
#line 477 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_free0 (title);
#line 477 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			title = _tmp17_;
#line 477 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_free0 (_tmp13_);
#line 478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp18_ = self->priv->d_repository;
#line 478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp19_ = gitg_repository_get_name (_tmp18_);
#line 478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp20_ = _tmp19_;
#line 478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp21_ = _tmp20_;
#line 478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp22_ = string_to_string (_tmp21_);
#line 478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp23_ = g_strconcat (_tmp22_, " - gitg", NULL);
#line 478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_free0 (windowtitle);
#line 478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			windowtitle = _tmp23_;
#line 478 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_free0 (_tmp21_);
#line 473 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_free0 (parent_path);
#line 1434 "gitg-window.c"
		} else {
			GitgRepository* _tmp24_;
			gchar* _tmp25_;
			gchar* _tmp26_;
#line 482 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp24_ = self->priv->d_repository;
#line 482 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp25_ = gitg_repository_get_name (_tmp24_);
#line 482 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp26_ = _tmp25_;
#line 482 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_free0 (title);
#line 482 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			title = _tmp26_;
#line 1449 "gitg-window.c"
		}
#line 485 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		head_name = NULL;
#line 1453 "gitg-window.c"
		{
			GitgRef* head;
			GitgRepository* _tmp27_;
			GitgRepository* _tmp28_;
			GitgRepository* _tmp29_;
			GitgRef* _tmp30_;
			GitgRef* _tmp31_;
			GitgRef* _tmp32_;
			GitgParsedRefName* _tmp33_;
			GitgParsedRefName* _tmp34_;
			GitgParsedRefName* _tmp35_;
			gchar* _tmp36_;
			gchar* _tmp37_;
#line 489 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp27_ = gitg_ext_application_get_repository ((GitgExtApplication*) self);
#line 489 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp28_ = _tmp27_;
#line 489 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp29_ = _tmp28_;
#line 489 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp30_ = gitg_repository_get_head (_tmp29_, &_inner_error_);
#line 489 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp31_ = _tmp30_;
#line 489 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_object_unref0 (_tmp29_);
#line 489 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			head = _tmp31_;
#line 489 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1483 "gitg-window.c"
				goto __catch109_g_error;
			}
#line 490 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp32_ = head;
#line 490 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp33_ = gitg_ref_get_parsed_name (_tmp32_);
#line 490 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp34_ = _tmp33_;
#line 490 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp35_ = _tmp34_;
#line 490 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp36_ = gitg_parsed_ref_name_get_shortname (_tmp35_);
#line 490 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp37_ = _tmp36_;
#line 490 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_free0 (head_name);
#line 490 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			head_name = _tmp37_;
#line 490 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_object_unref0 (_tmp35_);
#line 487 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_object_unref0 (head);
#line 1506 "gitg-window.c"
		}
		goto __finally109;
		__catch109_g_error:
		{
#line 487 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			g_clear_error (&_inner_error_);
#line 487 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_inner_error_ = NULL;
#line 1515 "gitg-window.c"
		}
		__finally109:
#line 487 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 487 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_free0 (head_name);
#line 487 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_object_unref0 (workdir);
#line 487 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_free0 (subtitle);
#line 487 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_free0 (title);
#line 487 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_free0 (windowtitle);
#line 487 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.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 487 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			g_clear_error (&_inner_error_);
#line 487 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			return;
#line 1536 "gitg-window.c"
		}
#line 494 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp38_ = head_name;
#line 494 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (_tmp38_ != NULL) {
#line 1542 "gitg-window.c"
			const gchar* _tmp39_;
			gchar* _tmp40_;
#line 496 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp39_ = head_name;
#line 496 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp40_ = g_markup_escape_text (_tmp39_, (gssize) -1);
#line 496 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_free0 (subtitle);
#line 496 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			subtitle = _tmp40_;
#line 1553 "gitg-window.c"
		}
#line 469 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_free0 (head_name);
#line 469 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (workdir);
#line 1559 "gitg-window.c"
	} else {
		gchar* _tmp41_;
#line 501 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp41_ = g_strdup (_ ("Projects"));
#line 501 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_free0 (title);
#line 501 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		title = _tmp41_;
#line 1568 "gitg-window.c"
	}
#line 504 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp42_ = gitg_platform_support_use_native_window_controls (NULL);
#line 504 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp42_) {
#line 1574 "gitg-window.c"
		GtkHeaderBar* _tmp43_;
		const gchar* _tmp44_;
		const gchar* _tmp45_;
#line 506 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp43_ = self->priv->d_header_bar;
#line 506 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp44_ = subtitle;
#line 506 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_header_bar_set_title (_tmp43_, _tmp44_);
#line 507 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp45_ = title;
#line 507 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_window_set_title ((GtkWindow*) self, _tmp45_);
#line 1588 "gitg-window.c"
	} else {
		const gchar* _tmp46_;
		GtkHeaderBar* _tmp47_;
		const gchar* _tmp48_;
		GtkHeaderBar* _tmp49_;
		const gchar* _tmp50_;
#line 511 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp46_ = windowtitle;
#line 511 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_window_set_title ((GtkWindow*) self, _tmp46_);
#line 512 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp47_ = self->priv->d_header_bar;
#line 512 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp48_ = title;
#line 512 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_header_bar_set_title (_tmp47_, _tmp48_);
#line 513 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp49_ = self->priv->d_header_bar;
#line 513 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp50_ = subtitle;
#line 513 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_header_bar_set_subtitle (_tmp49_, _tmp50_);
#line 1611 "gitg-window.c"
	}
#line 463 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_free0 (subtitle);
#line 463 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_free0 (title);
#line 463 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_free0 (windowtitle);
#line 1619 "gitg-window.c"
}


static void gitg_window_repository_changed (GitgWindow* self) {
	GtkInfoBar* _tmp0_;
	GitgRepository* _tmp1_;
	GitgUIElements* _tmp30_;
	GitgRepository* _tmp31_;
	GitgWindowMode _tmp32_;
#line 517 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (self != NULL);
#line 519 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_window_update_title (self);
#line 520 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = self->priv->d_infobar;
#line 520 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_hide ((GtkWidget*) _tmp0_);
#line 522 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = self->priv->d_repository;
#line 522 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp1_ != NULL) {
#line 1641 "gitg-window.c"
		GtkStack* _tmp2_;
		GtkStack* _tmp3_;
		GtkStack* _tmp4_;
		GtkStackSwitcher* _tmp5_;
		GtkButton* _tmp6_;
		GtkButton* _tmp7_;
		GtkButton* _tmp8_;
		GitgDashView* _tmp9_;
		GitgRepository* _tmp10_;
		GitgRepositoryListBoxRow* _tmp11_;
		GitgRepositoryListBoxRow* _tmp12_;
		GtkMenuButton* _tmp13_;
		GMenuModel* _tmp14_;
		GtkMenuButton* _tmp15_;
		GtkMenuButton* _tmp16_;
#line 524 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		self->priv->d_mode = GITG_WINDOW_MODE_ACTIVITY;
#line 526 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp2_ = self->priv->d_main_stack;
#line 526 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_stack_set_transition_type (_tmp2_, GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT);
#line 527 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp3_ = self->priv->d_main_stack;
#line 527 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp4_ = self->priv->d_stack_activities;
#line 527 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_stack_set_visible_child (_tmp3_, (GtkWidget*) _tmp4_);
#line 528 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp5_ = self->priv->d_activities_switcher;
#line 528 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_show ((GtkWidget*) _tmp5_);
#line 529 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp6_ = self->priv->d_dash_button;
#line 529 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_show ((GtkWidget*) _tmp6_);
#line 530 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp7_ = self->priv->d_clone_button;
#line 530 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_hide ((GtkWidget*) _tmp7_);
#line 531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp8_ = self->priv->d_add_button;
#line 531 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_hide ((GtkWidget*) _tmp8_);
#line 532 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp9_ = self->priv->d_dash_view;
#line 532 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp10_ = self->priv->d_repository;
#line 532 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp11_ = gitg_dash_view_add_repository (_tmp9_, _tmp10_);
#line 532 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp12_ = _tmp11_;
#line 532 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (_tmp12_);
#line 534 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp13_ = self->priv->d_gear_menu;
#line 534 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp14_ = self->priv->d_activities_model;
#line 534 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_menu_button_set_menu_model (_tmp13_, _tmp14_);
#line 535 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp15_ = self->priv->d_gear_menu;
#line 535 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_show ((GtkWidget*) _tmp15_);
#line 536 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp16_ = self->priv->d_gear_menu;
#line 536 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_set_sensitive ((GtkWidget*) _tmp16_, TRUE);
#line 1709 "gitg-window.c"
	} else {
		GtkStack* _tmp17_;
		GtkStack* _tmp18_;
		GitgDashView* _tmp19_;
		GtkStackSwitcher* _tmp20_;
		GtkButton* _tmp21_;
		GtkButton* _tmp22_;
		GtkButton* _tmp23_;
		GtkMenuButton* _tmp24_;
		GMenuModel* _tmp25_;
		GtkMenuButton* _tmp26_;
		GMenuModel* _tmp27_;
		GtkMenuButton* _tmp28_;
		GMenuModel* _tmp29_;
#line 540 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		self->priv->d_mode = GITG_WINDOW_MODE_DASH;
#line 542 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp17_ = self->priv->d_main_stack;
#line 542 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_stack_set_transition_type (_tmp17_, GTK_STACK_TRANSITION_TYPE_SLIDE_RIGHT);
#line 543 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp18_ = self->priv->d_main_stack;
#line 543 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp19_ = self->priv->d_dash_view;
#line 543 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_stack_set_visible_child (_tmp18_, (GtkWidget*) _tmp19_);
#line 544 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp20_ = self->priv->d_activities_switcher;
#line 544 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_hide ((GtkWidget*) _tmp20_);
#line 545 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp21_ = self->priv->d_dash_button;
#line 545 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_hide ((GtkWidget*) _tmp21_);
#line 546 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp22_ = self->priv->d_clone_button;
#line 546 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_show ((GtkWidget*) _tmp22_);
#line 547 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp23_ = self->priv->d_add_button;
#line 547 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_show ((GtkWidget*) _tmp23_);
#line 549 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp24_ = self->priv->d_gear_menu;
#line 549 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp25_ = self->priv->d_dash_model;
#line 549 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_menu_button_set_menu_model (_tmp24_, _tmp25_);
#line 550 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp26_ = self->priv->d_gear_menu;
#line 550 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp27_ = self->priv->d_dash_model;
#line 550 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp26_, _tmp27_ != NULL);
#line 551 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp28_ = self->priv->d_gear_menu;
#line 551 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp29_ = self->priv->d_dash_model;
#line 551 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_set_sensitive ((GtkWidget*) _tmp28_, _tmp29_ != NULL);
#line 1770 "gitg-window.c"
	}
#line 554 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp30_ = self->priv->d_activities;
#line 554 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_ui_elements_update (_tmp30_);
#line 556 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp31_ = self->priv->d_repository;
#line 556 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp31_ != NULL) {
#line 558 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_window_activate_default_activity (self);
#line 1782 "gitg-window.c"
	}
#line 561 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp32_ = self->priv->d_mode;
#line 561 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp32_ == GITG_WINDOW_MODE_DASH) {
#line 563 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_window_on_current_activity_changed (self);
#line 1790 "gitg-window.c"
	}
}


static gboolean ___lambda118_ (GitgWindow* self) {
	gboolean result = FALSE;
#line 570 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_window_set_interactive_debugging (TRUE);
#line 571 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	result = FALSE;
#line 571 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 1803 "gitg-window.c"
}


static gboolean ____lambda118__gsource_func (gpointer self) {
	gboolean result;
	result = ___lambda118_ ((GitgWindow*) self);
#line 569 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 1812 "gitg-window.c"
}


static void gitg_window_real_realize (GtkWidget* base) {
	GitgWindow * self;
	const gchar* _tmp0_;
#line 567 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = (GitgWindow*) base;
#line 568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = g_getenv ("GITG_GTK_DEBUG_INTERACTIVE");
#line 568 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp0_ != NULL) {
#line 569 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 1, ____lambda118__gsource_func, g_object_ref (self), g_object_unref);
#line 1827 "gitg-window.c"
	}
#line 575 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	GTK_WIDGET_CLASS (gitg_window_parent_class)->realize ((GtkWidget*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_application_window_get_type (), GtkApplicationWindow));
#line 1831 "gitg-window.c"
}


static gboolean gitg_window_real_window_state_event (GtkWidget* base, GdkEventWindowState* event) {
	GitgWindow * self;
	gboolean result = FALSE;
	GSettings* _tmp0_;
	GdkEventWindowState* _tmp1_;
	GdkWindowState _tmp2_;
	GdkEventWindowState* _tmp3_;
	gboolean _tmp4_;
#line 578 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = (GitgWindow*) base;
#line 578 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 580 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = self->priv->d_state_settings;
#line 580 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = event;
#line 580 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp2_ = _tmp1_->new_window_state;
#line 580 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_settings_set_int (_tmp0_, "state", (gint) _tmp2_);
#line 581 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp3_ = event;
#line 581 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp4_ = GTK_WIDGET_CLASS (gitg_window_parent_class)->window_state_event ((GtkWidget*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_application_window_get_type (), GtkApplicationWindow), _tmp3_);
#line 581 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	result = _tmp4_;
#line 581 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 1863 "gitg-window.c"
}


static gboolean gitg_window_real_configure_event (GtkWidget* base, GdkEventConfigure* event) {
	GitgWindow * self;
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_;
	GdkEventConfigure* _tmp9_;
	gboolean _tmp10_;
#line 584 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = (GitgWindow*) base;
#line 584 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_val_if_fail (event != NULL, FALSE);
#line 586 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = gtk_widget_get_realized ((GtkWidget*) self);
#line 586 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp1_) {
#line 1882 "gitg-window.c"
		GdkWindow* _tmp2_;
		GdkWindowState _tmp3_;
#line 586 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp2_ = gtk_widget_get_window ((GtkWidget*) self);
#line 586 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp3_ = gdk_window_get_state (_tmp2_);
#line 586 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp0_ = !((_tmp3_ & GDK_WINDOW_STATE_MAXIMIZED) == GDK_WINDOW_STATE_MAXIMIZED);
#line 1891 "gitg-window.c"
	} else {
#line 586 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp0_ = FALSE;
#line 1895 "gitg-window.c"
	}
#line 586 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp0_) {
#line 1899 "gitg-window.c"
		GSettings* _tmp4_;
		GdkEventConfigure* _tmp5_;
		gint _tmp6_;
		GdkEventConfigure* _tmp7_;
		gint _tmp8_;
#line 588 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp4_ = self->priv->d_state_settings;
#line 588 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp5_ = event;
#line 588 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp6_ = _tmp5_->width;
#line 588 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp7_ = event;
#line 588 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp8_ = _tmp7_->height;
#line 588 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_settings_set (_tmp4_, "size", "(ii)", _tmp6_, _tmp8_);
#line 1917 "gitg-window.c"
	}
#line 591 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp9_ = event;
#line 591 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp10_ = GTK_WIDGET_CLASS (gitg_window_parent_class)->configure_event ((GtkWidget*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_application_window_get_type (), GtkApplicationWindow), _tmp9_);
#line 591 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	result = _tmp10_;
#line 591 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 1927 "gitg-window.c"
}


static GitgExtExternalChangeHint gitg_window_external_change_hint_from_file (GitgWindow* self, GFile* location) {
	GitgExtExternalChangeHint result = 0;
	GFile* l;
	GitgRepository* _tmp0_;
	GFile* _tmp1_;
	GFile* refs;
	GFile* _tmp2_;
	GFile* _tmp3_;
	GFile* index;
	GFile* _tmp4_;
	GFile* _tmp5_;
	GFile* head;
	GFile* _tmp6_;
	GFile* _tmp7_;
	gboolean _tmp8_ = FALSE;
	gboolean _tmp9_ = FALSE;
	GFile* _tmp10_;
	GFile* _tmp11_;
	gboolean _tmp12_;
#line 594 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 594 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_val_if_fail (location != NULL, 0);
#line 596 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = self->priv->d_repository;
#line 596 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = ggit_repository_get_location ((GgitRepository*) _tmp0_);
#line 596 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	l = _tmp1_;
#line 598 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp2_ = l;
#line 598 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp3_ = g_file_get_child (_tmp2_, "refs");
#line 598 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	refs = _tmp3_;
#line 599 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp4_ = l;
#line 599 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp5_ = g_file_get_child (_tmp4_, "index");
#line 599 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	index = _tmp5_;
#line 600 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp6_ = l;
#line 600 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp7_ = g_file_get_child (_tmp6_, "HEAD");
#line 600 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	head = _tmp7_;
#line 602 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp10_ = location;
#line 602 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp11_ = refs;
#line 602 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp12_ = g_file_equal (_tmp10_, _tmp11_);
#line 602 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp12_) {
#line 602 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp9_ = TRUE;
#line 1988 "gitg-window.c"
	} else {
		GFile* _tmp13_;
		GFile* _tmp14_;
		gboolean _tmp15_;
#line 602 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp13_ = location;
#line 602 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp14_ = refs;
#line 602 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp15_ = g_file_has_prefix (_tmp13_, _tmp14_);
#line 602 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp9_ = _tmp15_;
#line 2001 "gitg-window.c"
	}
#line 602 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp9_) {
#line 602 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp8_ = TRUE;
#line 2007 "gitg-window.c"
	} else {
		GFile* _tmp16_;
		GFile* _tmp17_;
		gboolean _tmp18_;
#line 602 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp16_ = location;
#line 602 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp17_ = head;
#line 602 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp18_ = g_file_equal (_tmp16_, _tmp17_);
#line 602 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp8_ = _tmp18_;
#line 2020 "gitg-window.c"
	}
#line 602 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp8_) {
#line 604 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		result = GITG_EXT_EXTERNAL_CHANGE_HINT_REFS;
#line 604 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (head);
#line 604 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (index);
#line 604 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (refs);
#line 604 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (l);
#line 604 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		return result;
#line 2036 "gitg-window.c"
	} else {
		GFile* _tmp19_;
		GFile* _tmp20_;
		gboolean _tmp21_;
#line 606 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp19_ = location;
#line 606 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp20_ = index;
#line 606 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp21_ = g_file_equal (_tmp19_, _tmp20_);
#line 606 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (_tmp21_) {
#line 608 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			result = GITG_EXT_EXTERNAL_CHANGE_HINT_INDEX;
#line 608 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_object_unref0 (head);
#line 608 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_object_unref0 (index);
#line 608 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_object_unref0 (refs);
#line 608 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_object_unref0 (l);
#line 608 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			return result;
#line 2061 "gitg-window.c"
		} else {
#line 612 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			result = GITG_EXT_EXTERNAL_CHANGE_HINT_NONE;
#line 612 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_object_unref0 (head);
#line 612 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_object_unref0 (index);
#line 612 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_object_unref0 (refs);
#line 612 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_object_unref0 (l);
#line 612 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			return result;
#line 2075 "gitg-window.c"
		}
	}
#line 594 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (head);
#line 594 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (index);
#line 594 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (refs);
#line 594 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (l);
#line 2086 "gitg-window.c"
}


static gboolean gitg_window_filter_repository_changes (GitgWindow* self, GFile* location) {
	gboolean result = FALSE;
	GFile* _tmp0_;
	GitgExtExternalChangeHint _tmp1_;
#line 617 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 617 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_val_if_fail (location != NULL, FALSE);
#line 619 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = location;
#line 619 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = gitg_window_external_change_hint_from_file (self, _tmp0_);
#line 619 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	result = _tmp1_ != GITG_EXT_EXTERNAL_CHANGE_HINT_NONE;
#line 619 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 2106 "gitg-window.c"
}


static void gitg_window_set_repository_internal (GitgWindow* self, GitgRepository* repository) {
	GitgRecursiveMonitor* _tmp0_;
	GitgRepository* _tmp2_;
	GitgRepository* _tmp3_;
	GitgRepository* _tmp4_;
	GitgRemoteManager* _tmp5_;
#line 622 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (self != NULL);
#line 624 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = self->priv->d_repository_monitor;
#line 624 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp0_ != NULL) {
#line 2122 "gitg-window.c"
		GitgRecursiveMonitor* _tmp1_;
#line 626 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp1_ = self->priv->d_repository_monitor;
#line 626 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_recursive_monitor_cancel (_tmp1_);
#line 627 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (self->priv->d_repository_monitor);
#line 627 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		self->priv->d_repository_monitor = NULL;
#line 2132 "gitg-window.c"
	}
#line 630 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp2_ = repository;
#line 630 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 630 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_repository);
#line 630 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self->priv->d_repository = _tmp3_;
#line 632 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp4_ = self->priv->d_repository;
#line 632 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp4_ != NULL) {
#line 634 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_window_update_enable_monitoring (self);
#line 2148 "gitg-window.c"
	}
#line 637 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp5_ = gitg_remote_manager_new (self);
#line 637 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_remote_manager);
#line 637 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self->priv->d_remote_manager = _tmp5_;
#line 638 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_object_notify ((GObject*) self, "repository");
#line 2158 "gitg-window.c"
}


static gboolean _gitg_window_filter_repository_changes_gitg_recursive_monitor_filter_func (GFile* file, gpointer self) {
	gboolean result;
	result = gitg_window_filter_repository_changes ((GitgWindow*) self, file);
#line 667 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 2167 "gitg-window.c"
}


static void ___lambda92_ (GitgWindow* self, GFile** files, int files_length1) {
	GitgExtExternalChangeHint hint;
	GFile** _tmp0_;
	gint _tmp0__length1;
	GitgExtExternalChangeHint _tmp5_;
#line 669 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	hint = GITG_EXT_EXTERNAL_CHANGE_HINT_NONE;
#line 671 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = files;
#line 671 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0__length1 = files_length1;
#line 2182 "gitg-window.c"
	{
		GFile** f_collection = NULL;
		gint f_collection_length1 = 0;
		gint _f_collection_size_ = 0;
		gint f_it = 0;
#line 671 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		f_collection = _tmp0_;
#line 671 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		f_collection_length1 = _tmp0__length1;
#line 671 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		for (f_it = 0; f_it < _tmp0__length1; f_it = f_it + 1) {
#line 2194 "gitg-window.c"
			GFile* _tmp1_;
			GFile* f = NULL;
#line 671 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp1_ = _g_object_ref0 (f_collection[f_it]);
#line 671 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			f = _tmp1_;
#line 2201 "gitg-window.c"
			{
				GitgExtExternalChangeHint _tmp2_;
				GFile* _tmp3_;
				GitgExtExternalChangeHint _tmp4_;
#line 673 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp2_ = hint;
#line 673 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp3_ = f;
#line 673 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp4_ = gitg_window_external_change_hint_from_file (self, _tmp3_);
#line 673 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				hint = _tmp2_ | _tmp4_;
#line 671 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_g_object_unref0 (f);
#line 2216 "gitg-window.c"
			}
		}
	}
#line 676 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp5_ = hint;
#line 676 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_signal_emit_by_name ((GitgExtApplication*) self, "repository-changed-externally", _tmp5_);
#line 2224 "gitg-window.c"
}


static void ____lambda92__gitg_recursive_monitor_changed (GitgRecursiveMonitor* _sender, GFile** files, int files_length1, gpointer self) {
#line 668 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	___lambda92_ ((GitgWindow*) self, files, files_length1);
#line 2231 "gitg-window.c"
}


static void gitg_window_update_enable_monitoring (GitgWindow* self) {
	GitgRecursiveMonitor* _tmp0_;
	gboolean _tmp2_ = FALSE;
	gboolean _tmp3_;
	gboolean _tmp4_;
#line 657 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (self != NULL);
#line 659 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = self->priv->d_repository_monitor;
#line 659 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp0_ != NULL) {
#line 2246 "gitg-window.c"
		GitgRecursiveMonitor* _tmp1_;
#line 661 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp1_ = self->priv->d_repository_monitor;
#line 661 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_recursive_monitor_cancel (_tmp1_);
#line 662 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (self->priv->d_repository_monitor);
#line 662 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		self->priv->d_repository_monitor = NULL;
#line 2256 "gitg-window.c"
	}
#line 665 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp3_ = gitg_window_get_enable_monitoring (self);
#line 665 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp4_ = _tmp3_;
#line 665 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp4_) {
#line 2264 "gitg-window.c"
		GitgRepository* _tmp5_;
#line 665 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp5_ = self->priv->d_repository;
#line 665 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp2_ = _tmp5_ != NULL;
#line 2270 "gitg-window.c"
	} else {
#line 665 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp2_ = FALSE;
#line 2274 "gitg-window.c"
	}
#line 665 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp2_) {
#line 2278 "gitg-window.c"
		GitgRepository* _tmp6_;
		GFile* _tmp7_;
		GFile* _tmp8_;
		GitgRecursiveMonitor* _tmp9_;
		GitgRecursiveMonitor* _tmp10_;
#line 667 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp6_ = self->priv->d_repository;
#line 667 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp7_ = ggit_repository_get_location ((GgitRepository*) _tmp6_);
#line 667 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp8_ = _tmp7_;
#line 667 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp9_ = gitg_recursive_monitor_new (_tmp8_, _gitg_window_filter_repository_changes_gitg_recursive_monitor_filter_func, g_object_ref (self), g_object_unref);
#line 667 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (self->priv->d_repository_monitor);
#line 667 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		self->priv->d_repository_monitor = _tmp9_;
#line 667 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (_tmp8_);
#line 668 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp10_ = self->priv->d_repository_monitor;
#line 668 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_signal_connect_object (_tmp10_, "changed", (GCallback) ____lambda92__gitg_recursive_monitor_changed, self, 0);
#line 2302 "gitg-window.c"
	}
}


static void gitg_window_on_reload_activated (GitgWindow* self) {
	GError * _inner_error_ = NULL;
#line 681 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (self != NULL);
#line 2311 "gitg-window.c"
	{
		GitgRepository* _tmp0_;
		GitgRepository* _tmp1_;
		GitgRepository* _tmp2_;
		GitgRepository* _tmp3_;
		GFile* _tmp4_;
		GFile* _tmp5_;
		GitgRepository* _tmp6_;
		GitgRepository* _tmp7_;
#line 685 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp1_ = gitg_ext_application_get_repository ((GitgExtApplication*) self);
#line 685 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp2_ = _tmp1_;
#line 685 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp3_ = _tmp2_;
#line 685 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp4_ = ggit_repository_get_location ((GgitRepository*) _tmp3_);
#line 685 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp5_ = _tmp4_;
#line 685 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp6_ = gitg_repository_new (_tmp5_, NULL, &_inner_error_);
#line 685 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp7_ = _tmp6_;
#line 685 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (_tmp5_);
#line 685 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (_tmp3_);
#line 685 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp0_ = _tmp7_;
#line 685 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2343 "gitg-window.c"
			goto __catch110_g_error;
		}
#line 685 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_window_set_repository_internal (self, _tmp0_);
#line 686 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_window_update_title (self);
#line 683 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (_tmp0_);
#line 2352 "gitg-window.c"
	}
	goto __finally110;
	__catch110_g_error:
	{
#line 683 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_clear_error (&_inner_error_);
#line 683 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_inner_error_ = NULL;
#line 2361 "gitg-window.c"
	}
	__finally110:
#line 683 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 683 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.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 683 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_clear_error (&_inner_error_);
#line 683 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		return;
#line 2372 "gitg-window.c"
	}
}


static void gitg_window_on_repo_author_details_activated (GitgWindow* self) {
	GgitConfig* repo_config;
	GitgAuthorDetailsDialog* author_details;
	GgitConfig* _tmp4_;
	GitgRepository* _tmp5_;
	gchar* _tmp6_;
	gchar* _tmp7_;
	gchar* _tmp8_;
	GitgAuthorDetailsDialog* _tmp9_;
	GitgAuthorDetailsDialog* _tmp10_;
	GitgAuthorDetailsDialog* _tmp11_;
	GError * _inner_error_ = NULL;
#line 691 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (self != NULL);
#line 693 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	repo_config = NULL;
#line 2393 "gitg-window.c"
	{
		GgitConfig* _tmp0_;
		GitgRepository* _tmp1_;
		GgitConfig* _tmp2_;
		GgitConfig* _tmp3_;
#line 697 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp1_ = self->priv->d_repository;
#line 697 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp2_ = ggit_repository_get_config ((GgitRepository*) _tmp1_, &_inner_error_);
#line 697 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp0_ = _tmp2_;
#line 697 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2407 "gitg-window.c"
			goto __catch111_g_error;
		}
#line 697 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp3_ = _tmp0_;
#line 697 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp0_ = NULL;
#line 697 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (repo_config);
#line 697 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		repo_config = _tmp3_;
#line 695 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (_tmp0_);
#line 2420 "gitg-window.c"
	}
	goto __finally111;
	__catch111_g_error:
	{
		GError* e = NULL;
#line 695 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		e = _inner_error_;
#line 695 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_inner_error_ = NULL;
#line 701 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_error_free0 (e);
#line 701 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (repo_config);
#line 701 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		return;
#line 2436 "gitg-window.c"
	}
	__finally111:
#line 695 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 695 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (repo_config);
#line 695 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.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 695 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_clear_error (&_inner_error_);
#line 695 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		return;
#line 2449 "gitg-window.c"
	}
#line 704 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp4_ = repo_config;
#line 704 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp5_ = self->priv->d_repository;
#line 704 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp6_ = gitg_repository_get_name (_tmp5_);
#line 704 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp7_ = _tmp6_;
#line 704 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp8_ = _tmp7_;
#line 704 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp9_ = gitg_author_details_dialog_new ((GtkWindow*) self, _tmp4_, _tmp8_);
#line 704 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_object_ref_sink (_tmp9_);
#line 704 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp10_ = _tmp9_;
#line 704 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_free0 (_tmp8_);
#line 704 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	author_details = _tmp10_;
#line 705 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp11_ = author_details;
#line 705 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_show ((GtkWidget*) _tmp11_);
#line 691 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (author_details);
#line 691 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (repo_config);
#line 2479 "gitg-window.c"
}


static void gitg_window_on_current_activity_changed (GitgWindow* self) {
	GitgExtActivity* current;
	GitgExtActivity* _tmp0_;
	GitgExtActivity* _tmp1_;
	GitgExtSearchable* searchable;
	GitgExtActivity* _tmp2_;
	GitgExtSearchable* _tmp3_;
	GitgExtSearchable* _tmp4_;
	GitgExtSelectable* selectable;
	GitgExtActivity* _tmp23_;
	GitgExtSelectable* _tmp24_;
	GitgExtSelectable* _tmp25_;
#line 708 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (self != NULL);
#line 710 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_object_notify ((GObject*) self, "current_activity");
#line 712 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = gitg_ext_application_get_current_activity ((GitgExtApplication*) self);
#line 712 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = _tmp0_;
#line 712 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	current = _tmp1_;
#line 714 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp2_ = current;
#line 714 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp3_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, GITG_EXT_TYPE_SEARCHABLE) ? ((GitgExtSearchable*) _tmp2_) : NULL);
#line 714 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	searchable = _tmp3_;
#line 716 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_searchable_available_binding);
#line 716 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self->priv->d_searchable_available_binding = NULL;
#line 718 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp4_ = searchable;
#line 718 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp4_ != NULL) {
#line 2519 "gitg-window.c"
		GtkToggleButton* _tmp5_;
		GtkSearchEntry* _tmp6_;
		GitgExtSearchable* _tmp7_;
		gchar* _tmp8_;
		gchar* _tmp9_;
		gchar* _tmp10_;
		GtkToggleButton* _tmp11_;
		GitgExtSearchable* _tmp12_;
		gboolean _tmp13_;
		gboolean _tmp14_;
		GitgExtSearchable* _tmp15_;
		GtkToggleButton* _tmp16_;
		GBinding* _tmp17_;
		GBinding* _tmp18_;
#line 720 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp5_ = self->priv->d_search_button;
#line 720 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp5_, TRUE);
#line 721 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp6_ = self->priv->d_search_entry;
#line 721 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp7_ = searchable;
#line 721 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp8_ = gitg_ext_searchable_get_search_text (_tmp7_);
#line 721 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp9_ = _tmp8_;
#line 721 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp10_ = _tmp9_;
#line 721 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_entry_set_text ((GtkEntry*) _tmp6_, _tmp10_);
#line 721 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_free0 (_tmp10_);
#line 722 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp11_ = self->priv->d_search_button;
#line 722 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp12_ = searchable;
#line 722 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp13_ = gitg_ext_searchable_get_search_visible (_tmp12_);
#line 722 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp14_ = _tmp13_;
#line 722 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_toggle_button_set_active (_tmp11_, _tmp14_);
#line 724 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp15_ = searchable;
#line 724 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp16_ = self->priv->d_search_button;
#line 724 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp17_ = g_object_bind_property_with_closures ((GObject*) _tmp15_, "search-available", (GObject*) _tmp16_, "sensitive", G_BINDING_DEFAULT | G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 724 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp18_ = _g_object_ref0 (_tmp17_);
#line 724 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (self->priv->d_searchable_available_binding);
#line 724 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		self->priv->d_searchable_available_binding = _tmp18_;
#line 2574 "gitg-window.c"
	} else {
		GtkToggleButton* _tmp19_;
		GtkToggleButton* _tmp20_;
		GtkToggleButton* _tmp21_;
		GtkSearchEntry* _tmp22_;
#line 732 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp19_ = self->priv->d_search_button;
#line 732 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp19_, FALSE);
#line 733 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp20_ = self->priv->d_search_button;
#line 733 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_toggle_button_set_active (_tmp20_, FALSE);
#line 734 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp21_ = self->priv->d_search_button;
#line 734 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_set_sensitive ((GtkWidget*) _tmp21_, FALSE);
#line 735 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp22_ = self->priv->d_search_entry;
#line 735 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_entry_set_text ((GtkEntry*) _tmp22_, "");
#line 2596 "gitg-window.c"
	}
#line 738 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp23_ = current;
#line 738 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp24_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp23_, GITG_EXT_TYPE_SELECTABLE) ? ((GitgExtSelectable*) _tmp23_) : NULL);
#line 738 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	selectable = _tmp24_;
#line 740 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_selectable_mode_binding);
#line 740 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self->priv->d_selectable_mode_binding = NULL;
#line 741 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_selectable_available_binding);
#line 741 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self->priv->d_selectable_available_binding = NULL;
#line 743 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp25_ = selectable;
#line 743 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp25_ != NULL) {
#line 2616 "gitg-window.c"
		GtkToggleButton* _tmp26_;
		gchar* tooltip;
		GitgExtSelectable* _tmp27_;
		gchar* _tmp28_;
		gchar* _tmp29_;
		const gchar* _tmp30_;
		GtkToggleButton* _tmp32_;
		const gchar* _tmp33_;
		GitgExtSelectable* _tmp34_;
		GBinding* _tmp35_;
		GBinding* _tmp36_;
		GitgExtSelectable* _tmp37_;
		GtkToggleButton* _tmp38_;
		GBinding* _tmp39_;
		GBinding* _tmp40_;
#line 745 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp26_ = self->priv->d_select_button;
#line 745 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp26_, TRUE);
#line 747 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp27_ = selectable;
#line 747 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp28_ = gitg_ext_selectable_get_selectable_mode_tooltip (_tmp27_);
#line 747 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp29_ = _tmp28_;
#line 747 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		tooltip = _tmp29_;
#line 749 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp30_ = tooltip;
#line 749 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (_tmp30_ == NULL) {
#line 2648 "gitg-window.c"
			gchar* _tmp31_;
#line 751 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp31_ = g_strdup (_ ("Select items"));
#line 751 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_free0 (tooltip);
#line 751 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			tooltip = _tmp31_;
#line 2656 "gitg-window.c"
		}
#line 754 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp32_ = self->priv->d_select_button;
#line 754 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp33_ = tooltip;
#line 754 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_set_tooltip_text ((GtkWidget*) _tmp32_, _tmp33_);
#line 756 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp34_ = selectable;
#line 756 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp35_ = g_object_bind_property_with_closures ((GObject*) _tmp34_, "selectable-mode", (GObject*) self, "selectable-mode", G_BINDING_DEFAULT, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 756 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp36_ = _g_object_ref0 (_tmp35_);
#line 756 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (self->priv->d_selectable_mode_binding);
#line 756 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		self->priv->d_selectable_mode_binding = _tmp36_;
#line 761 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp37_ = selectable;
#line 761 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp38_ = self->priv->d_select_button;
#line 761 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp39_ = g_object_bind_property_with_closures ((GObject*) _tmp37_, "selectable-available", (GObject*) _tmp38_, "sensitive", G_BINDING_DEFAULT | G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 761 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp40_ = _g_object_ref0 (_tmp39_);
#line 761 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (self->priv->d_selectable_available_binding);
#line 761 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		self->priv->d_selectable_available_binding = _tmp40_;
#line 743 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_free0 (tooltip);
#line 2688 "gitg-window.c"
	} else {
		GtkToggleButton* _tmp41_;
		GtkToggleButton* _tmp42_;
		GtkToggleButton* _tmp43_;
#line 769 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp41_ = self->priv->d_select_button;
#line 769 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp41_, FALSE);
#line 770 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp42_ = self->priv->d_select_button;
#line 770 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_toggle_button_set_active (_tmp42_, FALSE);
#line 771 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp43_ = self->priv->d_select_button;
#line 771 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_set_sensitive ((GtkWidget*) _tmp43_, FALSE);
#line 2705 "gitg-window.c"
	}
#line 708 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (selectable);
#line 708 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (searchable);
#line 708 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (current);
#line 2713 "gitg-window.c"
}


static Block67Data* block67_data_ref (Block67Data* _data67_) {
#line 775 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_atomic_int_inc (&_data67_->_ref_count_);
#line 775 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return _data67_;
#line 2722 "gitg-window.c"
}


static void block67_data_unref (void * _userdata_) {
	Block67Data* _data67_;
	_data67_ = (Block67Data*) _userdata_;
#line 775 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (g_atomic_int_dec_and_test (&_data67_->_ref_count_)) {
#line 2731 "gitg-window.c"
		GitgWindow* self;
#line 775 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		self = _data67_->self;
#line 775 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (_data67_->def);
#line 775 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_free0 (_data67_->default_activity);
#line 775 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (self);
#line 775 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_slice_free (Block67Data, _data67_);
#line 2743 "gitg-window.c"
	}
}


static gboolean __lambda108_ (Block67Data* _data67_, GitgExtUIElement* element) {
	GitgWindow* self;
	gboolean result = FALSE;
	GitgExtActivity* activity;
	GitgExtUIElement* _tmp0_;
	GitgExtActivity* _tmp1_;
	GitgExtActivity* _tmp2_;
	const gchar* _tmp3_;
	gboolean _tmp4_;
#line 790 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = _data67_->self;
#line 790 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_val_if_fail (element != NULL, FALSE);
#line 791 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = element;
#line 791 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GITG_EXT_TYPE_ACTIVITY, GitgExtActivity));
#line 791 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	activity = _tmp1_;
#line 793 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp2_ = activity;
#line 793 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp3_ = _data67_->default_activity;
#line 793 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp4_ = gitg_ext_activity_is_default_for (_tmp2_, _tmp3_);
#line 793 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp4_) {
#line 2775 "gitg-window.c"
		GitgExtActivity* _tmp5_;
		GitgExtActivity* _tmp6_;
#line 795 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp5_ = activity;
#line 795 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp6_ = _g_object_ref0 (_tmp5_);
#line 795 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (_data67_->def);
#line 795 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_data67_->def = _tmp6_;
#line 2786 "gitg-window.c"
	}
#line 798 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	result = TRUE;
#line 798 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (activity);
#line 798 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 2794 "gitg-window.c"
}


static gboolean ___lambda108__gitg_ui_elements_foreach_ui_element_func (GitgExtUIElement* element, gpointer self) {
	gboolean result;
	result = __lambda108_ (self, element);
#line 790 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 2803 "gitg-window.c"
}


static gboolean gitg_window_activate_activity (GitgWindow* self, const gchar* action) {
	gboolean result = FALSE;
	Block67Data* _data67_;
	gboolean _tmp0_ = FALSE;
	const gchar* _tmp1_;
	GitgUIElements* _tmp7_;
	GitgExtActivity* _tmp8_;
#line 775 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 775 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data67_ = g_slice_new0 (Block67Data);
#line 775 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data67_->_ref_count_ = 1;
#line 775 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data67_->self = g_object_ref (self);
#line 779 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = action;
#line 779 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp1_ == NULL) {
#line 779 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp0_ = TRUE;
#line 2828 "gitg-window.c"
	} else {
		const gchar* _tmp2_;
#line 779 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp2_ = action;
#line 779 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp0_ = g_strcmp0 (_tmp2_, "") == 0;
#line 2835 "gitg-window.c"
	}
#line 779 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp0_) {
#line 2839 "gitg-window.c"
		GSettings* _tmp3_;
		gchar* _tmp4_;
#line 781 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp3_ = self->priv->d_interface_settings;
#line 781 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp4_ = g_settings_get_string (_tmp3_, "default-activity");
#line 781 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_free0 (_data67_->default_activity);
#line 781 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_data67_->default_activity = _tmp4_;
#line 2850 "gitg-window.c"
	} else {
		const gchar* _tmp5_;
		gchar* _tmp6_;
#line 785 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp5_ = action;
#line 785 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp6_ = g_strdup (_tmp5_);
#line 785 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_free0 (_data67_->default_activity);
#line 785 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_data67_->default_activity = _tmp6_;
#line 2862 "gitg-window.c"
	}
#line 788 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data67_->def = NULL;
#line 790 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp7_ = self->priv->d_activities;
#line 790 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_ui_elements_foreach (_tmp7_, ___lambda108__gitg_ui_elements_foreach_ui_element_func, _data67_);
#line 801 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp8_ = _data67_->def;
#line 801 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp8_ != NULL) {
#line 2874 "gitg-window.c"
		GitgUIElements* _tmp9_;
		GitgExtActivity* _tmp10_;
#line 803 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp9_ = self->priv->d_activities;
#line 803 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp10_ = _data67_->def;
#line 803 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_ui_elements_set_current (_tmp9_, _tmp10_);
#line 804 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		result = TRUE;
#line 804 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		block67_data_unref (_data67_);
#line 804 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_data67_ = NULL;
#line 804 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		return result;
#line 2891 "gitg-window.c"
	}
#line 807 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	result = FALSE;
#line 807 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	block67_data_unref (_data67_);
#line 807 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data67_ = NULL;
#line 807 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 2901 "gitg-window.c"
}


static gboolean ___lambda109_ (GitgWindow* self, GitgExtUIElement* element) {
	gboolean result = FALSE;
	GitgExtActivity* activity;
	GitgExtUIElement* _tmp0_;
	GitgExtActivity* _tmp1_;
	GitgExtActivity* _tmp2_;
	gboolean _tmp3_;
#line 814 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_val_if_fail (element != NULL, FALSE);
#line 815 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = element;
#line 815 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GITG_EXT_TYPE_ACTIVITY, GitgExtActivity));
#line 815 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	activity = _tmp1_;
#line 817 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp2_ = activity;
#line 817 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp3_ = gitg_ext_activity_is_default_for (_tmp2_, "");
#line 817 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp3_) {
#line 2926 "gitg-window.c"
		GitgUIElements* _tmp4_;
		GitgExtActivity* _tmp5_;
#line 819 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp4_ = self->priv->d_activities;
#line 819 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp5_ = activity;
#line 819 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_ui_elements_set_current (_tmp4_, _tmp5_);
#line 820 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		result = FALSE;
#line 820 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (activity);
#line 820 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		return result;
#line 2941 "gitg-window.c"
	}
#line 823 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	result = TRUE;
#line 823 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (activity);
#line 823 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 2949 "gitg-window.c"
}


static gboolean ____lambda109__gitg_ui_elements_foreach_ui_element_func (GitgExtUIElement* element, gpointer self) {
	gboolean result;
	result = ___lambda109_ ((GitgWindow*) self, element);
#line 814 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 2958 "gitg-window.c"
}


static void gitg_window_activate_default_activity (GitgWindow* self) {
	const gchar* _tmp0_;
	gboolean _tmp1_;
#line 810 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (self != NULL);
#line 812 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = self->priv->d_action;
#line 812 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = gitg_window_activate_activity (self, _tmp0_);
#line 812 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (!_tmp1_) {
#line 2973 "gitg-window.c"
		GitgUIElements* _tmp2_;
#line 814 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp2_ = self->priv->d_activities;
#line 814 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_ui_elements_foreach (_tmp2_, ____lambda109__gitg_ui_elements_foreach_ui_element_func, self);
#line 2979 "gitg-window.c"
	}
}


static void _gitg_window_on_current_activity_changed_g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 854 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_window_on_current_activity_changed ((GitgWindow*) self);
#line 2987 "gitg-window.c"
}


static gboolean gitg_window_real_init (GInitable* base, GCancellable* cancellable, GError** error) {
	GitgWindow * self;
	gboolean result = FALSE;
	GitgApplication* app;
	GtkApplication* _tmp0_;
	GtkApplication* _tmp1_;
	GitgApplication* _tmp2_;
	GitgApplication* _tmp3_;
	GSettings* _tmp4_;
	GSettings* _tmp5_;
	GitgExtMessageBus* _tmp6_;
	GitgPluginsEngine* engine;
	GitgPluginsEngine* _tmp7_;
	GitgExtActivity** builtins;
	GitgHistoryActivity* _tmp8_;
	GitgCommitActivity* _tmp9_;
	GitgExtActivity** _tmp10_;
	gint builtins_length1;
	gint _builtins_size_;
	PeasExtensionSet* extset;
	GitgPluginsEngine* _tmp11_;
	PeasExtensionSet* _tmp12_;
	GitgExtActivity** _tmp13_;
	gint _tmp13__length1;
	PeasExtensionSet* _tmp14_;
	GtkStack* _tmp15_;
	GitgUIElements* _tmp16_;
	GitgUIElements* _tmp17_;
	GdkWindowState window_state;
	GSettings* _tmp18_;
	gint _tmp19_;
	GdkWindowState _tmp20_;
	gint width = 0;
	gint height = 0;
	GSettings* _tmp21_;
#line 828 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = (GitgWindow*) base;
#line 831 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = gtk_window_get_application ((GtkWindow*) self);
#line 831 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = _tmp0_;
#line 831 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, GITG_TYPE_APPLICATION) ? ((GitgApplication*) _tmp1_) : NULL);
#line 831 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	app = _tmp2_;
#line 832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp3_ = app;
#line 832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp4_ = gitg_application_get_state_settings (_tmp3_);
#line 832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp5_ = _tmp4_;
#line 832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_state_settings);
#line 832 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self->priv->d_state_settings = _tmp5_;
#line 835 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp6_ = gitg_ext_message_bus_new ();
#line 835 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_message_bus);
#line 835 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self->priv->d_message_bus = _tmp6_;
#line 838 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp7_ = gitg_plugins_engine_get_default ();
#line 838 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	engine = _tmp7_;
#line 840 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp8_ = gitg_history_activity_new ((GitgExtApplication*) self);
#line 840 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp9_ = gitg_commit_activity_new ((GitgExtApplication*) self);
#line 840 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp10_ = g_new0 (GitgExtActivity*, 2 + 1);
#line 840 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp10_[0] = (GitgExtActivity*) _tmp8_;
#line 840 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp10_[1] = (GitgExtActivity*) _tmp9_;
#line 840 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	builtins = _tmp10_;
#line 840 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	builtins_length1 = 2;
#line 840 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_builtins_size_ = builtins_length1;
#line 845 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp11_ = engine;
#line 845 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp12_ = peas_extension_set_new ((PeasEngine*) _tmp11_, GITG_EXT_TYPE_ACTIVITY, "application", self, NULL);
#line 845 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	extset = _tmp12_;
#line 850 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp13_ = builtins;
#line 850 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp13__length1 = builtins_length1;
#line 850 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp14_ = extset;
#line 850 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp15_ = self->priv->d_stack_activities;
#line 850 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp16_ = gitg_ui_elements_new_with_builtin (GITG_EXT_TYPE_ACTIVITY, (GBoxedCopyFunc) g_object_ref, g_object_unref, _tmp13_, _tmp13__length1, _tmp14_, _tmp15_);
#line 850 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_activities);
#line 850 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self->priv->d_activities = _tmp16_;
#line 854 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp17_ = self->priv->d_activities;
#line 854 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_signal_connect_object ((GObject*) _tmp17_, "notify::current", (GCallback) _gitg_window_on_current_activity_changed_g_object_notify, self, 0);
#line 857 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp18_ = self->priv->d_state_settings;
#line 857 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp19_ = g_settings_get_int (_tmp18_, "state");
#line 857 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	window_state = (GdkWindowState) _tmp19_;
#line 859 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp20_ = window_state;
#line 859 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if ((_tmp20_ & GDK_WINDOW_STATE_MAXIMIZED) == GDK_WINDOW_STATE_MAXIMIZED) {
#line 861 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_window_maximize ((GtkWindow*) self);
#line 3108 "gitg-window.c"
	}
#line 867 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp21_ = self->priv->d_state_settings;
#line 867 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_settings_get (_tmp21_, "size", "(ii)", &width, &height);
#line 868 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_window_resize ((GtkWindow*) self, width, height);
#line 870 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	result = TRUE;
#line 870 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (extset);
#line 870 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	builtins = (_vala_array_free (builtins, builtins_length1, (GDestroyNotify) g_object_unref), NULL);
#line 870 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (engine);
#line 870 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (app);
#line 870 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 3128 "gitg-window.c"
}


void gitg_window_set_environment (GitgWindow* self, gchar** environment, int environment_length1) {
	GeeHashMap* _tmp0_;
	gchar** _tmp1_;
	gint _tmp1__length1;
#line 873 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (self != NULL);
#line 875 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
#line 875 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_environment);
#line 875 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self->priv->d_environment = _tmp0_;
#line 877 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = environment;
#line 877 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1__length1 = environment_length1;
#line 3148 "gitg-window.c"
	{
		gchar** e_collection = NULL;
		gint e_collection_length1 = 0;
		gint _e_collection_size_ = 0;
		gint e_it = 0;
#line 877 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		e_collection = _tmp1_;
#line 877 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		e_collection_length1 = _tmp1__length1;
#line 877 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		for (e_it = 0; e_it < _tmp1__length1; e_it = e_it + 1) {
#line 3160 "gitg-window.c"
			gchar* _tmp2_;
			gchar* e = NULL;
#line 877 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp2_ = g_strdup (e_collection[e_it]);
#line 877 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			e = _tmp2_;
#line 3167 "gitg-window.c"
			{
				gchar** parts;
				const gchar* _tmp3_;
				gchar** _tmp4_;
				gchar** _tmp5_;
				gint parts_length1;
				gint _parts_size_;
				gchar** _tmp6_;
				gint _tmp6__length1;
#line 879 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp3_ = e;
#line 879 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp5_ = _tmp4_ = g_strsplit (_tmp3_, "=", 2);
#line 879 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				parts = _tmp5_;
#line 879 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				parts_length1 = _vala_array_length (_tmp4_);
#line 879 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_parts_size_ = parts_length1;
#line 881 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp6_ = parts;
#line 881 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp6__length1 = parts_length1;
#line 881 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				if (_tmp6__length1 == 1) {
#line 3193 "gitg-window.c"
					GeeHashMap* _tmp7_;
					gchar** _tmp8_;
					gint _tmp8__length1;
					const gchar* _tmp9_;
#line 883 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
					_tmp7_ = self->priv->d_environment;
#line 883 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
					_tmp8_ = parts;
#line 883 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
					_tmp8__length1 = parts_length1;
#line 883 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
					_tmp9_ = _tmp8_[0];
#line 883 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
					gee_abstract_map_set ((GeeAbstractMap*) _tmp7_, _tmp9_, "");
#line 3208 "gitg-window.c"
				} else {
					GeeHashMap* _tmp10_;
					gchar** _tmp11_;
					gint _tmp11__length1;
					const gchar* _tmp12_;
					gchar** _tmp13_;
					gint _tmp13__length1;
					const gchar* _tmp14_;
#line 887 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
					_tmp10_ = self->priv->d_environment;
#line 887 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
					_tmp11_ = parts;
#line 887 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
					_tmp11__length1 = parts_length1;
#line 887 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
					_tmp12_ = _tmp11_[0];
#line 887 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
					_tmp13_ = parts;
#line 887 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
					_tmp13__length1 = parts_length1;
#line 887 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
					_tmp14_ = _tmp13_[1];
#line 887 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
					gee_abstract_map_set ((GeeAbstractMap*) _tmp10_, _tmp12_, _tmp14_);
#line 3233 "gitg-window.c"
				}
#line 877 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				parts = (_vala_array_free (parts, parts_length1, (GDestroyNotify) g_free), NULL);
#line 877 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_g_free0 (e);
#line 3239 "gitg-window.c"
			}
		}
	}
}


GitgWindow* gitg_window_create_new (GtkApplication* app, GitgRepository* repository, const gchar* action) {
	GitgWindow* result = NULL;
	GitgWindow* ret;
	GitgWindow* _tmp0_;
	GitgWindow* _tmp1_;
	GitgWindow* _tmp10_;
	GError * _inner_error_ = NULL;
#line 892 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_val_if_fail (app != NULL, NULL);
#line 896 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = gitg_window_new ();
#line 896 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_object_ref_sink (_tmp0_);
#line 896 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	ret = _tmp0_;
#line 898 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = ret;
#line 898 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp1_ != NULL) {
#line 3265 "gitg-window.c"
		GitgWindow* _tmp2_;
		GtkApplication* _tmp3_;
		GitgWindow* _tmp4_;
		GitgRepository* _tmp5_;
		GitgWindow* _tmp6_;
		const gchar* _tmp7_;
		gchar* _tmp8_;
#line 900 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp2_ = ret;
#line 900 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp3_ = app;
#line 900 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_window_set_application ((GtkWindow*) _tmp2_, _tmp3_);
#line 901 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp4_ = ret;
#line 901 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp5_ = repository;
#line 901 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_window_set_repository_internal (_tmp4_, _tmp5_);
#line 902 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp6_ = ret;
#line 902 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp7_ = action;
#line 902 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp8_ = g_strdup (_tmp7_);
#line 902 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_free0 (_tmp6_->priv->d_action);
#line 902 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp6_->priv->d_action = _tmp8_;
#line 3295 "gitg-window.c"
	}
	{
		GitgWindow* _tmp9_;
#line 907 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp9_ = ret;
#line 907 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_initable_init (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, g_initable_get_type (), GInitable), NULL, &_inner_error_);
#line 907 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 3305 "gitg-window.c"
			goto __catch112_g_error;
		}
	}
	goto __finally112;
	__catch112_g_error:
	{
#line 905 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_clear_error (&_inner_error_);
#line 905 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_inner_error_ = NULL;
#line 3316 "gitg-window.c"
	}
	__finally112:
#line 905 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 905 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (ret);
#line 905 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.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 905 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_clear_error (&_inner_error_);
#line 905 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		return NULL;
#line 3329 "gitg-window.c"
	}
#line 910 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp10_ = ret;
#line 910 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_window_repository_changed (_tmp10_);
#line 911 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	result = ret;
#line 911 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 3339 "gitg-window.c"
}


static GitgExtActivity* gitg_window_real_set_activity_by_id (GitgExtApplication* base, const gchar* id) {
	GitgWindow * self;
	GitgExtActivity* result = NULL;
	GitgExtActivity* v;
	GitgUIElements* _tmp0_;
	const gchar* _tmp1_;
	gpointer _tmp2_;
	GitgExtActivity* _tmp3_;
	GitgUIElements* _tmp6_;
	gconstpointer _tmp7_;
	GitgExtActivity* _tmp8_;
	GitgExtActivity* _tmp9_;
#line 915 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = (GitgWindow*) base;
#line 915 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_val_if_fail (id != NULL, NULL);
#line 917 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = self->priv->d_activities;
#line 917 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = id;
#line 917 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp2_ = gitg_ui_elements_lookup (_tmp0_, _tmp1_);
#line 917 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	v = (GitgExtActivity*) _tmp2_;
#line 919 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp3_ = v;
#line 919 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp3_ != NULL) {
#line 3371 "gitg-window.c"
		GitgUIElements* _tmp4_;
		GitgExtActivity* _tmp5_;
#line 921 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp4_ = self->priv->d_activities;
#line 921 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp5_ = v;
#line 921 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_ui_elements_set_current (_tmp4_, _tmp5_);
#line 3380 "gitg-window.c"
	}
#line 924 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp6_ = self->priv->d_activities;
#line 924 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp7_ = gitg_ui_elements_get_current (_tmp6_);
#line 924 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp8_ = _tmp7_;
#line 924 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp9_ = v;
#line 924 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (((GitgExtActivity*) _tmp8_) == _tmp9_) {
#line 926 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		result = v;
#line 926 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		return result;
#line 3396 "gitg-window.c"
	} else {
#line 930 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		result = NULL;
#line 930 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (v);
#line 930 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		return result;
#line 3404 "gitg-window.c"
	}
#line 915 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (v);
#line 3408 "gitg-window.c"
}


static GitgExtActivity* gitg_window_real_get_activity_by_id (GitgExtApplication* base, const gchar* id) {
	GitgWindow * self;
	GitgExtActivity* result = NULL;
	GitgUIElements* _tmp0_;
	const gchar* _tmp1_;
	gpointer _tmp2_;
#line 934 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = (GitgWindow*) base;
#line 934 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_val_if_fail (id != NULL, NULL);
#line 936 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = self->priv->d_activities;
#line 936 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = id;
#line 936 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp2_ = gitg_ui_elements_lookup (_tmp0_, _tmp1_);
#line 936 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	result = (GitgExtActivity*) _tmp2_;
#line 936 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 3432 "gitg-window.c"
}


static void gitg_window_real_open_repository (GitgExtApplication* base, GFile* path) {
	GitgWindow * self;
	GFile* repo = NULL;
	GitgRepository* repository;
	gboolean _tmp0_ = FALSE;
	GitgRepository* _tmp1_;
	GitgRepository* _tmp22_;
	GError * _inner_error_ = NULL;
#line 939 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = (GitgWindow*) base;
#line 939 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (path != NULL);
#line 942 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	repository = NULL;
#line 944 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = self->priv->d_repository;
#line 944 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp1_ != NULL) {
#line 3454 "gitg-window.c"
		GitgRepository* _tmp2_;
		GFile* _tmp3_;
		GFile* _tmp4_;
		GFile* _tmp5_;
		gboolean _tmp6_;
#line 945 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp2_ = self->priv->d_repository;
#line 945 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp3_ = ggit_repository_get_location ((GgitRepository*) _tmp2_);
#line 945 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp4_ = _tmp3_;
#line 945 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp5_ = path;
#line 945 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp6_ = g_file_equal (_tmp4_, _tmp5_);
#line 945 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp0_ = _tmp6_;
#line 945 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (_tmp4_);
#line 3474 "gitg-window.c"
	} else {
#line 944 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp0_ = FALSE;
#line 3478 "gitg-window.c"
	}
#line 944 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp0_) {
#line 947 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (repository);
#line 947 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (repo);
#line 947 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		return;
#line 3488 "gitg-window.c"
	}
	{
		GFile* _tmp7_;
		GFile* _tmp8_;
		GFile* _tmp9_;
		GFile* _tmp10_;
#line 952 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp8_ = path;
#line 952 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp9_ = ggit_repository_discover (_tmp8_, &_inner_error_);
#line 952 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp7_ = _tmp9_;
#line 952 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 3503 "gitg-window.c"
			goto __catch113_g_error;
		}
#line 952 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp10_ = _tmp7_;
#line 952 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp7_ = NULL;
#line 952 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (repo);
#line 952 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		repo = _tmp10_;
#line 950 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (_tmp7_);
#line 3516 "gitg-window.c"
	}
	goto __finally113;
	__catch113_g_error:
	{
		GError* e = NULL;
		gchar* repo_name;
		GFile* _tmp11_;
		gchar* _tmp12_;
		gchar* title;
		const gchar* _tmp13_;
		gchar* _tmp14_;
		const gchar* _tmp15_;
		GError* _tmp16_;
		const gchar* _tmp17_;
#line 950 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		e = _inner_error_;
#line 950 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_inner_error_ = NULL;
#line 956 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp11_ = path;
#line 956 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp12_ = g_file_get_basename (_tmp11_);
#line 956 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		repo_name = _tmp12_;
#line 958 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp13_ = repo_name;
#line 958 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp14_ = g_strdup_printf (_ ("'%s' is not a Git repository."), _tmp13_);
#line 958 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		title = _tmp14_;
#line 959 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp15_ = title;
#line 959 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp16_ = e;
#line 959 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp17_ = _tmp16_->message;
#line 959 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_ext_application_show_infobar ((GitgExtApplication*) self, _tmp15_, _tmp17_, GTK_MESSAGE_WARNING);
#line 961 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_free0 (title);
#line 961 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_free0 (repo_name);
#line 961 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_error_free0 (e);
#line 961 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (repository);
#line 961 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (repo);
#line 961 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		return;
#line 3567 "gitg-window.c"
	}
	__finally113:
#line 950 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 950 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (repository);
#line 950 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (repo);
#line 950 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.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 950 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_clear_error (&_inner_error_);
#line 950 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		return;
#line 3582 "gitg-window.c"
	}
	{
		GitgRepository* _tmp18_;
		GFile* _tmp19_;
		GitgRepository* _tmp20_;
		GitgRepository* _tmp21_;
#line 966 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp19_ = repo;
#line 966 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp20_ = gitg_repository_new (_tmp19_, NULL, &_inner_error_);
#line 966 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp18_ = _tmp20_;
#line 966 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 3597 "gitg-window.c"
			goto __catch114_g_error;
		}
#line 966 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp21_ = _tmp18_;
#line 966 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp18_ = NULL;
#line 966 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (repository);
#line 966 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		repository = _tmp21_;
#line 964 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (_tmp18_);
#line 3610 "gitg-window.c"
	}
	goto __finally114;
	__catch114_g_error:
	{
#line 964 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_clear_error (&_inner_error_);
#line 964 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_inner_error_ = NULL;
#line 3619 "gitg-window.c"
	}
	__finally114:
#line 964 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 964 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (repository);
#line 964 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (repo);
#line 964 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.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 964 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_clear_error (&_inner_error_);
#line 964 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		return;
#line 3634 "gitg-window.c"
	}
#line 970 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp22_ = repository;
#line 970 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_ext_application_set_repository ((GitgExtApplication*) self, _tmp22_);
#line 939 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (repository);
#line 939 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (repo);
#line 3644 "gitg-window.c"
}


static Block68Data* block68_data_ref (Block68Data* _data68_) {
#line 973 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_atomic_int_inc (&_data68_->_ref_count_);
#line 973 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return _data68_;
#line 3653 "gitg-window.c"
}


static void block68_data_unref (void * _userdata_) {
	Block68Data* _data68_;
	_data68_ = (Block68Data*) _userdata_;
#line 973 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (g_atomic_int_dec_and_test (&_data68_->_ref_count_)) {
#line 3662 "gitg-window.c"
		GitgWindow* self;
#line 973 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		self = _data68_->self;
#line 973 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_free0 (_data68_->title);
#line 973 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_free0 (_data68_->message);
#line 973 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (self);
#line 973 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_slice_free (Block68Data, _data68_);
#line 3674 "gitg-window.c"
	}
}


static gboolean __lambda162_ (Block68Data* _data68_) {
	GitgWindow* self;
	gboolean result = FALSE;
	gchar* primary;
	const gchar* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
	gchar* _tmp4_;
	gchar* secondary;
	const gchar* _tmp5_;
	gchar* _tmp6_;
	gchar* _tmp7_;
	gchar* _tmp8_;
	gchar* _tmp9_;
	GtkLabel* _tmp10_;
	GtkLabel* _tmp11_;
	GtkInfoBar* _tmp12_;
	GtkMessageType _tmp13_;
	GtkInfoBar* _tmp14_;
#line 977 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = _data68_->self;
#line 978 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = _data68_->title;
#line 978 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = g_markup_escape_text (_tmp0_, (gssize) -1);
#line 978 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp2_ = _tmp1_;
#line 978 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp3_ = g_strdup_printf ("<b>%s</b>", _tmp2_);
#line 978 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp4_ = _tmp3_;
#line 978 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_free0 (_tmp2_);
#line 978 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	primary = _tmp4_;
#line 979 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp5_ = _data68_->message;
#line 979 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp6_ = g_markup_escape_text (_tmp5_, (gssize) -1);
#line 979 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp7_ = _tmp6_;
#line 979 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp8_ = g_strdup_printf ("<small>%s</small>", _tmp7_);
#line 979 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp9_ = _tmp8_;
#line 979 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_free0 (_tmp7_);
#line 979 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	secondary = _tmp9_;
#line 981 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp10_ = self->priv->d_infobar_primary_label;
#line 981 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_label_set_label (_tmp10_, primary);
#line 982 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp11_ = self->priv->d_infobar_secondary_label;
#line 982 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_label_set_label (_tmp11_, secondary);
#line 983 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp12_ = self->priv->d_infobar;
#line 983 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp13_ = _data68_->type;
#line 983 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_info_bar_set_message_type (_tmp12_, _tmp13_);
#line 985 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp14_ = self->priv->d_infobar;
#line 985 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_show ((GtkWidget*) _tmp14_);
#line 986 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	result = FALSE;
#line 986 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_free0 (secondary);
#line 986 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_free0 (primary);
#line 986 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 3755 "gitg-window.c"
}


static gboolean ___lambda162__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda162_ (self);
#line 977 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 3764 "gitg-window.c"
}


static void gitg_window_real_show_infobar (GitgExtApplication* base, const gchar* title, const gchar* message, GtkMessageType type) {
	GitgWindow * self;
	Block68Data* _data68_;
	const gchar* _tmp0_;
	gchar* _tmp1_;
	const gchar* _tmp2_;
	gchar* _tmp3_;
	GtkMessageType _tmp4_;
#line 973 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = (GitgWindow*) base;
#line 973 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (title != NULL);
#line 973 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (message != NULL);
#line 973 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data68_ = g_slice_new0 (Block68Data);
#line 973 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data68_->_ref_count_ = 1;
#line 973 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data68_->self = g_object_ref (self);
#line 973 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = title;
#line 973 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 973 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_free0 (_data68_->title);
#line 973 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data68_->title = _tmp1_;
#line 973 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp2_ = message;
#line 973 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp3_ = g_strdup (_tmp2_);
#line 973 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_free0 (_data68_->message);
#line 973 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data68_->message = _tmp3_;
#line 973 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp4_ = type;
#line 973 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data68_->type = _tmp4_;
#line 977 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda162__gsource_func, block68_data_ref (_data68_), block68_data_unref);
#line 973 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	block68_data_unref (_data68_);
#line 973 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data68_ = NULL;
#line 3814 "gitg-window.c"
}


static void gitg_window_real_user_query_async_data_free (gpointer _data) {
	GitgWindowUserQueryAsyncData* _data_;
	_data_ = _data;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (_data_->query);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (_data_->self);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_slice_free (GitgWindowUserQueryAsyncData, _data_);
#line 3827 "gitg-window.c"
}


static void gitg_window_real_user_query_async (GitgExtApplication* base, GitgExtUserQuery* query, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	GitgWindow * self;
	GitgWindowUserQueryAsyncData* _data_;
	GitgWindow* _tmp0_;
	GitgExtUserQuery* _tmp1_;
	GitgExtUserQuery* _tmp2_;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = (GitgWindow*) base;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data_ = g_slice_new0 (GitgWindowUserQueryAsyncData);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_callback_ == NULL) {
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_data_->_task_complete_ = TRUE;
#line 3847 "gitg-window.c"
	}
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_task_set_task_data (_data_->_async_result, _data_, gitg_window_real_user_query_async_data_free);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data_->self = _tmp0_;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = query;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (_data_->query);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data_->query = _tmp2_;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_window_real_user_query_async_co (_data_);
#line 3865 "gitg-window.c"
}


static GtkResponseType gitg_window_real_user_query_finish (GitgExtApplication* base, GAsyncResult* _res_) {
	GtkResponseType result;
	GitgWindowUserQueryAsyncData* _data_;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data_->_task_complete_ = TRUE;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	result = _data_->result;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 3880 "gitg-window.c"
}


static Block69Data* block69_data_ref (Block69Data* _data69_) {
#line 990 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_atomic_int_inc (&_data69_->_ref_count_);
#line 990 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return _data69_;
#line 3889 "gitg-window.c"
}


static void block69_data_unref (void * _userdata_) {
	Block69Data* _data69_;
	_data69_ = (Block69Data*) _userdata_;
#line 990 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (g_atomic_int_dec_and_test (&_data69_->_ref_count_)) {
#line 3898 "gitg-window.c"
		GitgWindow* self;
#line 990 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		self = _data69_->self;
#line 990 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		(_data69_->cb_target_destroy_notify == NULL) ? NULL : (_data69_->cb_target_destroy_notify (_data69_->cb_target), NULL);
#line 990 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_data69_->cb = NULL;
#line 990 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_data69_->cb_target = NULL;
#line 990 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_data69_->cb_target_destroy_notify = NULL;
#line 990 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (self);
#line 990 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_slice_free (Block69Data, _data69_);
#line 3914 "gitg-window.c"
	}
}


static gboolean _gitg_window_real_user_query_async_co_gsource_func (gpointer self) {
	gboolean result;
	result = gitg_window_real_user_query_async_co (self);
#line 992 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 3924 "gitg-window.c"
}


static gboolean __lambda163_ (Block69Data* _data69_, GtkResponseType response) {
	GitgWindow* self;
	gboolean result = FALSE;
	GtkResponseType _tmp0_;
	GSourceFunc _tmp1_;
	void* _tmp1__target;
	GDestroyNotify _tmp1__target_destroy_notify;
#line 995 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = _data69_->self;
#line 996 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = response;
#line 996 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data69_->retval = _tmp0_;
#line 998 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = _data69_->cb;
#line 998 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1__target = _data69_->cb_target;
#line 998 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1__target_destroy_notify = _data69_->cb_target_destroy_notify;
#line 998 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data69_->cb_target_destroy_notify = NULL;
#line 998 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, _tmp1_, _tmp1__target, _tmp1__target_destroy_notify);
#line 999 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	result = TRUE;
#line 999 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 3955 "gitg-window.c"
}


static gboolean ___lambda163__gitg_ext_user_query_response (GitgExtUserQuery* _sender, GtkResponseType response_type, gpointer self) {
	gboolean result;
	result = __lambda163_ (self, response_type);
#line 995 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 3964 "gitg-window.c"
}


static gboolean gitg_window_real_user_query_async_co (GitgWindowUserQueryAsyncData* _data_) {
#line 990 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	switch (_data_->_state_) {
#line 990 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		case 0:
#line 3973 "gitg-window.c"
		goto _state_0;
#line 990 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		case 1:
#line 3977 "gitg-window.c"
		goto _state_1;
		default:
#line 990 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_assert_not_reached ();
#line 3982 "gitg-window.c"
	}
	_state_0:
#line 990 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data_->_data69_ = g_slice_new0 (Block69Data);
#line 990 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data_->_data69_->_ref_count_ = 1;
#line 990 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data_->_data69_->self = g_object_ref (_data_->self);
#line 990 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data_->_data69_->_async_data_ = _data_;
#line 992 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data_->_data69_->cb = _gitg_window_real_user_query_async_co_gsource_func;
#line 992 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data_->_data69_->cb_target = _data_;
#line 992 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data_->_data69_->cb_target_destroy_notify = NULL;
#line 993 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data_->_data69_->retval = 0;
#line 995 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data_->_tmp0_ = _data_->query;
#line 995 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_signal_connect_data (_data_->_tmp0_, "response", (GCallback) ___lambda163__gitg_ext_user_query_response, block69_data_ref (_data_->_data69_), (GClosureNotify) block69_data_unref, 0);
#line 1002 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data_->_tmp1_ = _data_->query;
#line 1002 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_ext_application_user_query ((GitgExtApplication*) _data_->self, _data_->_tmp1_);
#line 1004 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data_->_state_ = 1;
#line 1004 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return FALSE;
#line 4013 "gitg-window.c"
	_state_1:
	;
#line 1006 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data_->result = _data_->_data69_->retval;
#line 1006 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	block69_data_unref (_data_->_data69_);
#line 1006 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data_->_data69_ = NULL;
#line 1006 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 1006 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_data_->_state_ != 0) {
#line 1006 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 1006 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 4030 "gitg-window.c"
		}
	}
#line 1006 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_object_unref (_data_->_async_result);
#line 1006 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return FALSE;
#line 4037 "gitg-window.c"
}


static Block70Data* block70_data_ref (Block70Data* _data70_) {
#line 1009 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_atomic_int_inc (&_data70_->_ref_count_);
#line 1009 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return _data70_;
#line 4046 "gitg-window.c"
}


static void block70_data_unref (void * _userdata_) {
	Block70Data* _data70_;
	_data70_ = (Block70Data*) _userdata_;
#line 1009 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (g_atomic_int_dec_and_test (&_data70_->_ref_count_)) {
#line 4055 "gitg-window.c"
		GitgWindow* self;
#line 1009 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		self = _data70_->self;
#line 1009 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (_data70_->dlg);
#line 1009 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (_data70_->query);
#line 1009 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (self);
#line 1009 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_slice_free (Block70Data, _data70_);
#line 4067 "gitg-window.c"
	}
}


static void __lambda164_ (Block70Data* _data70_) {
	GitgWindow* self;
	GtkMessageDialog* _tmp0_;
	GitgExtUserQuery* _tmp1_;
	gulong _tmp2_;
#line 1054 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = _data70_->self;
#line 1055 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = _data70_->dlg;
#line 1055 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_destroy ((GtkWidget*) _tmp0_);
#line 1056 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = _data70_->query;
#line 1056 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp2_ = _data70_->qid;
#line 1056 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_signal_handler_disconnect ((GObject*) _tmp1_, _tmp2_);
#line 4089 "gitg-window.c"
}


static void ___lambda164__gitg_ext_user_query_quit (GitgExtUserQuery* _sender, gpointer self) {
#line 1054 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	__lambda164_ (self);
#line 4096 "gitg-window.c"
}


static void __lambda165_ (Block70Data* _data70_, GtkDialog* w, gint r) {
	GitgWindow* self;
	GtkMessageDialog* _tmp0_;
	GitgExtUserQuery* _tmp1_;
	gint _tmp2_;
	gboolean _tmp3_ = FALSE;
#line 1059 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = _data70_->self;
#line 1059 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (w != NULL);
#line 1060 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = _data70_->dlg;
#line 1060 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp0_, FALSE);
#line 1062 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = _data70_->query;
#line 1062 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp2_ = r;
#line 1062 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_signal_emit_by_name (_tmp1_, "response", (GtkResponseType) _tmp2_, &_tmp3_);
#line 1062 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp3_) {
#line 4122 "gitg-window.c"
		GtkMessageDialog* _tmp4_;
		GitgExtUserQuery* _tmp5_;
		gulong _tmp6_;
#line 1064 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp4_ = _data70_->dlg;
#line 1064 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_destroy ((GtkWidget*) _tmp4_);
#line 1065 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp5_ = _data70_->query;
#line 1065 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp6_ = _data70_->qid;
#line 1065 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_signal_handler_disconnect ((GObject*) _tmp5_, _tmp6_);
#line 4136 "gitg-window.c"
	}
}


static void ___lambda165__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) {
#line 1059 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	__lambda165_ (self, _sender, response_id);
#line 4144 "gitg-window.c"
}


static void gitg_window_real_user_query (GitgExtApplication* base, GitgExtUserQuery* query) {
	GitgWindow * self;
	Block70Data* _data70_;
	GitgExtUserQuery* _tmp0_;
	GitgExtUserQuery* _tmp1_;
	GitgExtUserQuery* _tmp2_;
	GtkMessageType _tmp3_;
	GtkMessageType _tmp4_;
	GtkMessageDialog* _tmp5_;
	gchar* primary;
	GitgExtUserQuery* _tmp6_;
	const gchar* _tmp7_;
	const gchar* _tmp8_;
	gchar* _tmp9_;
	gchar* _tmp10_;
	gchar* _tmp11_;
	gchar* _tmp12_;
	GtkMessageDialog* _tmp13_;
	const gchar* _tmp14_;
	GtkMessageDialog* _tmp15_;
	GitgExtUserQuery* _tmp16_;
	const gchar* _tmp17_;
	const gchar* _tmp18_;
	GitgExtUserQuery* _tmp19_;
	gboolean _tmp20_;
	gboolean _tmp21_;
	GtkMessageDialog* _tmp23_;
	GitgExtUserQuery* _tmp24_;
	GtkResponseType _tmp25_;
	GtkResponseType _tmp26_;
	GitgExtUserQuery* _tmp27_;
	GitgExtUserQueryResponse** _tmp28_;
	gint _tmp28__length1;
	GitgExtUserQueryResponse** _tmp29_;
	gint _tmp29__length1;
	GtkMessageDialog* _tmp52_;
	GtkDialog* _tmp53_;
	GtkMessageDialog* _tmp54_;
	GitgExtUserQuery* _tmp55_;
	gulong _tmp56_;
	GtkMessageDialog* _tmp57_;
	GtkMessageDialog* _tmp58_;
#line 1009 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = (GitgWindow*) base;
#line 1009 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (query != NULL);
#line 1009 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data70_ = g_slice_new0 (Block70Data);
#line 1009 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data70_->_ref_count_ = 1;
#line 1009 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data70_->self = g_object_ref (self);
#line 1009 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = query;
#line 1009 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 1009 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (_data70_->query);
#line 1009 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data70_->query = _tmp1_;
#line 1011 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp2_ = _data70_->query;
#line 1011 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp3_ = gitg_ext_user_query_get_message_type (_tmp2_);
#line 1011 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp4_ = _tmp3_;
#line 1011 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp5_ = (GtkMessageDialog*) gtk_message_dialog_new ((GtkWindow*) self, GTK_DIALOG_MODAL, _tmp4_, GTK_BUTTONS_NONE, "");
#line 1011 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_object_ref_sink (_tmp5_);
#line 1011 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data70_->dlg = _tmp5_;
#line 1017 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp6_ = _data70_->query;
#line 1017 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp7_ = gitg_ext_user_query_get_title (_tmp6_);
#line 1017 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp8_ = _tmp7_;
#line 1017 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp9_ = g_markup_escape_text (_tmp8_, (gssize) -1);
#line 1017 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp10_ = _tmp9_;
#line 1017 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp11_ = g_strdup_printf ("<b>%s</b>", _tmp10_);
#line 1017 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp12_ = _tmp11_;
#line 1017 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_free0 (_tmp10_);
#line 1017 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	primary = _tmp12_;
#line 1018 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp13_ = _data70_->dlg;
#line 1018 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp14_ = primary;
#line 1018 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_message_dialog_set_markup (_tmp13_, _tmp14_);
#line 1020 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp15_ = _data70_->dlg;
#line 1020 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp16_ = _data70_->query;
#line 1020 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp17_ = gitg_ext_user_query_get_message (_tmp16_);
#line 1020 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp18_ = _tmp17_;
#line 1020 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_message_dialog_format_secondary_text (_tmp15_, "%s", _tmp18_);
#line 1022 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp19_ = _data70_->query;
#line 1022 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp20_ = gitg_ext_user_query_get_message_use_markup (_tmp19_);
#line 1022 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp21_ = _tmp20_;
#line 1022 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp21_) {
#line 4262 "gitg-window.c"
		GtkMessageDialog* _tmp22_;
#line 1024 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp22_ = _data70_->dlg;
#line 1024 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_object_set (_tmp22_, "secondary-use-markup", TRUE, NULL);
#line 4268 "gitg-window.c"
	}
#line 1027 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp23_ = _data70_->dlg;
#line 1027 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp24_ = _data70_->query;
#line 1027 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp25_ = gitg_ext_user_query_get_default_response (_tmp24_);
#line 1027 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp26_ = _tmp25_;
#line 1027 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_dialog_set_default_response ((GtkDialog*) _tmp23_, (gint) _tmp26_);
#line 1029 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp27_ = _data70_->query;
#line 1029 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp28_ = gitg_ext_user_query_get_responses (_tmp27_, &_tmp28__length1);
#line 1029 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp29_ = _tmp28_;
#line 1029 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp29__length1 = _tmp28__length1;
#line 4288 "gitg-window.c"
	{
		GitgExtUserQueryResponse** response_collection = NULL;
		gint response_collection_length1 = 0;
		gint _response_collection_size_ = 0;
		gint response_it = 0;
#line 1029 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		response_collection = _tmp29_;
#line 1029 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		response_collection_length1 = _tmp29__length1;
#line 1029 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		for (response_it = 0; response_it < _tmp29__length1; response_it = response_it + 1) {
#line 4300 "gitg-window.c"
			GitgExtUserQueryResponse* _tmp30_;
			GitgExtUserQueryResponse* response = NULL;
#line 1029 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp30_ = _g_object_ref0 (response_collection[response_it]);
#line 1029 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			response = _tmp30_;
#line 4307 "gitg-window.c"
			{
				GtkWidget* button;
				GtkMessageDialog* _tmp31_;
				GitgExtUserQueryResponse* _tmp32_;
				const gchar* _tmp33_;
				GitgExtUserQueryResponse* _tmp34_;
				GtkResponseType _tmp35_;
				GtkWidget* _tmp36_;
				GtkWidget* _tmp37_;
				GitgExtUserQueryResponse* _tmp38_;
				GtkResponseType _tmp39_;
				GitgExtUserQuery* _tmp40_;
				GtkResponseType _tmp41_;
				GtkResponseType _tmp42_;
#line 1031 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp31_ = _data70_->dlg;
#line 1031 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp32_ = response;
#line 1031 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp33_ = _tmp32_->text;
#line 1031 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp34_ = response;
#line 1031 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp35_ = _tmp34_->response_type;
#line 1031 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp36_ = gtk_dialog_add_button ((GtkDialog*) _tmp31_, _tmp33_, (gint) _tmp35_);
#line 1031 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp37_ = _g_object_ref0 (_tmp36_);
#line 1031 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				button = _tmp37_;
#line 1033 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp38_ = response;
#line 1033 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp39_ = _tmp38_->response_type;
#line 1033 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp40_ = _data70_->query;
#line 1033 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp41_ = gitg_ext_user_query_get_default_response (_tmp40_);
#line 1033 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp42_ = _tmp41_;
#line 1033 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				if (_tmp39_ == _tmp42_) {
#line 4350 "gitg-window.c"
					GtkWidget* _tmp43_;
					GtkWidget* _tmp44_;
					GitgExtUserQuery* _tmp45_;
					gboolean _tmp46_;
					gboolean _tmp47_;
#line 1035 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
					_tmp43_ = button;
#line 1035 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
					gtk_widget_set_can_default (_tmp43_, TRUE);
#line 1036 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
					_tmp44_ = button;
#line 1036 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
					g_object_set (_tmp44_, "has-default", TRUE, NULL);
#line 1038 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
					_tmp45_ = _data70_->query;
#line 1038 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
					_tmp46_ = gitg_ext_user_query_get_default_is_destructive (_tmp45_);
#line 1038 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
					_tmp47_ = _tmp46_;
#line 1038 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
					if (_tmp47_) {
#line 4372 "gitg-window.c"
						GtkWidget* _tmp48_;
						GtkStyleContext* _tmp49_;
#line 1040 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
						_tmp48_ = button;
#line 1040 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
						_tmp49_ = gtk_widget_get_style_context (_tmp48_);
#line 1040 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
						gtk_style_context_add_class (_tmp49_, GTK_STYLE_CLASS_DESTRUCTIVE_ACTION);
#line 4381 "gitg-window.c"
					} else {
						GtkWidget* _tmp50_;
						GtkStyleContext* _tmp51_;
#line 1044 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
						_tmp50_ = button;
#line 1044 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
						_tmp51_ = gtk_widget_get_style_context (_tmp50_);
#line 1044 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
						gtk_style_context_add_class (_tmp51_, GTK_STYLE_CLASS_SUGGESTED_ACTION);
#line 4391 "gitg-window.c"
					}
				}
#line 1029 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_g_object_unref0 (button);
#line 1029 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_g_object_unref0 (response);
#line 4398 "gitg-window.c"
			}
		}
	}
#line 1049 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp52_ = _data70_->dlg;
#line 1049 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp53_ = _g_object_ref0 ((GtkDialog*) _tmp52_);
#line 1049 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_dialog);
#line 1049 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self->priv->d_dialog = _tmp53_;
#line 1050 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp54_ = _data70_->dlg;
#line 1050 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_object_add_weak_pointer ((GObject*) _tmp54_, &self->priv->d_dialog);
#line 1052 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data70_->qid = (gulong) 0;
#line 1054 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp55_ = _data70_->query;
#line 1054 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp56_ = g_signal_connect_data (_tmp55_, "quit", (GCallback) ___lambda164__gitg_ext_user_query_quit, block70_data_ref (_data70_), (GClosureNotify) block70_data_unref, 0);
#line 1054 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data70_->qid = _tmp56_;
#line 1059 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp57_ = _data70_->dlg;
#line 1059 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_signal_connect_data ((GtkDialog*) _tmp57_, "response", (GCallback) ___lambda165__gtk_dialog_response, block70_data_ref (_data70_), (GClosureNotify) block70_data_unref, 0);
#line 1069 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp58_ = _data70_->dlg;
#line 1069 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_show ((GtkWidget*) _tmp58_);
#line 1009 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_free0 (primary);
#line 1009 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	block70_data_unref (_data70_);
#line 1009 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data70_ = NULL;
#line 4436 "gitg-window.c"
}


static GgitSignature* gitg_window_real_get_verified_committer (GitgExtApplication* base) {
	GitgWindow * self;
	GgitSignature* result = NULL;
	gchar* user;
	gchar* email;
	GgitSignature* committer;
	gboolean _tmp18_ = FALSE;
	const gchar* _tmp19_;
	GError * _inner_error_ = NULL;
#line 1077 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = (GitgWindow*) base;
#line 1079 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	user = NULL;
#line 1080 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	email = NULL;
#line 1081 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	committer = NULL;
#line 4457 "gitg-window.c"
	{
		GgitSignature* _tmp0_;
		GitgRepository* _tmp1_;
		GitgRepository* _tmp2_;
		GitgRepository* _tmp3_;
		GeeMap* _tmp4_;
		GeeMap* _tmp5_;
		GeeMap* _tmp6_;
		GgitSignature* _tmp7_;
		GgitSignature* _tmp8_;
		GgitSignature* _tmp9_;
		GgitSignature* _tmp10_;
		const gchar* _tmp11_;
		gchar* _tmp12_;
		GgitSignature* _tmp13_;
		const gchar* _tmp14_;
		gchar* _tmp15_;
		const gchar* _tmp16_;
		const gchar* _tmp17_;
#line 1085 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp1_ = gitg_ext_application_get_repository ((GitgExtApplication*) self);
#line 1085 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp2_ = _tmp1_;
#line 1085 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp3_ = _tmp2_;
#line 1085 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp4_ = gitg_ext_application_get_environment ((GitgExtApplication*) self);
#line 1085 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp5_ = _tmp4_;
#line 1085 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp6_ = _tmp5_;
#line 1085 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp7_ = gitg_repository_get_signature_with_environment (_tmp3_, _tmp6_, "COMMITTER", &_inner_error_);
#line 1085 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp8_ = _tmp7_;
#line 1085 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (_tmp6_);
#line 1085 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (_tmp3_);
#line 1085 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp0_ = _tmp8_;
#line 1085 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4501 "gitg-window.c"
			goto __catch115_g_error;
		}
#line 1085 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp9_ = _tmp0_;
#line 1085 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp0_ = NULL;
#line 1085 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (committer);
#line 1085 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		committer = _tmp9_;
#line 1087 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp10_ = committer;
#line 1087 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp11_ = ggit_signature_get_name (_tmp10_);
#line 1087 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp12_ = g_strdup (_tmp11_);
#line 1087 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_free0 (user);
#line 1087 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		user = _tmp12_;
#line 1088 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp13_ = committer;
#line 1088 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp14_ = ggit_signature_get_email (_tmp13_);
#line 1088 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp15_ = g_strdup (_tmp14_);
#line 1088 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_free0 (email);
#line 1088 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		email = _tmp15_;
#line 1090 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp16_ = user;
#line 1090 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (g_strcmp0 (_tmp16_, "") == 0) {
#line 1092 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_free0 (user);
#line 1092 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			user = NULL;
#line 4540 "gitg-window.c"
		}
#line 1095 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp17_ = email;
#line 1095 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (g_strcmp0 (_tmp17_, "") == 0) {
#line 1097 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_free0 (email);
#line 1097 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			email = NULL;
#line 4550 "gitg-window.c"
		}
#line 1083 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (_tmp0_);
#line 4554 "gitg-window.c"
	}
	goto __finally115;
	__catch115_g_error:
	{
#line 1083 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_clear_error (&_inner_error_);
#line 1083 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_inner_error_ = NULL;
#line 4563 "gitg-window.c"
	}
	__finally115:
#line 1083 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1083 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (committer);
#line 1083 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_free0 (email);
#line 1083 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_free0 (user);
#line 1083 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.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 1083 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_clear_error (&_inner_error_);
#line 1083 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		return NULL;
#line 4580 "gitg-window.c"
	}
#line 1101 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp19_ = user;
#line 1101 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp19_ == NULL) {
#line 1101 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp18_ = TRUE;
#line 4588 "gitg-window.c"
	} else {
		const gchar* _tmp20_;
#line 1101 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp20_ = email;
#line 1101 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp18_ = _tmp20_ == NULL;
#line 4595 "gitg-window.c"
	}
#line 1101 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp18_) {
#line 4599 "gitg-window.c"
		gchar* secmsg = NULL;
		gboolean _tmp21_ = FALSE;
		const gchar* _tmp22_;
		const gchar* _tmp28_;
#line 1105 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp22_ = user;
#line 1105 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (_tmp22_ == NULL) {
#line 4608 "gitg-window.c"
			const gchar* _tmp23_;
#line 1105 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp23_ = email;
#line 1105 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp21_ = _tmp23_ == NULL;
#line 4614 "gitg-window.c"
		} else {
#line 1105 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp21_ = FALSE;
#line 4618 "gitg-window.c"
		}
#line 1105 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (_tmp21_) {
#line 4622 "gitg-window.c"
			gchar* _tmp24_;
#line 1107 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp24_ = g_strdup (_ ("Your user name and email are not configured yet. Please go to the user" \
" configuration and provide your name and email."));
#line 1107 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_free0 (secmsg);
#line 1107 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			secmsg = _tmp24_;
#line 4630 "gitg-window.c"
		} else {
			const gchar* _tmp25_;
#line 1109 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp25_ = user;
#line 1109 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			if (_tmp25_ == NULL) {
#line 4637 "gitg-window.c"
				gchar* _tmp26_;
#line 1111 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp26_ = g_strdup (_ ("Your user name is not configured yet. Please go to the user configurat" \
"ion and provide your name."));
#line 1111 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_g_free0 (secmsg);
#line 1111 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				secmsg = _tmp26_;
#line 4645 "gitg-window.c"
			} else {
				gchar* _tmp27_;
#line 1115 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp27_ = g_strdup (_ ("Your email is not configured yet. Please go to the user configuration " \
"and provide your email."));
#line 1115 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_g_free0 (secmsg);
#line 1115 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				secmsg = _tmp27_;
#line 4654 "gitg-window.c"
			}
		}
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp28_ = secmsg;
#line 1118 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_ext_application_show_infobar ((GitgExtApplication*) self, _ ("Missing author details"), _tmp28_, GTK_MESSAGE_ERROR);
#line 1119 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		result = NULL;
#line 1119 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_free0 (secmsg);
#line 1119 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (committer);
#line 1119 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_free0 (email);
#line 1119 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_free0 (user);
#line 1119 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		return result;
#line 4673 "gitg-window.c"
	}
#line 1122 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	result = committer;
#line 1122 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_free0 (email);
#line 1122 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_free0 (user);
#line 1122 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 4683 "gitg-window.c"
}


void gitg_window_present (GitgWindow* self, const gchar* hint, GitgExtCommandLines* command_lines) {
	const gchar* _tmp0_;
	GitgExtCommandLines* _tmp2_;
#line 1155 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (self != NULL);
#line 1157 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = hint;
#line 1157 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp0_ != NULL) {
#line 4696 "gitg-window.c"
		const gchar* _tmp1_;
#line 1159 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp1_ = hint;
#line 1159 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_window_activate_activity (self, _tmp1_);
#line 4702 "gitg-window.c"
	}
#line 1162 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp2_ = command_lines;
#line 1162 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp2_ != NULL) {
#line 4708 "gitg-window.c"
		GitgExtCommandLines* _tmp3_;
#line 1164 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp3_ = command_lines;
#line 1164 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_ext_command_lines_apply (_tmp3_, (GitgExtApplication*) self);
#line 4714 "gitg-window.c"
	}
#line 1167 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_window_present ((GtkWindow*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_application_window_get_type (), GtkApplicationWindow));
#line 4718 "gitg-window.c"
}


static void gitg_window_on_select_activated (GitgWindow* self, GSimpleAction* action) {
	gboolean st;
	GSimpleAction* _tmp0_;
	GVariant* _tmp1_;
	GVariant* _tmp2_;
	gboolean _tmp3_;
	gboolean _tmp4_;
	GSimpleAction* _tmp5_;
	GVariant* _tmp6_;
	GVariant* _tmp7_;
#line 1170 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (self != NULL);
#line 1170 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (action != NULL);
#line 1172 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = action;
#line 1172 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = g_action_get_state ((GAction*) _tmp0_);
#line 1172 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp2_ = _tmp1_;
#line 1172 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp3_ = g_variant_get_boolean (_tmp2_);
#line 1172 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp4_ = _tmp3_;
#line 1172 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_variant_unref0 (_tmp2_);
#line 1172 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	st = _tmp4_;
#line 1173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp5_ = action;
#line 1173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp6_ = g_variant_new_boolean (!st);
#line 1173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_variant_ref_sink (_tmp6_);
#line 1173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp7_ = _tmp6_;
#line 1173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_simple_action_set_state (_tmp5_, _tmp7_);
#line 1173 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_variant_unref0 (_tmp7_);
#line 4762 "gitg-window.c"
}


static void gitg_window_on_select_cancel_button_clicked (GitgWindow* self) {
#line 1234 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (self != NULL);
#line 1236 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_window_set_selectable_mode (self, GITG_EXT_SELECTION_MODE_NORMAL);
#line 4771 "gitg-window.c"
}


static void _gitg_window_on_select_cancel_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_window_on_select_cancel_button_clicked ((GitgWindow*) self);
#line 4778 "gitg-window.c"
}


GitgWindow* gitg_window_construct (GType object_type) {
	GitgWindow * self = NULL;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = (GitgWindow*) g_object_new (object_type, NULL);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return self;
#line 4788 "gitg-window.c"
}


GitgWindow* gitg_window_new (void) {
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return gitg_window_construct (GITG_TYPE_WINDOW);
#line 4795 "gitg-window.c"
}


static GitgExtActivity* gitg_window_real_get_current_activity (GitgExtApplication* base) {
	GitgExtActivity* result;
	GitgWindow* self;
	GitgWindowMode _tmp0_;
#line 426 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = (GitgWindow*) base;
#line 428 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = self->priv->d_mode;
#line 428 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp0_ == GITG_WINDOW_MODE_ACTIVITY) {
#line 4809 "gitg-window.c"
		GitgUIElements* _tmp1_;
		gconstpointer _tmp2_;
		GitgExtActivity* _tmp3_;
		GitgExtActivity* _tmp4_;
#line 430 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp1_ = self->priv->d_activities;
#line 430 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp2_ = gitg_ui_elements_get_current (_tmp1_);
#line 430 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp3_ = _tmp2_;
#line 430 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp4_ = _g_object_ref0 ((GitgExtActivity*) _tmp3_);
#line 430 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		result = _tmp4_;
#line 430 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		return result;
#line 4826 "gitg-window.c"
	} else {
		GitgDashView* _tmp5_;
		GitgExtActivity* _tmp6_;
#line 434 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp5_ = self->priv->d_dash_view;
#line 434 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp6_ = _g_object_ref0 ((GitgExtActivity*) _tmp5_);
#line 434 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		result = _tmp6_;
#line 434 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		return result;
#line 4838 "gitg-window.c"
	}
}


static GitgExtMessageBus* gitg_window_real_get_message_bus (GitgExtApplication* base) {
	GitgExtMessageBus* result;
	GitgWindow* self;
	GitgExtMessageBus* _tmp0_;
	GitgExtMessageBus* _tmp1_;
#line 441 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = (GitgWindow*) base;
#line 441 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = self->priv->d_message_bus;
#line 441 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 441 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	result = _tmp1_;
#line 441 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 4858 "gitg-window.c"
}


static GitgRepository* gitg_window_real_get_repository (GitgExtApplication* base) {
	GitgRepository* result;
	GitgWindow* self;
	GitgRepository* _tmp0_;
	GitgRepository* _tmp1_;
#line 447 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = (GitgWindow*) base;
#line 447 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = self->priv->d_repository;
#line 447 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 447 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	result = _tmp1_;
#line 447 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 4877 "gitg-window.c"
}


static void gitg_window_real_set_repository (GitgExtApplication* base, GitgRepository* value) {
	GitgWindow* self;
	GitgRepository* _tmp0_;
#line 448 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = (GitgWindow*) base;
#line 450 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = value;
#line 450 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_window_set_repository_internal (self, _tmp0_);
#line 451 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_window_repository_changed (self);
#line 4892 "gitg-window.c"
}


gboolean gitg_window_get_enable_monitoring (GitgWindow* self) {
	gboolean result;
	gboolean _tmp0_;
#line 645 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = self->priv->d_enable_monitoring;
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	result = _tmp0_;
#line 647 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 4907 "gitg-window.c"
}


void gitg_window_set_enable_monitoring (GitgWindow* self, gboolean value) {
#line 650 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (self != NULL);
#line 650 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (gitg_window_get_enable_monitoring (self) != value) {
#line 4916 "gitg-window.c"
		gboolean _tmp0_;
#line 652 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp0_ = value;
#line 652 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		self->priv->d_enable_monitoring = _tmp0_;
#line 653 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_window_update_enable_monitoring (self);
#line 650 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_object_notify ((GObject *) self, "enable-monitoring");
#line 4926 "gitg-window.c"
	}
}


static GeeMap* gitg_window_real_get_environment (GitgExtApplication* base) {
	GeeMap* result;
	GitgWindow* self;
	GeeHashMap* _tmp0_;
	GeeMap* _tmp1_;
#line 1074 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = (GitgWindow*) base;
#line 1074 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = self->priv->d_environment;
#line 1074 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = _g_object_ref0 ((GeeMap*) _tmp0_);
#line 1074 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	result = _tmp1_;
#line 1074 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 4946 "gitg-window.c"
}


static gboolean gitg_window_real_get_busy (GitgExtApplication* base) {
	gboolean result;
	GitgWindow* self;
	gboolean _tmp0_;
#line 1127 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = (GitgWindow*) base;
#line 1127 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = self->priv->d_busy;
#line 1127 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	result = _tmp0_;
#line 1127 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 4962 "gitg-window.c"
}


static void gitg_window_real_set_busy (GitgExtApplication* base, gboolean value) {
	GitgWindow* self;
#line 1128 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = (GitgWindow*) base;
#line 1128 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (gitg_window_real_get_busy (self) != value) {
#line 4972 "gitg-window.c"
		gboolean _tmp0_;
		GdkWindow* win = NULL;
		GtkDialog* _tmp1_;
		gboolean _tmp7_;
#line 1130 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp0_ = value;
#line 1130 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		self->priv->d_busy = _tmp0_;
#line 1134 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp1_ = self->priv->d_dialog;
#line 1134 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (_tmp1_ != NULL) {
#line 4985 "gitg-window.c"
			GtkDialog* _tmp2_;
			GdkWindow* _tmp3_;
			GdkWindow* _tmp4_;
#line 1136 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp2_ = self->priv->d_dialog;
#line 1136 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp3_ = gtk_widget_get_window ((GtkWidget*) _tmp2_);
#line 1136 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp4_ = _g_object_ref0 (_tmp3_);
#line 1136 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_object_unref0 (win);
#line 1136 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			win = _tmp4_;
#line 4999 "gitg-window.c"
		} else {
			GdkWindow* _tmp5_;
			GdkWindow* _tmp6_;
#line 1140 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp5_ = gtk_widget_get_window ((GtkWidget*) self);
#line 1140 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp6_ = _g_object_ref0 (_tmp5_);
#line 1140 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_object_unref0 (win);
#line 1140 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			win = _tmp6_;
#line 5011 "gitg-window.c"
		}
#line 1143 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp7_ = self->priv->d_busy;
#line 1143 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (_tmp7_) {
#line 5017 "gitg-window.c"
			GdkWindow* _tmp8_;
			GdkDisplay* _tmp9_;
			GdkCursor* _tmp10_;
			GdkCursor* _tmp11_;
#line 1145 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp8_ = win;
#line 1145 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp9_ = gtk_widget_get_display ((GtkWidget*) self);
#line 1145 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp10_ = gdk_cursor_new_for_display (_tmp9_, GDK_WATCH);
#line 1145 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp11_ = _tmp10_;
#line 1145 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			gdk_window_set_cursor (_tmp8_, _tmp11_);
#line 1145 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_object_unref0 (_tmp11_);
#line 5034 "gitg-window.c"
		} else {
			GdkWindow* _tmp12_;
#line 1150 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp12_ = win;
#line 1150 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			gdk_window_set_cursor (_tmp12_, NULL);
#line 5041 "gitg-window.c"
		}
#line 1128 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (win);
#line 1128 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_object_notify ((GObject *) self, "busy");
#line 5047 "gitg-window.c"
	}
}


GitgExtSelectionMode gitg_window_get_selectable_mode (GitgWindow* self) {
	GitgExtSelectionMode result;
	GitgExtSelectionMode _tmp0_;
#line 1178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 1178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = self->priv->d_selectable_mode;
#line 1178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	result = _tmp0_;
#line 1178 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 5063 "gitg-window.c"
}


void gitg_window_set_selectable_mode (GitgWindow* self, GitgExtSelectionMode value) {
#line 1179 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (self != NULL);
#line 1179 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (gitg_window_get_selectable_mode (self) != value) {
#line 5072 "gitg-window.c"
		GitgExtSelectable* selectable;
		GitgExtActivity* _tmp0_;
		GitgExtActivity* _tmp1_;
		GitgExtSelectable* _tmp2_;
		gboolean _tmp3_ = FALSE;
		GitgExtSelectable* _tmp4_;
		GitgExtSelectionMode _tmp7_;
		GitgExtSelectable* _tmp8_;
		GitgExtSelectionMode _tmp9_;
		GtkStyleContext* ctx;
		GtkHeaderBar* _tmp10_;
		GtkStyleContext* _tmp11_;
		GtkStyleContext* _tmp12_;
		GitgExtSelectionMode _tmp13_;
		gboolean issel;
		GitgExtSelectionMode _tmp25_;
		GitgExtSearchable* searchable;
		GitgExtActivity* _tmp26_;
		GitgExtActivity* _tmp27_;
		GitgExtSearchable* _tmp28_;
		gboolean _tmp29_ = FALSE;
		gboolean _tmp30_;
		GtkHeaderBar* _tmp32_;
		gboolean _tmp33_ = FALSE;
		gboolean _tmp34_;
		GtkToggleButton* _tmp36_;
		gboolean _tmp37_ = FALSE;
		gboolean _tmp38_;
		GtkMenuButton* _tmp40_;
		GtkToggleButton* _tmp41_;
		gboolean _tmp42_;
		gboolean _tmp43_ = FALSE;
		gboolean _tmp44_;
		GtkButton* _tmp46_;
		gboolean _tmp47_ = FALSE;
		gboolean _tmp48_;
		GtkButton* _tmp50_;
		gboolean _tmp51_ = FALSE;
		gboolean _tmp52_;
		GtkButton* _tmp54_;
		gboolean _tmp55_ = FALSE;
		gboolean _tmp56_;
		GtkStackSwitcher* _tmp58_;
		GtkButton* _tmp59_;
		gboolean _tmp60_;
		GtkToggleButton* _tmp61_;
		gboolean _tmp62_;
#line 1181 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp0_ = gitg_ext_application_get_current_activity ((GitgExtApplication*) self);
#line 1181 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp1_ = _tmp0_;
#line 1181 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, GITG_EXT_TYPE_SELECTABLE) ? ((GitgExtSelectable*) _tmp1_) : NULL;
#line 1181 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (_tmp2_ == NULL) {
#line 1181 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_object_unref0 (_tmp1_);
#line 5130 "gitg-window.c"
		}
#line 1181 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		selectable = _tmp2_;
#line 1183 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp4_ = selectable;
#line 1183 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (_tmp4_ == NULL) {
#line 1183 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp3_ = TRUE;
#line 5140 "gitg-window.c"
		} else {
			GitgExtSelectionMode _tmp5_;
			GitgExtSelectionMode _tmp6_;
#line 1183 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp5_ = self->priv->d_selectable_mode;
#line 1183 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp6_ = value;
#line 1183 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp3_ = _tmp5_ == _tmp6_;
#line 5150 "gitg-window.c"
		}
#line 1183 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (_tmp3_) {
#line 1185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_object_unref0 (selectable);
#line 1185 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			return;
#line 5158 "gitg-window.c"
		}
#line 1188 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp7_ = value;
#line 1188 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		self->priv->d_selectable_mode = _tmp7_;
#line 1189 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp8_ = selectable;
#line 1189 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp9_ = value;
#line 1189 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_ext_selectable_set_selectable_mode (_tmp8_, _tmp9_);
#line 1191 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp10_ = self->priv->d_header_bar;
#line 1191 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp11_ = gtk_widget_get_style_context ((GtkWidget*) _tmp10_);
#line 1191 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp12_ = _g_object_ref0 (_tmp11_);
#line 1191 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		ctx = _tmp12_;
#line 1193 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp13_ = self->priv->d_selectable_mode;
#line 1193 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (_tmp13_ == GITG_EXT_SELECTION_MODE_SELECTION) {
#line 5182 "gitg-window.c"
			GtkStyleContext* _tmp14_;
			GitgExtSelectable* _tmp15_;
			GtkWidget* _tmp16_;
			GtkWidget* _tmp17_;
			GtkWidget* _tmp18_;
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp14_ = ctx;
#line 1195 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			gtk_style_context_add_class (_tmp14_, "selection-mode");
#line 1197 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp15_ = selectable;
#line 1197 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp16_ = gitg_ext_selectable_get_action_widget (_tmp15_);
#line 1197 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp17_ = _tmp16_;
#line 1197 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_object_unref0 (self->priv->d_select_actions);
#line 1197 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			self->priv->d_select_actions = _tmp17_;
#line 1199 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp18_ = self->priv->d_select_actions;
#line 1199 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			if (_tmp18_ != NULL) {
#line 5206 "gitg-window.c"
				GtkGrid* _tmp19_;
				GtkWidget* _tmp20_;
				GtkWidget* _tmp21_;
#line 1201 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp19_ = self->priv->d_grid_main;
#line 1201 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp20_ = self->priv->d_select_actions;
#line 1201 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				gtk_grid_attach (_tmp19_, _tmp20_, 0, 3, 1, 1);
#line 1202 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp21_ = self->priv->d_select_actions;
#line 1202 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				gtk_widget_show (_tmp21_);
#line 5220 "gitg-window.c"
			}
		} else {
			GtkStyleContext* _tmp22_;
			GtkWidget* _tmp23_;
#line 1207 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp22_ = ctx;
#line 1207 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			gtk_style_context_remove_class (_tmp22_, "selection-mode");
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp23_ = self->priv->d_select_actions;
#line 1209 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			if (_tmp23_ != NULL) {
#line 5233 "gitg-window.c"
				GtkWidget* _tmp24_;
#line 1211 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp24_ = self->priv->d_select_actions;
#line 1211 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				gtk_widget_destroy (_tmp24_);
#line 1212 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_g_object_unref0 (self->priv->d_select_actions);
#line 1212 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				self->priv->d_select_actions = NULL;
#line 5243 "gitg-window.c"
			}
		}
#line 1216 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp25_ = self->priv->d_selectable_mode;
#line 1216 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		issel = _tmp25_ == GITG_EXT_SELECTION_MODE_SELECTION;
#line 1217 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp26_ = gitg_ext_application_get_current_activity ((GitgExtApplication*) self);
#line 1217 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp27_ = _tmp26_;
#line 1217 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp28_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp27_, GITG_EXT_TYPE_SEARCHABLE) ? ((GitgExtSearchable*) _tmp27_) : NULL;
#line 1217 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (_tmp28_ == NULL) {
#line 1217 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_g_object_unref0 (_tmp27_);
#line 5260 "gitg-window.c"
		}
#line 1217 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		searchable = _tmp28_;
#line 1219 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp30_ = gitg_platform_support_use_native_window_controls (NULL);
#line 1219 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (!_tmp30_) {
#line 5268 "gitg-window.c"
			gboolean _tmp31_;
#line 1219 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp31_ = issel;
#line 1219 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp29_ = !_tmp31_;
#line 5274 "gitg-window.c"
		} else {
#line 1219 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp29_ = FALSE;
#line 5278 "gitg-window.c"
		}
#line 1219 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp32_ = self->priv->d_header_bar;
#line 1219 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_header_bar_set_show_close_button (_tmp32_, _tmp29_);
#line 1220 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp34_ = issel;
#line 1220 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (!_tmp34_) {
#line 5288 "gitg-window.c"
			GitgExtSearchable* _tmp35_;
#line 1220 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp35_ = searchable;
#line 1220 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp33_ = _tmp35_ != NULL;
#line 5294 "gitg-window.c"
		} else {
#line 1220 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp33_ = FALSE;
#line 5298 "gitg-window.c"
		}
#line 1220 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp36_ = self->priv->d_search_button;
#line 1220 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp36_, _tmp33_);
#line 1221 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp38_ = issel;
#line 1221 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (!_tmp38_) {
#line 5308 "gitg-window.c"
			GitgRepository* _tmp39_;
#line 1221 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp39_ = self->priv->d_repository;
#line 1221 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp37_ = _tmp39_ != NULL;
#line 5314 "gitg-window.c"
		} else {
#line 1221 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp37_ = FALSE;
#line 5318 "gitg-window.c"
		}
#line 1221 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp40_ = self->priv->d_gear_menu;
#line 1221 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp40_, _tmp37_);
#line 1222 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp41_ = self->priv->d_select_button;
#line 1222 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp42_ = issel;
#line 1222 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp41_, !_tmp42_);
#line 1223 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp44_ = issel;
#line 1223 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (!_tmp44_) {
#line 5334 "gitg-window.c"
			GitgRepository* _tmp45_;
#line 1223 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp45_ = self->priv->d_repository;
#line 1223 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp43_ = _tmp45_ != NULL;
#line 5340 "gitg-window.c"
		} else {
#line 1223 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp43_ = FALSE;
#line 5344 "gitg-window.c"
		}
#line 1223 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp46_ = self->priv->d_dash_button;
#line 1223 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp46_, _tmp43_);
#line 1224 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp48_ = issel;
#line 1224 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (!_tmp48_) {
#line 5354 "gitg-window.c"
			GitgRepository* _tmp49_;
#line 1224 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp49_ = self->priv->d_repository;
#line 1224 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp47_ = _tmp49_ == NULL;
#line 5360 "gitg-window.c"
		} else {
#line 1224 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp47_ = FALSE;
#line 5364 "gitg-window.c"
		}
#line 1224 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp50_ = self->priv->d_clone_button;
#line 1224 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp50_, _tmp47_);
#line 1225 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp52_ = issel;
#line 1225 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (!_tmp52_) {
#line 5374 "gitg-window.c"
			GitgRepository* _tmp53_;
#line 1225 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp53_ = self->priv->d_repository;
#line 1225 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp51_ = _tmp53_ == NULL;
#line 5380 "gitg-window.c"
		} else {
#line 1225 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp51_ = FALSE;
#line 5384 "gitg-window.c"
		}
#line 1225 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp54_ = self->priv->d_add_button;
#line 1225 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp54_, _tmp51_);
#line 1226 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp56_ = issel;
#line 1226 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (!_tmp56_) {
#line 5394 "gitg-window.c"
			GitgRepository* _tmp57_;
#line 1226 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp57_ = self->priv->d_repository;
#line 1226 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp55_ = _tmp57_ != NULL;
#line 5400 "gitg-window.c"
		} else {
#line 1226 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp55_ = FALSE;
#line 5404 "gitg-window.c"
		}
#line 1226 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp58_ = self->priv->d_activities_switcher;
#line 1226 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp58_, _tmp55_);
#line 1227 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp59_ = self->priv->d_select_cancel_button;
#line 1227 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp60_ = issel;
#line 1227 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_set_visible ((GtkWidget*) _tmp59_, _tmp60_);
#line 1229 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp61_ = self->priv->d_select_button;
#line 1229 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp62_ = issel;
#line 1229 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_toggle_button_set_active (_tmp61_, _tmp62_);
#line 1179 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (searchable);
#line 1179 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (ctx);
#line 1179 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (selectable);
#line 1179 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_object_notify ((GObject *) self, "selectable-mode");
#line 5430 "gitg-window.c"
	}
}


static GitgExtRemoteLookup* gitg_window_real_get_remote_lookup (GitgExtApplication* base) {
	GitgExtRemoteLookup* result;
	GitgWindow* self;
	GitgRemoteManager* _tmp0_;
	GitgExtRemoteLookup* _tmp1_;
#line 1254 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = (GitgWindow*) base;
#line 1254 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = self->priv->d_remote_manager;
#line 1254 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = _g_object_ref0 ((GitgExtRemoteLookup*) _tmp0_);
#line 1254 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	result = _tmp1_;
#line 1254 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 5450 "gitg-window.c"
}


static GitgExtNotifications* gitg_window_real_get_notifications (GitgExtApplication* base) {
	GitgExtNotifications* result;
	GitgWindow* self;
	GitgNotifications* _tmp0_;
	GitgExtNotifications* _tmp1_;
#line 1259 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = (GitgWindow*) base;
#line 1259 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = self->priv->d_notifications;
#line 1259 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = _g_object_ref0 ((GitgExtNotifications*) _tmp0_);
#line 1259 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	result = _tmp1_;
#line 1259 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 5469 "gitg-window.c"
}


static gboolean gitg_window_real_change_to_activity (GitgWindow* self, gint i) {
	gboolean result = FALSE;
	GitgExtSelectionMode _tmp0_;
	gint _tmp1_;
	GitgWindowMode _tmp3_;
	GitgExtActivity** elems;
	GitgUIElements* _tmp4_;
	gpointer* _tmp5_;
	gint _tmp5__length1;
	GitgExtActivity** _tmp6_;
	gint _tmp6__length1;
	gint elems_length1;
	gint _elems_size_;
	gint _tmp7_;
	gint _tmp8_;
	GitgExtActivity** _tmp9_;
	gint _tmp9__length1;
	GitgUIElements* _tmp10_;
	GitgExtActivity** _tmp11_;
	gint _tmp11__length1;
	gint _tmp12_;
	GitgExtActivity* _tmp13_;
#line 117 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = self->priv->d_selectable_mode;
#line 117 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp0_ == GITG_EXT_SELECTION_MODE_SELECTION) {
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		result = FALSE;
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		return result;
#line 5503 "gitg-window.c"
	}
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = i;
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp1_ == 0) {
#line 5509 "gitg-window.c"
		GitgWindowMode _tmp2_;
#line 124 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp2_ = self->priv->d_mode;
#line 124 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		if (_tmp2_ == GITG_WINDOW_MODE_ACTIVITY) {
#line 126 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			gitg_ext_application_set_repository ((GitgExtApplication*) self, NULL);
#line 127 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			result = TRUE;
#line 127 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			return result;
#line 5521 "gitg-window.c"
		} else {
#line 131 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			result = FALSE;
#line 131 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			return result;
#line 5527 "gitg-window.c"
		}
	}
#line 135 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp3_ = self->priv->d_mode;
#line 135 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp3_ != GITG_WINDOW_MODE_ACTIVITY) {
#line 137 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		result = FALSE;
#line 137 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		return result;
#line 5538 "gitg-window.c"
	}
#line 140 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp4_ = self->priv->d_activities;
#line 140 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp5_ = gitg_ui_elements_get_available_elements (_tmp4_, &_tmp5__length1);
#line 140 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp6_ = _tmp5_;
#line 140 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp6__length1 = _tmp5__length1;
#line 140 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	elems = _tmp6_;
#line 140 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	elems_length1 = _tmp6__length1;
#line 140 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_elems_size_ = elems_length1;
#line 141 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp7_ = i;
#line 141 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	i = _tmp7_ - 1;
#line 143 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp8_ = i;
#line 143 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp9_ = elems;
#line 143 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp9__length1 = elems_length1;
#line 143 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp8_ >= _tmp9__length1) {
#line 145 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		result = FALSE;
#line 145 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		elems = (_vala_array_free (elems, elems_length1, (GDestroyNotify) g_object_unref), NULL);
#line 145 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		return result;
#line 5572 "gitg-window.c"
	}
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp10_ = self->priv->d_activities;
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp11_ = elems;
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp11__length1 = elems_length1;
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp12_ = i;
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp13_ = _tmp11_[_tmp12_];
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_ui_elements_set_current (_tmp10_, _tmp13_);
#line 149 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	result = TRUE;
#line 149 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	elems = (_vala_array_free (elems, elems_length1, (GDestroyNotify) g_object_unref), NULL);
#line 149 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return result;
#line 5592 "gitg-window.c"
}


static void g_cclosure_user_marshal_BOOLEAN__INT (GClosure * closure, GValue * return_value, guint n_param_values, const GValue * param_values, gpointer invocation_hint, gpointer marshal_data) {
	typedef gboolean (*GMarshalFunc_BOOLEAN__INT) (gpointer data1, gint arg_1, gpointer data2);
	register GMarshalFunc_BOOLEAN__INT callback;
	register GCClosure * cc;
	register gpointer data1;
	register gpointer data2;
	gboolean v_return;
	cc = (GCClosure *) closure;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (return_value != NULL);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (n_param_values == 2);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (G_CCLOSURE_SWAP_DATA (closure)) {
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		data1 = closure->data;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		data2 = param_values->data[0].v_pointer;
#line 5614 "gitg-window.c"
	} else {
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		data1 = param_values->data[0].v_pointer;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		data2 = closure->data;
#line 5620 "gitg-window.c"
	}
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	callback = (GMarshalFunc_BOOLEAN__INT) (marshal_data ? marshal_data : cc->callback);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	v_return = callback (data1, g_value_get_int (param_values + 1), data2);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_value_set_boolean (return_value, v_return);
#line 5628 "gitg-window.c"
}


static void gitg_window_real_cancel (GitgWindow* self) {
	GtkInfoBar* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
#line 1242 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = self->priv->d_infobar;
#line 1242 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = gtk_widget_get_visible ((GtkWidget*) _tmp0_);
#line 1242 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp2_ = _tmp1_;
#line 1242 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp2_) {
#line 5644 "gitg-window.c"
		GtkInfoBar* _tmp3_;
#line 1244 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp3_ = self->priv->d_infobar;
#line 1244 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_widget_hide ((GtkWidget*) _tmp3_);
#line 5650 "gitg-window.c"
	} else {
#line 1248 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_window_set_selectable_mode (self, GITG_EXT_SELECTION_MODE_NORMAL);
#line 5654 "gitg-window.c"
	}
}


static Block71Data* block71_data_ref (Block71Data* _data71_) {
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_atomic_int_inc (&_data71_->_ref_count_);
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return _data71_;
#line 5664 "gitg-window.c"
}


static void block71_data_unref (void * _userdata_) {
	Block71Data* _data71_;
	_data71_ = (Block71Data*) _userdata_;
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (g_atomic_int_dec_and_test (&_data71_->_ref_count_)) {
#line 5673 "gitg-window.c"
		GitgWindow* self;
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		self = _data71_->self;
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (_data71_->selact);
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (self);
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_slice_free (Block71Data, _data71_);
#line 5683 "gitg-window.c"
	}
}


static void _gitg_window___lambda166_ (Block71Data* _data71_) {
	GitgWindow* self;
	gboolean st;
	GAction* _tmp0_;
	GVariant* _tmp1_;
	GVariant* _tmp2_;
	gboolean _tmp3_;
	gboolean _tmp4_;
	gboolean _tmp5_;
#line 274 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = _data71_->self;
#line 275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = _data71_->selact;
#line 275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp1_ = g_action_get_state (_tmp0_);
#line 275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp2_ = _tmp1_;
#line 275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp3_ = g_variant_get_boolean (_tmp2_);
#line 275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp4_ = _tmp3_;
#line 275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_variant_unref0 (_tmp2_);
#line 275 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	st = _tmp4_;
#line 277 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp5_ = st;
#line 277 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp5_) {
#line 279 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_window_set_selectable_mode (self, GITG_EXT_SELECTION_MODE_SELECTION);
#line 5719 "gitg-window.c"
	} else {
#line 283 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_window_set_selectable_mode (self, GITG_EXT_SELECTION_MODE_NORMAL);
#line 5723 "gitg-window.c"
	}
}


static void __gitg_window___lambda166__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 274 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_gitg_window___lambda166_ (self);
#line 5731 "gitg-window.c"
}


static void _gitg_window___lambda167_ (GitgWindow* self, GtkInfoBar* w, gint r) {
	GtkInfoBar* _tmp0_;
#line 338 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_return_if_fail (w != NULL);
#line 339 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = self->priv->d_infobar;
#line 339 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_hide ((GtkWidget*) _tmp0_);
#line 5743 "gitg-window.c"
}


static void __gitg_window___lambda167__gtk_info_bar_response (GtkInfoBar* _sender, gint response_id, gpointer self) {
#line 338 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_gitg_window___lambda167_ ((GitgWindow*) self, _sender, response_id);
#line 5750 "gitg-window.c"
}


static GObject * gitg_window_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
	GObject * obj;
	GObjectClass * parent_class;
	GitgWindow * self;
	Block71Data* _data71_;
	gboolean _tmp0_;
	GtkOverlay* _tmp6_;
	GitgNotifications* _tmp7_;
	GAction* _tmp8_;
	GAction* _tmp9_;
	GAction* _tmp10_;
	GSettings* _tmp11_;
	gchar* menuname = NULL;
	GtkSettings* _tmp12_;
	gboolean _tmp13_;
	gboolean _tmp14_;
	GitgDashView* _tmp21_;
	const gchar* _tmp22_;
	gchar* _tmp23_;
	gchar* _tmp24_;
	gpointer _tmp25_;
	GtkSearchBar* _tmp26_;
	GtkSearchEntry* _tmp27_;
	GtkToggleButton* _tmp28_;
	GtkSearchBar* _tmp29_;
	GtkStackSwitcher* _tmp30_;
	GtkStack* _tmp31_;
	GeeHashMap* _tmp32_;
	gchar** _tmp33_;
	gchar** _tmp34_;
	gboolean _tmp40_ = FALSE;
	const gchar* _tmp41_;
	GtkHeaderBar* _tmp44_;
	GtkStackSwitcher* _tmp45_;
	GtkHeaderBar* _tmp46_;
	GtkToggleButton* _tmp47_;
	GtkHeaderBar* _tmp48_;
	GtkToggleButton* _tmp49_;
	GtkHeaderBar* _tmp50_;
	GtkMenuButton* _tmp51_;
	GtkHeaderBar* _tmp52_;
	GtkMenuButton* _tmp53_;
	GtkHeaderBar* _tmp54_;
	GtkStackSwitcher* _tmp55_;
	GtkHeaderBar* _tmp56_;
	GtkToggleButton* _tmp57_;
	GtkHeaderBar* _tmp58_;
	GtkToggleButton* _tmp59_;
	GtkInfoBar* _tmp60_;
	GtkBindingSet* bset;
	GObjectClass* _tmp61_;
	GtkBindingSet* _tmp62_;
	GtkBindingSet* _tmp69_;
	GSettings* _tmp70_;
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	parent_class = G_OBJECT_CLASS (gitg_window_parent_class);
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_WINDOW, GitgWindow);
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data71_ = g_slice_new0 (Block71Data);
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data71_->_ref_count_ = 1;
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data71_->self = g_object_ref (self);
#line 257 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp0_ = gitg_platform_support_use_native_window_controls (NULL);
#line 257 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp0_) {
#line 5824 "gitg-window.c"
		GtkGrid* _tmp1_;
		GtkHeaderBar* _tmp2_;
#line 259 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_window_set_titlebar ((GtkWindow*) self, NULL);
#line 260 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp1_ = self->priv->d_grid_top;
#line 260 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp2_ = self->priv->d_header_bar;
#line 260 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_grid_attach (_tmp1_, (GtkWidget*) _tmp2_, 0, 0, 1, 1);
#line 5835 "gitg-window.c"
	} else {
		GtkHeaderBar* _tmp3_;
		GtkHeaderBar* _tmp4_;
		GtkStyleContext* _tmp5_;
#line 264 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp3_ = self->priv->d_header_bar;
#line 264 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_header_bar_set_show_close_button (_tmp3_, TRUE);
#line 265 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp4_ = self->priv->d_header_bar;
#line 265 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp5_ = gtk_widget_get_style_context ((GtkWidget*) _tmp4_);
#line 265 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gtk_style_context_add_class (_tmp5_, "titlebar");
#line 5850 "gitg-window.c"
	}
#line 268 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_action_map_add_action_entries ((GActionMap*) self, GITG_WINDOW_win_entries, G_N_ELEMENTS (GITG_WINDOW_win_entries), self);
#line 270 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp6_ = self->priv->d_overlay;
#line 270 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp7_ = gitg_notifications_new (_tmp6_);
#line 270 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_notifications);
#line 270 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self->priv->d_notifications = _tmp7_;
#line 272 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp8_ = g_action_map_lookup_action ((GActionMap*) self, "select");
#line 272 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp9_ = _g_object_ref0 (_tmp8_);
#line 272 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data71_->selact = _tmp9_;
#line 274 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp10_ = _data71_->selact;
#line 274 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_signal_connect_data ((GObject*) _tmp10_, "notify::state", (GCallback) __gitg_window___lambda166__g_object_notify, block71_data_ref (_data71_), (GClosureNotify) block71_data_unref, 0);
#line 287 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp11_ = g_settings_new ("org.gnome.gitg.preferences.interface");
#line 287 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_interface_settings);
#line 287 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self->priv->d_interface_settings = _tmp11_;
#line 291 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp12_ = gtk_settings_get_default ();
#line 291 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_object_get (_tmp12_, "gtk-shell-shows-app-menu", &_tmp13_, NULL);
#line 291 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp14_ = _tmp13_;
#line 291 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp14_) {
#line 5886 "gitg-window.c"
		gchar* _tmp15_;
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp15_ = g_strdup ("win-menu");
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_free0 (menuname);
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		menuname = _tmp15_;
#line 294 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (self->priv->d_dash_model);
#line 294 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		self->priv->d_dash_model = NULL;
#line 5898 "gitg-window.c"
	} else {
		gchar* _tmp16_;
		const gchar* _tmp17_;
		gchar* _tmp18_;
		gchar* _tmp19_;
		gpointer _tmp20_;
#line 298 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp16_ = g_strdup ("app-win-menu");
#line 298 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_free0 (menuname);
#line 298 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		menuname = _tmp16_;
#line 299 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp17_ = menuname;
#line 299 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp18_ = g_strconcat (_tmp17_, "-dash", NULL);
#line 299 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp19_ = _tmp18_;
#line 299 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp20_ = gitg_builder_load_object (g_menu_model_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, "ui/gitg-menus.ui", _tmp19_);
#line 299 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_object_unref0 (self->priv->d_dash_model);
#line 299 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		self->priv->d_dash_model = (GMenuModel*) _tmp20_;
#line 299 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_g_free0 (_tmp19_);
#line 5925 "gitg-window.c"
	}
#line 302 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp21_ = self->priv->d_dash_view;
#line 302 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_ext_ui_element_set_application ((GitgExtUIElement*) _tmp21_, (GitgExtApplication*) self);
#line 304 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp22_ = menuname;
#line 304 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp23_ = g_strconcat (_tmp22_, "-views", NULL);
#line 304 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp24_ = _tmp23_;
#line 304 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp25_ = gitg_builder_load_object (g_menu_model_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, "ui/gitg-menus.ui", _tmp24_);
#line 304 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_activities_model);
#line 304 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self->priv->d_activities_model = (GMenuModel*) _tmp25_;
#line 304 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_free0 (_tmp24_);
#line 307 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp26_ = self->priv->d_search_bar;
#line 307 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp27_ = self->priv->d_search_entry;
#line 307 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_search_bar_connect_entry (_tmp26_, (GtkEntry*) _tmp27_);
#line 308 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp28_ = self->priv->d_search_button;
#line 308 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp29_ = self->priv->d_search_bar;
#line 308 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp28_, "active", (GObject*) _tmp29_, "search-mode-enabled", G_BINDING_BIDIRECTIONAL, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 313 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp30_ = self->priv->d_activities_switcher;
#line 313 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp31_ = self->priv->d_stack_activities;
#line 313 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_stack_switcher_set_stack (_tmp30_, _tmp31_);
#line 315 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp32_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
#line 315 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_environment);
#line 315 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self->priv->d_environment = _tmp32_;
#line 317 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp34_ = _tmp33_ = g_listenv ();
#line 5971 "gitg-window.c"
	{
		gchar** e_collection = NULL;
		gint e_collection_length1 = 0;
		gint _e_collection_size_ = 0;
		gint e_it = 0;
#line 317 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		e_collection = _tmp34_;
#line 317 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		e_collection_length1 = _vala_array_length (_tmp33_);
#line 317 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		for (e_it = 0; e_it < _vala_array_length (_tmp33_); e_it = e_it + 1) {
#line 5983 "gitg-window.c"
			gchar* _tmp35_;
			gchar* e = NULL;
#line 317 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp35_ = g_strdup (e_collection[e_it]);
#line 317 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			e = _tmp35_;
#line 5990 "gitg-window.c"
			{
				GeeHashMap* _tmp36_;
				const gchar* _tmp37_;
				const gchar* _tmp38_;
				const gchar* _tmp39_;
#line 319 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp36_ = self->priv->d_environment;
#line 319 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp37_ = e;
#line 319 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp38_ = e;
#line 319 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp39_ = g_getenv (_tmp38_);
#line 319 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				gee_abstract_map_set ((GeeAbstractMap*) _tmp36_, _tmp37_, _tmp39_);
#line 317 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_g_free0 (e);
#line 6008 "gitg-window.c"
			}
		}
#line 317 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		e_collection = (_vala_array_free (e_collection, e_collection_length1, (GDestroyNotify) g_free), NULL);
#line 6013 "gitg-window.c"
	}
#line 322 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp41_ = gtk_check_version ((guint) 3, (guint) 13, (guint) 2);
#line 322 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp41_ != NULL) {
#line 6019 "gitg-window.c"
		GtkTextDirection _tmp42_;
#line 323 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp42_ = gtk_widget_get_direction ((GtkWidget*) self);
#line 323 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp40_ = _tmp42_ == GTK_TEXT_DIR_RTL;
#line 6025 "gitg-window.c"
	} else {
#line 322 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp40_ = FALSE;
#line 6029 "gitg-window.c"
	}
#line 322 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	if (_tmp40_) {
#line 6033 "gitg-window.c"
		GtkImage* _tmp43_;
#line 325 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		_tmp43_ = self->priv->dash_image;
#line 325 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_object_set (_tmp43_, "icon-name", "go-previous-rtl-symbolic", NULL);
#line 6039 "gitg-window.c"
	}
#line 328 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp44_ = self->priv->d_header_bar;
#line 328 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp45_ = self->priv->d_activities_switcher;
#line 328 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_container_remove ((GtkContainer*) _tmp44_, (GtkWidget*) _tmp45_);
#line 329 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp46_ = self->priv->d_header_bar;
#line 329 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp47_ = self->priv->d_search_button;
#line 329 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_container_remove ((GtkContainer*) _tmp46_, (GtkWidget*) _tmp47_);
#line 330 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp48_ = self->priv->d_header_bar;
#line 330 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp49_ = self->priv->d_select_button;
#line 330 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_container_remove ((GtkContainer*) _tmp48_, (GtkWidget*) _tmp49_);
#line 331 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp50_ = self->priv->d_header_bar;
#line 331 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp51_ = self->priv->d_gear_menu;
#line 331 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_container_remove ((GtkContainer*) _tmp50_, (GtkWidget*) _tmp51_);
#line 333 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp52_ = self->priv->d_header_bar;
#line 333 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp53_ = self->priv->d_gear_menu;
#line 333 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_header_bar_pack_end (_tmp52_, (GtkWidget*) _tmp53_);
#line 334 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp54_ = self->priv->d_header_bar;
#line 334 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp55_ = self->priv->d_activities_switcher;
#line 334 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_header_bar_pack_end (_tmp54_, (GtkWidget*) _tmp55_);
#line 335 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp56_ = self->priv->d_header_bar;
#line 335 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp57_ = self->priv->d_select_button;
#line 335 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_header_bar_pack_end (_tmp56_, (GtkWidget*) _tmp57_);
#line 336 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp58_ = self->priv->d_header_bar;
#line 336 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp59_ = self->priv->d_search_button;
#line 336 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_header_bar_pack_end (_tmp58_, (GtkWidget*) _tmp59_);
#line 338 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp60_ = self->priv->d_infobar;
#line 338 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_signal_connect_object (_tmp60_, "response", (GCallback) __gitg_window___lambda167__gtk_info_bar_response, self, 0);
#line 342 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp61_ = G_OBJECT_GET_CLASS ((GObject*) self);
#line 342 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp62_ = gtk_binding_set_by_class (_tmp61_);
#line 342 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	bset = _tmp62_;
#line 6099 "gitg-window.c"
	{
		gint i;
#line 344 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		i = 0;
#line 6104 "gitg-window.c"
		{
			gboolean _tmp63_;
#line 344 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			_tmp63_ = TRUE;
#line 344 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
			while (TRUE) {
#line 6111 "gitg-window.c"
				gint _tmp65_;
				GtkBindingSet* _tmp66_;
				gint _tmp67_;
				gint _tmp68_;
#line 344 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				if (!_tmp63_) {
#line 6118 "gitg-window.c"
					gint _tmp64_;
#line 344 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
					_tmp64_ = i;
#line 344 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
					i = _tmp64_ + 1;
#line 6124 "gitg-window.c"
				}
#line 344 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp63_ = FALSE;
#line 344 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp65_ = i;
#line 344 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				if (!(_tmp65_ < 10)) {
#line 344 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
					break;
#line 6134 "gitg-window.c"
				}
#line 346 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp66_ = bset;
#line 346 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp67_ = i;
#line 346 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				_tmp68_ = i;
#line 346 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
				gtk_binding_entry_add_signal (_tmp66_, (guint) (GDK_KEY_0 + _tmp67_), GDK_MOD1_MASK, "change-to-activity", (guint) 1, G_TYPE_INT, _tmp68_, NULL);
#line 6144 "gitg-window.c"
			}
		}
	}
#line 355 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp69_ = bset;
#line 355 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_binding_entry_add_signal (_tmp69_, (guint) GDK_KEY_Escape, 0, "cancel", (guint) 0, NULL);
#line 361 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_tmp70_ = self->priv->d_interface_settings;
#line 361 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_settings_bind (_tmp70_, "enable-monitoring", (GObject*) self, "enable-monitoring", G_SETTINGS_BIND_GET | G_SETTINGS_BIND_SET);
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_free0 (menuname);
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	block71_data_unref (_data71_);
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_data71_ = NULL;
#line 255 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	return obj;
#line 6164 "gitg-window.c"
}


static void gitg_window_class_init (GitgWindowClass * klass) {
	gint GitgWindow_private_offset;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_window_parent_class = g_type_class_peek_parent (klass);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_type_class_add_private (klass, sizeof (GitgWindowPrivate));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	((GtkWidgetClass *) klass)->style_updated = gitg_window_real_style_updated;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	((GtkWidgetClass *) klass)->delete_event = gitg_window_real_delete_event;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	((GtkWidgetClass *) klass)->realize = gitg_window_real_realize;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	((GtkWidgetClass *) klass)->window_state_event = gitg_window_real_window_state_event;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	((GtkWidgetClass *) klass)->configure_event = gitg_window_real_configure_event;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	((GitgWindowClass *) klass)->change_to_activity = gitg_window_real_change_to_activity;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	((GitgWindowClass *) klass)->cancel = gitg_window_real_cancel;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_window_get_property;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_window_set_property;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	G_OBJECT_CLASS (klass)->constructor = gitg_window_constructor;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_window_finalize;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_WINDOW_CURRENT_ACTIVITY, g_param_spec_object ("current-activity", "current-activity", "current-activity", GITG_EXT_TYPE_ACTIVITY, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_WINDOW_MESSAGE_BUS, g_param_spec_object ("message-bus", "message-bus", "message-bus", GITG_EXT_TYPE_MESSAGE_BUS, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_WINDOW_REPOSITORY, g_param_spec_object ("repository", "repository", "repository", GITG_TYPE_REPOSITORY, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_WINDOW_ENABLE_MONITORING, g_param_spec_boolean ("enable-monitoring", "enable-monitoring", "enable-monitoring", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_WINDOW_ENVIRONMENT, g_param_spec_object ("environment", "environment", "environment", GEE_TYPE_MAP, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_WINDOW_BUSY, g_param_spec_boolean ("busy", "busy", "busy", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_WINDOW_SELECTABLE_MODE, g_param_spec_enum ("selectable-mode", "selectable-mode", "selectable-mode", GITG_EXT_TYPE_SELECTION_MODE, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_WINDOW_REMOTE_LOOKUP, g_param_spec_object ("remote-lookup", "remote-lookup", "remote-lookup", GITG_EXT_TYPE_REMOTE_LOOKUP, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_WINDOW_NOTIFICATIONS, g_param_spec_object ("notifications", "notifications", "notifications", GITG_EXT_TYPE_NOTIFICATIONS, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	GitgWindow_private_offset = g_type_class_get_instance_private_offset (klass);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/gitg/ui/gitg-window.ui");
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_window_signals[GITG_WINDOW_CHANGE_TO_ACTIVITY_SIGNAL] = g_signal_new ("change_to_activity", GITG_TYPE_WINDOW, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_STRUCT_OFFSET (GitgWindowClass, change_to_activity), NULL, NULL, g_cclosure_user_marshal_BOOLEAN__INT, G_TYPE_BOOLEAN, 1, G_TYPE_INT);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_window_signals[GITG_WINDOW_CANCEL_SIGNAL] = g_signal_new ("cancel", GITG_TYPE_WINDOW, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_STRUCT_OFFSET (GitgWindowClass, cancel), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_header_bar", FALSE, GitgWindow_private_offset + G_STRUCT_OFFSET (GitgWindowPrivate, d_header_bar));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_search_button", FALSE, GitgWindow_private_offset + G_STRUCT_OFFSET (GitgWindowPrivate, d_search_button));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_gear_menu", FALSE, GitgWindow_private_offset + G_STRUCT_OFFSET (GitgWindowPrivate, d_gear_menu));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_grid_main", FALSE, GitgWindow_private_offset + G_STRUCT_OFFSET (GitgWindowPrivate, d_grid_main));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_grid_top", FALSE, GitgWindow_private_offset + G_STRUCT_OFFSET (GitgWindowPrivate, d_grid_top));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_select_button", FALSE, GitgWindow_private_offset + G_STRUCT_OFFSET (GitgWindowPrivate, d_select_button));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_select_cancel_button", FALSE, GitgWindow_private_offset + G_STRUCT_OFFSET (GitgWindowPrivate, d_select_cancel_button));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_dash_button", FALSE, GitgWindow_private_offset + G_STRUCT_OFFSET (GitgWindowPrivate, d_dash_button));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_clone_button", FALSE, GitgWindow_private_offset + G_STRUCT_OFFSET (GitgWindowPrivate, d_clone_button));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_add_button", FALSE, GitgWindow_private_offset + G_STRUCT_OFFSET (GitgWindowPrivate, d_add_button));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "dash_image", FALSE, GitgWindow_private_offset + G_STRUCT_OFFSET (GitgWindowPrivate, dash_image));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_activities_switcher", FALSE, GitgWindow_private_offset + G_STRUCT_OFFSET (GitgWindowPrivate, d_activities_switcher));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_search_bar", FALSE, GitgWindow_private_offset + G_STRUCT_OFFSET (GitgWindowPrivate, d_search_bar));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_search_entry", FALSE, GitgWindow_private_offset + G_STRUCT_OFFSET (GitgWindowPrivate, d_search_entry));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_main_stack", FALSE, GitgWindow_private_offset + G_STRUCT_OFFSET (GitgWindowPrivate, d_main_stack));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_dash_view", FALSE, GitgWindow_private_offset + G_STRUCT_OFFSET (GitgWindowPrivate, d_dash_view));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_stack_activities", FALSE, GitgWindow_private_offset + G_STRUCT_OFFSET (GitgWindowPrivate, d_stack_activities));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_infobar", FALSE, GitgWindow_private_offset + G_STRUCT_OFFSET (GitgWindowPrivate, d_infobar));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_infobar_primary_label", FALSE, GitgWindow_private_offset + G_STRUCT_OFFSET (GitgWindowPrivate, d_infobar_primary_label));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_infobar_secondary_label", FALSE, GitgWindow_private_offset + G_STRUCT_OFFSET (GitgWindowPrivate, d_infobar_secondary_label));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "d_overlay", FALSE, GitgWindow_private_offset + G_STRUCT_OFFSET (GitgWindowPrivate, d_overlay));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "dash_button_clicked", G_CALLBACK(_gitg_window_dash_button_clicked_gtk_button_clicked));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "clone_repository_clicked", G_CALLBACK(_gitg_window_clone_repository_clicked_gtk_button_clicked));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "add_repository_clicked", G_CALLBACK(_gitg_window_add_repository_clicked_gtk_button_clicked));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "search_button_toggled", G_CALLBACK(_gitg_window_search_button_toggled_gtk_toggle_button_toggled));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "search_entry_changed", G_CALLBACK(_gitg_window_search_entry_changed_gtk_editable_changed));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_select_cancel_button_clicked", G_CALLBACK(_gitg_window_on_select_cancel_button_clicked_gtk_button_clicked));
#line 6276 "gitg-window.c"
}


static void gitg_window_gitg_ext_application_interface_init (GitgExtApplicationIface * iface) {
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_window_gitg_ext_application_parent_iface = g_type_interface_peek_parent (iface);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	iface->open_new = (GitgExtApplication* (*) (GitgExtApplication *, GgitRepository*, const gchar*)) gitg_window_real_open_new;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	iface->set_activity_by_id = (GitgExtActivity* (*) (GitgExtApplication *, const gchar*)) gitg_window_real_set_activity_by_id;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	iface->get_activity_by_id = (GitgExtActivity* (*) (GitgExtApplication *, const gchar*)) gitg_window_real_get_activity_by_id;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	iface->open_repository = (void (*) (GitgExtApplication *, GFile*)) gitg_window_real_open_repository;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	iface->show_infobar = (void (*) (GitgExtApplication *, const gchar*, const gchar*, GtkMessageType)) gitg_window_real_show_infobar;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	iface->user_query_async = (GtkResponseType (*) (GitgExtApplication *, GitgExtUserQuery*)) gitg_window_real_user_query_async;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	iface->user_query_finish = gitg_window_real_user_query_finish;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	iface->user_query = (void (*) (GitgExtApplication *, GitgExtUserQuery*)) gitg_window_real_user_query;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	iface->get_verified_committer = (GgitSignature* (*) (GitgExtApplication *)) gitg_window_real_get_verified_committer;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	iface->get_current_activity = gitg_window_real_get_current_activity;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	iface->get_message_bus = gitg_window_real_get_message_bus;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	iface->get_repository = gitg_window_real_get_repository;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	iface->set_repository = gitg_window_real_set_repository;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	iface->get_environment = gitg_window_real_get_environment;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	iface->get_busy = gitg_window_real_get_busy;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	iface->set_busy = gitg_window_real_set_busy;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	iface->get_remote_lookup = gitg_window_real_get_remote_lookup;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	iface->get_notifications = gitg_window_real_get_notifications;
#line 6319 "gitg-window.c"
}


static void gitg_window_g_initable_interface_init (GInitableIface * iface) {
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gitg_window_g_initable_parent_iface = g_type_interface_peek_parent (iface);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	iface->init = (gboolean (*) (GInitable *, GCancellable*, GError**)) gitg_window_real_init;
#line 6328 "gitg-window.c"
}


static void gitg_window_instance_init (GitgWindow * self) {
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self->priv = GITG_WINDOW_GET_PRIVATE (self);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	g_type_ensure (GITG_TYPE_DASH_VIEW);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 6339 "gitg-window.c"
}


static void gitg_window_finalize (GObject * obj) {
	GitgWindow * self;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_WINDOW, GitgWindow);
#line 29 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_state_settings);
#line 30 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_interface_settings);
#line 31 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_repository);
#line 32 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_repository_monitor);
#line 33 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_message_bus);
#line 34 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_free0 (self->priv->d_action);
#line 35 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_environment);
#line 37 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_dialog);
#line 38 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_select_actions);
#line 40 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_selectable_mode_binding);
#line 41 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_selectable_available_binding);
#line 42 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_searchable_available_binding);
#line 45 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_activities);
#line 47 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_remote_manager);
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_notifications);
#line 52 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_header_bar);
#line 54 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_search_button);
#line 56 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_gear_menu);
#line 57 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_activities_model);
#line 58 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_dash_model);
#line 61 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_grid_main);
#line 64 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_grid_top);
#line 67 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_select_button);
#line 69 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_select_cancel_button);
#line 72 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_dash_button);
#line 74 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_clone_button);
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_add_button);
#line 78 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->dash_image);
#line 80 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_activities_switcher);
#line 83 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_search_bar);
#line 85 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_search_entry);
#line 88 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_main_stack);
#line 91 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_dash_view);
#line 94 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_stack_activities);
#line 97 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_infobar);
#line 99 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_infobar_primary_label);
#line 101 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_infobar_secondary_label);
#line 104 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	_g_object_unref0 (self->priv->d_overlay);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	G_OBJECT_CLASS (gitg_window_parent_class)->finalize (obj);
#line 6425 "gitg-window.c"
}


GType gitg_window_get_type (void) {
	static volatile gsize gitg_window_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_window_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgWindowClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_window_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgWindow), 0, (GInstanceInitFunc) gitg_window_instance_init, NULL };
		static const GInterfaceInfo gitg_ext_application_info = { (GInterfaceInitFunc) gitg_window_gitg_ext_application_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		static const GInterfaceInfo g_initable_info = { (GInterfaceInitFunc) gitg_window_g_initable_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType gitg_window_type_id;
		gitg_window_type_id = g_type_register_static (gtk_application_window_get_type (), "GitgWindow", &g_define_type_info, 0);
		g_type_add_interface_static (gitg_window_type_id, GITG_EXT_TYPE_APPLICATION, &gitg_ext_application_info);
		g_type_add_interface_static (gitg_window_type_id, g_initable_get_type (), &g_initable_info);
		g_once_init_leave (&gitg_window_type_id__volatile, gitg_window_type_id);
	}
	return gitg_window_type_id__volatile;
}


static void _vala_gitg_window_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgWindow * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_WINDOW, GitgWindow);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	switch (property_id) {
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		case GITG_WINDOW_CURRENT_ACTIVITY:
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_value_take_object (value, gitg_ext_application_get_current_activity ((GitgExtApplication*) self));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		break;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		case GITG_WINDOW_MESSAGE_BUS:
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_value_take_object (value, gitg_ext_application_get_message_bus ((GitgExtApplication*) self));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		break;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		case GITG_WINDOW_REPOSITORY:
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_value_take_object (value, gitg_ext_application_get_repository ((GitgExtApplication*) self));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		break;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		case GITG_WINDOW_ENABLE_MONITORING:
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_value_set_boolean (value, gitg_window_get_enable_monitoring (self));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		break;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		case GITG_WINDOW_ENVIRONMENT:
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_value_take_object (value, gitg_ext_application_get_environment ((GitgExtApplication*) self));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		break;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		case GITG_WINDOW_BUSY:
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_value_set_boolean (value, gitg_ext_application_get_busy ((GitgExtApplication*) self));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		break;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		case GITG_WINDOW_SELECTABLE_MODE:
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_value_set_enum (value, gitg_window_get_selectable_mode (self));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		break;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		case GITG_WINDOW_REMOTE_LOOKUP:
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_value_take_object (value, gitg_ext_application_get_remote_lookup ((GitgExtApplication*) self));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		break;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		case GITG_WINDOW_NOTIFICATIONS:
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		g_value_take_object (value, gitg_ext_application_get_notifications ((GitgExtApplication*) self));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		break;
#line 6504 "gitg-window.c"
		default:
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		break;
#line 6510 "gitg-window.c"
	}
}


static void _vala_gitg_window_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GitgWindow * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_WINDOW, GitgWindow);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
	switch (property_id) {
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		case GITG_WINDOW_REPOSITORY:
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_ext_application_set_repository ((GitgExtApplication*) self, g_value_get_object (value));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		break;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		case GITG_WINDOW_ENABLE_MONITORING:
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_window_set_enable_monitoring (self, g_value_get_boolean (value));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		break;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		case GITG_WINDOW_BUSY:
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_ext_application_set_busy ((GitgExtApplication*) self, g_value_get_boolean (value));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		break;
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		case GITG_WINDOW_SELECTABLE_MODE:
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		gitg_window_set_selectable_mode (self, g_value_get_enum (value));
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		break;
#line 6544 "gitg-window.c"
		default:
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 24 "/home/mcatanzaro/Projects/GNOME/gitg/gitg/gitg-window.vala"
		break;
#line 6550 "gitg-window.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);
}


static gint _vala_array_length (gpointer array) {
	int length;
	length = 0;
	if (array) {
		while (((gpointer*) array)[length]) {
			length++;
		}
	}
	return length;
}



