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

/* -*- Mode: Vala; indent-tabs-mode: nil; tab-width: 4 -*-
 * -*- coding: utf-8 -*-
 *
 * Copyright (C) 2011 ~ 2018 Deepin, Inc.
 *               2011 ~ 2018 Wang Yong
 *
 * Author:     Wang Yong <wangyong@deepin.com>
 * Maintainer: Wang Yong <wangyong@deepin.com>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#include <gtk/gtk.h>
#include <glib-object.h>
#include <cairo-gobject.h>
#include <gdk/gdk.h>
#include <glib.h>
#include <gee.h>
#include <stdlib.h>
#include <string.h>
#include <float.h>
#include <math.h>
#include <glib/gi18n-lib.h>

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

#define WIDGETS_TYPE_DIALOG (widgets_dialog_get_type ())
#define WIDGETS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WIDGETS_TYPE_DIALOG, WidgetsDialog))
#define WIDGETS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WIDGETS_TYPE_DIALOG, WidgetsDialogClass))
#define WIDGETS_IS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WIDGETS_TYPE_DIALOG))
#define WIDGETS_IS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WIDGETS_TYPE_DIALOG))
#define WIDGETS_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), WIDGETS_TYPE_DIALOG, WidgetsDialogClass))

typedef struct _WidgetsDialog WidgetsDialog;
typedef struct _WidgetsDialogClass WidgetsDialogClass;
typedef struct _WidgetsDialogPrivate WidgetsDialogPrivate;

#define WIDGETS_TYPE_CONFIG_WINDOW (widgets_config_window_get_type ())
#define WIDGETS_CONFIG_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WIDGETS_TYPE_CONFIG_WINDOW, WidgetsConfigWindow))
#define WIDGETS_CONFIG_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WIDGETS_TYPE_CONFIG_WINDOW, WidgetsConfigWindowClass))
#define WIDGETS_IS_CONFIG_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WIDGETS_TYPE_CONFIG_WINDOW))
#define WIDGETS_IS_CONFIG_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WIDGETS_TYPE_CONFIG_WINDOW))
#define WIDGETS_CONFIG_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), WIDGETS_TYPE_CONFIG_WINDOW, WidgetsConfigWindowClass))

typedef struct _WidgetsConfigWindow WidgetsConfigWindow;
typedef struct _WidgetsConfigWindowClass WidgetsConfigWindowClass;

#define WIDGETS_TYPE_PREFERENCE (widgets_preference_get_type ())
#define WIDGETS_PREFERENCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WIDGETS_TYPE_PREFERENCE, WidgetsPreference))
#define WIDGETS_PREFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WIDGETS_TYPE_PREFERENCE, WidgetsPreferenceClass))
#define WIDGETS_IS_PREFERENCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WIDGETS_TYPE_PREFERENCE))
#define WIDGETS_IS_PREFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WIDGETS_TYPE_PREFERENCE))
#define WIDGETS_PREFERENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), WIDGETS_TYPE_PREFERENCE, WidgetsPreferenceClass))

typedef struct _WidgetsPreference WidgetsPreference;
typedef struct _WidgetsPreferenceClass WidgetsPreferenceClass;
typedef struct _WidgetsPreferencePrivate WidgetsPreferencePrivate;

#define WIDGETS_TYPE_DROPDOWN_TEXT_BUTTON (widgets_dropdown_text_button_get_type ())
#define WIDGETS_DROPDOWN_TEXT_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WIDGETS_TYPE_DROPDOWN_TEXT_BUTTON, WidgetsDropdownTextButton))
#define WIDGETS_DROPDOWN_TEXT_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WIDGETS_TYPE_DROPDOWN_TEXT_BUTTON, WidgetsDropdownTextButtonClass))
#define WIDGETS_IS_DROPDOWN_TEXT_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WIDGETS_TYPE_DROPDOWN_TEXT_BUTTON))
#define WIDGETS_IS_DROPDOWN_TEXT_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WIDGETS_TYPE_DROPDOWN_TEXT_BUTTON))
#define WIDGETS_DROPDOWN_TEXT_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), WIDGETS_TYPE_DROPDOWN_TEXT_BUTTON, WidgetsDropdownTextButtonClass))

typedef struct _WidgetsDropdownTextButton WidgetsDropdownTextButton;
typedef struct _WidgetsDropdownTextButtonClass WidgetsDropdownTextButtonClass;

#define WIDGETS_TYPE_SHORTCUT_ENTRY (widgets_shortcut_entry_get_type ())
#define WIDGETS_SHORTCUT_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WIDGETS_TYPE_SHORTCUT_ENTRY, WidgetsShortcutEntry))
#define WIDGETS_SHORTCUT_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WIDGETS_TYPE_SHORTCUT_ENTRY, WidgetsShortcutEntryClass))
#define WIDGETS_IS_SHORTCUT_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WIDGETS_TYPE_SHORTCUT_ENTRY))
#define WIDGETS_IS_SHORTCUT_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WIDGETS_TYPE_SHORTCUT_ENTRY))
#define WIDGETS_SHORTCUT_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), WIDGETS_TYPE_SHORTCUT_ENTRY, WidgetsShortcutEntryClass))

typedef struct _WidgetsShortcutEntry WidgetsShortcutEntry;
typedef struct _WidgetsShortcutEntryClass WidgetsShortcutEntryClass;

#define WIDGETS_TYPE_CHECK_BUTTON (widgets_check_button_get_type ())
#define WIDGETS_CHECK_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WIDGETS_TYPE_CHECK_BUTTON, WidgetsCheckButton))
#define WIDGETS_CHECK_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WIDGETS_TYPE_CHECK_BUTTON, WidgetsCheckButtonClass))
#define WIDGETS_IS_CHECK_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WIDGETS_TYPE_CHECK_BUTTON))
#define WIDGETS_IS_CHECK_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WIDGETS_TYPE_CHECK_BUTTON))
#define WIDGETS_CHECK_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), WIDGETS_TYPE_CHECK_BUTTON, WidgetsCheckButtonClass))

typedef struct _WidgetsCheckButton WidgetsCheckButton;
typedef struct _WidgetsCheckButtonClass WidgetsCheckButtonClass;

#define WIDGETS_TYPE_CURSOR_TOGGLE_BUTTON (widgets_cursor_toggle_button_get_type ())
#define WIDGETS_CURSOR_TOGGLE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WIDGETS_TYPE_CURSOR_TOGGLE_BUTTON, WidgetsCursorToggleButton))
#define WIDGETS_CURSOR_TOGGLE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WIDGETS_TYPE_CURSOR_TOGGLE_BUTTON, WidgetsCursorToggleButtonClass))
#define WIDGETS_IS_CURSOR_TOGGLE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WIDGETS_TYPE_CURSOR_TOGGLE_BUTTON))
#define WIDGETS_IS_CURSOR_TOGGLE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WIDGETS_TYPE_CURSOR_TOGGLE_BUTTON))
#define WIDGETS_CURSOR_TOGGLE_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), WIDGETS_TYPE_CURSOR_TOGGLE_BUTTON, WidgetsCursorToggleButtonClass))

typedef struct _WidgetsCursorToggleButton WidgetsCursorToggleButton;
typedef struct _WidgetsCursorToggleButtonClass WidgetsCursorToggleButtonClass;

#define WIDGETS_TYPE_PROGRESS_BAR (widgets_progress_bar_get_type ())
#define WIDGETS_PROGRESS_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WIDGETS_TYPE_PROGRESS_BAR, WidgetsProgressBar))
#define WIDGETS_PROGRESS_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WIDGETS_TYPE_PROGRESS_BAR, WidgetsProgressBarClass))
#define WIDGETS_IS_PROGRESS_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WIDGETS_TYPE_PROGRESS_BAR))
#define WIDGETS_IS_PROGRESS_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WIDGETS_TYPE_PROGRESS_BAR))
#define WIDGETS_PROGRESS_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), WIDGETS_TYPE_PROGRESS_BAR, WidgetsProgressBarClass))

typedef struct _WidgetsProgressBar WidgetsProgressBar;
typedef struct _WidgetsProgressBarClass WidgetsProgressBarClass;

#define WIDGETS_TYPE_SPIN_BUTTON (widgets_spin_button_get_type ())
#define WIDGETS_SPIN_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WIDGETS_TYPE_SPIN_BUTTON, WidgetsSpinButton))
#define WIDGETS_SPIN_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WIDGETS_TYPE_SPIN_BUTTON, WidgetsSpinButtonClass))
#define WIDGETS_IS_SPIN_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WIDGETS_TYPE_SPIN_BUTTON))
#define WIDGETS_IS_SPIN_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WIDGETS_TYPE_SPIN_BUTTON))
#define WIDGETS_SPIN_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), WIDGETS_TYPE_SPIN_BUTTON, WidgetsSpinButtonClass))

typedef struct _WidgetsSpinButton WidgetsSpinButton;
typedef struct _WidgetsSpinButtonClass WidgetsSpinButtonClass;

#define ANIMATION_TYPE_ANIMATE_TIMER (animation_animate_timer_get_type ())
#define ANIMATION_ANIMATE_TIMER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ANIMATION_TYPE_ANIMATE_TIMER, AnimationAnimateTimer))
#define ANIMATION_ANIMATE_TIMER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ANIMATION_TYPE_ANIMATE_TIMER, AnimationAnimateTimerClass))
#define ANIMATION_IS_ANIMATE_TIMER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ANIMATION_TYPE_ANIMATE_TIMER))
#define ANIMATION_IS_ANIMATE_TIMER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ANIMATION_TYPE_ANIMATE_TIMER))
#define ANIMATION_ANIMATE_TIMER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ANIMATION_TYPE_ANIMATE_TIMER, AnimationAnimateTimerClass))

typedef struct _AnimationAnimateTimer AnimationAnimateTimer;
typedef struct _AnimationAnimateTimerClass AnimationAnimateTimerClass;

#define WIDGETS_TYPE_PREFERENCE_SLIDEBAR (widgets_preference_slidebar_get_type ())
#define WIDGETS_PREFERENCE_SLIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WIDGETS_TYPE_PREFERENCE_SLIDEBAR, WidgetsPreferenceSlidebar))
#define WIDGETS_PREFERENCE_SLIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WIDGETS_TYPE_PREFERENCE_SLIDEBAR, WidgetsPreferenceSlidebarClass))
#define WIDGETS_IS_PREFERENCE_SLIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WIDGETS_TYPE_PREFERENCE_SLIDEBAR))
#define WIDGETS_IS_PREFERENCE_SLIDEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WIDGETS_TYPE_PREFERENCE_SLIDEBAR))
#define WIDGETS_PREFERENCE_SLIDEBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), WIDGETS_TYPE_PREFERENCE_SLIDEBAR, WidgetsPreferenceSlidebarClass))

typedef struct _WidgetsPreferenceSlidebar WidgetsPreferenceSlidebar;
typedef struct _WidgetsPreferenceSlidebarClass WidgetsPreferenceSlidebarClass;
enum  {
	WIDGETS_PREFERENCE_0_PROPERTY,
	WIDGETS_PREFERENCE_NUM_PROPERTIES
};
static GParamSpec* widgets_preference_properties[WIDGETS_PREFERENCE_NUM_PROPERTIES];
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
typedef struct _Block16Data Block16Data;

#define WIDGETS_TYPE_TITLEBAR (widgets_titlebar_get_type ())
#define WIDGETS_TITLEBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WIDGETS_TYPE_TITLEBAR, WidgetsTitlebar))
#define WIDGETS_TITLEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WIDGETS_TYPE_TITLEBAR, WidgetsTitlebarClass))
#define WIDGETS_IS_TITLEBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WIDGETS_TYPE_TITLEBAR))
#define WIDGETS_IS_TITLEBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WIDGETS_TYPE_TITLEBAR))
#define WIDGETS_TITLEBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), WIDGETS_TYPE_TITLEBAR, WidgetsTitlebarClass))

typedef struct _WidgetsTitlebar WidgetsTitlebar;
typedef struct _WidgetsTitlebarClass WidgetsTitlebarClass;
typedef struct _WidgetsTitlebarPrivate WidgetsTitlebarPrivate;

#define WIDGETS_TYPE_WINDOW_EVENT_AREA (widgets_window_event_area_get_type ())
#define WIDGETS_WINDOW_EVENT_AREA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WIDGETS_TYPE_WINDOW_EVENT_AREA, WidgetsWindowEventArea))
#define WIDGETS_WINDOW_EVENT_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WIDGETS_TYPE_WINDOW_EVENT_AREA, WidgetsWindowEventAreaClass))
#define WIDGETS_IS_WINDOW_EVENT_AREA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WIDGETS_TYPE_WINDOW_EVENT_AREA))
#define WIDGETS_IS_WINDOW_EVENT_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WIDGETS_TYPE_WINDOW_EVENT_AREA))
#define WIDGETS_WINDOW_EVENT_AREA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), WIDGETS_TYPE_WINDOW_EVENT_AREA, WidgetsWindowEventAreaClass))

typedef struct _WidgetsWindowEventArea WidgetsWindowEventArea;
typedef struct _WidgetsWindowEventAreaClass WidgetsWindowEventAreaClass;

#define WIDGETS_TYPE_CLICK_EVENT_BOX (widgets_click_event_box_get_type ())
#define WIDGETS_CLICK_EVENT_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WIDGETS_TYPE_CLICK_EVENT_BOX, WidgetsClickEventBox))
#define WIDGETS_CLICK_EVENT_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WIDGETS_TYPE_CLICK_EVENT_BOX, WidgetsClickEventBoxClass))
#define WIDGETS_IS_CLICK_EVENT_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WIDGETS_TYPE_CLICK_EVENT_BOX))
#define WIDGETS_IS_CLICK_EVENT_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WIDGETS_TYPE_CLICK_EVENT_BOX))
#define WIDGETS_CLICK_EVENT_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), WIDGETS_TYPE_CLICK_EVENT_BOX, WidgetsClickEventBoxClass))

typedef struct _WidgetsClickEventBox WidgetsClickEventBox;
typedef struct _WidgetsClickEventBoxClass WidgetsClickEventBoxClass;

#define WIDGETS_TYPE_WINDOW_BUTTON (widgets_window_button_get_type ())
#define WIDGETS_WINDOW_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WIDGETS_TYPE_WINDOW_BUTTON, WidgetsWindowButton))
#define WIDGETS_WINDOW_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WIDGETS_TYPE_WINDOW_BUTTON, WidgetsWindowButtonClass))
#define WIDGETS_IS_WINDOW_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WIDGETS_TYPE_WINDOW_BUTTON))
#define WIDGETS_IS_WINDOW_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WIDGETS_TYPE_WINDOW_BUTTON))
#define WIDGETS_WINDOW_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), WIDGETS_TYPE_WINDOW_BUTTON, WidgetsWindowButtonClass))

typedef struct _WidgetsWindowButton WidgetsWindowButton;
typedef struct _WidgetsWindowButtonClass WidgetsWindowButtonClass;
typedef struct _WidgetsConfigWindowPrivate WidgetsConfigWindowPrivate;

#define CONFIG_TYPE_CONFIG (config_config_get_type ())
#define CONFIG_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONFIG_TYPE_CONFIG, ConfigConfig))
#define CONFIG_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONFIG_TYPE_CONFIG, ConfigConfigClass))
#define CONFIG_IS_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONFIG_TYPE_CONFIG))
#define CONFIG_IS_CONFIG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONFIG_TYPE_CONFIG))
#define CONFIG_CONFIG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONFIG_TYPE_CONFIG, ConfigConfigClass))

typedef struct _ConfigConfig ConfigConfig;
typedef struct _ConfigConfigClass ConfigConfigClass;

#define WIDGETS_TYPE_WORKSPACE_MANAGER (widgets_workspace_manager_get_type ())
#define WIDGETS_WORKSPACE_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WIDGETS_TYPE_WORKSPACE_MANAGER, WidgetsWorkspaceManager))
#define WIDGETS_WORKSPACE_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WIDGETS_TYPE_WORKSPACE_MANAGER, WidgetsWorkspaceManagerClass))
#define WIDGETS_IS_WORKSPACE_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WIDGETS_TYPE_WORKSPACE_MANAGER))
#define WIDGETS_IS_WORKSPACE_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WIDGETS_TYPE_WORKSPACE_MANAGER))
#define WIDGETS_WORKSPACE_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), WIDGETS_TYPE_WORKSPACE_MANAGER, WidgetsWorkspaceManagerClass))

typedef struct _WidgetsWorkspaceManager WidgetsWorkspaceManager;
typedef struct _WidgetsWorkspaceManagerClass WidgetsWorkspaceManagerClass;
typedef struct _ConfigConfigPrivate ConfigConfigPrivate;
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))

#define WIDGETS_TYPE_IMAGE_BUTTON (widgets_image_button_get_type ())
#define WIDGETS_IMAGE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WIDGETS_TYPE_IMAGE_BUTTON, WidgetsImageButton))
#define WIDGETS_IMAGE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WIDGETS_TYPE_IMAGE_BUTTON, WidgetsImageButtonClass))
#define WIDGETS_IS_IMAGE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WIDGETS_TYPE_IMAGE_BUTTON))
#define WIDGETS_IS_IMAGE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WIDGETS_TYPE_IMAGE_BUTTON))
#define WIDGETS_IMAGE_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), WIDGETS_TYPE_IMAGE_BUTTON, WidgetsImageButtonClass))

typedef struct _WidgetsImageButton WidgetsImageButton;
typedef struct _WidgetsImageButtonClass WidgetsImageButtonClass;
typedef gdouble (*AnimationAnimateTimerEasingFunc) (gdouble x, gpointer user_data);

#define WIDGETS_TYPE_PREFERENCE_SLIDE_ITEM (widgets_preference_slide_item_get_type ())
#define WIDGETS_PREFERENCE_SLIDE_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WIDGETS_TYPE_PREFERENCE_SLIDE_ITEM, WidgetsPreferenceSlideItem))
#define WIDGETS_PREFERENCE_SLIDE_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WIDGETS_TYPE_PREFERENCE_SLIDE_ITEM, WidgetsPreferenceSlideItemClass))
#define WIDGETS_IS_PREFERENCE_SLIDE_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WIDGETS_TYPE_PREFERENCE_SLIDE_ITEM))
#define WIDGETS_IS_PREFERENCE_SLIDE_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WIDGETS_TYPE_PREFERENCE_SLIDE_ITEM))
#define WIDGETS_PREFERENCE_SLIDE_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), WIDGETS_TYPE_PREFERENCE_SLIDE_ITEM, WidgetsPreferenceSlideItemClass))

typedef struct _WidgetsPreferenceSlideItem WidgetsPreferenceSlideItem;
typedef struct _WidgetsPreferenceSlideItemClass WidgetsPreferenceSlideItemClass;
typedef struct _WidgetsPreferenceSlidebarPrivate WidgetsPreferenceSlidebarPrivate;
typedef struct _Block17Data Block17Data;
typedef struct _Block18Data Block18Data;
typedef struct _Block19Data Block19Data;
typedef struct _Block20Data Block20Data;
typedef struct _Block21Data Block21Data;

#define WIDGETS_TYPE_ENTRY (widgets_entry_get_type ())
#define WIDGETS_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), WIDGETS_TYPE_ENTRY, WidgetsEntry))
#define WIDGETS_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), WIDGETS_TYPE_ENTRY, WidgetsEntryClass))
#define WIDGETS_IS_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), WIDGETS_TYPE_ENTRY))
#define WIDGETS_IS_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), WIDGETS_TYPE_ENTRY))
#define WIDGETS_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), WIDGETS_TYPE_ENTRY, WidgetsEntryClass))

typedef struct _WidgetsEntry WidgetsEntry;
typedef struct _WidgetsEntryClass WidgetsEntryClass;

struct _WidgetsDialog {
	GtkWindow parent_instance;
	WidgetsDialogPrivate * priv;
	GdkScreen* screen_monitor;
	GtkBox* window_frame_box;
	GtkBox* window_widget_box;
	WidgetsConfigWindow* transient_window;
	gint option_widget_margin_end;
	gint option_widget_margin_top;
	gint window_frame_margin_bottom;
	gint window_frame_margin_end;
	gint window_frame_margin_start;
	gint window_frame_margin_top;
	gint window_frame_radius;
	gint window_init_height;
	gint window_init_width;
};

struct _WidgetsDialogClass {
	GtkWindowClass parent_class;
	void (*draw_window_above) (WidgetsDialog* self, cairo_t* cr);
};

struct _WidgetsPreference {
	WidgetsDialog parent_instance;
	WidgetsPreferencePrivate * priv;
	GeeArrayList* font_names;
	GeeArrayList* window_state_list;
	GeeArrayList* window_state_name_list;
	WidgetsDropdownTextButton* font_combox;
	WidgetsDropdownTextButton* window_combox;
	GtkLabel* close_other_windows_key_label;
	GtkLabel* close_window_key_label;
	GtkLabel* close_workspace_key_label;
	GtkLabel* copy_key_label;
	GtkLabel* cursor_style_label;
	GtkLabel* display_hotkey_terminal_key_label;
	GtkLabel* font_label;
	GtkLabel* fullscreen_key_label;
	GtkLabel* jump_to_next_command_key_label;
	GtkLabel* jump_to_previous_command_key_label;
	GtkLabel* new_workspace_key_label;
	GtkLabel* next_workspace_key_label;
	GtkLabel* opacity_label;
	GtkLabel* open_key_label;
	GtkLabel* paste_key_label;
	GtkLabel* previous_workspace_key_label;
	GtkLabel* rename_title_key_label;
	GtkLabel* search_key_label;
	GtkLabel* select_all_key_label;
	GtkLabel* select_down_window_key_label;
	GtkLabel* select_left_window_key_label;
	GtkLabel* select_right_window_key_label;
	GtkLabel* select_up_window_key_label;
	GtkLabel* show_command_key_label;
	GtkLabel* show_remote_manage_key_label;
	GtkLabel* split_horizontally_key_label;
	GtkLabel* split_vertically_key_label;
	GtkLabel* theme_label;
	GtkLabel* window_label;
	GtkLabel* blur_background_label;
	GtkLabel* zoom_in_key_label;
	GtkLabel* zoom_out_key_label;
	GtkLabel* zoom_reset_key_label;
	GtkScrolledWindow* scrolledwindow;
	WidgetsShortcutEntry* close_other_windows_key_entry;
	WidgetsShortcutEntry* close_window_key_entry;
	WidgetsShortcutEntry* close_workspace_key_entry;
	WidgetsShortcutEntry* copy_key_entry;
	WidgetsShortcutEntry* display_hotkey_terminal_key_entry;
	WidgetsShortcutEntry* fullscreen_key_entry;
	WidgetsShortcutEntry* jump_to_next_command_key_entry;
	WidgetsShortcutEntry* jump_to_previous_command_key_entry;
	WidgetsShortcutEntry* new_workspace_key_entry;
	WidgetsShortcutEntry* next_workspace_key_entry;
	WidgetsShortcutEntry* open_key_entry;
	WidgetsShortcutEntry* paste_key_entry;
	WidgetsShortcutEntry* previous_workspace_key_entry;
	WidgetsShortcutEntry* rename_title_key_entry;
	WidgetsShortcutEntry* search_key_entry;
	WidgetsShortcutEntry* select_all_key_entry;
	WidgetsShortcutEntry* select_down_window_key_entry;
	WidgetsShortcutEntry* select_left_window_key_entry;
	WidgetsShortcutEntry* select_right_window_key_entry;
	WidgetsShortcutEntry* select_up_window_key_entry;
	WidgetsShortcutEntry* show_command_key_entry;
	WidgetsShortcutEntry* show_remote_manage_key_entry;
	WidgetsShortcutEntry* split_horizontally_key_entry;
	WidgetsShortcutEntry* split_vertically_key_entry;
	WidgetsShortcutEntry* zoom_in_key_entry;
	WidgetsShortcutEntry* zoom_out_key_entry;
	WidgetsShortcutEntry* zoom_reset_key_entry;
	WidgetsCheckButton* cursor_auto_hide_checkbutton;
	WidgetsCheckButton* copy_on_select_checkbutton;
	WidgetsCheckButton* cursor_blink_checkbutton;
	WidgetsCheckButton* hide_quakewindow_after_lost_focus_checkbutton;
	WidgetsCheckButton* scroll_on_key_checkbutton;
	WidgetsCheckButton* scroll_on_out_checkbutton;
	WidgetsCheckButton* blur_background_checkbutton;
	WidgetsConfigWindow* parent_window;
	WidgetsCursorToggleButton* cursor_style_button;
	WidgetsProgressBar* opacity_progressbar;
	WidgetsSpinButton* font_size_spinbutton;
	gdouble timer_end_value;
	gdouble timer_start_value;
	AnimationAnimateTimer* timer;
	GtkBox* content_box;
	GtkWidget* focus_widget;
	WidgetsPreferenceSlidebar* slidebar;
	gboolean in_animation;
	gint checkbutton_margin_right;
	gint checkbutton_margin_top;
	gint first_segment_margin_left;
	gint grid_height;
	gint option_widget_margin_left;
	gint option_widget_margin_right;
	gint preference_name_width;
	gint preference_split_line_margin_left;
	gint preference_widget_width;
	gint reset_button_margin;
	gint second_segment_margin_left;
	gint segment_margin_bottom;
	gint segment_margin_top;
	gint slidebar_width;
	gint timer_interval;
};

struct _WidgetsPreferenceClass {
	WidgetsDialogClass parent_class;
};

struct _Block16Data {
	int _ref_count_;
	WidgetsPreference* self;
	GtkBox* box;
	GtkWidget* basic_segment;
	GtkWidget* theme_segment;
	GtkWidget* hotkey_segment;
	GtkWidget* terminal_key_segment;
	GtkWidget* workspace_key_segment;
	GtkWidget* advanced_key_segment;
	GtkWidget* advanced_segment;
	GtkWidget* cursor_segment;
	GtkWidget* scroll_segment;
	GtkWidget* window_segment;
};

struct _WidgetsTitlebar {
	GtkOverlay parent_instance;
	WidgetsTitlebarPrivate * priv;
	WidgetsWindowEventArea* event_area;
	WidgetsWindowButton* close_button;
};

struct _WidgetsTitlebarClass {
	GtkOverlayClass parent_class;
};

struct _WidgetsConfigWindow {
	GtkWindow parent_instance;
	WidgetsConfigWindowPrivate * priv;
	ConfigConfig* config;
	GdkRGBA title_line_dark_color;
	GdkRGBA title_line_light_color;
	GdkScreen* screen_monitor;
	GtkBox* box;
	GtkBox* top_box;
	GtkBox* window_frame_box;
	GtkBox* window_widget_box;
	WidgetsWorkspaceManager* workspace_manager;
	gboolean quake_mode;
	gboolean show_quake_menu;
	gboolean* config_theme_is_light;
	gint active_tab_underline_width;
	gint active_tab_underline_x;
	gint cache_height;
	gint cache_width;
	gint reset_timeout_delay;
	gint resize_cache_x;
	gint resize_cache_y;
	gint resize_cache_width;
	gint resize_cache_height;
	gint resize_timeout_delay;
	guint* reset_timeout_source_id;
	guint* resize_timeout_source_id;
};

struct _WidgetsConfigWindowClass {
	GtkWindowClass parent_class;
	void (*toggle_fullscreen) (WidgetsConfigWindow* self);
	void (*window_save_before_quit) (WidgetsConfigWindow* self);
	GdkCursorType* (*get_frame_cursor_type) (WidgetsConfigWindow* self, gdouble x, gdouble y);
	void (*update_frame) (WidgetsConfigWindow* self);
	GdkCursorType* (*get_cursor_type) (WidgetsConfigWindow* self, gdouble x, gdouble y);
};

struct _ConfigConfig {
	GObject parent_instance;
	ConfigConfigPrivate * priv;
	GeeArrayList* backspace_key_erase_names;
	GeeArrayList* del_key_erase_names;
	GeeArrayList* encoding_names;
	GeeHashMap* erase_map;
	gdouble default_opacity;
	gint default_size;
	gchar* default_mono_font;
	GKeyFile* config_file;
	gchar* config_file_path;
	gchar* temp_theme;
};

struct _ConfigConfigClass {
	GObjectClass parent_class;
};

struct _WidgetsPreferenceSlidebar {
	GtkGrid parent_instance;
	WidgetsPreferenceSlidebarPrivate * priv;
	WidgetsPreferenceSlideItem* advanced_key_segment;
	WidgetsPreferenceSlideItem* advanced_segment;
	WidgetsPreferenceSlideItem* basic_segment;
	WidgetsPreferenceSlideItem* cursor_segment;
	WidgetsPreferenceSlideItem* focus_segment_item;
	WidgetsPreferenceSlideItem* hotkey_segment;
	WidgetsPreferenceSlideItem* scroll_segment;
	WidgetsPreferenceSlideItem* terminal_key_segment;
	WidgetsPreferenceSlideItem* theme_segment;
	WidgetsPreferenceSlideItem* window_segment;
	WidgetsPreferenceSlideItem* workspace_key_segment;
	gint height;
	gint segment_spacing;
	gint width;
};

struct _WidgetsPreferenceSlidebarClass {
	GtkGridClass parent_class;
};

struct _Block17Data {
	int _ref_count_;
	WidgetsPreference* self;
	gchar* group_name;
	gchar* key;
};

struct _Block18Data {
	int _ref_count_;
	WidgetsPreference* self;
	WidgetsDropdownTextButton* combox;
	GeeArrayList* values;
	gchar* group_name;
	gchar* key;
};

struct _Block19Data {
	int _ref_count_;
	WidgetsPreference* self;
	WidgetsDropdownTextButton* combox;
	GeeArrayList* values;
	gchar* group_name;
	gchar* key;
};

struct _Block20Data {
	int _ref_count_;
	WidgetsPreference* self;
	WidgetsCheckButton* checkbutton;
	gchar* group_name;
	gchar* key;
};

struct _Block21Data {
	int _ref_count_;
	WidgetsPreference* self;
	WidgetsSpinButton* spinbutton;
	gchar* group_name;
	gchar* key;
};

static gpointer widgets_preference_parent_class = NULL;
VALA_EXTERN gint constant_PREFERENCE_WIDGET_WIDTH;
VALA_EXTERN gint constant_PREFERENCE_SLIDEBAR_WIDTH;
VALA_EXTERN gint constant_FONT_MIN_SIZE;
VALA_EXTERN gint constant_FONT_MAX_SIZE;

VALA_EXTERN GType widgets_dialog_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (WidgetsDialog, g_object_unref)
VALA_EXTERN GType widgets_config_window_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (WidgetsConfigWindow, g_object_unref)
VALA_EXTERN GType widgets_preference_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (WidgetsPreference, g_object_unref)
VALA_EXTERN GType widgets_dropdown_text_button_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (WidgetsDropdownTextButton, g_object_unref)
VALA_EXTERN GType widgets_shortcut_entry_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (WidgetsShortcutEntry, g_object_unref)
VALA_EXTERN GType widgets_check_button_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (WidgetsCheckButton, g_object_unref)
VALA_EXTERN GType widgets_cursor_toggle_button_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (WidgetsCursorToggleButton, g_object_unref)
VALA_EXTERN GType widgets_progress_bar_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (WidgetsProgressBar, g_object_unref)
VALA_EXTERN GType widgets_spin_button_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (WidgetsSpinButton, g_object_unref)
VALA_EXTERN GType animation_animate_timer_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (AnimationAnimateTimer, g_object_unref)
VALA_EXTERN GType widgets_preference_slidebar_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (WidgetsPreferenceSlidebar, g_object_unref)
VALA_EXTERN WidgetsPreference* widgets_preference_new (WidgetsConfigWindow* window,
                                           GtkWidget* widget);
VALA_EXTERN WidgetsPreference* widgets_preference_construct (GType object_type,
                                                 WidgetsConfigWindow* window,
                                                 GtkWidget* widget);
static Block16Data* block16_data_ref (Block16Data* _data16_);
static void block16_data_unref (void * _userdata_);
VALA_EXTERN WidgetsDialog* widgets_dialog_new (void);
VALA_EXTERN WidgetsDialog* widgets_dialog_construct (GType object_type);
VALA_EXTERN void widgets_dialog_set_init_size (WidgetsDialog* self,
                                   gint width,
                                   gint height);
VALA_EXTERN GtkLabel* widgets_preference_create_label (WidgetsPreference* self,
                                           const gchar* text);
VALA_EXTERN WidgetsProgressBar* widgets_progress_bar_new (gdouble init_percent);
VALA_EXTERN WidgetsProgressBar* widgets_progress_bar_construct (GType object_type,
                                                    gdouble init_percent);
VALA_EXTERN WidgetsDropdownTextButton* widgets_preference_create_combox_text (WidgetsPreference* self);
VALA_EXTERN WidgetsShortcutEntry* widgets_shortcut_entry_new (void);
VALA_EXTERN WidgetsShortcutEntry* widgets_shortcut_entry_construct (GType object_type);
VALA_EXTERN WidgetsCursorToggleButton* widgets_cursor_toggle_button_new (void);
VALA_EXTERN WidgetsCursorToggleButton* widgets_cursor_toggle_button_construct (GType object_type);
VALA_EXTERN WidgetsCheckButton* widgets_check_button_new (void);
VALA_EXTERN WidgetsCheckButton* widgets_check_button_construct (GType object_type);
VALA_EXTERN WidgetsSpinButton* widgets_preference_create_spinbutton (WidgetsPreference* self,
                                                         gint min,
                                                         gint max,
                                                         gint step);
VALA_EXTERN GType widgets_titlebar_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (WidgetsTitlebar, g_object_unref)
VALA_EXTERN WidgetsTitlebar* widgets_titlebar_new (void);
VALA_EXTERN WidgetsTitlebar* widgets_titlebar_construct (GType object_type);
VALA_EXTERN GType widgets_window_event_area_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (WidgetsWindowEventArea, g_object_unref)
VALA_EXTERN GType widgets_click_event_box_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (WidgetsClickEventBox, g_object_unref)
VALA_EXTERN GType widgets_window_button_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (WidgetsWindowButton, g_object_unref)
static void __lambda169_ (WidgetsPreference* self,
                   GdkEventButton* b);
static void ___lambda169__widgets_click_event_box_clicked (WidgetsClickEventBox* _sender,
                                                    GdkEventButton* event,
                                                    gpointer self);
static void __lambda170_ (WidgetsPreference* self,
                   GtkWidget* w);
static void ___lambda170__gtk_widget_destroy (GtkWidget* _sender,
                                       gpointer self);
VALA_EXTERN void widgets_dialog_add_widget (WidgetsDialog* self,
                                GtkWidget* widget);
VALA_EXTERN WidgetsPreferenceSlidebar* widgets_preference_slidebar_new (void);
VALA_EXTERN WidgetsPreferenceSlidebar* widgets_preference_slidebar_construct (GType object_type);
VALA_EXTERN GtkWidget* widgets_preference_get_first_segment (WidgetsPreference* self,
                                                 const gchar* name);
VALA_EXTERN GtkWidget* widgets_preference_get_second_segment (WidgetsPreference* self,
                                                  const gchar* name);
VALA_EXTERN GType config_config_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (ConfigConfig, g_object_unref)
VALA_EXTERN GType widgets_workspace_manager_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (WidgetsWorkspaceManager, g_object_unref)
VALA_EXTERN void widgets_progress_bar_set_percent (WidgetsProgressBar* self,
                                       gdouble new_percent);
static void __lambda172_ (WidgetsPreference* self,
                   WidgetsProgressBar* w,
                   gdouble percent);
VALA_EXTERN void config_config_load_config (ConfigConfig* self);
VALA_EXTERN void config_config_save (ConfigConfig* self);
static void ___lambda172__widgets_progress_bar_update (WidgetsProgressBar* _sender,
                                                gdouble percent,
                                                gpointer self);
VALA_EXTERN void widgets_preference_adjust_option_widgets (WidgetsPreference* self,
                                               GtkLabel* name_widget,
                                               GtkWidget* value_widget);
VALA_EXTERN void widgets_dialog_grid_attach (WidgetsDialog* self,
                                 GtkGrid* grid,
                                 GtkWidget* child,
                                 gint left,
                                 gint top,
                                 gint width,
                                 gint height);
VALA_EXTERN void widgets_dialog_grid_attach_next_to (WidgetsDialog* self,
                                         GtkGrid* grid,
                                         GtkWidget* child,
                                         GtkWidget* sibling,
                                         GtkPositionType side,
                                         gint width,
                                         gint height);
gchar** list_mono_or_dot_fonts (gint* num,
                                gint* result_length1);
VALA_EXTERN void widgets_preference_create_combox_row (WidgetsPreference* self,
                                           GtkLabel* label,
                                           WidgetsDropdownTextButton* combox,
                                           const gchar* name,
                                           GtkGrid* grid,
                                           GeeArrayList* values,
                                           const gchar* group_name,
                                           const gchar* key);
VALA_EXTERN GtkLabel* widgets_preference_create_follow_spinbutton_row (WidgetsPreference* self,
                                                           WidgetsSpinButton* spinbutton,
                                                           const gchar* name,
                                                           GtkWidget* previous_widget,
                                                           GtkGrid* grid,
                                                           const gchar* group_name,
                                                           const gchar* key);
VALA_EXTERN void widgets_preference_create_key_row (WidgetsPreference* self,
                                        GtkLabel* label,
                                        WidgetsShortcutEntry* entry,
                                        const gchar* name,
                                        GtkGrid* grid,
                                        const gchar* group_name,
                                        const gchar* key);
VALA_EXTERN void widgets_preference_create_follow_key_row (WidgetsPreference* self,
                                               GtkLabel* label,
                                               WidgetsShortcutEntry* entry,
                                               const gchar* name,
                                               GtkLabel* previous_label,
                                               GtkGrid* grid,
                                               const gchar* group_name,
                                               const gchar* key);
VALA_EXTERN void widgets_cursor_toggle_button_set_cursor_state (WidgetsCursorToggleButton* self,
                                                    const gchar* name);
static void __lambda176_ (WidgetsPreference* self,
                   WidgetsCursorToggleButton* w,
                   const gchar* active_state);
static void ___lambda176__widgets_cursor_toggle_button_change_cursor_state (WidgetsCursorToggleButton* _sender,
                                                                     const gchar* active_state,
                                                                     gpointer self);
VALA_EXTERN GtkBox* widgets_preference_create_follow_check_row (WidgetsPreference* self,
                                                    WidgetsCheckButton* checkbutton,
                                                    const gchar* name,
                                                    GtkWidget* previous_widget,
                                                    GtkGrid* grid,
                                                    const gchar* group_name,
                                                    const gchar* key);
VALA_EXTERN GtkBox* widgets_preference_create_check_row (WidgetsPreference* self,
                                             WidgetsCheckButton* checkbutton,
                                             const gchar* name,
                                             GtkGrid* grid,
                                             const gchar* group_name,
                                             const gchar* key);
VALA_EXTERN void widgets_preference_create_combox_row_with_name (WidgetsPreference* self,
                                                     GtkLabel* label,
                                                     WidgetsDropdownTextButton* combox,
                                                     const gchar* name,
                                                     GtkGrid* grid,
                                                     GeeArrayList* values,
                                                     GeeArrayList* names,
                                                     const gchar* group_name,
                                                     const gchar* key);
VALA_EXTERN GType widgets_image_button_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (WidgetsImageButton, g_object_unref)
VALA_EXTERN WidgetsImageButton* widgets_image_button_new (const gchar* image_path,
                                              gboolean theme_button,
                                              const gchar* text,
                                              gint text_size);
VALA_EXTERN WidgetsImageButton* widgets_image_button_construct (GType object_type,
                                                    const gchar* image_path,
                                                    gboolean theme_button,
                                                    const gchar* text,
                                                    gint text_size);
static void __lambda179_ (WidgetsPreference* self,
                   WidgetsClickEventBox* w,
                   GdkEventButton* e);
VALA_EXTERN void config_config_init_config (ConfigConfig* self);
VALA_EXTERN void widgets_preference_init_config (WidgetsPreference* self);
static void ___lambda179__widgets_click_event_box_clicked (WidgetsClickEventBox* _sender,
                                                    GdkEventButton* event,
                                                    gpointer self);
VALA_EXTERN gdouble animation_animate_timer_ease_in_out (gdouble x);
static gdouble _animation_animate_timer_ease_in_out_animation_animate_timer_easing_func (gdouble x,
                                                                                  gpointer self);
VALA_EXTERN AnimationAnimateTimer* animation_animate_timer_new (AnimationAnimateTimerEasingFunc func,
                                                    gpointer func_target,
                                                    gint speed);
VALA_EXTERN AnimationAnimateTimer* animation_animate_timer_construct (GType object_type,
                                                          AnimationAnimateTimerEasingFunc func,
                                                          gpointer func_target,
                                                          gint speed);
VALA_EXTERN void widgets_preference_on_animate (WidgetsPreference* self,
                                    gdouble progress);
static void _widgets_preference_on_animate_animation_animate_timer_animate (AnimationAnimateTimer* _sender,
                                                                     gdouble progress,
                                                                     gpointer self);
static void __lambda180_ (Block16Data* _data16_,
                   WidgetsPreferenceSlidebar* w,
                   const gchar* item);
VALA_EXTERN void widgets_preference_scroll_to_widget (WidgetsPreference* self,
                                          GtkScrolledWindow* scrolledwindow,
                                          GtkBox* box,
                                          GtkWidget* widget);
static void ___lambda180__widgets_preference_slidebar_click_item (WidgetsPreferenceSlidebar* _sender,
                                                           const gchar* name,
                                                           gpointer self);
static void __lambda181_ (Block16Data* _data16_,
                   GtkAdjustment* w);
VALA_EXTERN gboolean widgets_preference_item_in_visible_area (WidgetsPreference* self,
                                                  GtkWidget* item);
VALA_EXTERN GType widgets_preference_slide_item_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (WidgetsPreferenceSlideItem, g_object_unref)
VALA_EXTERN void widgets_preference_slidebar_focus_item (WidgetsPreferenceSlidebar* self,
                                             WidgetsPreferenceSlideItem* item);
static void ___lambda181__gtk_adjustment_value_changed (GtkAdjustment* _sender,
                                                 gpointer self);
VALA_EXTERN void widgets_shortcut_entry_set_text (WidgetsShortcutEntry* self,
                                      const gchar* text);
VALA_EXTERN void animation_animate_timer_reset (AnimationAnimateTimer* self,
                                    gint temp_speed);
VALA_EXTERN void animation_animate_timer_stop (AnimationAnimateTimer* self);
static gboolean __lambda171_ (WidgetsPreference* self,
                       GtkWidget* w,
                       cairo_t* cr);
VALA_EXTERN void draw_draw_rectangle (cairo_t* cr,
                          gint x,
                          gint y,
                          gint w,
                          gint h,
                          gboolean fill);
static gboolean ___lambda171__gtk_widget_draw (GtkWidget* _sender,
                                        cairo_t* cr,
                                        gpointer self);
VALA_EXTERN void widgets_preference_monitor_check_key (WidgetsPreference* self,
                                           WidgetsShortcutEntry* entry,
                                           const gchar* group_name,
                                           const gchar* key);
static Block17Data* block17_data_ref (Block17Data* _data17_);
static void block17_data_unref (void * _userdata_);
static void __lambda175_ (Block17Data* _data17_,
                   WidgetsShortcutEntry* e,
                   const gchar* new_key);
static void ___lambda175__widgets_shortcut_entry_change_key (WidgetsShortcutEntry* _sender,
                                                      const gchar* new_key,
                                                      gpointer self);
static Block18Data* block18_data_ref (Block18Data* _data18_);
static void block18_data_unref (void * _userdata_);
static void ___lambda173_ (Block18Data* _data18_,
                    GtkComboBox* w);
static void ____lambda173__gtk_combo_box_changed (GtkComboBox* _sender,
                                           gpointer self);
static Block19Data* block19_data_ref (Block19Data* _data19_);
static void block19_data_unref (void * _userdata_);
static void ___lambda178_ (Block19Data* _data19_,
                    GtkComboBox* w);
static void ____lambda178__gtk_combo_box_changed (GtkComboBox* _sender,
                                           gpointer self);
VALA_EXTERN void widgets_preference_adjust_option_checkbutton (WidgetsPreference* self,
                                                   GtkLabel* label,
                                                   WidgetsCheckButton* checkbutton);
VALA_EXTERN void widgets_preference_read_check_value (WidgetsPreference* self,
                                          WidgetsCheckButton* checkbutton,
                                          const gchar* group_name,
                                          const gchar* key);
VALA_EXTERN void widgets_preference_monitor_check_value (WidgetsPreference* self,
                                             WidgetsCheckButton* checkbutton,
                                             const gchar* group_name,
                                             const gchar* key);
VALA_EXTERN void widgets_preference_read_spin_value (WidgetsPreference* self,
                                         WidgetsSpinButton* spinbutton,
                                         const gchar* group_name,
                                         const gchar* key);
VALA_EXTERN void widgets_preference_monitor_spin_value (WidgetsPreference* self,
                                            WidgetsSpinButton* spinbutton,
                                            const gchar* group_name,
                                            const gchar* key);
static Block20Data* block20_data_ref (Block20Data* _data20_);
static void block20_data_unref (void * _userdata_);
static void __lambda177_ (Block20Data* _data20_,
                   GtkToggleButton* w);
static void ___lambda177__gtk_toggle_button_toggled (GtkToggleButton* _sender,
                                              gpointer self);
static Block21Data* block21_data_ref (Block21Data* _data21_);
static void block21_data_unref (void * _userdata_);
static void __lambda174_ (Block21Data* _data21_,
                   GtkSpinButton* w);
static void ___lambda174__gtk_spin_button_value_changed (GtkSpinButton* _sender,
                                                  gpointer self);
VALA_EXTERN GType widgets_entry_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (WidgetsEntry, g_object_unref)
VALA_EXTERN WidgetsEntry* widgets_preference_create_entry (WidgetsPreference* self);
VALA_EXTERN WidgetsEntry* widgets_entry_new (void);
VALA_EXTERN WidgetsEntry* widgets_entry_construct (GType object_type);
VALA_EXTERN WidgetsDropdownTextButton* widgets_dropdown_text_button_new (void);
VALA_EXTERN WidgetsDropdownTextButton* widgets_dropdown_text_button_construct (GType object_type);
VALA_EXTERN WidgetsSpinButton* widgets_spin_button_new (void);
VALA_EXTERN WidgetsSpinButton* widgets_spin_button_construct (GType object_type);
static void widgets_preference_finalize (GObject * obj);
static GType widgets_preference_get_type_once (void);
static void _vala_array_destroy (gpointer array,
                          gssize array_length,
                          GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array,
                       gssize array_length,
                       GDestroyNotify destroy_func);
static inline gpointer _vala_memdup2 (gconstpointer mem,
                        gsize byte_size);

static Block16Data*
block16_data_ref (Block16Data* _data16_)
{
	g_atomic_int_inc (&_data16_->_ref_count_);
	return _data16_;
}

static void
block16_data_unref (void * _userdata_)
{
	Block16Data* _data16_;
	_data16_ = (Block16Data*) _userdata_;
	if (g_atomic_int_dec_and_test (&_data16_->_ref_count_)) {
		WidgetsPreference* self;
		self = _data16_->self;
		_g_object_unref0 (_data16_->window_segment);
		_g_object_unref0 (_data16_->scroll_segment);
		_g_object_unref0 (_data16_->cursor_segment);
		_g_object_unref0 (_data16_->advanced_segment);
		_g_object_unref0 (_data16_->advanced_key_segment);
		_g_object_unref0 (_data16_->workspace_key_segment);
		_g_object_unref0 (_data16_->terminal_key_segment);
		_g_object_unref0 (_data16_->hotkey_segment);
		_g_object_unref0 (_data16_->theme_segment);
		_g_object_unref0 (_data16_->basic_segment);
		_g_object_unref0 (_data16_->box);
		_g_object_unref0 (self);
		g_slice_free (Block16Data, _data16_);
	}
}

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

static void
__lambda169_ (WidgetsPreference* self,
              GdkEventButton* b)
{
	g_return_if_fail (b != NULL);
	gtk_widget_destroy ((GtkWidget*) self);
}

static void
___lambda169__widgets_click_event_box_clicked (WidgetsClickEventBox* _sender,
                                               GdkEventButton* event,
                                               gpointer self)
{
	__lambda169_ ((WidgetsPreference*) self, event);
}

static void
__lambda170_ (WidgetsPreference* self,
              GtkWidget* w)
{
	GtkWidget* _tmp0_;
	g_return_if_fail (w != NULL);
	_tmp0_ = self->focus_widget;
	if (_tmp0_ != NULL) {
		GtkWidget* _tmp1_;
		_tmp1_ = self->focus_widget;
		gtk_widget_grab_focus (_tmp1_);
	}
}

static void
___lambda170__gtk_widget_destroy (GtkWidget* _sender,
                                  gpointer self)
{
	__lambda170_ ((WidgetsPreference*) self, _sender);
}

static void
__lambda172_ (WidgetsPreference* self,
              WidgetsProgressBar* w,
              gdouble percent)
{
	WidgetsConfigWindow* _tmp0_;
	ConfigConfig* _tmp1_;
	WidgetsConfigWindow* _tmp2_;
	ConfigConfig* _tmp3_;
	GKeyFile* _tmp4_;
	WidgetsConfigWindow* _tmp5_;
	ConfigConfig* _tmp6_;
	WidgetsConfigWindow* _tmp7_;
	ConfigConfig* _tmp8_;
	g_return_if_fail (w != NULL);
	_tmp0_ = self->parent_window;
	_tmp1_ = _tmp0_->config;
	config_config_load_config (_tmp1_);
	_tmp2_ = self->parent_window;
	_tmp3_ = _tmp2_->config;
	_tmp4_ = _tmp3_->config_file;
	g_key_file_set_double (_tmp4_, "general", "opacity", percent);
	_tmp5_ = self->parent_window;
	_tmp6_ = _tmp5_->config;
	config_config_save (_tmp6_);
	_tmp7_ = self->parent_window;
	_tmp8_ = _tmp7_->config;
	g_signal_emit_by_name (_tmp8_, "update");
}

static void
___lambda172__widgets_progress_bar_update (WidgetsProgressBar* _sender,
                                           gdouble percent,
                                           gpointer self)
{
	__lambda172_ ((WidgetsPreference*) self, _sender, percent);
}

static void
__lambda176_ (WidgetsPreference* self,
              WidgetsCursorToggleButton* w,
              const gchar* active_state)
{
	WidgetsConfigWindow* _tmp0_;
	ConfigConfig* _tmp1_;
	WidgetsConfigWindow* _tmp2_;
	ConfigConfig* _tmp3_;
	GKeyFile* _tmp4_;
	WidgetsConfigWindow* _tmp5_;
	ConfigConfig* _tmp6_;
	WidgetsConfigWindow* _tmp7_;
	ConfigConfig* _tmp8_;
	g_return_if_fail (w != NULL);
	g_return_if_fail (active_state != NULL);
	_tmp0_ = self->parent_window;
	_tmp1_ = _tmp0_->config;
	config_config_load_config (_tmp1_);
	_tmp2_ = self->parent_window;
	_tmp3_ = _tmp2_->config;
	_tmp4_ = _tmp3_->config_file;
	g_key_file_set_string (_tmp4_, "advanced", "cursor_shape", active_state);
	_tmp5_ = self->parent_window;
	_tmp6_ = _tmp5_->config;
	config_config_save (_tmp6_);
	_tmp7_ = self->parent_window;
	_tmp8_ = _tmp7_->config;
	g_signal_emit_by_name (_tmp8_, "update");
}

static void
___lambda176__widgets_cursor_toggle_button_change_cursor_state (WidgetsCursorToggleButton* _sender,
                                                                const gchar* active_state,
                                                                gpointer self)
{
	__lambda176_ ((WidgetsPreference*) self, _sender, active_state);
}

static void
__lambda179_ (WidgetsPreference* self,
              WidgetsClickEventBox* w,
              GdkEventButton* e)
{
	WidgetsConfigWindow* _tmp0_;
	ConfigConfig* _tmp1_;
	WidgetsConfigWindow* _tmp2_;
	ConfigConfig* _tmp3_;
	g_return_if_fail (w != NULL);
	g_return_if_fail (e != NULL);
	_tmp0_ = self->parent_window;
	_tmp1_ = _tmp0_->config;
	config_config_init_config (_tmp1_);
	_tmp2_ = self->parent_window;
	_tmp3_ = _tmp2_->config;
	g_signal_emit_by_name (_tmp3_, "update");
	widgets_preference_init_config (self);
}

static void
___lambda179__widgets_click_event_box_clicked (WidgetsClickEventBox* _sender,
                                               GdkEventButton* event,
                                               gpointer self)
{
	__lambda179_ ((WidgetsPreference*) self, _sender, event);
}

static gdouble
_animation_animate_timer_ease_in_out_animation_animate_timer_easing_func (gdouble x,
                                                                          gpointer self)
{
	gdouble result;
	result = animation_animate_timer_ease_in_out (x);
	return result;
}

static void
_widgets_preference_on_animate_animation_animate_timer_animate (AnimationAnimateTimer* _sender,
                                                                gdouble progress,
                                                                gpointer self)
{
	widgets_preference_on_animate ((WidgetsPreference*) self, progress);
}

static void
__lambda180_ (Block16Data* _data16_,
              WidgetsPreferenceSlidebar* w,
              const gchar* item)
{
	WidgetsPreference* self;
	self = _data16_->self;
	g_return_if_fail (w != NULL);
	g_return_if_fail (item != NULL);
	if (g_strcmp0 (item, "basic") == 0) {
		GtkScrolledWindow* _tmp0_;
		_tmp0_ = self->scrolledwindow;
		widgets_preference_scroll_to_widget (self, _tmp0_, _data16_->box, _data16_->basic_segment);
	} else {
		if (g_strcmp0 (item, "theme") == 0) {
			GtkScrolledWindow* _tmp1_;
			_tmp1_ = self->scrolledwindow;
			widgets_preference_scroll_to_widget (self, _tmp1_, _data16_->box, _data16_->theme_segment);
		} else {
			if (g_strcmp0 (item, "hotkey") == 0) {
				GtkScrolledWindow* _tmp2_;
				_tmp2_ = self->scrolledwindow;
				widgets_preference_scroll_to_widget (self, _tmp2_, _data16_->box, _data16_->hotkey_segment);
			} else {
				if (g_strcmp0 (item, "terminal_key") == 0) {
					GtkScrolledWindow* _tmp3_;
					_tmp3_ = self->scrolledwindow;
					widgets_preference_scroll_to_widget (self, _tmp3_, _data16_->box, _data16_->terminal_key_segment);
				} else {
					if (g_strcmp0 (item, "workspace_key") == 0) {
						GtkScrolledWindow* _tmp4_;
						_tmp4_ = self->scrolledwindow;
						widgets_preference_scroll_to_widget (self, _tmp4_, _data16_->box, _data16_->workspace_key_segment);
					} else {
						if (g_strcmp0 (item, "advanced_key") == 0) {
							GtkScrolledWindow* _tmp5_;
							_tmp5_ = self->scrolledwindow;
							widgets_preference_scroll_to_widget (self, _tmp5_, _data16_->box, _data16_->advanced_key_segment);
						} else {
							if (g_strcmp0 (item, "advanced") == 0) {
								GtkScrolledWindow* _tmp6_;
								_tmp6_ = self->scrolledwindow;
								widgets_preference_scroll_to_widget (self, _tmp6_, _data16_->box, _data16_->advanced_segment);
							} else {
								if (g_strcmp0 (item, "cursor") == 0) {
									GtkScrolledWindow* _tmp7_;
									_tmp7_ = self->scrolledwindow;
									widgets_preference_scroll_to_widget (self, _tmp7_, _data16_->box, _data16_->cursor_segment);
								} else {
									if (g_strcmp0 (item, "scroll") == 0) {
										GtkScrolledWindow* _tmp8_;
										_tmp8_ = self->scrolledwindow;
										widgets_preference_scroll_to_widget (self, _tmp8_, _data16_->box, _data16_->scroll_segment);
									} else {
										if (g_strcmp0 (item, "window") == 0) {
											GtkScrolledWindow* _tmp9_;
											_tmp9_ = self->scrolledwindow;
											widgets_preference_scroll_to_widget (self, _tmp9_, _data16_->box, _data16_->window_segment);
										}
									}
								}
							}
						}
					}
				}
			}
		}
	}
}

static void
___lambda180__widgets_preference_slidebar_click_item (WidgetsPreferenceSlidebar* _sender,
                                                      const gchar* name,
                                                      gpointer self)
{
	__lambda180_ (self, _sender, name);
}

static void
__lambda181_ (Block16Data* _data16_,
              GtkAdjustment* w)
{
	WidgetsPreference* self;
	self = _data16_->self;
	g_return_if_fail (w != NULL);
	if (!self->in_animation) {
		if (widgets_preference_item_in_visible_area (self, _data16_->basic_segment)) {
			WidgetsPreferenceSlidebar* _tmp0_;
			WidgetsPreferenceSlidebar* _tmp1_;
			WidgetsPreferenceSlideItem* _tmp2_;
			_tmp0_ = self->slidebar;
			_tmp1_ = self->slidebar;
			_tmp2_ = _tmp1_->basic_segment;
			widgets_preference_slidebar_focus_item (_tmp0_, _tmp2_);
		} else {
			if (widgets_preference_item_in_visible_area (self, _data16_->theme_segment)) {
				WidgetsPreferenceSlidebar* _tmp3_;
				WidgetsPreferenceSlidebar* _tmp4_;
				WidgetsPreferenceSlideItem* _tmp5_;
				_tmp3_ = self->slidebar;
				_tmp4_ = self->slidebar;
				_tmp5_ = _tmp4_->theme_segment;
				widgets_preference_slidebar_focus_item (_tmp3_, _tmp5_);
			} else {
				if (widgets_preference_item_in_visible_area (self, _data16_->hotkey_segment)) {
					WidgetsPreferenceSlidebar* _tmp6_;
					WidgetsPreferenceSlidebar* _tmp7_;
					WidgetsPreferenceSlideItem* _tmp8_;
					_tmp6_ = self->slidebar;
					_tmp7_ = self->slidebar;
					_tmp8_ = _tmp7_->hotkey_segment;
					widgets_preference_slidebar_focus_item (_tmp6_, _tmp8_);
				} else {
					if (widgets_preference_item_in_visible_area (self, _data16_->terminal_key_segment)) {
						WidgetsPreferenceSlidebar* _tmp9_;
						WidgetsPreferenceSlidebar* _tmp10_;
						WidgetsPreferenceSlideItem* _tmp11_;
						_tmp9_ = self->slidebar;
						_tmp10_ = self->slidebar;
						_tmp11_ = _tmp10_->terminal_key_segment;
						widgets_preference_slidebar_focus_item (_tmp9_, _tmp11_);
					} else {
						if (widgets_preference_item_in_visible_area (self, _data16_->workspace_key_segment)) {
							WidgetsPreferenceSlidebar* _tmp12_;
							WidgetsPreferenceSlidebar* _tmp13_;
							WidgetsPreferenceSlideItem* _tmp14_;
							_tmp12_ = self->slidebar;
							_tmp13_ = self->slidebar;
							_tmp14_ = _tmp13_->workspace_key_segment;
							widgets_preference_slidebar_focus_item (_tmp12_, _tmp14_);
						} else {
							if (widgets_preference_item_in_visible_area (self, _data16_->advanced_key_segment)) {
								WidgetsPreferenceSlidebar* _tmp15_;
								WidgetsPreferenceSlidebar* _tmp16_;
								WidgetsPreferenceSlideItem* _tmp17_;
								_tmp15_ = self->slidebar;
								_tmp16_ = self->slidebar;
								_tmp17_ = _tmp16_->advanced_key_segment;
								widgets_preference_slidebar_focus_item (_tmp15_, _tmp17_);
							} else {
								if (widgets_preference_item_in_visible_area (self, _data16_->advanced_segment)) {
									WidgetsPreferenceSlidebar* _tmp18_;
									WidgetsPreferenceSlidebar* _tmp19_;
									WidgetsPreferenceSlideItem* _tmp20_;
									_tmp18_ = self->slidebar;
									_tmp19_ = self->slidebar;
									_tmp20_ = _tmp19_->advanced_segment;
									widgets_preference_slidebar_focus_item (_tmp18_, _tmp20_);
								} else {
									if (widgets_preference_item_in_visible_area (self, _data16_->cursor_segment)) {
										WidgetsPreferenceSlidebar* _tmp21_;
										WidgetsPreferenceSlidebar* _tmp22_;
										WidgetsPreferenceSlideItem* _tmp23_;
										_tmp21_ = self->slidebar;
										_tmp22_ = self->slidebar;
										_tmp23_ = _tmp22_->cursor_segment;
										widgets_preference_slidebar_focus_item (_tmp21_, _tmp23_);
									} else {
										if (widgets_preference_item_in_visible_area (self, _data16_->scroll_segment)) {
											WidgetsPreferenceSlidebar* _tmp24_;
											WidgetsPreferenceSlidebar* _tmp25_;
											WidgetsPreferenceSlideItem* _tmp26_;
											_tmp24_ = self->slidebar;
											_tmp25_ = self->slidebar;
											_tmp26_ = _tmp25_->scroll_segment;
											widgets_preference_slidebar_focus_item (_tmp24_, _tmp26_);
										} else {
											if (widgets_preference_item_in_visible_area (self, _data16_->window_segment)) {
												WidgetsPreferenceSlidebar* _tmp27_;
												WidgetsPreferenceSlidebar* _tmp28_;
												WidgetsPreferenceSlideItem* _tmp29_;
												_tmp27_ = self->slidebar;
												_tmp28_ = self->slidebar;
												_tmp29_ = _tmp28_->window_segment;
												widgets_preference_slidebar_focus_item (_tmp27_, _tmp29_);
											}
										}
									}
								}
							}
						}
					}
				}
			}
		}
	}
}

static void
___lambda181__gtk_adjustment_value_changed (GtkAdjustment* _sender,
                                            gpointer self)
{
	__lambda181_ (self, _sender);
}

WidgetsPreference*
widgets_preference_construct (GType object_type,
                              WidgetsConfigWindow* window,
                              GtkWidget* widget)
{
	WidgetsPreference * self = NULL;
	Block16Data* _data16_;
	GtkLabel* _tmp0_;
	GtkLabel* _tmp1_;
	gdouble _tmp2_;
	gdouble _tmp3_;
	WidgetsProgressBar* _tmp4_;
	GtkLabel* _tmp5_;
	WidgetsDropdownTextButton* _tmp6_;
	GtkLabel* _tmp7_;
	WidgetsDropdownTextButton* _tmp8_;
	GtkLabel* _tmp9_;
	GtkLabel* _tmp10_;
	WidgetsShortcutEntry* _tmp11_;
	GtkLabel* _tmp12_;
	WidgetsShortcutEntry* _tmp13_;
	GtkLabel* _tmp14_;
	WidgetsShortcutEntry* _tmp15_;
	GtkLabel* _tmp16_;
	WidgetsShortcutEntry* _tmp17_;
	GtkLabel* _tmp18_;
	WidgetsShortcutEntry* _tmp19_;
	GtkLabel* _tmp20_;
	WidgetsShortcutEntry* _tmp21_;
	GtkLabel* _tmp22_;
	WidgetsShortcutEntry* _tmp23_;
	GtkLabel* _tmp24_;
	WidgetsShortcutEntry* _tmp25_;
	GtkLabel* _tmp26_;
	WidgetsShortcutEntry* _tmp27_;
	GtkLabel* _tmp28_;
	WidgetsShortcutEntry* _tmp29_;
	GtkLabel* _tmp30_;
	WidgetsShortcutEntry* _tmp31_;
	GtkLabel* _tmp32_;
	WidgetsShortcutEntry* _tmp33_;
	GtkLabel* _tmp34_;
	WidgetsShortcutEntry* _tmp35_;
	GtkLabel* _tmp36_;
	WidgetsShortcutEntry* _tmp37_;
	GtkLabel* _tmp38_;
	WidgetsShortcutEntry* _tmp39_;
	GtkLabel* _tmp40_;
	WidgetsShortcutEntry* _tmp41_;
	GtkLabel* _tmp42_;
	WidgetsShortcutEntry* _tmp43_;
	GtkLabel* _tmp44_;
	WidgetsShortcutEntry* _tmp45_;
	GtkLabel* _tmp46_;
	WidgetsShortcutEntry* _tmp47_;
	GtkLabel* _tmp48_;
	WidgetsShortcutEntry* _tmp49_;
	GtkLabel* _tmp50_;
	WidgetsShortcutEntry* _tmp51_;
	GtkLabel* _tmp52_;
	WidgetsShortcutEntry* _tmp53_;
	GtkLabel* _tmp54_;
	WidgetsShortcutEntry* _tmp55_;
	GtkLabel* _tmp56_;
	WidgetsShortcutEntry* _tmp57_;
	GtkLabel* _tmp58_;
	WidgetsShortcutEntry* _tmp59_;
	GtkLabel* _tmp60_;
	GtkLabel* _tmp61_;
	WidgetsShortcutEntry* _tmp62_;
	WidgetsShortcutEntry* _tmp63_;
	GtkLabel* _tmp64_;
	WidgetsCursorToggleButton* _tmp65_;
	WidgetsCheckButton* _tmp66_;
	WidgetsCheckButton* _tmp67_;
	WidgetsCheckButton* _tmp68_;
	WidgetsCheckButton* _tmp69_;
	WidgetsCheckButton* _tmp70_;
	WidgetsCheckButton* _tmp71_;
	WidgetsCheckButton* _tmp72_;
	WidgetsSpinButton* _tmp73_;
	WidgetsConfigWindow* _tmp74_;
	GtkWidget* _tmp75_;
	WidgetsTitlebar* titlebar = NULL;
	WidgetsTitlebar* _tmp76_;
	WidgetsWindowButton* _tmp77_;
	GtkBox* _tmp78_;
	GtkBox* preference_box = NULL;
	GtkBox* _tmp79_;
	WidgetsPreferenceSlidebar* _tmp80_;
	WidgetsPreferenceSlidebar* _tmp81_;
	GtkScrolledWindow* _tmp82_;
	GtkScrolledWindow* _tmp83_;
	GtkScrolledWindow* _tmp84_;
	GtkScrolledWindow* _tmp85_;
	GtkStyleContext* _tmp86_;
	GtkScrolledWindow* _tmp87_;
	GtkWidget* _tmp88_;
	GtkStyleContext* _tmp89_;
	GtkScrolledWindow* _tmp90_;
	GtkBox* _tmp91_;
	GtkBox* _tmp92_;
	GtkScrolledWindow* _tmp93_;
	GtkBox* _tmp94_;
	GtkWidget* _tmp95_;
	GtkBox* _tmp96_;
	GtkWidget* _tmp97_;
	GtkBox* _tmp98_;
	GtkGrid* theme_grid = NULL;
	GtkGrid* _tmp99_;
	GtkBox* _tmp100_;
	GtkGrid* opacity_grid = NULL;
	GtkGrid* _tmp101_;
	GtkBox* _tmp102_;
	gdouble opacity = 0.0;
	WidgetsProgressBar* _tmp109_;
	WidgetsProgressBar* _tmp110_;
	GtkLabel* _tmp111_;
	WidgetsProgressBar* _tmp112_;
	GtkLabel* _tmp113_;
	WidgetsProgressBar* _tmp114_;
	GtkLabel* _tmp115_;
	GtkLabel* _tmp116_;
	GtkStyleContext* _tmp117_;
	GtkGrid* font_grid = NULL;
	GtkGrid* _tmp118_;
	GtkBox* _tmp119_;
	GtkGrid* _tmp120_;
	gint num = 0;
	gchar** mono_or_dot_fonts = NULL;
	gint _tmp121_ = 0;
	gint _tmp122_ = 0;
	gchar** _tmp123_;
	gint mono_or_dot_fonts_length1;
	gint _mono_or_dot_fonts_size_;
	GeeArrayList* _tmp124_;
	GeeArrayList* _tmp130_;
	GtkLabel* _tmp131_;
	WidgetsDropdownTextButton* _tmp132_;
	GtkGrid* _tmp133_;
	GeeArrayList* _tmp134_;
	WidgetsSpinButton* _tmp135_;
	GtkLabel* _tmp136_;
	GtkGrid* _tmp137_;
	GtkLabel* _tmp138_;
	GtkLabel* _tmp139_;
	GtkWidget* _tmp140_;
	GtkBox* _tmp141_;
	GtkWidget* _tmp142_;
	GtkBox* _tmp143_;
	GtkGrid* terminal_key_grid = NULL;
	GtkGrid* _tmp144_;
	GtkBox* _tmp145_;
	GtkLabel* _tmp146_;
	WidgetsShortcutEntry* _tmp147_;
	GtkLabel* _tmp148_;
	WidgetsShortcutEntry* _tmp149_;
	GtkLabel* _tmp150_;
	GtkLabel* _tmp151_;
	WidgetsShortcutEntry* _tmp152_;
	GtkLabel* _tmp153_;
	GtkLabel* _tmp154_;
	WidgetsShortcutEntry* _tmp155_;
	GtkLabel* _tmp156_;
	GtkLabel* _tmp157_;
	WidgetsShortcutEntry* _tmp158_;
	GtkLabel* _tmp159_;
	GtkLabel* _tmp160_;
	WidgetsShortcutEntry* _tmp161_;
	GtkLabel* _tmp162_;
	GtkLabel* _tmp163_;
	WidgetsShortcutEntry* _tmp164_;
	GtkLabel* _tmp165_;
	GtkLabel* _tmp166_;
	WidgetsShortcutEntry* _tmp167_;
	GtkLabel* _tmp168_;
	GtkLabel* _tmp169_;
	WidgetsShortcutEntry* _tmp170_;
	GtkLabel* _tmp171_;
	GtkLabel* _tmp172_;
	WidgetsShortcutEntry* _tmp173_;
	GtkLabel* _tmp174_;
	GtkWidget* _tmp175_;
	GtkBox* _tmp176_;
	GtkGrid* workspace_key_grid = NULL;
	GtkGrid* _tmp177_;
	GtkBox* _tmp178_;
	GtkLabel* _tmp179_;
	WidgetsShortcutEntry* _tmp180_;
	GtkLabel* _tmp181_;
	WidgetsShortcutEntry* _tmp182_;
	GtkLabel* _tmp183_;
	GtkLabel* _tmp184_;
	WidgetsShortcutEntry* _tmp185_;
	GtkLabel* _tmp186_;
	GtkLabel* _tmp187_;
	WidgetsShortcutEntry* _tmp188_;
	GtkLabel* _tmp189_;
	GtkLabel* _tmp190_;
	WidgetsShortcutEntry* _tmp191_;
	GtkLabel* _tmp192_;
	GtkLabel* _tmp193_;
	WidgetsShortcutEntry* _tmp194_;
	GtkLabel* _tmp195_;
	GtkLabel* _tmp196_;
	WidgetsShortcutEntry* _tmp197_;
	GtkLabel* _tmp198_;
	GtkLabel* _tmp199_;
	WidgetsShortcutEntry* _tmp200_;
	GtkLabel* _tmp201_;
	GtkLabel* _tmp202_;
	WidgetsShortcutEntry* _tmp203_;
	GtkLabel* _tmp204_;
	GtkLabel* _tmp205_;
	WidgetsShortcutEntry* _tmp206_;
	GtkLabel* _tmp207_;
	GtkLabel* _tmp208_;
	WidgetsShortcutEntry* _tmp209_;
	GtkLabel* _tmp210_;
	GtkLabel* _tmp211_;
	WidgetsShortcutEntry* _tmp212_;
	GtkLabel* _tmp213_;
	GtkWidget* _tmp214_;
	GtkBox* _tmp215_;
	GtkGrid* advanced_key_grid = NULL;
	GtkGrid* _tmp216_;
	GtkBox* _tmp217_;
	GtkLabel* _tmp218_;
	WidgetsShortcutEntry* _tmp219_;
	GtkLabel* _tmp220_;
	WidgetsShortcutEntry* _tmp221_;
	GtkLabel* _tmp222_;
	GtkLabel* _tmp223_;
	WidgetsShortcutEntry* _tmp224_;
	GtkLabel* _tmp225_;
	GtkLabel* _tmp226_;
	WidgetsShortcutEntry* _tmp227_;
	GtkLabel* _tmp228_;
	GtkLabel* _tmp229_;
	WidgetsShortcutEntry* _tmp230_;
	GtkLabel* _tmp231_;
	GtkWidget* _tmp232_;
	GtkBox* _tmp233_;
	GtkWidget* _tmp234_;
	GtkBox* _tmp235_;
	GtkGrid* cursor_grid = NULL;
	GtkGrid* _tmp236_;
	GtkBox* _tmp237_;
	WidgetsCursorToggleButton* _tmp246_;
	GtkLabel* _tmp247_;
	WidgetsCursorToggleButton* _tmp248_;
	GtkLabel* _tmp249_;
	WidgetsCursorToggleButton* _tmp250_;
	GtkLabel* _tmp251_;
	GtkLabel* _tmp252_;
	GtkStyleContext* _tmp253_;
	GtkBox* cursor_blink_box = NULL;
	WidgetsCheckButton* _tmp254_;
	GtkLabel* _tmp255_;
	GtkBox* _tmp256_;
	GtkBox* cursor_auto_hide_box = NULL;
	WidgetsCheckButton* _tmp257_;
	GtkBox* _tmp258_;
	WidgetsCheckButton* _tmp259_;
	GtkBox* _tmp260_;
	GtkBox* _tmp261_;
	GtkWidget* _tmp262_;
	GtkBox* _tmp263_;
	GtkGrid* scroll_grid = NULL;
	GtkGrid* _tmp264_;
	GtkBox* _tmp265_;
	GtkBox* scroll_on_key_box = NULL;
	WidgetsCheckButton* _tmp266_;
	GtkBox* _tmp267_;
	WidgetsCheckButton* _tmp268_;
	GtkBox* _tmp269_;
	GtkBox* _tmp270_;
	GtkWidget* _tmp271_;
	GtkBox* _tmp272_;
	GtkGrid* window_grid = NULL;
	GtkGrid* _tmp273_;
	GtkBox* _tmp274_;
	GeeArrayList* _tmp275_;
	GeeArrayList* _tmp276_;
	GeeArrayList* _tmp277_;
	GeeArrayList* _tmp278_;
	GeeArrayList* _tmp279_;
	GeeArrayList* _tmp280_;
	GeeArrayList* _tmp281_;
	GeeArrayList* _tmp282_;
	GtkLabel* _tmp283_;
	WidgetsDropdownTextButton* _tmp284_;
	GeeArrayList* _tmp285_;
	GeeArrayList* _tmp286_;
	GtkBox* hide_quakewindow_box = NULL;
	WidgetsCheckButton* _tmp287_;
	GtkLabel* _tmp288_;
	GtkBox* _tmp289_;
	WidgetsCheckButton* _tmp290_;
	GtkBox* _tmp291_;
	GtkBox* _tmp292_;
	WidgetsImageButton* reset_button = NULL;
	WidgetsImageButton* _tmp293_;
	GtkBox* _tmp294_;
	AnimationAnimateTimer* _tmp295_;
	AnimationAnimateTimer* _tmp296_;
	WidgetsPreferenceSlidebar* _tmp297_;
	GtkScrolledWindow* _tmp298_;
	GtkAdjustment* _tmp299_;
	GError* _inner_error0_ = NULL;
	g_return_val_if_fail (window != NULL, NULL);
	_data16_ = g_slice_new0 (Block16Data);
	_data16_->_ref_count_ = 1;
	self = (WidgetsPreference*) widgets_dialog_construct (object_type);
	_data16_->self = g_object_ref (self);
	bindtextdomain (GETTEXT_PACKAGE, "/usr/share/locale");
	widgets_dialog_set_init_size ((WidgetsDialog*) self, 740, 670);
	_tmp0_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->theme_label);
	self->theme_label = _tmp0_;
	_tmp1_ = widgets_preference_create_label (self, _ ("Opacity:"));
	_g_object_unref0 (self->opacity_label);
	self->opacity_label = _tmp1_;
	_tmp2_ = gtk_widget_get_opacity ((GtkWidget*) self);
	_tmp3_ = _tmp2_;
	_tmp4_ = widgets_progress_bar_new (_tmp3_);
	g_object_ref_sink (_tmp4_);
	_g_object_unref0 (self->opacity_progressbar);
	self->opacity_progressbar = _tmp4_;
	_tmp5_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->font_label);
	self->font_label = _tmp5_;
	_tmp6_ = widgets_preference_create_combox_text (self);
	_g_object_unref0 (self->font_combox);
	self->font_combox = _tmp6_;
	_tmp7_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->window_label);
	self->window_label = _tmp7_;
	_tmp8_ = widgets_preference_create_combox_text (self);
	_g_object_unref0 (self->window_combox);
	self->window_combox = _tmp8_;
	_tmp9_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->blur_background_label);
	self->blur_background_label = _tmp9_;
	_tmp10_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->copy_key_label);
	self->copy_key_label = _tmp10_;
	_tmp11_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp11_);
	_g_object_unref0 (self->copy_key_entry);
	self->copy_key_entry = _tmp11_;
	_tmp12_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->paste_key_label);
	self->paste_key_label = _tmp12_;
	_tmp13_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp13_);
	_g_object_unref0 (self->paste_key_entry);
	self->paste_key_entry = _tmp13_;
	_tmp14_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->open_key_label);
	self->open_key_label = _tmp14_;
	_tmp15_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp15_);
	_g_object_unref0 (self->open_key_entry);
	self->open_key_entry = _tmp15_;
	_tmp16_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->search_key_label);
	self->search_key_label = _tmp16_;
	_tmp17_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp17_);
	_g_object_unref0 (self->search_key_entry);
	self->search_key_entry = _tmp17_;
	_tmp18_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->zoom_in_key_label);
	self->zoom_in_key_label = _tmp18_;
	_tmp19_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp19_);
	_g_object_unref0 (self->zoom_in_key_entry);
	self->zoom_in_key_entry = _tmp19_;
	_tmp20_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->zoom_out_key_label);
	self->zoom_out_key_label = _tmp20_;
	_tmp21_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp21_);
	_g_object_unref0 (self->zoom_out_key_entry);
	self->zoom_out_key_entry = _tmp21_;
	_tmp22_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->zoom_reset_key_label);
	self->zoom_reset_key_label = _tmp22_;
	_tmp23_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp23_);
	_g_object_unref0 (self->zoom_reset_key_entry);
	self->zoom_reset_key_entry = _tmp23_;
	_tmp24_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->jump_to_next_command_key_label);
	self->jump_to_next_command_key_label = _tmp24_;
	_tmp25_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp25_);
	_g_object_unref0 (self->jump_to_next_command_key_entry);
	self->jump_to_next_command_key_entry = _tmp25_;
	_tmp26_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->jump_to_previous_command_key_label);
	self->jump_to_previous_command_key_label = _tmp26_;
	_tmp27_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp27_);
	_g_object_unref0 (self->jump_to_previous_command_key_entry);
	self->jump_to_previous_command_key_entry = _tmp27_;
	_tmp28_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->select_all_key_label);
	self->select_all_key_label = _tmp28_;
	_tmp29_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp29_);
	_g_object_unref0 (self->select_all_key_entry);
	self->select_all_key_entry = _tmp29_;
	_tmp30_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->new_workspace_key_label);
	self->new_workspace_key_label = _tmp30_;
	_tmp31_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp31_);
	_g_object_unref0 (self->new_workspace_key_entry);
	self->new_workspace_key_entry = _tmp31_;
	_tmp32_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->close_workspace_key_label);
	self->close_workspace_key_label = _tmp32_;
	_tmp33_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp33_);
	_g_object_unref0 (self->close_workspace_key_entry);
	self->close_workspace_key_entry = _tmp33_;
	_tmp34_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->previous_workspace_key_label);
	self->previous_workspace_key_label = _tmp34_;
	_tmp35_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp35_);
	_g_object_unref0 (self->previous_workspace_key_entry);
	self->previous_workspace_key_entry = _tmp35_;
	_tmp36_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->next_workspace_key_label);
	self->next_workspace_key_label = _tmp36_;
	_tmp37_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp37_);
	_g_object_unref0 (self->next_workspace_key_entry);
	self->next_workspace_key_entry = _tmp37_;
	_tmp38_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->split_vertically_key_label);
	self->split_vertically_key_label = _tmp38_;
	_tmp39_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp39_);
	_g_object_unref0 (self->split_vertically_key_entry);
	self->split_vertically_key_entry = _tmp39_;
	_tmp40_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->split_horizontally_key_label);
	self->split_horizontally_key_label = _tmp40_;
	_tmp41_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp41_);
	_g_object_unref0 (self->split_horizontally_key_entry);
	self->split_horizontally_key_entry = _tmp41_;
	_tmp42_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->select_up_window_key_label);
	self->select_up_window_key_label = _tmp42_;
	_tmp43_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp43_);
	_g_object_unref0 (self->select_up_window_key_entry);
	self->select_up_window_key_entry = _tmp43_;
	_tmp44_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->select_down_window_key_label);
	self->select_down_window_key_label = _tmp44_;
	_tmp45_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp45_);
	_g_object_unref0 (self->select_down_window_key_entry);
	self->select_down_window_key_entry = _tmp45_;
	_tmp46_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->select_left_window_key_label);
	self->select_left_window_key_label = _tmp46_;
	_tmp47_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp47_);
	_g_object_unref0 (self->select_left_window_key_entry);
	self->select_left_window_key_entry = _tmp47_;
	_tmp48_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->select_right_window_key_label);
	self->select_right_window_key_label = _tmp48_;
	_tmp49_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp49_);
	_g_object_unref0 (self->select_right_window_key_entry);
	self->select_right_window_key_entry = _tmp49_;
	_tmp50_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->close_window_key_label);
	self->close_window_key_label = _tmp50_;
	_tmp51_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp51_);
	_g_object_unref0 (self->close_window_key_entry);
	self->close_window_key_entry = _tmp51_;
	_tmp52_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->close_other_windows_key_label);
	self->close_other_windows_key_label = _tmp52_;
	_tmp53_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp53_);
	_g_object_unref0 (self->close_other_windows_key_entry);
	self->close_other_windows_key_entry = _tmp53_;
	_tmp54_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->fullscreen_key_label);
	self->fullscreen_key_label = _tmp54_;
	_tmp55_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp55_);
	_g_object_unref0 (self->fullscreen_key_entry);
	self->fullscreen_key_entry = _tmp55_;
	_tmp56_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->rename_title_key_label);
	self->rename_title_key_label = _tmp56_;
	_tmp57_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp57_);
	_g_object_unref0 (self->rename_title_key_entry);
	self->rename_title_key_entry = _tmp57_;
	_tmp58_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->display_hotkey_terminal_key_label);
	self->display_hotkey_terminal_key_label = _tmp58_;
	_tmp59_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp59_);
	_g_object_unref0 (self->display_hotkey_terminal_key_entry);
	self->display_hotkey_terminal_key_entry = _tmp59_;
	_tmp60_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->show_command_key_label);
	self->show_command_key_label = _tmp60_;
	_tmp61_ = widgets_preference_create_label (self, NULL);
	_g_object_unref0 (self->show_remote_manage_key_label);
	self->show_remote_manage_key_label = _tmp61_;
	_tmp62_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp62_);
	_g_object_unref0 (self->show_command_key_entry);
	self->show_command_key_entry = _tmp62_;
	_tmp63_ = widgets_shortcut_entry_new ();
	g_object_ref_sink (_tmp63_);
	_g_object_unref0 (self->show_remote_manage_key_entry);
	self->show_remote_manage_key_entry = _tmp63_;
	_tmp64_ = widgets_preference_create_label (self, _ ("Cursor style:"));
	_g_object_unref0 (self->cursor_style_label);
	self->cursor_style_label = _tmp64_;
	_tmp65_ = widgets_cursor_toggle_button_new ();
	g_object_ref_sink (_tmp65_);
	_g_object_unref0 (self->cursor_style_button);
	self->cursor_style_button = _tmp65_;
	_tmp66_ = widgets_check_button_new ();
	g_object_ref_sink (_tmp66_);
	_g_object_unref0 (self->cursor_blink_checkbutton);
	self->cursor_blink_checkbutton = _tmp66_;
	_tmp67_ = widgets_check_button_new ();
	g_object_ref_sink (_tmp67_);
	_g_object_unref0 (self->cursor_auto_hide_checkbutton);
	self->cursor_auto_hide_checkbutton = _tmp67_;
	_tmp68_ = widgets_check_button_new ();
	g_object_ref_sink (_tmp68_);
	_g_object_unref0 (self->copy_on_select_checkbutton);
	self->copy_on_select_checkbutton = _tmp68_;
	_tmp69_ = widgets_check_button_new ();
	g_object_ref_sink (_tmp69_);
	_g_object_unref0 (self->scroll_on_key_checkbutton);
	self->scroll_on_key_checkbutton = _tmp69_;
	_tmp70_ = widgets_check_button_new ();
	g_object_ref_sink (_tmp70_);
	_g_object_unref0 (self->scroll_on_out_checkbutton);
	self->scroll_on_out_checkbutton = _tmp70_;
	_tmp71_ = widgets_check_button_new ();
	g_object_ref_sink (_tmp71_);
	_g_object_unref0 (self->blur_background_checkbutton);
	self->blur_background_checkbutton = _tmp71_;
	_tmp72_ = widgets_check_button_new ();
	g_object_ref_sink (_tmp72_);
	_g_object_unref0 (self->hide_quakewindow_after_lost_focus_checkbutton);
	self->hide_quakewindow_after_lost_focus_checkbutton = _tmp72_;
	_tmp73_ = widgets_preference_create_spinbutton (self, constant_FONT_MIN_SIZE, constant_FONT_MAX_SIZE, 1);
	_g_object_unref0 (self->font_size_spinbutton);
	self->font_size_spinbutton = _tmp73_;
	_tmp74_ = _g_object_ref0 (window);
	_g_object_unref0 (self->parent_window);
	self->parent_window = _tmp74_;
	_tmp75_ = _g_object_ref0 (widget);
	_g_object_unref0 (self->focus_widget);
	self->focus_widget = _tmp75_;
	_tmp76_ = widgets_titlebar_new ();
	g_object_ref_sink (_tmp76_);
	titlebar = _tmp76_;
	_tmp77_ = titlebar->close_button;
	g_signal_connect_object ((WidgetsClickEventBox*) _tmp77_, "clicked", (GCallback) ___lambda169__widgets_click_event_box_clicked, self, 0);
	_tmp78_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
	g_object_ref_sink (_tmp78_);
	_data16_->box = _tmp78_;
	gtk_box_pack_start (_data16_->box, (GtkWidget*) titlebar, FALSE, FALSE, (guint) 0);
	g_signal_connect_object ((GtkWidget*) self, "destroy", (GCallback) ___lambda170__gtk_widget_destroy, self, 0);
	_tmp79_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
	g_object_ref_sink (_tmp79_);
	preference_box = _tmp79_;
	widgets_dialog_add_widget ((WidgetsDialog*) self, (GtkWidget*) preference_box);
	_tmp80_ = widgets_preference_slidebar_new ();
	g_object_ref_sink (_tmp80_);
	_g_object_unref0 (self->slidebar);
	self->slidebar = _tmp80_;
	_tmp81_ = self->slidebar;
	gtk_box_pack_start (preference_box, (GtkWidget*) _tmp81_, FALSE, FALSE, (guint) 0);
	gtk_widget_set_size_request ((GtkWidget*) preference_box, self->slidebar_width, -1);
	_tmp82_ = (GtkScrolledWindow*) gtk_scrolled_window_new (NULL, NULL);
	g_object_ref_sink (_tmp82_);
	_g_object_unref0 (self->scrolledwindow);
	self->scrolledwindow = _tmp82_;
	_tmp83_ = self->scrolledwindow;
	gtk_scrolled_window_set_policy (_tmp83_, GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
	_tmp84_ = self->scrolledwindow;
	gtk_scrolled_window_set_shadow_type (_tmp84_, GTK_SHADOW_NONE);
	_tmp85_ = self->scrolledwindow;
	_tmp86_ = gtk_widget_get_style_context ((GtkWidget*) _tmp85_);
	gtk_style_context_add_class (_tmp86_, "scrolledwindow");
	_tmp87_ = self->scrolledwindow;
	_tmp88_ = gtk_scrolled_window_get_vscrollbar (_tmp87_);
	_tmp89_ = gtk_widget_get_style_context (_tmp88_);
	gtk_style_context_add_class (_tmp89_, "light_scrollbar");
	_tmp90_ = self->scrolledwindow;
	gtk_box_pack_start (_data16_->box, (GtkWidget*) _tmp90_, TRUE, TRUE, (guint) 0);
	gtk_box_pack_start (preference_box, (GtkWidget*) _data16_->box, TRUE, TRUE, (guint) 0);
	_tmp91_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
	g_object_ref_sink (_tmp91_);
	_g_object_unref0 (self->content_box);
	self->content_box = _tmp91_;
	_tmp92_ = self->content_box;
	gtk_widget_set_margin_end ((GtkWidget*) _tmp92_, 20);
	_tmp93_ = self->scrolledwindow;
	_tmp94_ = self->content_box;
	gtk_container_add ((GtkContainer*) _tmp93_, (GtkWidget*) _tmp94_);
	_tmp95_ = widgets_preference_get_first_segment (self, _ ("Basic"));
	_data16_->basic_segment = _tmp95_;
	_tmp96_ = self->content_box;
	gtk_box_pack_start (_tmp96_, _data16_->basic_segment, FALSE, FALSE, (guint) 0);
	_tmp97_ = widgets_preference_get_second_segment (self, _ ("Interface"));
	_data16_->theme_segment = _tmp97_;
	_tmp98_ = self->content_box;
	gtk_box_pack_start (_tmp98_, _data16_->theme_segment, FALSE, FALSE, (guint) 0);
	_tmp99_ = (GtkGrid*) gtk_grid_new ();
	g_object_ref_sink (_tmp99_);
	theme_grid = _tmp99_;
	_tmp100_ = self->content_box;
	gtk_box_pack_start (_tmp100_, (GtkWidget*) theme_grid, FALSE, FALSE, (guint) 0);
	_tmp101_ = (GtkGrid*) gtk_grid_new ();
	g_object_ref_sink (_tmp101_);
	opacity_grid = _tmp101_;
	_tmp102_ = self->content_box;
	gtk_box_pack_start (_tmp102_, (GtkWidget*) opacity_grid, FALSE, FALSE, (guint) 0);
	opacity = (gdouble) 0;
	{
		gdouble _tmp103_ = 0.0;
		WidgetsConfigWindow* _tmp104_;
		ConfigConfig* _tmp105_;
		GKeyFile* _tmp106_;
		_tmp104_ = self->parent_window;
		_tmp105_ = _tmp104_->config;
		_tmp106_ = _tmp105_->config_file;
		_tmp103_ = g_key_file_get_double (_tmp106_, "general", "opacity", &_inner_error0_);
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			_g_object_unref0 (opacity_grid);
			_g_object_unref0 (theme_grid);
			_g_object_unref0 (preference_box);
			_g_object_unref0 (titlebar);
			block16_data_unref (_data16_);
			_data16_ = NULL;
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return NULL;
		}
		opacity = _tmp103_;
	}
	goto __finally0;
	__catch0_g_key_file_error:
	{
		GError* e = NULL;
		GError* _tmp107_;
		const gchar* _tmp108_;
		e = _inner_error0_;
		_inner_error0_ = NULL;
		_tmp107_ = e;
		_tmp108_ = _tmp107_->message;
		g_print ("Preference get window config: %s\n", _tmp108_);
		_g_error_free0 (e);
	}
	__finally0:
	if (G_UNLIKELY (_inner_error0_ != NULL)) {
		_g_object_unref0 (opacity_grid);
		_g_object_unref0 (theme_grid);
		_g_object_unref0 (preference_box);
		_g_object_unref0 (titlebar);
		block16_data_unref (_data16_);
		_data16_ = NULL;
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
		g_clear_error (&_inner_error0_);
		return NULL;
	}
	_tmp109_ = self->opacity_progressbar;
	widgets_progress_bar_set_percent (_tmp109_, opacity);
	_tmp110_ = self->opacity_progressbar;
	g_signal_connect_object (_tmp110_, "update", (GCallback) ___lambda172__widgets_progress_bar_update, self, 0);
	_tmp111_ = self->opacity_label;
	_tmp112_ = self->opacity_progressbar;
	widgets_preference_adjust_option_widgets (self, _tmp111_, (GtkWidget*) _tmp112_);
	_tmp113_ = self->opacity_label;
	widgets_dialog_grid_attach ((WidgetsDialog*) self, opacity_grid, (GtkWidget*) _tmp113_, 0, 0, self->preference_name_width, self->grid_height);
	_tmp114_ = self->opacity_progressbar;
	_tmp115_ = self->opacity_label;
	widgets_dialog_grid_attach_next_to ((WidgetsDialog*) self, opacity_grid, (GtkWidget*) _tmp114_, (GtkWidget*) _tmp115_, GTK_POS_RIGHT, self->preference_widget_width, self->grid_height);
	_tmp116_ = self->opacity_label;
	_tmp117_ = gtk_widget_get_style_context ((GtkWidget*) _tmp116_);
	gtk_style_context_add_class (_tmp117_, "preference_title");
	_tmp118_ = (GtkGrid*) gtk_grid_new ();
	g_object_ref_sink (_tmp118_);
	font_grid = _tmp118_;
	_tmp119_ = self->content_box;
	_tmp120_ = font_grid;
	gtk_box_pack_start (_tmp119_, (GtkWidget*) _tmp120_, FALSE, FALSE, (guint) 0);
	_tmp123_ = list_mono_or_dot_fonts (&_tmp121_, &_tmp122_);
	num = _tmp121_;
	mono_or_dot_fonts = (gchar**) _tmp123_;
	mono_or_dot_fonts_length1 = (_tmp122_ * sizeof (gchar*)) / sizeof (gchar*);
	_mono_or_dot_fonts_size_ = mono_or_dot_fonts_length1;
	_tmp124_ = gee_array_list_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, NULL, NULL, NULL);
	_g_object_unref0 (self->font_names);
	self->font_names = _tmp124_;
	{
		gint i = 0;
		i = 0;
		{
			gboolean _tmp125_ = FALSE;
			_tmp125_ = TRUE;
			while (TRUE) {
				GeeArrayList* _tmp127_;
				gchar** _tmp128_;
				gint _tmp128__length1;
				const gchar* _tmp129_;
				if (!_tmp125_) {
					gint _tmp126_;
					_tmp126_ = i;
					i = _tmp126_ + 1;
				}
				_tmp125_ = FALSE;
				if (!(i < num)) {
					break;
				}
				_tmp127_ = self->font_names;
				_tmp128_ = mono_or_dot_fonts;
				_tmp128__length1 = mono_or_dot_fonts_length1;
				_tmp129_ = _tmp128_[i];
				gee_abstract_collection_add ((GeeAbstractCollection*) _tmp127_, _tmp129_);
			}
		}
	}
	_tmp130_ = self->font_names;
	gee_list_sort ((GeeList*) _tmp130_, NULL, NULL, NULL);
	_tmp131_ = self->font_label;
	_tmp132_ = self->font_combox;
	_tmp133_ = font_grid;
	_tmp134_ = self->font_names;
	widgets_preference_create_combox_row (self, _tmp131_, _tmp132_, _ ("Font:"), _tmp133_, _tmp134_, "general", "font");
	_tmp135_ = self->font_size_spinbutton;
	_tmp136_ = self->font_label;
	_tmp137_ = font_grid;
	_tmp138_ = widgets_preference_create_follow_spinbutton_row (self, _tmp135_, _ ("Font size:"), (GtkWidget*) _tmp136_, _tmp137_, "general", "font_size");
	_tmp139_ = _tmp138_;
	_g_object_unref0 (_tmp139_);
	_tmp140_ = widgets_preference_get_first_segment (self, _ ("Shortcuts"));
	_data16_->hotkey_segment = _tmp140_;
	_tmp141_ = self->content_box;
	gtk_box_pack_start (_tmp141_, _data16_->hotkey_segment, FALSE, FALSE, (guint) 0);
	_tmp142_ = widgets_preference_get_second_segment (self, _ ("Terminal"));
	_data16_->terminal_key_segment = _tmp142_;
	_tmp143_ = self->content_box;
	gtk_box_pack_start (_tmp143_, _data16_->terminal_key_segment, FALSE, FALSE, (guint) 0);
	_tmp144_ = (GtkGrid*) gtk_grid_new ();
	g_object_ref_sink (_tmp144_);
	terminal_key_grid = _tmp144_;
	_tmp145_ = self->content_box;
	gtk_box_pack_start (_tmp145_, (GtkWidget*) terminal_key_grid, FALSE, FALSE, (guint) 0);
	_tmp146_ = self->copy_key_label;
	_tmp147_ = self->copy_key_entry;
	widgets_preference_create_key_row (self, _tmp146_, _tmp147_, _ ("Copy:"), terminal_key_grid, "shortcut", "copy");
	_tmp148_ = self->paste_key_label;
	_tmp149_ = self->paste_key_entry;
	_tmp150_ = self->copy_key_label;
	widgets_preference_create_follow_key_row (self, _tmp148_, _tmp149_, _ ("Paste:"), _tmp150_, terminal_key_grid, "shortcut", "paste");
	_tmp151_ = self->open_key_label;
	_tmp152_ = self->open_key_entry;
	_tmp153_ = self->paste_key_label;
	widgets_preference_create_follow_key_row (self, _tmp151_, _tmp152_, _ ("Open:"), _tmp153_, terminal_key_grid, "shortcut", "open");
	_tmp154_ = self->search_key_label;
	_tmp155_ = self->search_key_entry;
	_tmp156_ = self->open_key_label;
	widgets_preference_create_follow_key_row (self, _tmp154_, _tmp155_, _ ("Search:"), _tmp156_, terminal_key_grid, "shortcut", "search");
	_tmp157_ = self->zoom_in_key_label;
	_tmp158_ = self->zoom_in_key_entry;
	_tmp159_ = self->search_key_label;
	widgets_preference_create_follow_key_row (self, _tmp157_, _tmp158_, _ ("Zoom in:"), _tmp159_, terminal_key_grid, "shortcut", "zoom_in");
	_tmp160_ = self->zoom_out_key_label;
	_tmp161_ = self->zoom_out_key_entry;
	_tmp162_ = self->zoom_in_key_label;
	widgets_preference_create_follow_key_row (self, _tmp160_, _tmp161_, _ ("Zoom out:"), _tmp162_, terminal_key_grid, "shortcut", "zoom_out");
	_tmp163_ = self->zoom_reset_key_label;
	_tmp164_ = self->zoom_reset_key_entry;
	_tmp165_ = self->zoom_out_key_label;
	widgets_preference_create_follow_key_row (self, _tmp163_, _tmp164_, _ ("Default size:"), _tmp165_, terminal_key_grid, "shortcut", "default_size");
	_tmp166_ = self->jump_to_next_command_key_label;
	_tmp167_ = self->jump_to_next_command_key_entry;
	_tmp168_ = self->zoom_reset_key_label;
	widgets_preference_create_follow_key_row (self, _tmp166_, _tmp167_, _ ("Jump to next command:"), _tmp168_, terminal_key_grid, "shortcut", "jump_to_next_command");
	_tmp169_ = self->jump_to_previous_command_key_label;
	_tmp170_ = self->jump_to_previous_command_key_entry;
	_tmp171_ = self->jump_to_next_command_key_label;
	widgets_preference_create_follow_key_row (self, _tmp169_, _tmp170_, _ ("Jump to previous command:"), _tmp171_, terminal_key_grid, "shortcut", "jump_to_previous_command");
	_tmp172_ = self->select_all_key_label;
	_tmp173_ = self->select_all_key_entry;
	_tmp174_ = self->jump_to_previous_command_key_label;
	widgets_preference_create_follow_key_row (self, _tmp172_, _tmp173_, _ ("Select all:"), _tmp174_, terminal_key_grid, "shortcut", "select_all");
	_tmp175_ = widgets_preference_get_second_segment (self, _ ("Workspace"));
	_data16_->workspace_key_segment = _tmp175_;
	_tmp176_ = self->content_box;
	gtk_box_pack_start (_tmp176_, _data16_->workspace_key_segment, FALSE, FALSE, (guint) 0);
	_tmp177_ = (GtkGrid*) gtk_grid_new ();
	g_object_ref_sink (_tmp177_);
	workspace_key_grid = _tmp177_;
	_tmp178_ = self->content_box;
	gtk_box_pack_start (_tmp178_, (GtkWidget*) workspace_key_grid, FALSE, FALSE, (guint) 0);
	_tmp179_ = self->new_workspace_key_label;
	_tmp180_ = self->new_workspace_key_entry;
	widgets_preference_create_key_row (self, _tmp179_, _tmp180_, _ ("New workspace:"), workspace_key_grid, "shortcut", "new_workspace");
	_tmp181_ = self->close_workspace_key_label;
	_tmp182_ = self->close_workspace_key_entry;
	_tmp183_ = self->new_workspace_key_label;
	widgets_preference_create_follow_key_row (self, _tmp181_, _tmp182_, _ ("Close workspace:"), _tmp183_, workspace_key_grid, "shortcut", "close_workspace");
	_tmp184_ = self->previous_workspace_key_label;
	_tmp185_ = self->previous_workspace_key_entry;
	_tmp186_ = self->close_workspace_key_label;
	widgets_preference_create_follow_key_row (self, _tmp184_, _tmp185_, _ ("Previous workspace:"), _tmp186_, workspace_key_grid, "shortcut", "previous_workspace");
	_tmp187_ = self->next_workspace_key_label;
	_tmp188_ = self->next_workspace_key_entry;
	_tmp189_ = self->previous_workspace_key_label;
	widgets_preference_create_follow_key_row (self, _tmp187_, _tmp188_, _ ("Next workspace:"), _tmp189_, workspace_key_grid, "shortcut", "next_workspace");
	_tmp190_ = self->split_vertically_key_label;
	_tmp191_ = self->split_vertically_key_entry;
	_tmp192_ = self->next_workspace_key_label;
	widgets_preference_create_follow_key_row (self, _tmp190_, _tmp191_, _ ("Vertical split:"), _tmp192_, workspace_key_grid, "shortcut", "vertical_split");
	_tmp193_ = self->split_horizontally_key_label;
	_tmp194_ = self->split_horizontally_key_entry;
	_tmp195_ = self->split_vertically_key_label;
	widgets_preference_create_follow_key_row (self, _tmp193_, _tmp194_, _ ("Horizontal split:"), _tmp195_, workspace_key_grid, "shortcut", "horizontal_split");
	_tmp196_ = self->select_up_window_key_label;
	_tmp197_ = self->select_up_window_key_entry;
	_tmp198_ = self->split_horizontally_key_label;
	widgets_preference_create_follow_key_row (self, _tmp196_, _tmp197_, _ ("Select upper window:"), _tmp198_, workspace_key_grid, "shortcut", "select_upper_window");
	_tmp199_ = self->select_down_window_key_label;
	_tmp200_ = self->select_down_window_key_entry;
	_tmp201_ = self->select_up_window_key_label;
	widgets_preference_create_follow_key_row (self, _tmp199_, _tmp200_, _ ("Select lower window:"), _tmp201_, workspace_key_grid, "shortcut", "select_lower_window");
	_tmp202_ = self->select_left_window_key_label;
	_tmp203_ = self->select_left_window_key_entry;
	_tmp204_ = self->select_down_window_key_label;
	widgets_preference_create_follow_key_row (self, _tmp202_, _tmp203_, _ ("Select left window:"), _tmp204_, workspace_key_grid, "shortcut", "select_left_window");
	_tmp205_ = self->select_right_window_key_label;
	_tmp206_ = self->select_right_window_key_entry;
	_tmp207_ = self->select_left_window_key_label;
	widgets_preference_create_follow_key_row (self, _tmp205_, _tmp206_, _ ("Select right window:"), _tmp207_, workspace_key_grid, "shortcut", "select_right_window");
	_tmp208_ = self->close_window_key_label;
	_tmp209_ = self->close_window_key_entry;
	_tmp210_ = self->select_right_window_key_label;
	widgets_preference_create_follow_key_row (self, _tmp208_, _tmp209_, _ ("Close window:"), _tmp210_, workspace_key_grid, "shortcut", "close_window");
	_tmp211_ = self->close_other_windows_key_label;
	_tmp212_ = self->close_other_windows_key_entry;
	_tmp213_ = self->close_window_key_label;
	widgets_preference_create_follow_key_row (self, _tmp211_, _tmp212_, _ ("Close other windows:"), _tmp213_, workspace_key_grid, "shortcut", "close_other_windows");
	_tmp214_ = widgets_preference_get_second_segment (self, _ ("Advanced"));
	_data16_->advanced_key_segment = _tmp214_;
	_tmp215_ = self->content_box;
	gtk_box_pack_start (_tmp215_, _data16_->advanced_key_segment, FALSE, FALSE, (guint) 0);
	_tmp216_ = (GtkGrid*) gtk_grid_new ();
	g_object_ref_sink (_tmp216_);
	advanced_key_grid = _tmp216_;
	_tmp217_ = self->content_box;
	gtk_box_pack_start (_tmp217_, (GtkWidget*) advanced_key_grid, FALSE, FALSE, (guint) 0);
	_tmp218_ = self->fullscreen_key_label;
	_tmp219_ = self->fullscreen_key_entry;
	widgets_preference_create_key_row (self, _tmp218_, _tmp219_, _ ("Fullscreen:"), advanced_key_grid, "shortcut", "switch_fullscreen");
	_tmp220_ = self->rename_title_key_label;
	_tmp221_ = self->rename_title_key_entry;
	_tmp222_ = self->fullscreen_key_label;
	widgets_preference_create_follow_key_row (self, _tmp220_, _tmp221_, _ ("Rename title:"), _tmp222_, advanced_key_grid, "shortcut", "rename_title");
	_tmp223_ = self->display_hotkey_terminal_key_label;
	_tmp224_ = self->display_hotkey_terminal_key_entry;
	_tmp225_ = self->rename_title_key_label;
	widgets_preference_create_follow_key_row (self, _tmp223_, _tmp224_, _ ("Display shortcuts:"), _tmp225_, advanced_key_grid, "shortcut", "display_shortcuts");
	_tmp226_ = self->show_command_key_label;
	_tmp227_ = self->show_command_key_entry;
	_tmp228_ = self->display_hotkey_terminal_key_label;
	widgets_preference_create_follow_key_row (self, _tmp226_, _tmp227_, _ ("Custom commands:"), _tmp228_, advanced_key_grid, "shortcut", "custom_commands");
	_tmp229_ = self->show_remote_manage_key_label;
	_tmp230_ = self->show_remote_manage_key_entry;
	_tmp231_ = self->show_command_key_label;
	widgets_preference_create_follow_key_row (self, _tmp229_, _tmp230_, _ ("Remote management:"), _tmp231_, advanced_key_grid, "shortcut", "remote_management");
	_tmp232_ = widgets_preference_get_first_segment (self, _ ("Advanced"));
	_data16_->advanced_segment = _tmp232_;
	_tmp233_ = self->content_box;
	gtk_box_pack_start (_tmp233_, _data16_->advanced_segment, FALSE, FALSE, (guint) 0);
	_tmp234_ = widgets_preference_get_second_segment (self, _ ("Cursor"));
	_data16_->cursor_segment = _tmp234_;
	_tmp235_ = self->content_box;
	gtk_box_pack_start (_tmp235_, _data16_->cursor_segment, FALSE, FALSE, (guint) 0);
	_tmp236_ = (GtkGrid*) gtk_grid_new ();
	g_object_ref_sink (_tmp236_);
	cursor_grid = _tmp236_;
	_tmp237_ = self->content_box;
	gtk_box_pack_start (_tmp237_, (GtkWidget*) cursor_grid, FALSE, FALSE, (guint) 0);
	{
		gchar* _tmp238_ = NULL;
		WidgetsConfigWindow* _tmp239_;
		ConfigConfig* _tmp240_;
		GKeyFile* _tmp241_;
		gchar* _tmp242_;
		WidgetsCursorToggleButton* _tmp243_;
		_tmp239_ = self->parent_window;
		_tmp240_ = _tmp239_->config;
		_tmp241_ = _tmp240_->config_file;
		_tmp242_ = g_key_file_get_string (_tmp241_, "advanced", "cursor_shape", &_inner_error0_);
		_tmp238_ = _tmp242_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch1_g_key_file_error;
			}
			_g_object_unref0 (cursor_grid);
			_g_object_unref0 (advanced_key_grid);
			_g_object_unref0 (workspace_key_grid);
			_g_object_unref0 (terminal_key_grid);
			mono_or_dot_fonts = (_vala_array_free (mono_or_dot_fonts, mono_or_dot_fonts_length1, (GDestroyNotify) g_free), NULL);
			_g_object_unref0 (font_grid);
			_g_object_unref0 (opacity_grid);
			_g_object_unref0 (theme_grid);
			_g_object_unref0 (preference_box);
			_g_object_unref0 (titlebar);
			block16_data_unref (_data16_);
			_data16_ = NULL;
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return NULL;
		}
		_tmp243_ = self->cursor_style_button;
		widgets_cursor_toggle_button_set_cursor_state (_tmp243_, _tmp238_);
		_g_free0 (_tmp238_);
	}
	goto __finally1;
	__catch1_g_key_file_error:
	{
		GError* e = NULL;
		GError* _tmp244_;
		const gchar* _tmp245_;
		e = _inner_error0_;
		_inner_error0_ = NULL;
		_tmp244_ = e;
		_tmp245_ = _tmp244_->message;
		g_print ("Preference set cursor shape: %s\n", _tmp245_);
		_g_error_free0 (e);
	}
	__finally1:
	if (G_UNLIKELY (_inner_error0_ != NULL)) {
		_g_object_unref0 (cursor_grid);
		_g_object_unref0 (advanced_key_grid);
		_g_object_unref0 (workspace_key_grid);
		_g_object_unref0 (terminal_key_grid);
		mono_or_dot_fonts = (_vala_array_free (mono_or_dot_fonts, mono_or_dot_fonts_length1, (GDestroyNotify) g_free), NULL);
		_g_object_unref0 (font_grid);
		_g_object_unref0 (opacity_grid);
		_g_object_unref0 (theme_grid);
		_g_object_unref0 (preference_box);
		_g_object_unref0 (titlebar);
		block16_data_unref (_data16_);
		_data16_ = NULL;
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
		g_clear_error (&_inner_error0_);
		return NULL;
	}
	_tmp246_ = self->cursor_style_button;
	g_signal_connect_object (_tmp246_, "change-cursor-state", (GCallback) ___lambda176__widgets_cursor_toggle_button_change_cursor_state, self, 0);
	_tmp247_ = self->cursor_style_label;
	_tmp248_ = self->cursor_style_button;
	widgets_preference_adjust_option_widgets (self, _tmp247_, (GtkWidget*) _tmp248_);
	_tmp249_ = self->cursor_style_label;
	widgets_dialog_grid_attach ((WidgetsDialog*) self, cursor_grid, (GtkWidget*) _tmp249_, 0, 0, self->preference_name_width, self->grid_height);
	_tmp250_ = self->cursor_style_button;
	_tmp251_ = self->cursor_style_label;
	widgets_dialog_grid_attach_next_to ((WidgetsDialog*) self, cursor_grid, (GtkWidget*) _tmp250_, (GtkWidget*) _tmp251_, GTK_POS_RIGHT, self->preference_widget_width, self->grid_height);
	_tmp252_ = self->cursor_style_label;
	_tmp253_ = gtk_widget_get_style_context ((GtkWidget*) _tmp252_);
	gtk_style_context_add_class (_tmp253_, "preference_title");
	_tmp254_ = self->cursor_blink_checkbutton;
	_tmp255_ = self->cursor_style_label;
	_tmp256_ = widgets_preference_create_follow_check_row (self, _tmp254_, _ ("Cursor blink"), (GtkWidget*) _tmp255_, cursor_grid, "advanced", "cursor_blink_mode");
	cursor_blink_box = _tmp256_;
	_tmp257_ = self->cursor_auto_hide_checkbutton;
	_tmp258_ = widgets_preference_create_follow_check_row (self, _tmp257_, _ ("Cursor autohide"), (GtkWidget*) cursor_blink_box, cursor_grid, "advanced", "cursor_auto_hide");
	cursor_auto_hide_box = _tmp258_;
	_tmp259_ = self->copy_on_select_checkbutton;
	_tmp260_ = widgets_preference_create_follow_check_row (self, _tmp259_, _ ("Copy on select"), (GtkWidget*) cursor_auto_hide_box, cursor_grid, "advanced", "copy_on_select");
	_tmp261_ = _tmp260_;
	_g_object_unref0 (_tmp261_);
	_tmp262_ = widgets_preference_get_second_segment (self, _ ("Scroll"));
	_data16_->scroll_segment = _tmp262_;
	_tmp263_ = self->content_box;
	gtk_box_pack_start (_tmp263_, _data16_->scroll_segment, FALSE, FALSE, (guint) 0);
	_tmp264_ = (GtkGrid*) gtk_grid_new ();
	g_object_ref_sink (_tmp264_);
	scroll_grid = _tmp264_;
	_tmp265_ = self->content_box;
	gtk_box_pack_start (_tmp265_, (GtkWidget*) scroll_grid, FALSE, FALSE, (guint) 0);
	_tmp266_ = self->scroll_on_key_checkbutton;
	_tmp267_ = widgets_preference_create_check_row (self, _tmp266_, _ ("Scroll on keystroke"), scroll_grid, "advanced", "scroll_on_key");
	scroll_on_key_box = _tmp267_;
	_tmp268_ = self->scroll_on_out_checkbutton;
	_tmp269_ = widgets_preference_create_follow_check_row (self, _tmp268_, _ ("Scroll on output"), (GtkWidget*) scroll_on_key_box, scroll_grid, "advanced", "scroll_on_output");
	_tmp270_ = _tmp269_;
	_g_object_unref0 (_tmp270_);
	_tmp271_ = widgets_preference_get_second_segment (self, _ ("Window"));
	_data16_->window_segment = _tmp271_;
	_tmp272_ = self->content_box;
	gtk_box_pack_start (_tmp272_, _data16_->window_segment, FALSE, FALSE, (guint) 0);
	_tmp273_ = (GtkGrid*) gtk_grid_new ();
	g_object_ref_sink (_tmp273_);
	window_grid = _tmp273_;
	_tmp274_ = self->content_box;
	gtk_box_pack_start (_tmp274_, (GtkWidget*) window_grid, FALSE, FALSE, (guint) 0);
	_tmp275_ = gee_array_list_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, NULL, NULL, NULL);
	_g_object_unref0 (self->window_state_list);
	self->window_state_list = _tmp275_;
	_tmp276_ = self->window_state_list;
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp276_, "window");
	_tmp277_ = self->window_state_list;
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp277_, "maximize");
	_tmp278_ = self->window_state_list;
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp278_, "fullscreen");
	_tmp279_ = gee_array_list_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free, NULL, NULL, NULL);
	_g_object_unref0 (self->window_state_name_list);
	self->window_state_name_list = _tmp279_;
	_tmp280_ = self->window_state_name_list;
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp280_, _ ("Normal window"));
	_tmp281_ = self->window_state_name_list;
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp281_, _ ("Maximize"));
	_tmp282_ = self->window_state_name_list;
	gee_abstract_collection_add ((GeeAbstractCollection*) _tmp282_, _ ("Fullscreen"));
	_tmp283_ = self->window_label;
	_tmp284_ = self->window_combox;
	_tmp285_ = self->window_state_list;
	_tmp286_ = self->window_state_name_list;
	widgets_preference_create_combox_row_with_name (self, _tmp283_, _tmp284_, _ ("Use on starting:"), window_grid, _tmp285_, _tmp286_, "advanced", "use_on_starting");
	_tmp287_ = self->hide_quakewindow_after_lost_focus_checkbutton;
	_tmp288_ = self->window_label;
	_tmp289_ = widgets_preference_create_follow_check_row (self, _tmp287_, _ ("Hide Quake window after losing focus"), (GtkWidget*) _tmp288_, window_grid, "advanced", "hide_quakewindow_after_lost_focus");
	hide_quakewindow_box = _tmp289_;
	_tmp290_ = self->blur_background_checkbutton;
	_tmp291_ = widgets_preference_create_follow_check_row (self, _tmp290_, _ ("Blur background"), (GtkWidget*) hide_quakewindow_box, window_grid, "advanced", "blur_background");
	_tmp292_ = _tmp291_;
	_g_object_unref0 (_tmp292_);
	_tmp293_ = widgets_image_button_new ("reset_button", FALSE, _ ("Restore Defaults"), 12);
	g_object_ref_sink (_tmp293_);
	reset_button = _tmp293_;
	gtk_widget_set_halign ((GtkWidget*) reset_button, GTK_ALIGN_CENTER);
	gtk_widget_set_margin_top ((GtkWidget*) reset_button, self->reset_button_margin);
	gtk_widget_set_margin_bottom ((GtkWidget*) reset_button, self->reset_button_margin);
	g_signal_connect_object ((WidgetsClickEventBox*) reset_button, "clicked", (GCallback) ___lambda179__widgets_click_event_box_clicked, self, 0);
	_tmp294_ = self->content_box;
	gtk_box_pack_start (_tmp294_, (GtkWidget*) reset_button, FALSE, FALSE, (guint) 0);
	_tmp295_ = animation_animate_timer_new (_animation_animate_timer_ease_in_out_animation_animate_timer_easing_func, NULL, self->timer_interval);
	_g_object_unref0 (self->timer);
	self->timer = _tmp295_;
	_tmp296_ = self->timer;
	g_signal_connect_object (_tmp296_, "animate", (GCallback) _widgets_preference_on_animate_animation_animate_timer_animate, self, 0);
	_tmp297_ = self->slidebar;
	g_signal_connect_data (_tmp297_, "click-item", (GCallback) ___lambda180__widgets_preference_slidebar_click_item, block16_data_ref (_data16_), (GClosureNotify) block16_data_unref, 0);
	_tmp298_ = self->scrolledwindow;
	_tmp299_ = gtk_scrolled_window_get_vadjustment (_tmp298_);
	g_signal_connect_data (_tmp299_, "value-changed", (GCallback) ___lambda181__gtk_adjustment_value_changed, block16_data_ref (_data16_), (GClosureNotify) block16_data_unref, 0);
	_g_object_unref0 (reset_button);
	_g_object_unref0 (hide_quakewindow_box);
	_g_object_unref0 (window_grid);
	_g_object_unref0 (scroll_on_key_box);
	_g_object_unref0 (scroll_grid);
	_g_object_unref0 (cursor_auto_hide_box);
	_g_object_unref0 (cursor_blink_box);
	_g_object_unref0 (cursor_grid);
	_g_object_unref0 (advanced_key_grid);
	_g_object_unref0 (workspace_key_grid);
	_g_object_unref0 (terminal_key_grid);
	mono_or_dot_fonts = (_vala_array_free (mono_or_dot_fonts, mono_or_dot_fonts_length1, (GDestroyNotify) g_free), NULL);
	_g_object_unref0 (font_grid);
	_g_object_unref0 (opacity_grid);
	_g_object_unref0 (theme_grid);
	_g_object_unref0 (preference_box);
	_g_object_unref0 (titlebar);
	block16_data_unref (_data16_);
	_data16_ = NULL;
	return self;
}

WidgetsPreference*
widgets_preference_new (WidgetsConfigWindow* window,
                        GtkWidget* widget)
{
	return widgets_preference_construct (WIDGETS_TYPE_PREFERENCE, window, widget);
}

void
widgets_preference_init_config (WidgetsPreference* self)
{
	GError* _inner_error0_ = NULL;
	g_return_if_fail (self != NULL);
	{
		gdouble _tmp0_ = 0.0;
		WidgetsConfigWindow* _tmp1_;
		ConfigConfig* _tmp2_;
		GKeyFile* _tmp3_;
		WidgetsProgressBar* _tmp4_;
		gchar* _tmp5_ = NULL;
		WidgetsConfigWindow* _tmp6_;
		ConfigConfig* _tmp7_;
		GKeyFile* _tmp8_;
		gchar* _tmp9_;
		WidgetsDropdownTextButton* _tmp10_;
		GeeArrayList* _tmp11_;
		gchar* _tmp12_ = NULL;
		WidgetsConfigWindow* _tmp13_;
		ConfigConfig* _tmp14_;
		GKeyFile* _tmp15_;
		gchar* _tmp16_;
		WidgetsDropdownTextButton* _tmp17_;
		GeeArrayList* _tmp18_;
		gchar* _tmp19_ = NULL;
		WidgetsConfigWindow* _tmp20_;
		ConfigConfig* _tmp21_;
		GKeyFile* _tmp22_;
		gchar* _tmp23_;
		WidgetsShortcutEntry* _tmp24_;
		gchar* _tmp25_ = NULL;
		WidgetsConfigWindow* _tmp26_;
		ConfigConfig* _tmp27_;
		GKeyFile* _tmp28_;
		gchar* _tmp29_;
		WidgetsShortcutEntry* _tmp30_;
		gchar* _tmp31_ = NULL;
		WidgetsConfigWindow* _tmp32_;
		ConfigConfig* _tmp33_;
		GKeyFile* _tmp34_;
		gchar* _tmp35_;
		WidgetsShortcutEntry* _tmp36_;
		gchar* _tmp37_ = NULL;
		WidgetsConfigWindow* _tmp38_;
		ConfigConfig* _tmp39_;
		GKeyFile* _tmp40_;
		gchar* _tmp41_;
		WidgetsShortcutEntry* _tmp42_;
		gchar* _tmp43_ = NULL;
		WidgetsConfigWindow* _tmp44_;
		ConfigConfig* _tmp45_;
		GKeyFile* _tmp46_;
		gchar* _tmp47_;
		WidgetsShortcutEntry* _tmp48_;
		gchar* _tmp49_ = NULL;
		WidgetsConfigWindow* _tmp50_;
		ConfigConfig* _tmp51_;
		GKeyFile* _tmp52_;
		gchar* _tmp53_;
		WidgetsShortcutEntry* _tmp54_;
		gchar* _tmp55_ = NULL;
		WidgetsConfigWindow* _tmp56_;
		ConfigConfig* _tmp57_;
		GKeyFile* _tmp58_;
		gchar* _tmp59_;
		WidgetsShortcutEntry* _tmp60_;
		gchar* _tmp61_ = NULL;
		WidgetsConfigWindow* _tmp62_;
		ConfigConfig* _tmp63_;
		GKeyFile* _tmp64_;
		gchar* _tmp65_;
		WidgetsShortcutEntry* _tmp66_;
		gchar* _tmp67_ = NULL;
		WidgetsConfigWindow* _tmp68_;
		ConfigConfig* _tmp69_;
		GKeyFile* _tmp70_;
		gchar* _tmp71_;
		WidgetsShortcutEntry* _tmp72_;
		gchar* _tmp73_ = NULL;
		WidgetsConfigWindow* _tmp74_;
		ConfigConfig* _tmp75_;
		GKeyFile* _tmp76_;
		gchar* _tmp77_;
		WidgetsShortcutEntry* _tmp78_;
		gchar* _tmp79_ = NULL;
		WidgetsConfigWindow* _tmp80_;
		ConfigConfig* _tmp81_;
		GKeyFile* _tmp82_;
		gchar* _tmp83_;
		WidgetsShortcutEntry* _tmp84_;
		gchar* _tmp85_ = NULL;
		WidgetsConfigWindow* _tmp86_;
		ConfigConfig* _tmp87_;
		GKeyFile* _tmp88_;
		gchar* _tmp89_;
		WidgetsShortcutEntry* _tmp90_;
		gchar* _tmp91_ = NULL;
		WidgetsConfigWindow* _tmp92_;
		ConfigConfig* _tmp93_;
		GKeyFile* _tmp94_;
		gchar* _tmp95_;
		WidgetsShortcutEntry* _tmp96_;
		gchar* _tmp97_ = NULL;
		WidgetsConfigWindow* _tmp98_;
		ConfigConfig* _tmp99_;
		GKeyFile* _tmp100_;
		gchar* _tmp101_;
		WidgetsShortcutEntry* _tmp102_;
		gchar* _tmp103_ = NULL;
		WidgetsConfigWindow* _tmp104_;
		ConfigConfig* _tmp105_;
		GKeyFile* _tmp106_;
		gchar* _tmp107_;
		WidgetsShortcutEntry* _tmp108_;
		gchar* _tmp109_ = NULL;
		WidgetsConfigWindow* _tmp110_;
		ConfigConfig* _tmp111_;
		GKeyFile* _tmp112_;
		gchar* _tmp113_;
		WidgetsShortcutEntry* _tmp114_;
		gchar* _tmp115_ = NULL;
		WidgetsConfigWindow* _tmp116_;
		ConfigConfig* _tmp117_;
		GKeyFile* _tmp118_;
		gchar* _tmp119_;
		WidgetsShortcutEntry* _tmp120_;
		gchar* _tmp121_ = NULL;
		WidgetsConfigWindow* _tmp122_;
		ConfigConfig* _tmp123_;
		GKeyFile* _tmp124_;
		gchar* _tmp125_;
		WidgetsShortcutEntry* _tmp126_;
		gchar* _tmp127_ = NULL;
		WidgetsConfigWindow* _tmp128_;
		ConfigConfig* _tmp129_;
		GKeyFile* _tmp130_;
		gchar* _tmp131_;
		WidgetsShortcutEntry* _tmp132_;
		gchar* _tmp133_ = NULL;
		WidgetsConfigWindow* _tmp134_;
		ConfigConfig* _tmp135_;
		GKeyFile* _tmp136_;
		gchar* _tmp137_;
		WidgetsShortcutEntry* _tmp138_;
		gchar* _tmp139_ = NULL;
		WidgetsConfigWindow* _tmp140_;
		ConfigConfig* _tmp141_;
		GKeyFile* _tmp142_;
		gchar* _tmp143_;
		WidgetsShortcutEntry* _tmp144_;
		gchar* _tmp145_ = NULL;
		WidgetsConfigWindow* _tmp146_;
		ConfigConfig* _tmp147_;
		GKeyFile* _tmp148_;
		gchar* _tmp149_;
		WidgetsShortcutEntry* _tmp150_;
		gchar* _tmp151_ = NULL;
		WidgetsConfigWindow* _tmp152_;
		ConfigConfig* _tmp153_;
		GKeyFile* _tmp154_;
		gchar* _tmp155_;
		WidgetsShortcutEntry* _tmp156_;
		gchar* _tmp157_ = NULL;
		WidgetsConfigWindow* _tmp158_;
		ConfigConfig* _tmp159_;
		GKeyFile* _tmp160_;
		gchar* _tmp161_;
		WidgetsShortcutEntry* _tmp162_;
		gchar* _tmp163_ = NULL;
		WidgetsConfigWindow* _tmp164_;
		ConfigConfig* _tmp165_;
		GKeyFile* _tmp166_;
		gchar* _tmp167_;
		WidgetsShortcutEntry* _tmp168_;
		gchar* _tmp169_ = NULL;
		WidgetsConfigWindow* _tmp170_;
		ConfigConfig* _tmp171_;
		GKeyFile* _tmp172_;
		gchar* _tmp173_;
		WidgetsShortcutEntry* _tmp174_;
		gchar* _tmp175_ = NULL;
		WidgetsConfigWindow* _tmp176_;
		ConfigConfig* _tmp177_;
		GKeyFile* _tmp178_;
		gchar* _tmp179_;
		WidgetsShortcutEntry* _tmp180_;
		gchar* _tmp181_ = NULL;
		WidgetsConfigWindow* _tmp182_;
		ConfigConfig* _tmp183_;
		GKeyFile* _tmp184_;
		gchar* _tmp185_;
		WidgetsCursorToggleButton* _tmp186_;
		gboolean _tmp187_ = FALSE;
		WidgetsConfigWindow* _tmp188_;
		ConfigConfig* _tmp189_;
		GKeyFile* _tmp190_;
		WidgetsCheckButton* _tmp191_;
		gboolean _tmp192_ = FALSE;
		WidgetsConfigWindow* _tmp193_;
		ConfigConfig* _tmp194_;
		GKeyFile* _tmp195_;
		WidgetsCheckButton* _tmp196_;
		gboolean _tmp197_ = FALSE;
		WidgetsConfigWindow* _tmp198_;
		ConfigConfig* _tmp199_;
		GKeyFile* _tmp200_;
		WidgetsCheckButton* _tmp201_;
		gboolean _tmp202_ = FALSE;
		WidgetsConfigWindow* _tmp203_;
		ConfigConfig* _tmp204_;
		GKeyFile* _tmp205_;
		WidgetsCheckButton* _tmp206_;
		gboolean _tmp207_ = FALSE;
		WidgetsConfigWindow* _tmp208_;
		ConfigConfig* _tmp209_;
		GKeyFile* _tmp210_;
		WidgetsCheckButton* _tmp211_;
		gboolean _tmp212_ = FALSE;
		WidgetsConfigWindow* _tmp213_;
		ConfigConfig* _tmp214_;
		GKeyFile* _tmp215_;
		WidgetsCheckButton* _tmp216_;
		gboolean _tmp217_ = FALSE;
		WidgetsConfigWindow* _tmp218_;
		ConfigConfig* _tmp219_;
		GKeyFile* _tmp220_;
		WidgetsCheckButton* _tmp221_;
		gint _tmp222_ = 0;
		WidgetsConfigWindow* _tmp223_;
		ConfigConfig* _tmp224_;
		GKeyFile* _tmp225_;
		WidgetsSpinButton* _tmp226_;
		_tmp1_ = self->parent_window;
		_tmp2_ = _tmp1_->config;
		_tmp3_ = _tmp2_->config_file;
		_tmp0_ = g_key_file_get_double (_tmp3_, "general", "opacity", &_inner_error0_);
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp4_ = self->opacity_progressbar;
		widgets_progress_bar_set_percent (_tmp4_, _tmp0_);
		_tmp6_ = self->parent_window;
		_tmp7_ = _tmp6_->config;
		_tmp8_ = _tmp7_->config_file;
		_tmp9_ = g_key_file_get_value (_tmp8_, "general", "font", &_inner_error0_);
		_tmp5_ = _tmp9_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp10_ = self->font_combox;
		_tmp11_ = self->font_names;
		gtk_combo_box_set_active ((GtkComboBox*) _tmp10_, gee_abstract_list_index_of ((GeeAbstractList*) _tmp11_, _tmp5_));
		_tmp13_ = self->parent_window;
		_tmp14_ = _tmp13_->config;
		_tmp15_ = _tmp14_->config_file;
		_tmp16_ = g_key_file_get_value (_tmp15_, "advanced", "use_on_starting", &_inner_error0_);
		_tmp12_ = _tmp16_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp17_ = self->window_combox;
		_tmp18_ = self->window_state_list;
		gtk_combo_box_set_active ((GtkComboBox*) _tmp17_, gee_abstract_list_index_of ((GeeAbstractList*) _tmp18_, _tmp12_));
		_tmp20_ = self->parent_window;
		_tmp21_ = _tmp20_->config;
		_tmp22_ = _tmp21_->config_file;
		_tmp23_ = g_key_file_get_string (_tmp22_, "shortcut", "copy", &_inner_error0_);
		_tmp19_ = _tmp23_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp24_ = self->copy_key_entry;
		widgets_shortcut_entry_set_text (_tmp24_, _tmp19_);
		_tmp26_ = self->parent_window;
		_tmp27_ = _tmp26_->config;
		_tmp28_ = _tmp27_->config_file;
		_tmp29_ = g_key_file_get_string (_tmp28_, "shortcut", "paste", &_inner_error0_);
		_tmp25_ = _tmp29_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp30_ = self->paste_key_entry;
		widgets_shortcut_entry_set_text (_tmp30_, _tmp25_);
		_tmp32_ = self->parent_window;
		_tmp33_ = _tmp32_->config;
		_tmp34_ = _tmp33_->config_file;
		_tmp35_ = g_key_file_get_string (_tmp34_, "shortcut", "open", &_inner_error0_);
		_tmp31_ = _tmp35_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp36_ = self->open_key_entry;
		widgets_shortcut_entry_set_text (_tmp36_, _tmp31_);
		_tmp38_ = self->parent_window;
		_tmp39_ = _tmp38_->config;
		_tmp40_ = _tmp39_->config_file;
		_tmp41_ = g_key_file_get_string (_tmp40_, "shortcut", "search", &_inner_error0_);
		_tmp37_ = _tmp41_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp42_ = self->search_key_entry;
		widgets_shortcut_entry_set_text (_tmp42_, _tmp37_);
		_tmp44_ = self->parent_window;
		_tmp45_ = _tmp44_->config;
		_tmp46_ = _tmp45_->config_file;
		_tmp47_ = g_key_file_get_string (_tmp46_, "shortcut", "zoom_in", &_inner_error0_);
		_tmp43_ = _tmp47_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp48_ = self->zoom_in_key_entry;
		widgets_shortcut_entry_set_text (_tmp48_, _tmp43_);
		_tmp50_ = self->parent_window;
		_tmp51_ = _tmp50_->config;
		_tmp52_ = _tmp51_->config_file;
		_tmp53_ = g_key_file_get_string (_tmp52_, "shortcut", "zoom_out", &_inner_error0_);
		_tmp49_ = _tmp53_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp54_ = self->zoom_out_key_entry;
		widgets_shortcut_entry_set_text (_tmp54_, _tmp49_);
		_tmp56_ = self->parent_window;
		_tmp57_ = _tmp56_->config;
		_tmp58_ = _tmp57_->config_file;
		_tmp59_ = g_key_file_get_string (_tmp58_, "shortcut", "default_size", &_inner_error0_);
		_tmp55_ = _tmp59_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp60_ = self->zoom_reset_key_entry;
		widgets_shortcut_entry_set_text (_tmp60_, _tmp55_);
		_tmp62_ = self->parent_window;
		_tmp63_ = _tmp62_->config;
		_tmp64_ = _tmp63_->config_file;
		_tmp65_ = g_key_file_get_string (_tmp64_, "shortcut", "jump_to_next_command", &_inner_error0_);
		_tmp61_ = _tmp65_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp66_ = self->jump_to_next_command_key_entry;
		widgets_shortcut_entry_set_text (_tmp66_, _tmp61_);
		_tmp68_ = self->parent_window;
		_tmp69_ = _tmp68_->config;
		_tmp70_ = _tmp69_->config_file;
		_tmp71_ = g_key_file_get_string (_tmp70_, "shortcut", "jump_to_previous_command", &_inner_error0_);
		_tmp67_ = _tmp71_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp72_ = self->jump_to_previous_command_key_entry;
		widgets_shortcut_entry_set_text (_tmp72_, _tmp67_);
		_tmp74_ = self->parent_window;
		_tmp75_ = _tmp74_->config;
		_tmp76_ = _tmp75_->config_file;
		_tmp77_ = g_key_file_get_string (_tmp76_, "shortcut", "select_all", &_inner_error0_);
		_tmp73_ = _tmp77_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp78_ = self->select_all_key_entry;
		widgets_shortcut_entry_set_text (_tmp78_, _tmp73_);
		_tmp80_ = self->parent_window;
		_tmp81_ = _tmp80_->config;
		_tmp82_ = _tmp81_->config_file;
		_tmp83_ = g_key_file_get_string (_tmp82_, "shortcut", "new_workspace", &_inner_error0_);
		_tmp79_ = _tmp83_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp73_);
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp84_ = self->new_workspace_key_entry;
		widgets_shortcut_entry_set_text (_tmp84_, _tmp79_);
		_tmp86_ = self->parent_window;
		_tmp87_ = _tmp86_->config;
		_tmp88_ = _tmp87_->config_file;
		_tmp89_ = g_key_file_get_string (_tmp88_, "shortcut", "close_workspace", &_inner_error0_);
		_tmp85_ = _tmp89_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp79_);
			_g_free0 (_tmp73_);
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp90_ = self->close_workspace_key_entry;
		widgets_shortcut_entry_set_text (_tmp90_, _tmp85_);
		_tmp92_ = self->parent_window;
		_tmp93_ = _tmp92_->config;
		_tmp94_ = _tmp93_->config_file;
		_tmp95_ = g_key_file_get_string (_tmp94_, "shortcut", "previous_workspace", &_inner_error0_);
		_tmp91_ = _tmp95_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp85_);
			_g_free0 (_tmp79_);
			_g_free0 (_tmp73_);
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp96_ = self->previous_workspace_key_entry;
		widgets_shortcut_entry_set_text (_tmp96_, _tmp91_);
		_tmp98_ = self->parent_window;
		_tmp99_ = _tmp98_->config;
		_tmp100_ = _tmp99_->config_file;
		_tmp101_ = g_key_file_get_string (_tmp100_, "shortcut", "next_workspace", &_inner_error0_);
		_tmp97_ = _tmp101_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp91_);
			_g_free0 (_tmp85_);
			_g_free0 (_tmp79_);
			_g_free0 (_tmp73_);
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp102_ = self->next_workspace_key_entry;
		widgets_shortcut_entry_set_text (_tmp102_, _tmp97_);
		_tmp104_ = self->parent_window;
		_tmp105_ = _tmp104_->config;
		_tmp106_ = _tmp105_->config_file;
		_tmp107_ = g_key_file_get_string (_tmp106_, "shortcut", "vertical_split", &_inner_error0_);
		_tmp103_ = _tmp107_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp97_);
			_g_free0 (_tmp91_);
			_g_free0 (_tmp85_);
			_g_free0 (_tmp79_);
			_g_free0 (_tmp73_);
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp108_ = self->split_vertically_key_entry;
		widgets_shortcut_entry_set_text (_tmp108_, _tmp103_);
		_tmp110_ = self->parent_window;
		_tmp111_ = _tmp110_->config;
		_tmp112_ = _tmp111_->config_file;
		_tmp113_ = g_key_file_get_string (_tmp112_, "shortcut", "horizontal_split", &_inner_error0_);
		_tmp109_ = _tmp113_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp103_);
			_g_free0 (_tmp97_);
			_g_free0 (_tmp91_);
			_g_free0 (_tmp85_);
			_g_free0 (_tmp79_);
			_g_free0 (_tmp73_);
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp114_ = self->split_horizontally_key_entry;
		widgets_shortcut_entry_set_text (_tmp114_, _tmp109_);
		_tmp116_ = self->parent_window;
		_tmp117_ = _tmp116_->config;
		_tmp118_ = _tmp117_->config_file;
		_tmp119_ = g_key_file_get_string (_tmp118_, "shortcut", "select_upper_window", &_inner_error0_);
		_tmp115_ = _tmp119_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp109_);
			_g_free0 (_tmp103_);
			_g_free0 (_tmp97_);
			_g_free0 (_tmp91_);
			_g_free0 (_tmp85_);
			_g_free0 (_tmp79_);
			_g_free0 (_tmp73_);
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp120_ = self->select_up_window_key_entry;
		widgets_shortcut_entry_set_text (_tmp120_, _tmp115_);
		_tmp122_ = self->parent_window;
		_tmp123_ = _tmp122_->config;
		_tmp124_ = _tmp123_->config_file;
		_tmp125_ = g_key_file_get_string (_tmp124_, "shortcut", "select_lower_window", &_inner_error0_);
		_tmp121_ = _tmp125_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp115_);
			_g_free0 (_tmp109_);
			_g_free0 (_tmp103_);
			_g_free0 (_tmp97_);
			_g_free0 (_tmp91_);
			_g_free0 (_tmp85_);
			_g_free0 (_tmp79_);
			_g_free0 (_tmp73_);
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp126_ = self->select_down_window_key_entry;
		widgets_shortcut_entry_set_text (_tmp126_, _tmp121_);
		_tmp128_ = self->parent_window;
		_tmp129_ = _tmp128_->config;
		_tmp130_ = _tmp129_->config_file;
		_tmp131_ = g_key_file_get_string (_tmp130_, "shortcut", "select_left_window", &_inner_error0_);
		_tmp127_ = _tmp131_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp121_);
			_g_free0 (_tmp115_);
			_g_free0 (_tmp109_);
			_g_free0 (_tmp103_);
			_g_free0 (_tmp97_);
			_g_free0 (_tmp91_);
			_g_free0 (_tmp85_);
			_g_free0 (_tmp79_);
			_g_free0 (_tmp73_);
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp132_ = self->select_left_window_key_entry;
		widgets_shortcut_entry_set_text (_tmp132_, _tmp127_);
		_tmp134_ = self->parent_window;
		_tmp135_ = _tmp134_->config;
		_tmp136_ = _tmp135_->config_file;
		_tmp137_ = g_key_file_get_string (_tmp136_, "shortcut", "select_right_window", &_inner_error0_);
		_tmp133_ = _tmp137_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp127_);
			_g_free0 (_tmp121_);
			_g_free0 (_tmp115_);
			_g_free0 (_tmp109_);
			_g_free0 (_tmp103_);
			_g_free0 (_tmp97_);
			_g_free0 (_tmp91_);
			_g_free0 (_tmp85_);
			_g_free0 (_tmp79_);
			_g_free0 (_tmp73_);
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp138_ = self->select_right_window_key_entry;
		widgets_shortcut_entry_set_text (_tmp138_, _tmp133_);
		_tmp140_ = self->parent_window;
		_tmp141_ = _tmp140_->config;
		_tmp142_ = _tmp141_->config_file;
		_tmp143_ = g_key_file_get_string (_tmp142_, "shortcut", "close_window", &_inner_error0_);
		_tmp139_ = _tmp143_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp133_);
			_g_free0 (_tmp127_);
			_g_free0 (_tmp121_);
			_g_free0 (_tmp115_);
			_g_free0 (_tmp109_);
			_g_free0 (_tmp103_);
			_g_free0 (_tmp97_);
			_g_free0 (_tmp91_);
			_g_free0 (_tmp85_);
			_g_free0 (_tmp79_);
			_g_free0 (_tmp73_);
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp144_ = self->close_window_key_entry;
		widgets_shortcut_entry_set_text (_tmp144_, _tmp139_);
		_tmp146_ = self->parent_window;
		_tmp147_ = _tmp146_->config;
		_tmp148_ = _tmp147_->config_file;
		_tmp149_ = g_key_file_get_string (_tmp148_, "shortcut", "close_other_windows", &_inner_error0_);
		_tmp145_ = _tmp149_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp139_);
			_g_free0 (_tmp133_);
			_g_free0 (_tmp127_);
			_g_free0 (_tmp121_);
			_g_free0 (_tmp115_);
			_g_free0 (_tmp109_);
			_g_free0 (_tmp103_);
			_g_free0 (_tmp97_);
			_g_free0 (_tmp91_);
			_g_free0 (_tmp85_);
			_g_free0 (_tmp79_);
			_g_free0 (_tmp73_);
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp150_ = self->close_other_windows_key_entry;
		widgets_shortcut_entry_set_text (_tmp150_, _tmp145_);
		_tmp152_ = self->parent_window;
		_tmp153_ = _tmp152_->config;
		_tmp154_ = _tmp153_->config_file;
		_tmp155_ = g_key_file_get_string (_tmp154_, "shortcut", "switch_fullscreen", &_inner_error0_);
		_tmp151_ = _tmp155_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp145_);
			_g_free0 (_tmp139_);
			_g_free0 (_tmp133_);
			_g_free0 (_tmp127_);
			_g_free0 (_tmp121_);
			_g_free0 (_tmp115_);
			_g_free0 (_tmp109_);
			_g_free0 (_tmp103_);
			_g_free0 (_tmp97_);
			_g_free0 (_tmp91_);
			_g_free0 (_tmp85_);
			_g_free0 (_tmp79_);
			_g_free0 (_tmp73_);
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp156_ = self->fullscreen_key_entry;
		widgets_shortcut_entry_set_text (_tmp156_, _tmp151_);
		_tmp158_ = self->parent_window;
		_tmp159_ = _tmp158_->config;
		_tmp160_ = _tmp159_->config_file;
		_tmp161_ = g_key_file_get_string (_tmp160_, "shortcut", "rename_title", &_inner_error0_);
		_tmp157_ = _tmp161_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp151_);
			_g_free0 (_tmp145_);
			_g_free0 (_tmp139_);
			_g_free0 (_tmp133_);
			_g_free0 (_tmp127_);
			_g_free0 (_tmp121_);
			_g_free0 (_tmp115_);
			_g_free0 (_tmp109_);
			_g_free0 (_tmp103_);
			_g_free0 (_tmp97_);
			_g_free0 (_tmp91_);
			_g_free0 (_tmp85_);
			_g_free0 (_tmp79_);
			_g_free0 (_tmp73_);
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp162_ = self->rename_title_key_entry;
		widgets_shortcut_entry_set_text (_tmp162_, _tmp157_);
		_tmp164_ = self->parent_window;
		_tmp165_ = _tmp164_->config;
		_tmp166_ = _tmp165_->config_file;
		_tmp167_ = g_key_file_get_string (_tmp166_, "shortcut", "display_shortcuts", &_inner_error0_);
		_tmp163_ = _tmp167_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp157_);
			_g_free0 (_tmp151_);
			_g_free0 (_tmp145_);
			_g_free0 (_tmp139_);
			_g_free0 (_tmp133_);
			_g_free0 (_tmp127_);
			_g_free0 (_tmp121_);
			_g_free0 (_tmp115_);
			_g_free0 (_tmp109_);
			_g_free0 (_tmp103_);
			_g_free0 (_tmp97_);
			_g_free0 (_tmp91_);
			_g_free0 (_tmp85_);
			_g_free0 (_tmp79_);
			_g_free0 (_tmp73_);
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp168_ = self->display_hotkey_terminal_key_entry;
		widgets_shortcut_entry_set_text (_tmp168_, _tmp163_);
		_tmp170_ = self->parent_window;
		_tmp171_ = _tmp170_->config;
		_tmp172_ = _tmp171_->config_file;
		_tmp173_ = g_key_file_get_string (_tmp172_, "shortcut", "custom_commands", &_inner_error0_);
		_tmp169_ = _tmp173_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp163_);
			_g_free0 (_tmp157_);
			_g_free0 (_tmp151_);
			_g_free0 (_tmp145_);
			_g_free0 (_tmp139_);
			_g_free0 (_tmp133_);
			_g_free0 (_tmp127_);
			_g_free0 (_tmp121_);
			_g_free0 (_tmp115_);
			_g_free0 (_tmp109_);
			_g_free0 (_tmp103_);
			_g_free0 (_tmp97_);
			_g_free0 (_tmp91_);
			_g_free0 (_tmp85_);
			_g_free0 (_tmp79_);
			_g_free0 (_tmp73_);
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp174_ = self->show_command_key_entry;
		widgets_shortcut_entry_set_text (_tmp174_, _tmp169_);
		_tmp176_ = self->parent_window;
		_tmp177_ = _tmp176_->config;
		_tmp178_ = _tmp177_->config_file;
		_tmp179_ = g_key_file_get_string (_tmp178_, "shortcut", "remote_management", &_inner_error0_);
		_tmp175_ = _tmp179_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp169_);
			_g_free0 (_tmp163_);
			_g_free0 (_tmp157_);
			_g_free0 (_tmp151_);
			_g_free0 (_tmp145_);
			_g_free0 (_tmp139_);
			_g_free0 (_tmp133_);
			_g_free0 (_tmp127_);
			_g_free0 (_tmp121_);
			_g_free0 (_tmp115_);
			_g_free0 (_tmp109_);
			_g_free0 (_tmp103_);
			_g_free0 (_tmp97_);
			_g_free0 (_tmp91_);
			_g_free0 (_tmp85_);
			_g_free0 (_tmp79_);
			_g_free0 (_tmp73_);
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp180_ = self->show_remote_manage_key_entry;
		widgets_shortcut_entry_set_text (_tmp180_, _tmp175_);
		_tmp182_ = self->parent_window;
		_tmp183_ = _tmp182_->config;
		_tmp184_ = _tmp183_->config_file;
		_tmp185_ = g_key_file_get_string (_tmp184_, "advanced", "cursor_shape", &_inner_error0_);
		_tmp181_ = _tmp185_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp175_);
			_g_free0 (_tmp169_);
			_g_free0 (_tmp163_);
			_g_free0 (_tmp157_);
			_g_free0 (_tmp151_);
			_g_free0 (_tmp145_);
			_g_free0 (_tmp139_);
			_g_free0 (_tmp133_);
			_g_free0 (_tmp127_);
			_g_free0 (_tmp121_);
			_g_free0 (_tmp115_);
			_g_free0 (_tmp109_);
			_g_free0 (_tmp103_);
			_g_free0 (_tmp97_);
			_g_free0 (_tmp91_);
			_g_free0 (_tmp85_);
			_g_free0 (_tmp79_);
			_g_free0 (_tmp73_);
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp186_ = self->cursor_style_button;
		widgets_cursor_toggle_button_set_cursor_state (_tmp186_, _tmp181_);
		_tmp188_ = self->parent_window;
		_tmp189_ = _tmp188_->config;
		_tmp190_ = _tmp189_->config_file;
		_tmp187_ = g_key_file_get_boolean (_tmp190_, "advanced", "cursor_blink_mode", &_inner_error0_);
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp181_);
			_g_free0 (_tmp175_);
			_g_free0 (_tmp169_);
			_g_free0 (_tmp163_);
			_g_free0 (_tmp157_);
			_g_free0 (_tmp151_);
			_g_free0 (_tmp145_);
			_g_free0 (_tmp139_);
			_g_free0 (_tmp133_);
			_g_free0 (_tmp127_);
			_g_free0 (_tmp121_);
			_g_free0 (_tmp115_);
			_g_free0 (_tmp109_);
			_g_free0 (_tmp103_);
			_g_free0 (_tmp97_);
			_g_free0 (_tmp91_);
			_g_free0 (_tmp85_);
			_g_free0 (_tmp79_);
			_g_free0 (_tmp73_);
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp191_ = self->cursor_blink_checkbutton;
		gtk_toggle_button_set_active ((GtkToggleButton*) _tmp191_, _tmp187_);
		_tmp193_ = self->parent_window;
		_tmp194_ = _tmp193_->config;
		_tmp195_ = _tmp194_->config_file;
		_tmp192_ = g_key_file_get_boolean (_tmp195_, "advanced", "cursor_auto_hide", &_inner_error0_);
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp181_);
			_g_free0 (_tmp175_);
			_g_free0 (_tmp169_);
			_g_free0 (_tmp163_);
			_g_free0 (_tmp157_);
			_g_free0 (_tmp151_);
			_g_free0 (_tmp145_);
			_g_free0 (_tmp139_);
			_g_free0 (_tmp133_);
			_g_free0 (_tmp127_);
			_g_free0 (_tmp121_);
			_g_free0 (_tmp115_);
			_g_free0 (_tmp109_);
			_g_free0 (_tmp103_);
			_g_free0 (_tmp97_);
			_g_free0 (_tmp91_);
			_g_free0 (_tmp85_);
			_g_free0 (_tmp79_);
			_g_free0 (_tmp73_);
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp196_ = self->cursor_auto_hide_checkbutton;
		gtk_toggle_button_set_active ((GtkToggleButton*) _tmp196_, _tmp192_);
		_tmp198_ = self->parent_window;
		_tmp199_ = _tmp198_->config;
		_tmp200_ = _tmp199_->config_file;
		_tmp197_ = g_key_file_get_boolean (_tmp200_, "advanced", "copy_on_select", &_inner_error0_);
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp181_);
			_g_free0 (_tmp175_);
			_g_free0 (_tmp169_);
			_g_free0 (_tmp163_);
			_g_free0 (_tmp157_);
			_g_free0 (_tmp151_);
			_g_free0 (_tmp145_);
			_g_free0 (_tmp139_);
			_g_free0 (_tmp133_);
			_g_free0 (_tmp127_);
			_g_free0 (_tmp121_);
			_g_free0 (_tmp115_);
			_g_free0 (_tmp109_);
			_g_free0 (_tmp103_);
			_g_free0 (_tmp97_);
			_g_free0 (_tmp91_);
			_g_free0 (_tmp85_);
			_g_free0 (_tmp79_);
			_g_free0 (_tmp73_);
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp201_ = self->copy_on_select_checkbutton;
		gtk_toggle_button_set_active ((GtkToggleButton*) _tmp201_, _tmp197_);
		_tmp203_ = self->parent_window;
		_tmp204_ = _tmp203_->config;
		_tmp205_ = _tmp204_->config_file;
		_tmp202_ = g_key_file_get_boolean (_tmp205_, "advanced", "scroll_on_key", &_inner_error0_);
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp181_);
			_g_free0 (_tmp175_);
			_g_free0 (_tmp169_);
			_g_free0 (_tmp163_);
			_g_free0 (_tmp157_);
			_g_free0 (_tmp151_);
			_g_free0 (_tmp145_);
			_g_free0 (_tmp139_);
			_g_free0 (_tmp133_);
			_g_free0 (_tmp127_);
			_g_free0 (_tmp121_);
			_g_free0 (_tmp115_);
			_g_free0 (_tmp109_);
			_g_free0 (_tmp103_);
			_g_free0 (_tmp97_);
			_g_free0 (_tmp91_);
			_g_free0 (_tmp85_);
			_g_free0 (_tmp79_);
			_g_free0 (_tmp73_);
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp206_ = self->scroll_on_key_checkbutton;
		gtk_toggle_button_set_active ((GtkToggleButton*) _tmp206_, _tmp202_);
		_tmp208_ = self->parent_window;
		_tmp209_ = _tmp208_->config;
		_tmp210_ = _tmp209_->config_file;
		_tmp207_ = g_key_file_get_boolean (_tmp210_, "advanced", "scroll_on_output", &_inner_error0_);
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp181_);
			_g_free0 (_tmp175_);
			_g_free0 (_tmp169_);
			_g_free0 (_tmp163_);
			_g_free0 (_tmp157_);
			_g_free0 (_tmp151_);
			_g_free0 (_tmp145_);
			_g_free0 (_tmp139_);
			_g_free0 (_tmp133_);
			_g_free0 (_tmp127_);
			_g_free0 (_tmp121_);
			_g_free0 (_tmp115_);
			_g_free0 (_tmp109_);
			_g_free0 (_tmp103_);
			_g_free0 (_tmp97_);
			_g_free0 (_tmp91_);
			_g_free0 (_tmp85_);
			_g_free0 (_tmp79_);
			_g_free0 (_tmp73_);
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp211_ = self->scroll_on_out_checkbutton;
		gtk_toggle_button_set_active ((GtkToggleButton*) _tmp211_, _tmp207_);
		_tmp213_ = self->parent_window;
		_tmp214_ = _tmp213_->config;
		_tmp215_ = _tmp214_->config_file;
		_tmp212_ = g_key_file_get_boolean (_tmp215_, "advanced", "blur_background", &_inner_error0_);
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp181_);
			_g_free0 (_tmp175_);
			_g_free0 (_tmp169_);
			_g_free0 (_tmp163_);
			_g_free0 (_tmp157_);
			_g_free0 (_tmp151_);
			_g_free0 (_tmp145_);
			_g_free0 (_tmp139_);
			_g_free0 (_tmp133_);
			_g_free0 (_tmp127_);
			_g_free0 (_tmp121_);
			_g_free0 (_tmp115_);
			_g_free0 (_tmp109_);
			_g_free0 (_tmp103_);
			_g_free0 (_tmp97_);
			_g_free0 (_tmp91_);
			_g_free0 (_tmp85_);
			_g_free0 (_tmp79_);
			_g_free0 (_tmp73_);
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp216_ = self->blur_background_checkbutton;
		gtk_toggle_button_set_active ((GtkToggleButton*) _tmp216_, _tmp212_);
		_tmp218_ = self->parent_window;
		_tmp219_ = _tmp218_->config;
		_tmp220_ = _tmp219_->config_file;
		_tmp217_ = g_key_file_get_boolean (_tmp220_, "advanced", "hide_quakewindow_after_lost_focus", &_inner_error0_);
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp181_);
			_g_free0 (_tmp175_);
			_g_free0 (_tmp169_);
			_g_free0 (_tmp163_);
			_g_free0 (_tmp157_);
			_g_free0 (_tmp151_);
			_g_free0 (_tmp145_);
			_g_free0 (_tmp139_);
			_g_free0 (_tmp133_);
			_g_free0 (_tmp127_);
			_g_free0 (_tmp121_);
			_g_free0 (_tmp115_);
			_g_free0 (_tmp109_);
			_g_free0 (_tmp103_);
			_g_free0 (_tmp97_);
			_g_free0 (_tmp91_);
			_g_free0 (_tmp85_);
			_g_free0 (_tmp79_);
			_g_free0 (_tmp73_);
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp221_ = self->hide_quakewindow_after_lost_focus_checkbutton;
		gtk_toggle_button_set_active ((GtkToggleButton*) _tmp221_, _tmp217_);
		_tmp223_ = self->parent_window;
		_tmp224_ = _tmp223_->config;
		_tmp225_ = _tmp224_->config_file;
		_tmp222_ = g_key_file_get_integer (_tmp225_, "general", "font_size", &_inner_error0_);
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_free0 (_tmp181_);
			_g_free0 (_tmp175_);
			_g_free0 (_tmp169_);
			_g_free0 (_tmp163_);
			_g_free0 (_tmp157_);
			_g_free0 (_tmp151_);
			_g_free0 (_tmp145_);
			_g_free0 (_tmp139_);
			_g_free0 (_tmp133_);
			_g_free0 (_tmp127_);
			_g_free0 (_tmp121_);
			_g_free0 (_tmp115_);
			_g_free0 (_tmp109_);
			_g_free0 (_tmp103_);
			_g_free0 (_tmp97_);
			_g_free0 (_tmp91_);
			_g_free0 (_tmp85_);
			_g_free0 (_tmp79_);
			_g_free0 (_tmp73_);
			_g_free0 (_tmp67_);
			_g_free0 (_tmp61_);
			_g_free0 (_tmp55_);
			_g_free0 (_tmp49_);
			_g_free0 (_tmp43_);
			_g_free0 (_tmp37_);
			_g_free0 (_tmp31_);
			_g_free0 (_tmp25_);
			_g_free0 (_tmp19_);
			_g_free0 (_tmp12_);
			_g_free0 (_tmp5_);
			if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
				goto __catch0_g_key_file_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		_tmp226_ = self->font_size_spinbutton;
		gtk_spin_button_set_value ((GtkSpinButton*) _tmp226_, (gdouble) _tmp222_);
		_g_free0 (_tmp181_);
		_g_free0 (_tmp175_);
		_g_free0 (_tmp169_);
		_g_free0 (_tmp163_);
		_g_free0 (_tmp157_);
		_g_free0 (_tmp151_);
		_g_free0 (_tmp145_);
		_g_free0 (_tmp139_);
		_g_free0 (_tmp133_);
		_g_free0 (_tmp127_);
		_g_free0 (_tmp121_);
		_g_free0 (_tmp115_);
		_g_free0 (_tmp109_);
		_g_free0 (_tmp103_);
		_g_free0 (_tmp97_);
		_g_free0 (_tmp91_);
		_g_free0 (_tmp85_);
		_g_free0 (_tmp79_);
		_g_free0 (_tmp73_);
		_g_free0 (_tmp67_);
		_g_free0 (_tmp61_);
		_g_free0 (_tmp55_);
		_g_free0 (_tmp49_);
		_g_free0 (_tmp43_);
		_g_free0 (_tmp37_);
		_g_free0 (_tmp31_);
		_g_free0 (_tmp25_);
		_g_free0 (_tmp19_);
		_g_free0 (_tmp12_);
		_g_free0 (_tmp5_);
	}
	goto __finally0;
	__catch0_g_key_file_error:
	{
		GError* e = NULL;
		GError* _tmp227_;
		const gchar* _tmp228_;
		e = _inner_error0_;
		_inner_error0_ = NULL;
		_tmp227_ = e;
		_tmp228_ = _tmp227_->message;
		g_print ("Preference init_config: %s\n", _tmp228_);
		_g_error_free0 (e);
	}
	__finally0:
	if (G_UNLIKELY (_inner_error0_ != NULL)) {
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
		g_clear_error (&_inner_error0_);
		return;
	}
}

gboolean
widgets_preference_item_in_visible_area (WidgetsPreference* self,
                                         GtkWidget* item)
{
	gint widget_x = 0;
	gint widget_y = 0;
	GtkBox* _tmp0_;
	gint _tmp1_ = 0;
	gint _tmp2_ = 0;
	GtkScrolledWindow* _tmp3_;
	GtkAdjustment* _tmp4_;
	gboolean result;
	g_return_val_if_fail (self != NULL, FALSE);
	g_return_val_if_fail (item != NULL, FALSE);
	_tmp0_ = self->content_box;
	gtk_widget_translate_coordinates ((GtkWidget*) _tmp0_, item, 0, 0, &_tmp1_, &_tmp2_);
	widget_x = _tmp1_;
	widget_y = _tmp2_;
	_tmp3_ = self->scrolledwindow;
	_tmp4_ = gtk_scrolled_window_get_vadjustment (_tmp3_);
	result = fabs ((gdouble) widget_y) > (gtk_adjustment_get_value (_tmp4_) - (self->segment_margin_top * 2));
	return result;
}

void
widgets_preference_scroll_to_widget (WidgetsPreference* self,
                                     GtkScrolledWindow* scrolledwindow,
                                     GtkBox* box,
                                     GtkWidget* widget)
{
	gint widget_x = 0;
	gint widget_y = 0;
	GtkBox* _tmp0_;
	gint _tmp1_ = 0;
	gint _tmp2_ = 0;
	GtkAdjustment* adjust = NULL;
	GtkAdjustment* _tmp3_;
	GtkAdjustment* _tmp4_;
	AnimationAnimateTimer* _tmp5_;
	g_return_if_fail (self != NULL);
	g_return_if_fail (scrolledwindow != NULL);
	g_return_if_fail (box != NULL);
	g_return_if_fail (widget != NULL);
	_tmp0_ = self->content_box;
	gtk_widget_translate_coordinates ((GtkWidget*) _tmp0_, widget, 0, 0, &_tmp1_, &_tmp2_);
	widget_x = _tmp1_;
	widget_y = _tmp2_;
	_tmp3_ = gtk_scrolled_window_get_vadjustment (scrolledwindow);
	_tmp4_ = _g_object_ref0 (_tmp3_);
	adjust = _tmp4_;
	self->timer_start_value = gtk_adjustment_get_value (adjust);
	self->timer_end_value = fabs ((gdouble) widget_y);
	self->in_animation = TRUE;
	_tmp5_ = self->timer;
	animation_animate_timer_reset (_tmp5_, -1);
	_g_object_unref0 (adjust);
}

void
widgets_preference_on_animate (WidgetsPreference* self,
                               gdouble progress)
{
	GtkAdjustment* adjust = NULL;
	GtkScrolledWindow* _tmp0_;
	GtkAdjustment* _tmp1_;
	GtkAdjustment* _tmp2_;
	GtkAdjustment* _tmp3_;
	g_return_if_fail (self != NULL);
	_tmp0_ = self->scrolledwindow;
	_tmp1_ = gtk_scrolled_window_get_vadjustment (_tmp0_);
	_tmp2_ = _g_object_ref0 (_tmp1_);
	adjust = _tmp2_;
	_tmp3_ = adjust;
	gtk_adjustment_set_value (_tmp3_, self->timer_start_value + ((self->timer_end_value - self->timer_start_value) * progress));
	if (progress >= 1.0) {
		AnimationAnimateTimer* _tmp4_;
		_tmp4_ = self->timer;
		animation_animate_timer_stop (_tmp4_);
		self->in_animation = FALSE;
	}
	_g_object_unref0 (adjust);
}

static gboolean
__lambda171_ (WidgetsPreference* self,
              GtkWidget* w,
              cairo_t* cr)
{
	GtkAllocation rect = {0};
	GtkAllocation _tmp0_ = {0};
	GtkAllocation _tmp1_;
	gboolean result;
	g_return_val_if_fail (w != NULL, FALSE);
	g_return_val_if_fail (cr != NULL, FALSE);
	gtk_widget_get_allocation ((GtkWidget*) self, &_tmp0_);
	rect = _tmp0_;
	cairo_set_source_rgba (cr, (gdouble) 0, (gdouble) 0, (gdouble) 0, 0.1);
	_tmp1_ = rect;
	draw_draw_rectangle (cr, 0, 12, _tmp1_.width, 1, TRUE);
	result = TRUE;
	return result;
}

static gboolean
___lambda171__gtk_widget_draw (GtkWidget* _sender,
                               cairo_t* cr,
                               gpointer self)
{
	gboolean result;
	result = __lambda171_ ((WidgetsPreference*) self, _sender, cr);
	return result;
}

GtkWidget*
widgets_preference_get_first_segment (WidgetsPreference* self,
                                      const gchar* name)
{
	GtkLabel* segment = NULL;
	GtkLabel* _tmp0_;
	GtkStyleContext* _tmp1_;
	GtkBox* box = NULL;
	GtkBox* _tmp2_;
	GtkEventBox* line = NULL;
	GtkEventBox* _tmp3_;
	GtkWidget* _tmp4_;
	GtkWidget* result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (name != NULL, NULL);
	_tmp0_ = widgets_preference_create_label (self, NULL);
	segment = _tmp0_;
	_tmp1_ = gtk_widget_get_style_context ((GtkWidget*) segment);
	gtk_style_context_add_class (_tmp1_, "preference_first_segment");
	gtk_label_set_text (segment, name);
	gtk_label_set_xalign (segment, (gfloat) 0);
	_tmp2_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
	g_object_ref_sink (_tmp2_);
	box = _tmp2_;
	gtk_box_pack_start (box, (GtkWidget*) segment, FALSE, FALSE, (guint) 0);
	_tmp3_ = (GtkEventBox*) gtk_event_box_new ();
	g_object_ref_sink (_tmp3_);
	line = _tmp3_;
	gtk_widget_set_margin_start ((GtkWidget*) line, self->preference_split_line_margin_left);
	g_signal_connect_object ((GtkWidget*) line, "draw", (GCallback) ___lambda171__gtk_widget_draw, self, 0);
	gtk_box_pack_start (box, (GtkWidget*) line, TRUE, TRUE, (guint) 0);
	gtk_widget_set_margin_top ((GtkWidget*) box, self->segment_margin_top);
	gtk_widget_set_margin_bottom ((GtkWidget*) box, self->segment_margin_bottom);
	gtk_widget_set_margin_start ((GtkWidget*) box, self->first_segment_margin_left);
	_tmp4_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (box, gtk_widget_get_type (), GtkWidget));
	result = _tmp4_;
	_g_object_unref0 (line);
	_g_object_unref0 (box);
	_g_object_unref0 (segment);
	return result;
}

GtkWidget*
widgets_preference_get_second_segment (WidgetsPreference* self,
                                       const gchar* name)
{
	GtkLabel* segment = NULL;
	GtkLabel* _tmp0_;
	GtkStyleContext* _tmp1_;
	GtkWidget* _tmp2_;
	GtkWidget* result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (name != NULL, NULL);
	_tmp0_ = widgets_preference_create_label (self, NULL);
	segment = _tmp0_;
	_tmp1_ = gtk_widget_get_style_context ((GtkWidget*) segment);
	gtk_style_context_add_class (_tmp1_, "preference_second_segment");
	gtk_label_set_text (segment, name);
	gtk_label_set_xalign (segment, (gfloat) 0);
	gtk_widget_set_margin_top ((GtkWidget*) segment, self->segment_margin_top);
	gtk_widget_set_margin_bottom ((GtkWidget*) segment, self->segment_margin_bottom);
	gtk_widget_set_margin_start ((GtkWidget*) segment, self->second_segment_margin_left);
	_tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (segment, gtk_widget_get_type (), GtkWidget));
	result = _tmp2_;
	_g_object_unref0 (segment);
	return result;
}

void
widgets_preference_create_key_row (WidgetsPreference* self,
                                   GtkLabel* label,
                                   WidgetsShortcutEntry* entry,
                                   const gchar* name,
                                   GtkGrid* grid,
                                   const gchar* group_name,
                                   const gchar* key)
{
	GtkStyleContext* _tmp0_;
	g_return_if_fail (self != NULL);
	g_return_if_fail (label != NULL);
	g_return_if_fail (entry != NULL);
	g_return_if_fail (name != NULL);
	g_return_if_fail (grid != NULL);
	gtk_label_set_text (label, name);
	_tmp0_ = gtk_widget_get_style_context ((GtkWidget*) label);
	gtk_style_context_add_class (_tmp0_, "preference_title");
	widgets_preference_monitor_check_key (self, entry, group_name, key);
	widgets_preference_adjust_option_widgets (self, label, (GtkWidget*) entry);
	widgets_dialog_grid_attach ((WidgetsDialog*) self, grid, (GtkWidget*) label, 0, 0, self->preference_name_width, self->grid_height);
	widgets_dialog_grid_attach_next_to ((WidgetsDialog*) self, grid, (GtkWidget*) entry, (GtkWidget*) label, GTK_POS_RIGHT, self->preference_widget_width, self->grid_height);
}

void
widgets_preference_create_follow_key_row (WidgetsPreference* self,
                                          GtkLabel* label,
                                          WidgetsShortcutEntry* entry,
                                          const gchar* name,
                                          GtkLabel* previous_label,
                                          GtkGrid* grid,
                                          const gchar* group_name,
                                          const gchar* key)
{
	GtkStyleContext* _tmp0_;
	g_return_if_fail (self != NULL);
	g_return_if_fail (label != NULL);
	g_return_if_fail (entry != NULL);
	g_return_if_fail (name != NULL);
	g_return_if_fail (previous_label != NULL);
	g_return_if_fail (grid != NULL);
	gtk_label_set_text (label, name);
	_tmp0_ = gtk_widget_get_style_context ((GtkWidget*) label);
	gtk_style_context_add_class (_tmp0_, "preference_title");
	widgets_preference_monitor_check_key (self, entry, group_name, key);
	widgets_preference_adjust_option_widgets (self, label, (GtkWidget*) entry);
	widgets_dialog_grid_attach_next_to ((WidgetsDialog*) self, grid, (GtkWidget*) label, (GtkWidget*) previous_label, GTK_POS_BOTTOM, self->preference_name_width, self->grid_height);
	widgets_dialog_grid_attach_next_to ((WidgetsDialog*) self, grid, (GtkWidget*) entry, (GtkWidget*) label, GTK_POS_RIGHT, self->preference_widget_width, self->grid_height);
}

static Block17Data*
block17_data_ref (Block17Data* _data17_)
{
	g_atomic_int_inc (&_data17_->_ref_count_);
	return _data17_;
}

static void
block17_data_unref (void * _userdata_)
{
	Block17Data* _data17_;
	_data17_ = (Block17Data*) _userdata_;
	if (g_atomic_int_dec_and_test (&_data17_->_ref_count_)) {
		WidgetsPreference* self;
		self = _data17_->self;
		_g_free0 (_data17_->group_name);
		_g_free0 (_data17_->key);
		_g_object_unref0 (self);
		g_slice_free (Block17Data, _data17_);
	}
}

static void
__lambda175_ (Block17Data* _data17_,
              WidgetsShortcutEntry* e,
              const gchar* new_key)
{
	WidgetsPreference* self;
	WidgetsConfigWindow* _tmp0_;
	ConfigConfig* _tmp1_;
	WidgetsConfigWindow* _tmp2_;
	ConfigConfig* _tmp3_;
	GKeyFile* _tmp4_;
	WidgetsConfigWindow* _tmp5_;
	ConfigConfig* _tmp6_;
	WidgetsConfigWindow* _tmp7_;
	ConfigConfig* _tmp8_;
	self = _data17_->self;
	g_return_if_fail (e != NULL);
	g_return_if_fail (new_key != NULL);
	_tmp0_ = self->parent_window;
	_tmp1_ = _tmp0_->config;
	config_config_load_config (_tmp1_);
	_tmp2_ = self->parent_window;
	_tmp3_ = _tmp2_->config;
	_tmp4_ = _tmp3_->config_file;
	g_key_file_set_string (_tmp4_, _data17_->group_name, _data17_->key, new_key);
	_tmp5_ = self->parent_window;
	_tmp6_ = _tmp5_->config;
	config_config_save (_tmp6_);
	_tmp7_ = self->parent_window;
	_tmp8_ = _tmp7_->config;
	g_signal_emit_by_name (_tmp8_, "update");
}

static void
___lambda175__widgets_shortcut_entry_change_key (WidgetsShortcutEntry* _sender,
                                                 const gchar* new_key,
                                                 gpointer self)
{
	__lambda175_ (self, _sender, new_key);
}

void
widgets_preference_monitor_check_key (WidgetsPreference* self,
                                      WidgetsShortcutEntry* entry,
                                      const gchar* group_name,
                                      const gchar* key)
{
	Block17Data* _data17_;
	gchar* _tmp0_;
	gchar* _tmp1_;
	gboolean _tmp2_ = FALSE;
	GError* _inner_error0_ = NULL;
	g_return_if_fail (self != NULL);
	g_return_if_fail (entry != NULL);
	g_return_if_fail (group_name != NULL);
	g_return_if_fail (key != NULL);
	_data17_ = g_slice_new0 (Block17Data);
	_data17_->_ref_count_ = 1;
	_data17_->self = g_object_ref (self);
	_tmp0_ = g_strdup (group_name);
	_g_free0 (_data17_->group_name);
	_data17_->group_name = _tmp0_;
	_tmp1_ = g_strdup (key);
	_g_free0 (_data17_->key);
	_data17_->key = _tmp1_;
	g_signal_connect_data (entry, "change-key", (GCallback) ___lambda175__widgets_shortcut_entry_change_key, block17_data_ref (_data17_), (GClosureNotify) block17_data_unref, 0);
	if (_data17_->group_name != NULL) {
		_tmp2_ = _data17_->key != NULL;
	} else {
		_tmp2_ = FALSE;
	}
	if (_tmp2_) {
		{
			gchar* _tmp3_ = NULL;
			WidgetsConfigWindow* _tmp4_;
			ConfigConfig* _tmp5_;
			GKeyFile* _tmp6_;
			gchar* _tmp7_;
			_tmp4_ = self->parent_window;
			_tmp5_ = _tmp4_->config;
			_tmp6_ = _tmp5_->config_file;
			_tmp7_ = g_key_file_get_string (_tmp6_, _data17_->group_name, _data17_->key, &_inner_error0_);
			_tmp3_ = _tmp7_;
			if (G_UNLIKELY (_inner_error0_ != NULL)) {
				if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
					goto __catch0_g_key_file_error;
				}
				block17_data_unref (_data17_);
				_data17_ = NULL;
				g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
				g_clear_error (&_inner_error0_);
				return;
			}
			widgets_shortcut_entry_set_text (entry, _tmp3_);
			_g_free0 (_tmp3_);
		}
		goto __finally0;
		__catch0_g_key_file_error:
		{
			GError* e = NULL;
			GError* _tmp8_;
			const gchar* _tmp9_;
			e = _inner_error0_;
			_inner_error0_ = NULL;
			_tmp8_ = e;
			_tmp9_ = _tmp8_->message;
			g_print ("Preference monitor_check_key: %s\n", _tmp9_);
			_g_error_free0 (e);
		}
		__finally0:
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			block17_data_unref (_data17_);
			_data17_ = NULL;
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
	}
	block17_data_unref (_data17_);
	_data17_ = NULL;
}

static Block18Data*
block18_data_ref (Block18Data* _data18_)
{
	g_atomic_int_inc (&_data18_->_ref_count_);
	return _data18_;
}

static void
block18_data_unref (void * _userdata_)
{
	Block18Data* _data18_;
	_data18_ = (Block18Data*) _userdata_;
	if (g_atomic_int_dec_and_test (&_data18_->_ref_count_)) {
		WidgetsPreference* self;
		self = _data18_->self;
		_g_object_unref0 (_data18_->combox);
		_g_object_unref0 (_data18_->values);
		_g_free0 (_data18_->group_name);
		_g_free0 (_data18_->key);
		_g_object_unref0 (self);
		g_slice_free (Block18Data, _data18_);
	}
}

static void
___lambda173_ (Block18Data* _data18_,
               GtkComboBox* w)
{
	WidgetsPreference* self;
	WidgetsConfigWindow* _tmp0_;
	ConfigConfig* _tmp1_;
	WidgetsConfigWindow* _tmp2_;
	ConfigConfig* _tmp3_;
	GKeyFile* _tmp4_;
	gpointer _tmp5_;
	gchar* _tmp6_;
	WidgetsConfigWindow* _tmp7_;
	ConfigConfig* _tmp8_;
	WidgetsConfigWindow* _tmp9_;
	ConfigConfig* _tmp10_;
	self = _data18_->self;
	g_return_if_fail (w != NULL);
	_tmp0_ = self->parent_window;
	_tmp1_ = _tmp0_->config;
	config_config_load_config (_tmp1_);
	_tmp2_ = self->parent_window;
	_tmp3_ = _tmp2_->config;
	_tmp4_ = _tmp3_->config_file;
	_tmp5_ = gee_abstract_list_get ((GeeAbstractList*) _data18_->values, gtk_combo_box_get_active ((GtkComboBox*) _data18_->combox));
	_tmp6_ = (gchar*) _tmp5_;
	g_key_file_set_string (_tmp4_, _data18_->group_name, _data18_->key, _tmp6_);
	_g_free0 (_tmp6_);
	_tmp7_ = self->parent_window;
	_tmp8_ = _tmp7_->config;
	config_config_save (_tmp8_);
	_tmp9_ = self->parent_window;
	_tmp10_ = _tmp9_->config;
	g_signal_emit_by_name (_tmp10_, "update");
}

static void
____lambda173__gtk_combo_box_changed (GtkComboBox* _sender,
                                      gpointer self)
{
	___lambda173_ (self, _sender);
}

void
widgets_preference_create_combox_row (WidgetsPreference* self,
                                      GtkLabel* label,
                                      WidgetsDropdownTextButton* combox,
                                      const gchar* name,
                                      GtkGrid* grid,
                                      GeeArrayList* values,
                                      const gchar* group_name,
                                      const gchar* key)
{
	Block18Data* _data18_;
	WidgetsDropdownTextButton* _tmp0_;
	GeeArrayList* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
	GtkStyleContext* _tmp4_;
	GError* _inner_error0_ = NULL;
	g_return_if_fail (self != NULL);
	g_return_if_fail (label != NULL);
	g_return_if_fail (combox != NULL);
	g_return_if_fail (name != NULL);
	g_return_if_fail (grid != NULL);
	_data18_ = g_slice_new0 (Block18Data);
	_data18_->_ref_count_ = 1;
	_data18_->self = g_object_ref (self);
	_tmp0_ = _g_object_ref0 (combox);
	_g_object_unref0 (_data18_->combox);
	_data18_->combox = _tmp0_;
	_tmp1_ = _g_object_ref0 (values);
	_g_object_unref0 (_data18_->values);
	_data18_->values = _tmp1_;
	_tmp2_ = g_strdup (group_name);
	_g_free0 (_data18_->group_name);
	_data18_->group_name = _tmp2_;
	_tmp3_ = g_strdup (key);
	_g_free0 (_data18_->key);
	_data18_->key = _tmp3_;
	gtk_label_set_text (label, name);
	_tmp4_ = gtk_widget_get_style_context ((GtkWidget*) label);
	gtk_style_context_add_class (_tmp4_, "preference_title");
	if (_data18_->values != NULL) {
		{
			GeeArrayList* _value_list = NULL;
			gint _value_size = 0;
			GeeArrayList* _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			gint _value_index = 0;
			_value_list = _data18_->values;
			_tmp5_ = _value_list;
			_tmp6_ = gee_abstract_collection_get_size ((GeeAbstractCollection*) _tmp5_);
			_tmp7_ = _tmp6_;
			_value_size = _tmp7_;
			_value_index = -1;
			while (TRUE) {
				gint _tmp8_;
				gint _tmp9_;
				gchar* value = NULL;
				GeeArrayList* _tmp10_;
				gpointer _tmp11_;
				const gchar* _tmp12_;
				const gchar* _tmp13_;
				_value_index = _value_index + 1;
				_tmp8_ = _value_index;
				_tmp9_ = _value_size;
				if (!(_tmp8_ < _tmp9_)) {
					break;
				}
				_tmp10_ = _value_list;
				_tmp11_ = gee_abstract_list_get ((GeeAbstractList*) _tmp10_, _value_index);
				value = (gchar*) _tmp11_;
				_tmp12_ = value;
				_tmp13_ = value;
				gtk_combo_box_text_append ((GtkComboBoxText*) _data18_->combox, _tmp12_, _tmp13_);
				_g_free0 (value);
			}
		}
		{
			gchar* _tmp14_ = NULL;
			WidgetsConfigWindow* _tmp15_;
			ConfigConfig* _tmp16_;
			GKeyFile* _tmp17_;
			gchar* _tmp18_;
			_tmp15_ = self->parent_window;
			_tmp16_ = _tmp15_->config;
			_tmp17_ = _tmp16_->config_file;
			_tmp18_ = g_key_file_get_value (_tmp17_, _data18_->group_name, _data18_->key, &_inner_error0_);
			_tmp14_ = _tmp18_;
			if (G_UNLIKELY (_inner_error0_ != NULL)) {
				if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
					goto __catch0_g_key_file_error;
				}
				block18_data_unref (_data18_);
				_data18_ = NULL;
				g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
				g_clear_error (&_inner_error0_);
				return;
			}
			gtk_combo_box_set_active ((GtkComboBox*) _data18_->combox, gee_abstract_list_index_of ((GeeAbstractList*) _data18_->values, _tmp14_));
			_g_free0 (_tmp14_);
		}
		goto __finally0;
		__catch0_g_key_file_error:
		{
			GError* e = NULL;
			GError* _tmp19_;
			const gchar* _tmp20_;
			gchar* _tmp21_;
			gchar* _tmp22_;
			e = _inner_error0_;
			_inner_error0_ = NULL;
			_tmp19_ = e;
			_tmp20_ = _tmp19_->message;
			_tmp21_ = g_strdup_printf ("create_combox_row error: %s\n", _tmp20_);
			_tmp22_ = _tmp21_;
			g_print ("%s", _tmp22_);
			_g_free0 (_tmp22_);
			_g_error_free0 (e);
		}
		__finally0:
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			block18_data_unref (_data18_);
			_data18_ = NULL;
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		g_signal_connect_data ((GtkComboBox*) _data18_->combox, "changed", (GCallback) ____lambda173__gtk_combo_box_changed, block18_data_ref (_data18_), (GClosureNotify) block18_data_unref, 0);
	}
	widgets_preference_adjust_option_widgets (self, label, (GtkWidget*) _data18_->combox);
	widgets_dialog_grid_attach ((WidgetsDialog*) self, grid, (GtkWidget*) label, 0, 0, self->preference_name_width, self->grid_height);
	widgets_dialog_grid_attach_next_to ((WidgetsDialog*) self, grid, (GtkWidget*) _data18_->combox, (GtkWidget*) label, GTK_POS_RIGHT, self->preference_widget_width, self->grid_height);
	block18_data_unref (_data18_);
	_data18_ = NULL;
}

static Block19Data*
block19_data_ref (Block19Data* _data19_)
{
	g_atomic_int_inc (&_data19_->_ref_count_);
	return _data19_;
}

static void
block19_data_unref (void * _userdata_)
{
	Block19Data* _data19_;
	_data19_ = (Block19Data*) _userdata_;
	if (g_atomic_int_dec_and_test (&_data19_->_ref_count_)) {
		WidgetsPreference* self;
		self = _data19_->self;
		_g_object_unref0 (_data19_->combox);
		_g_object_unref0 (_data19_->values);
		_g_free0 (_data19_->group_name);
		_g_free0 (_data19_->key);
		_g_object_unref0 (self);
		g_slice_free (Block19Data, _data19_);
	}
}

static void
___lambda178_ (Block19Data* _data19_,
               GtkComboBox* w)
{
	WidgetsPreference* self;
	WidgetsConfigWindow* _tmp0_;
	ConfigConfig* _tmp1_;
	WidgetsConfigWindow* _tmp2_;
	ConfigConfig* _tmp3_;
	GKeyFile* _tmp4_;
	gpointer _tmp5_;
	gchar* _tmp6_;
	WidgetsConfigWindow* _tmp7_;
	ConfigConfig* _tmp8_;
	WidgetsConfigWindow* _tmp9_;
	ConfigConfig* _tmp10_;
	self = _data19_->self;
	g_return_if_fail (w != NULL);
	_tmp0_ = self->parent_window;
	_tmp1_ = _tmp0_->config;
	config_config_load_config (_tmp1_);
	_tmp2_ = self->parent_window;
	_tmp3_ = _tmp2_->config;
	_tmp4_ = _tmp3_->config_file;
	_tmp5_ = gee_abstract_list_get ((GeeAbstractList*) _data19_->values, gtk_combo_box_get_active ((GtkComboBox*) _data19_->combox));
	_tmp6_ = (gchar*) _tmp5_;
	g_key_file_set_string (_tmp4_, _data19_->group_name, _data19_->key, _tmp6_);
	_g_free0 (_tmp6_);
	_tmp7_ = self->parent_window;
	_tmp8_ = _tmp7_->config;
	config_config_save (_tmp8_);
	_tmp9_ = self->parent_window;
	_tmp10_ = _tmp9_->config;
	g_signal_emit_by_name (_tmp10_, "update");
}

static void
____lambda178__gtk_combo_box_changed (GtkComboBox* _sender,
                                      gpointer self)
{
	___lambda178_ (self, _sender);
}

void
widgets_preference_create_combox_row_with_name (WidgetsPreference* self,
                                                GtkLabel* label,
                                                WidgetsDropdownTextButton* combox,
                                                const gchar* name,
                                                GtkGrid* grid,
                                                GeeArrayList* values,
                                                GeeArrayList* names,
                                                const gchar* group_name,
                                                const gchar* key)
{
	Block19Data* _data19_;
	WidgetsDropdownTextButton* _tmp0_;
	GeeArrayList* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
	GtkStyleContext* _tmp4_;
	GError* _inner_error0_ = NULL;
	g_return_if_fail (self != NULL);
	g_return_if_fail (label != NULL);
	g_return_if_fail (combox != NULL);
	g_return_if_fail (name != NULL);
	g_return_if_fail (grid != NULL);
	_data19_ = g_slice_new0 (Block19Data);
	_data19_->_ref_count_ = 1;
	_data19_->self = g_object_ref (self);
	_tmp0_ = _g_object_ref0 (combox);
	_g_object_unref0 (_data19_->combox);
	_data19_->combox = _tmp0_;
	_tmp1_ = _g_object_ref0 (values);
	_g_object_unref0 (_data19_->values);
	_data19_->values = _tmp1_;
	_tmp2_ = g_strdup (group_name);
	_g_free0 (_data19_->group_name);
	_data19_->group_name = _tmp2_;
	_tmp3_ = g_strdup (key);
	_g_free0 (_data19_->key);
	_data19_->key = _tmp3_;
	gtk_label_set_text (label, name);
	_tmp4_ = gtk_widget_get_style_context ((GtkWidget*) label);
	gtk_style_context_add_class (_tmp4_, "preference_title");
	if (_data19_->values != NULL) {
		gint index = 0;
		index = 0;
		{
			GeeArrayList* _value_list = NULL;
			gint _value_size = 0;
			GeeArrayList* _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			gint _value_index = 0;
			_value_list = _data19_->values;
			_tmp5_ = _value_list;
			_tmp6_ = gee_abstract_collection_get_size ((GeeAbstractCollection*) _tmp5_);
			_tmp7_ = _tmp6_;
			_value_size = _tmp7_;
			_value_index = -1;
			while (TRUE) {
				gint _tmp8_;
				gint _tmp9_;
				gchar* value = NULL;
				GeeArrayList* _tmp10_;
				gpointer _tmp11_;
				const gchar* _tmp12_;
				gpointer _tmp13_;
				gchar* _tmp14_;
				gint _tmp15_;
				_value_index = _value_index + 1;
				_tmp8_ = _value_index;
				_tmp9_ = _value_size;
				if (!(_tmp8_ < _tmp9_)) {
					break;
				}
				_tmp10_ = _value_list;
				_tmp11_ = gee_abstract_list_get ((GeeAbstractList*) _tmp10_, _value_index);
				value = (gchar*) _tmp11_;
				_tmp12_ = value;
				_tmp13_ = gee_abstract_list_get ((GeeAbstractList*) names, index);
				_tmp14_ = (gchar*) _tmp13_;
				gtk_combo_box_text_append ((GtkComboBoxText*) _data19_->combox, _tmp12_, _tmp14_);
				_g_free0 (_tmp14_);
				_tmp15_ = index;
				index = _tmp15_ + 1;
				_g_free0 (value);
			}
		}
		{
			gchar* _tmp16_ = NULL;
			WidgetsConfigWindow* _tmp17_;
			ConfigConfig* _tmp18_;
			GKeyFile* _tmp19_;
			gchar* _tmp20_;
			_tmp17_ = self->parent_window;
			_tmp18_ = _tmp17_->config;
			_tmp19_ = _tmp18_->config_file;
			_tmp20_ = g_key_file_get_value (_tmp19_, _data19_->group_name, _data19_->key, &_inner_error0_);
			_tmp16_ = _tmp20_;
			if (G_UNLIKELY (_inner_error0_ != NULL)) {
				if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
					goto __catch0_g_key_file_error;
				}
				block19_data_unref (_data19_);
				_data19_ = NULL;
				g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
				g_clear_error (&_inner_error0_);
				return;
			}
			gtk_combo_box_set_active ((GtkComboBox*) _data19_->combox, gee_abstract_list_index_of ((GeeAbstractList*) _data19_->values, _tmp16_));
			_g_free0 (_tmp16_);
		}
		goto __finally0;
		__catch0_g_key_file_error:
		{
			GError* e = NULL;
			GError* _tmp21_;
			const gchar* _tmp22_;
			gchar* _tmp23_;
			gchar* _tmp24_;
			e = _inner_error0_;
			_inner_error0_ = NULL;
			_tmp21_ = e;
			_tmp22_ = _tmp21_->message;
			_tmp23_ = g_strdup_printf ("create_combox_row error: %s\n", _tmp22_);
			_tmp24_ = _tmp23_;
			g_print ("%s", _tmp24_);
			_g_free0 (_tmp24_);
			_g_error_free0 (e);
		}
		__finally0:
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			block19_data_unref (_data19_);
			_data19_ = NULL;
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		g_signal_connect_data ((GtkComboBox*) _data19_->combox, "changed", (GCallback) ____lambda178__gtk_combo_box_changed, block19_data_ref (_data19_), (GClosureNotify) block19_data_unref, 0);
	}
	widgets_preference_adjust_option_widgets (self, label, (GtkWidget*) _data19_->combox);
	widgets_dialog_grid_attach ((WidgetsDialog*) self, grid, (GtkWidget*) label, 0, 0, self->preference_name_width, self->grid_height);
	widgets_dialog_grid_attach_next_to ((WidgetsDialog*) self, grid, (GtkWidget*) _data19_->combox, (GtkWidget*) label, GTK_POS_RIGHT, self->preference_widget_width, self->grid_height);
	block19_data_unref (_data19_);
	_data19_ = NULL;
}

void
widgets_preference_adjust_option_widgets (WidgetsPreference* self,
                                          GtkLabel* name_widget,
                                          GtkWidget* value_widget)
{
	g_return_if_fail (self != NULL);
	g_return_if_fail (name_widget != NULL);
	g_return_if_fail (value_widget != NULL);
	gtk_label_set_xalign (name_widget, (gfloat) 0);
	gtk_widget_set_size_request ((GtkWidget*) name_widget, self->preference_name_width, self->grid_height);
	gtk_widget_set_margin_start ((GtkWidget*) name_widget, self->option_widget_margin_left);
	gtk_widget_set_size_request (value_widget, self->preference_widget_width, self->grid_height);
	gtk_widget_set_margin_end (value_widget, self->option_widget_margin_right);
	gtk_widget_set_hexpand (value_widget, TRUE);
}

GtkBox*
widgets_preference_create_check_row (WidgetsPreference* self,
                                     WidgetsCheckButton* checkbutton,
                                     const gchar* name,
                                     GtkGrid* grid,
                                     const gchar* group_name,
                                     const gchar* key)
{
	GtkBox* box = NULL;
	GtkBox* _tmp0_;
	GtkLabel* label = NULL;
	GtkLabel* _tmp1_;
	GtkStyleContext* _tmp2_;
	GtkBox* result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (checkbutton != NULL, NULL);
	g_return_val_if_fail (name != NULL, NULL);
	g_return_val_if_fail (grid != NULL, NULL);
	_tmp0_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
	g_object_ref_sink (_tmp0_);
	box = _tmp0_;
	_tmp1_ = widgets_preference_create_label (self, name);
	label = _tmp1_;
	_tmp2_ = gtk_widget_get_style_context ((GtkWidget*) label);
	gtk_style_context_add_class (_tmp2_, "preference_title");
	widgets_preference_adjust_option_checkbutton (self, label, checkbutton);
	widgets_preference_read_check_value (self, checkbutton, group_name, key);
	gtk_box_pack_start (box, (GtkWidget*) checkbutton, FALSE, FALSE, (guint) 0);
	gtk_box_pack_start (box, (GtkWidget*) label, FALSE, FALSE, (guint) 0);
	widgets_dialog_grid_attach ((WidgetsDialog*) self, grid, (GtkWidget*) box, 0, 0, self->preference_name_width, self->grid_height);
	result = box;
	_g_object_unref0 (label);
	return result;
}

GtkBox*
widgets_preference_create_follow_check_row (WidgetsPreference* self,
                                            WidgetsCheckButton* checkbutton,
                                            const gchar* name,
                                            GtkWidget* previous_widget,
                                            GtkGrid* grid,
                                            const gchar* group_name,
                                            const gchar* key)
{
	GtkBox* box = NULL;
	GtkBox* _tmp0_;
	GtkLabel* label = NULL;
	GtkLabel* _tmp1_;
	GtkStyleContext* _tmp2_;
	GtkBox* result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (checkbutton != NULL, NULL);
	g_return_val_if_fail (name != NULL, NULL);
	g_return_val_if_fail (previous_widget != NULL, NULL);
	g_return_val_if_fail (grid != NULL, NULL);
	_tmp0_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
	g_object_ref_sink (_tmp0_);
	box = _tmp0_;
	_tmp1_ = widgets_preference_create_label (self, name);
	label = _tmp1_;
	_tmp2_ = gtk_widget_get_style_context ((GtkWidget*) label);
	gtk_style_context_add_class (_tmp2_, "preference_title");
	widgets_preference_adjust_option_checkbutton (self, label, checkbutton);
	widgets_preference_read_check_value (self, checkbutton, group_name, key);
	gtk_box_pack_start (box, (GtkWidget*) checkbutton, FALSE, FALSE, (guint) 0);
	gtk_box_pack_start (box, (GtkWidget*) label, FALSE, FALSE, (guint) 0);
	widgets_dialog_grid_attach_next_to ((WidgetsDialog*) self, grid, (GtkWidget*) box, previous_widget, GTK_POS_BOTTOM, self->preference_name_width, self->grid_height);
	result = box;
	_g_object_unref0 (label);
	return result;
}

void
widgets_preference_read_check_value (WidgetsPreference* self,
                                     WidgetsCheckButton* checkbutton,
                                     const gchar* group_name,
                                     const gchar* key)
{
	gboolean _tmp0_ = FALSE;
	GError* _inner_error0_ = NULL;
	g_return_if_fail (self != NULL);
	g_return_if_fail (checkbutton != NULL);
	g_return_if_fail (group_name != NULL);
	g_return_if_fail (key != NULL);
	if (group_name != NULL) {
		_tmp0_ = key != NULL;
	} else {
		_tmp0_ = FALSE;
	}
	if (_tmp0_) {
		{
			gboolean _tmp1_ = FALSE;
			WidgetsConfigWindow* _tmp2_;
			ConfigConfig* _tmp3_;
			GKeyFile* _tmp4_;
			_tmp2_ = self->parent_window;
			_tmp3_ = _tmp2_->config;
			_tmp4_ = _tmp3_->config_file;
			_tmp1_ = g_key_file_get_boolean (_tmp4_, group_name, key, &_inner_error0_);
			if (G_UNLIKELY (_inner_error0_ != NULL)) {
				if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
					goto __catch0_g_key_file_error;
				}
				g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
				g_clear_error (&_inner_error0_);
				return;
			}
			gtk_toggle_button_set_active ((GtkToggleButton*) checkbutton, _tmp1_);
		}
		goto __finally0;
		__catch0_g_key_file_error:
		{
			GError* e = NULL;
			GError* _tmp5_;
			const gchar* _tmp6_;
			gchar* _tmp7_;
			gchar* _tmp8_;
			e = _inner_error0_;
			_inner_error0_ = NULL;
			_tmp5_ = e;
			_tmp6_ = _tmp5_->message;
			_tmp7_ = g_strdup_printf ("create_follow_check_row error: %s\n", _tmp6_);
			_tmp8_ = _tmp7_;
			g_print ("%s", _tmp8_);
			_g_free0 (_tmp8_);
			_g_error_free0 (e);
		}
		__finally0:
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		widgets_preference_monitor_check_value (self, checkbutton, group_name, key);
	}
}

GtkLabel*
widgets_preference_create_follow_spinbutton_row (WidgetsPreference* self,
                                                 WidgetsSpinButton* spinbutton,
                                                 const gchar* name,
                                                 GtkWidget* previous_widget,
                                                 GtkGrid* grid,
                                                 const gchar* group_name,
                                                 const gchar* key)
{
	GtkLabel* label = NULL;
	GtkLabel* _tmp0_;
	GtkStyleContext* _tmp1_;
	GtkLabel* result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (spinbutton != NULL, NULL);
	g_return_val_if_fail (name != NULL, NULL);
	g_return_val_if_fail (previous_widget != NULL, NULL);
	g_return_val_if_fail (grid != NULL, NULL);
	_tmp0_ = widgets_preference_create_label (self, name);
	label = _tmp0_;
	_tmp1_ = gtk_widget_get_style_context ((GtkWidget*) label);
	gtk_style_context_add_class (_tmp1_, "preference_title");
	widgets_preference_adjust_option_widgets (self, label, (GtkWidget*) spinbutton);
	widgets_preference_read_spin_value (self, spinbutton, group_name, key);
	widgets_dialog_grid_attach_next_to ((WidgetsDialog*) self, grid, (GtkWidget*) label, previous_widget, GTK_POS_BOTTOM, self->preference_name_width, self->grid_height);
	widgets_dialog_grid_attach_next_to ((WidgetsDialog*) self, grid, (GtkWidget*) spinbutton, (GtkWidget*) label, GTK_POS_RIGHT, self->preference_widget_width, self->grid_height);
	result = label;
	return result;
}

void
widgets_preference_read_spin_value (WidgetsPreference* self,
                                    WidgetsSpinButton* spinbutton,
                                    const gchar* group_name,
                                    const gchar* key)
{
	gboolean _tmp0_ = FALSE;
	GError* _inner_error0_ = NULL;
	g_return_if_fail (self != NULL);
	g_return_if_fail (spinbutton != NULL);
	g_return_if_fail (group_name != NULL);
	g_return_if_fail (key != NULL);
	if (group_name != NULL) {
		_tmp0_ = key != NULL;
	} else {
		_tmp0_ = FALSE;
	}
	if (_tmp0_) {
		{
			gint _tmp1_ = 0;
			WidgetsConfigWindow* _tmp2_;
			ConfigConfig* _tmp3_;
			GKeyFile* _tmp4_;
			_tmp2_ = self->parent_window;
			_tmp3_ = _tmp2_->config;
			_tmp4_ = _tmp3_->config_file;
			_tmp1_ = g_key_file_get_integer (_tmp4_, group_name, key, &_inner_error0_);
			if (G_UNLIKELY (_inner_error0_ != NULL)) {
				if (_inner_error0_->domain == G_KEY_FILE_ERROR) {
					goto __catch0_g_key_file_error;
				}
				g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
				g_clear_error (&_inner_error0_);
				return;
			}
			gtk_spin_button_set_value ((GtkSpinButton*) spinbutton, (gdouble) _tmp1_);
		}
		goto __finally0;
		__catch0_g_key_file_error:
		{
			GError* e = NULL;
			GError* _tmp5_;
			const gchar* _tmp6_;
			gchar* _tmp7_;
			gchar* _tmp8_;
			e = _inner_error0_;
			_inner_error0_ = NULL;
			_tmp5_ = e;
			_tmp6_ = _tmp5_->message;
			_tmp7_ = g_strdup_printf ("read_spin_value error: %s\n", _tmp6_);
			_tmp8_ = _tmp7_;
			g_print ("%s", _tmp8_);
			_g_free0 (_tmp8_);
			_g_error_free0 (e);
		}
		__finally0:
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return;
		}
		widgets_preference_monitor_spin_value (self, spinbutton, group_name, key);
	}
}

static Block20Data*
block20_data_ref (Block20Data* _data20_)
{
	g_atomic_int_inc (&_data20_->_ref_count_);
	return _data20_;
}

static void
block20_data_unref (void * _userdata_)
{
	Block20Data* _data20_;
	_data20_ = (Block20Data*) _userdata_;
	if (g_atomic_int_dec_and_test (&_data20_->_ref_count_)) {
		WidgetsPreference* self;
		self = _data20_->self;
		_g_object_unref0 (_data20_->checkbutton);
		_g_free0 (_data20_->group_name);
		_g_free0 (_data20_->key);
		_g_object_unref0 (self);
		g_slice_free (Block20Data, _data20_);
	}
}

static void
__lambda177_ (Block20Data* _data20_,
              GtkToggleButton* w)
{
	WidgetsPreference* self;
	gboolean is_active = FALSE;
	WidgetsConfigWindow* _tmp0_;
	ConfigConfig* _tmp1_;
	WidgetsConfigWindow* _tmp2_;
	ConfigConfig* _tmp3_;
	GKeyFile* _tmp4_;
	WidgetsConfigWindow* _tmp5_;
	ConfigConfig* _tmp6_;
	WidgetsConfigWindow* _tmp7_;
	ConfigConfig* _tmp8_;
	self = _data20_->self;
	g_return_if_fail (w != NULL);
	is_active = gtk_toggle_button_get_active ((GtkToggleButton*) _data20_->checkbutton);
	_tmp0_ = self->parent_window;
	_tmp1_ = _tmp0_->config;
	config_config_load_config (_tmp1_);
	_tmp2_ = self->parent_window;
	_tmp3_ = _tmp2_->config;
	_tmp4_ = _tmp3_->config_file;
	g_key_file_set_boolean (_tmp4_, _data20_->group_name, _data20_->key, is_active);
	_tmp5_ = self->parent_window;
	_tmp6_ = _tmp5_->config;
	config_config_save (_tmp6_);
	_tmp7_ = self->parent_window;
	_tmp8_ = _tmp7_->config;
	g_signal_emit_by_name (_tmp8_, "update");
}

static void
___lambda177__gtk_toggle_button_toggled (GtkToggleButton* _sender,
                                         gpointer self)
{
	__lambda177_ (self, _sender);
}

void
widgets_preference_monitor_check_value (WidgetsPreference* self,
                                        WidgetsCheckButton* checkbutton,
                                        const gchar* group_name,
                                        const gchar* key)
{
	Block20Data* _data20_;
	WidgetsCheckButton* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	g_return_if_fail (self != NULL);
	g_return_if_fail (checkbutton != NULL);
	g_return_if_fail (group_name != NULL);
	g_return_if_fail (key != NULL);
	_data20_ = g_slice_new0 (Block20Data);
	_data20_->_ref_count_ = 1;
	_data20_->self = g_object_ref (self);
	_tmp0_ = _g_object_ref0 (checkbutton);
	_g_object_unref0 (_data20_->checkbutton);
	_data20_->checkbutton = _tmp0_;
	_tmp1_ = g_strdup (group_name);
	_g_free0 (_data20_->group_name);
	_data20_->group_name = _tmp1_;
	_tmp2_ = g_strdup (key);
	_g_free0 (_data20_->key);
	_data20_->key = _tmp2_;
	g_signal_connect_data ((GtkToggleButton*) _data20_->checkbutton, "toggled", (GCallback) ___lambda177__gtk_toggle_button_toggled, block20_data_ref (_data20_), (GClosureNotify) block20_data_unref, 0);
	block20_data_unref (_data20_);
	_data20_ = NULL;
}

static Block21Data*
block21_data_ref (Block21Data* _data21_)
{
	g_atomic_int_inc (&_data21_->_ref_count_);
	return _data21_;
}

static void
block21_data_unref (void * _userdata_)
{
	Block21Data* _data21_;
	_data21_ = (Block21Data*) _userdata_;
	if (g_atomic_int_dec_and_test (&_data21_->_ref_count_)) {
		WidgetsPreference* self;
		self = _data21_->self;
		_g_object_unref0 (_data21_->spinbutton);
		_g_free0 (_data21_->group_name);
		_g_free0 (_data21_->key);
		_g_object_unref0 (self);
		g_slice_free (Block21Data, _data21_);
	}
}

static void
__lambda174_ (Block21Data* _data21_,
              GtkSpinButton* w)
{
	WidgetsPreference* self;
	gdouble spin_value = 0.0;
	WidgetsConfigWindow* _tmp0_;
	ConfigConfig* _tmp1_;
	WidgetsConfigWindow* _tmp2_;
	ConfigConfig* _tmp3_;
	GKeyFile* _tmp4_;
	WidgetsConfigWindow* _tmp5_;
	ConfigConfig* _tmp6_;
	WidgetsConfigWindow* _tmp7_;
	ConfigConfig* _tmp8_;
	self = _data21_->self;
	g_return_if_fail (w != NULL);
	spin_value = gtk_spin_button_get_value ((GtkSpinButton*) _data21_->spinbutton);
	_tmp0_ = self->parent_window;
	_tmp1_ = _tmp0_->config;
	config_config_load_config (_tmp1_);
	_tmp2_ = self->parent_window;
	_tmp3_ = _tmp2_->config;
	_tmp4_ = _tmp3_->config_file;
	g_key_file_set_integer (_tmp4_, _data21_->group_name, _data21_->key, (gint) spin_value);
	_tmp5_ = self->parent_window;
	_tmp6_ = _tmp5_->config;
	config_config_save (_tmp6_);
	_tmp7_ = self->parent_window;
	_tmp8_ = _tmp7_->config;
	g_signal_emit_by_name (_tmp8_, "update");
}

static void
___lambda174__gtk_spin_button_value_changed (GtkSpinButton* _sender,
                                             gpointer self)
{
	__lambda174_ (self, _sender);
}

void
widgets_preference_monitor_spin_value (WidgetsPreference* self,
                                       WidgetsSpinButton* spinbutton,
                                       const gchar* group_name,
                                       const gchar* key)
{
	Block21Data* _data21_;
	WidgetsSpinButton* _tmp0_;
	gchar* _tmp1_;
	gchar* _tmp2_;
	g_return_if_fail (self != NULL);
	g_return_if_fail (spinbutton != NULL);
	g_return_if_fail (group_name != NULL);
	g_return_if_fail (key != NULL);
	_data21_ = g_slice_new0 (Block21Data);
	_data21_->_ref_count_ = 1;
	_data21_->self = g_object_ref (self);
	_tmp0_ = _g_object_ref0 (spinbutton);
	_g_object_unref0 (_data21_->spinbutton);
	_data21_->spinbutton = _tmp0_;
	_tmp1_ = g_strdup (group_name);
	_g_free0 (_data21_->group_name);
	_data21_->group_name = _tmp1_;
	_tmp2_ = g_strdup (key);
	_g_free0 (_data21_->key);
	_data21_->key = _tmp2_;
	g_signal_connect_data ((GtkSpinButton*) _data21_->spinbutton, "value-changed", (GCallback) ___lambda174__gtk_spin_button_value_changed, block21_data_ref (_data21_), (GClosureNotify) block21_data_unref, 0);
	block21_data_unref (_data21_);
	_data21_ = NULL;
}

void
widgets_preference_adjust_option_checkbutton (WidgetsPreference* self,
                                              GtkLabel* label,
                                              WidgetsCheckButton* checkbutton)
{
	g_return_if_fail (self != NULL);
	g_return_if_fail (label != NULL);
	g_return_if_fail (checkbutton != NULL);
	gtk_widget_set_margin_start ((GtkWidget*) checkbutton, self->option_widget_margin_left);
	gtk_widget_set_margin_top ((GtkWidget*) checkbutton, self->checkbutton_margin_top);
	gtk_widget_set_margin_end ((GtkWidget*) checkbutton, self->checkbutton_margin_right);
}

WidgetsEntry*
widgets_preference_create_entry (WidgetsPreference* self)
{
	WidgetsEntry* entry = NULL;
	WidgetsEntry* _tmp0_;
	GtkStyleContext* _tmp1_;
	WidgetsEntry* result;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = widgets_entry_new ();
	g_object_ref_sink (_tmp0_);
	entry = _tmp0_;
	_tmp1_ = gtk_widget_get_style_context ((GtkWidget*) entry);
	gtk_style_context_add_class (_tmp1_, "preference_entry");
	result = entry;
	return result;
}

WidgetsDropdownTextButton*
widgets_preference_create_combox_text (WidgetsPreference* self)
{
	WidgetsDropdownTextButton* combox = NULL;
	WidgetsDropdownTextButton* _tmp0_;
	GtkStyleContext* _tmp1_;
	WidgetsDropdownTextButton* result;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = widgets_dropdown_text_button_new ();
	g_object_ref_sink (_tmp0_);
	combox = _tmp0_;
	_tmp1_ = gtk_widget_get_style_context ((GtkWidget*) combox);
	gtk_style_context_add_class (_tmp1_, "preference_comboboxtext");
	result = combox;
	return result;
}

WidgetsSpinButton*
widgets_preference_create_spinbutton (WidgetsPreference* self,
                                      gint min,
                                      gint max,
                                      gint step)
{
	WidgetsSpinButton* spinbutton = NULL;
	WidgetsSpinButton* _tmp0_;
	GtkStyleContext* _tmp1_;
	WidgetsSpinButton* result;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = widgets_spin_button_new ();
	g_object_ref_sink (_tmp0_);
	spinbutton = _tmp0_;
	gtk_spin_button_set_range ((GtkSpinButton*) spinbutton, (gdouble) min, (gdouble) max);
	gtk_spin_button_set_increments ((GtkSpinButton*) spinbutton, (gdouble) step, (gdouble) (step * 10));
	_tmp1_ = gtk_widget_get_style_context ((GtkWidget*) spinbutton);
	gtk_style_context_add_class (_tmp1_, "preference_spinbutton");
	result = spinbutton;
	return result;
}

GtkLabel*
widgets_preference_create_label (WidgetsPreference* self,
                                 const gchar* text)
{
	GtkLabel* label = NULL;
	GtkLabel* _tmp0_;
	GtkStyleContext* _tmp1_;
	GtkLabel* result;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = (GtkLabel*) gtk_label_new (text);
	g_object_ref_sink (_tmp0_);
	label = _tmp0_;
	_tmp1_ = gtk_widget_get_style_context ((GtkWidget*) label);
	gtk_style_context_add_class (_tmp1_, "preference_label");
	result = label;
	return result;
}

static void
widgets_preference_class_init (WidgetsPreferenceClass * klass,
                               gpointer klass_data)
{
	widgets_preference_parent_class = g_type_class_peek_parent (klass);
	G_OBJECT_CLASS (klass)->finalize = widgets_preference_finalize;
}

static void
widgets_preference_instance_init (WidgetsPreference * self,
                                  gpointer klass)
{
	self->in_animation = FALSE;
	self->checkbutton_margin_right = 5;
	self->checkbutton_margin_top = 4;
	self->first_segment_margin_left = 20;
	self->grid_height = 24;
	self->option_widget_margin_left = 40;
	self->option_widget_margin_right = 10;
	self->preference_name_width = 180;
	self->preference_split_line_margin_left = 2;
	self->preference_widget_width = constant_PREFERENCE_WIDGET_WIDTH;
	self->reset_button_margin = 35;
	self->second_segment_margin_left = 30;
	self->segment_margin_bottom = 5;
	self->segment_margin_top = 10;
	self->slidebar_width = constant_PREFERENCE_SLIDEBAR_WIDTH;
	self->timer_interval = 400;
}

static void
widgets_preference_finalize (GObject * obj)
{
	WidgetsPreference * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, WIDGETS_TYPE_PREFERENCE, WidgetsPreference);
	_g_object_unref0 (self->font_names);
	_g_object_unref0 (self->window_state_list);
	_g_object_unref0 (self->window_state_name_list);
	_g_object_unref0 (self->font_combox);
	_g_object_unref0 (self->window_combox);
	_g_object_unref0 (self->close_other_windows_key_label);
	_g_object_unref0 (self->close_window_key_label);
	_g_object_unref0 (self->close_workspace_key_label);
	_g_object_unref0 (self->copy_key_label);
	_g_object_unref0 (self->cursor_style_label);
	_g_object_unref0 (self->display_hotkey_terminal_key_label);
	_g_object_unref0 (self->font_label);
	_g_object_unref0 (self->fullscreen_key_label);
	_g_object_unref0 (self->jump_to_next_command_key_label);
	_g_object_unref0 (self->jump_to_previous_command_key_label);
	_g_object_unref0 (self->new_workspace_key_label);
	_g_object_unref0 (self->next_workspace_key_label);
	_g_object_unref0 (self->opacity_label);
	_g_object_unref0 (self->open_key_label);
	_g_object_unref0 (self->paste_key_label);
	_g_object_unref0 (self->previous_workspace_key_label);
	_g_object_unref0 (self->rename_title_key_label);
	_g_object_unref0 (self->search_key_label);
	_g_object_unref0 (self->select_all_key_label);
	_g_object_unref0 (self->select_down_window_key_label);
	_g_object_unref0 (self->select_left_window_key_label);
	_g_object_unref0 (self->select_right_window_key_label);
	_g_object_unref0 (self->select_up_window_key_label);
	_g_object_unref0 (self->show_command_key_label);
	_g_object_unref0 (self->show_remote_manage_key_label);
	_g_object_unref0 (self->split_horizontally_key_label);
	_g_object_unref0 (self->split_vertically_key_label);
	_g_object_unref0 (self->theme_label);
	_g_object_unref0 (self->window_label);
	_g_object_unref0 (self->blur_background_label);
	_g_object_unref0 (self->zoom_in_key_label);
	_g_object_unref0 (self->zoom_out_key_label);
	_g_object_unref0 (self->zoom_reset_key_label);
	_g_object_unref0 (self->scrolledwindow);
	_g_object_unref0 (self->close_other_windows_key_entry);
	_g_object_unref0 (self->close_window_key_entry);
	_g_object_unref0 (self->close_workspace_key_entry);
	_g_object_unref0 (self->copy_key_entry);
	_g_object_unref0 (self->display_hotkey_terminal_key_entry);
	_g_object_unref0 (self->fullscreen_key_entry);
	_g_object_unref0 (self->jump_to_next_command_key_entry);
	_g_object_unref0 (self->jump_to_previous_command_key_entry);
	_g_object_unref0 (self->new_workspace_key_entry);
	_g_object_unref0 (self->next_workspace_key_entry);
	_g_object_unref0 (self->open_key_entry);
	_g_object_unref0 (self->paste_key_entry);
	_g_object_unref0 (self->previous_workspace_key_entry);
	_g_object_unref0 (self->rename_title_key_entry);
	_g_object_unref0 (self->search_key_entry);
	_g_object_unref0 (self->select_all_key_entry);
	_g_object_unref0 (self->select_down_window_key_entry);
	_g_object_unref0 (self->select_left_window_key_entry);
	_g_object_unref0 (self->select_right_window_key_entry);
	_g_object_unref0 (self->select_up_window_key_entry);
	_g_object_unref0 (self->show_command_key_entry);
	_g_object_unref0 (self->show_remote_manage_key_entry);
	_g_object_unref0 (self->split_horizontally_key_entry);
	_g_object_unref0 (self->split_vertically_key_entry);
	_g_object_unref0 (self->zoom_in_key_entry);
	_g_object_unref0 (self->zoom_out_key_entry);
	_g_object_unref0 (self->zoom_reset_key_entry);
	_g_object_unref0 (self->cursor_auto_hide_checkbutton);
	_g_object_unref0 (self->copy_on_select_checkbutton);
	_g_object_unref0 (self->cursor_blink_checkbutton);
	_g_object_unref0 (self->hide_quakewindow_after_lost_focus_checkbutton);
	_g_object_unref0 (self->scroll_on_key_checkbutton);
	_g_object_unref0 (self->scroll_on_out_checkbutton);
	_g_object_unref0 (self->blur_background_checkbutton);
	_g_object_unref0 (self->parent_window);
	_g_object_unref0 (self->cursor_style_button);
	_g_object_unref0 (self->opacity_progressbar);
	_g_object_unref0 (self->font_size_spinbutton);
	_g_object_unref0 (self->timer);
	_g_object_unref0 (self->content_box);
	_g_object_unref0 (self->focus_widget);
	_g_object_unref0 (self->slidebar);
	G_OBJECT_CLASS (widgets_preference_parent_class)->finalize (obj);
}

static GType
widgets_preference_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (WidgetsPreferenceClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) widgets_preference_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (WidgetsPreference), 0, (GInstanceInitFunc) widgets_preference_instance_init, NULL };
	GType widgets_preference_type_id;
	widgets_preference_type_id = g_type_register_static (WIDGETS_TYPE_DIALOG, "WidgetsPreference", &g_define_type_info, 0);
	return widgets_preference_type_id;
}

GType
widgets_preference_get_type (void)
{
	static volatile gsize widgets_preference_type_id__once = 0;
	if (g_once_init_enter (&widgets_preference_type_id__once)) {
		GType widgets_preference_type_id;
		widgets_preference_type_id = widgets_preference_get_type_once ();
		g_once_init_leave (&widgets_preference_type_id__once, widgets_preference_type_id);
	}
	return widgets_preference_type_id__once;
}

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

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

static inline gpointer
_vala_memdup2 (gconstpointer mem,
               gsize byte_size)
{
	gpointer new_mem;
	if (mem && byte_size != 0) {
		new_mem = g_malloc (byte_size);
		memcpy (new_mem, mem, byte_size);
	} else {
		new_mem = NULL;
	}
	return new_mem;
}

