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

/*
 * SPDX-License-Identifier: GPL-2.0-or-later
 * SPDX-FileCopyrightText: 2016-2023 elementary, Inc. (https://elementary.io)
 */

#include "desktop.h"
#include <stdlib.h>
#include <string.h>
#include <glib.h>
#include <glib-object.h>
#include <glib/gi18n-lib.h>
#include <gio/gio.h>
#include <granite-7.h>
#include <gtk/gtk.h>
#include <switchboard.h>

#define PANTHEON_SHELL_DOCK_PANEL_SCHEMA "io.elementary.desktop.wingpanel"
#define PANTHEON_SHELL_DOCK_TRANSLUCENCY_KEY "use-transparency"
#define PANTHEON_SHELL_DOCK_SCROLL_TO_SWITCH_WORKSPACES_KEY "scroll-to-switch-workspaces"
#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

enum  {
	PANTHEON_SHELL_DOCK_0_PROPERTY,
	PANTHEON_SHELL_DOCK_NUM_PROPERTIES
};
static GParamSpec* pantheon_shell_dock_properties[PANTHEON_SHELL_DOCK_NUM_PROPERTIES];
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_settings_schema_unref0(var) ((var == NULL) ? NULL : (var = (g_settings_schema_unref (var), NULL)))

static gpointer pantheon_shell_dock_parent_class = NULL;

static GObject * pantheon_shell_dock_constructor (GType type,
                                           guint n_construct_properties,
                                           GObjectConstructParam * construct_properties);
static gboolean _pantheon_shell_dock_____lambda14_ (GValue* value,
                                             GVariant* variant,
                                             void* user_data);
static gboolean __pantheon_shell_dock_____lambda14__gsettings_bind_get_mapping (GValue* value,
                                                                         GVariant* variant,
                                                                         void* user_data);
static GVariant* _pantheon_shell_dock_____lambda15_ (GValue* value,
                                              const GVariantType* expected_type,
                                              void* user_data);
static GVariant* __pantheon_shell_dock_____lambda15__gsettings_bind_set_mapping (GValue* value,
                                                                          const GVariantType* expected_type,
                                                                          void* user_data);
static gboolean _pantheon_shell_dock_____lambda16_ (GValue* value,
                                             GVariant* variant,
                                             void* user_data);
static gboolean __pantheon_shell_dock_____lambda16__gsettings_bind_get_mapping (GValue* value,
                                                                         GVariant* variant,
                                                                         void* user_data);
static GVariant* _pantheon_shell_dock_____lambda17_ (GValue* value,
                                              const GVariantType* expected_type,
                                              void* user_data);
static GVariant* __pantheon_shell_dock_____lambda17__gsettings_bind_set_mapping (GValue* value,
                                                                          const GVariantType* expected_type,
                                                                          void* user_data);
static gboolean _pantheon_shell_dock_____lambda18_ (GValue* value,
                                             GVariant* variant,
                                             void* user_data);
static gboolean __pantheon_shell_dock_____lambda18__gsettings_bind_get_mapping (GValue* value,
                                                                         GVariant* variant,
                                                                         void* user_data);
static GVariant* _pantheon_shell_dock_____lambda19_ (GValue* value,
                                              const GVariantType* expected_type,
                                              void* user_data);
static GVariant* __pantheon_shell_dock_____lambda19__gsettings_bind_set_mapping (GValue* value,
                                                                          const GVariantType* expected_type,
                                                                          void* user_data);
static gboolean _pantheon_shell_dock_____lambda20_ (GValue* value,
                                             GVariant* variant,
                                             void* user_data);
static gboolean __pantheon_shell_dock_____lambda20__gsettings_bind_get_mapping (GValue* value,
                                                                         GVariant* variant,
                                                                         void* user_data);
static GVariant* _pantheon_shell_dock_____lambda21_ (GValue* value,
                                              const GVariantType* expected_type,
                                              void* user_data);
static GVariant* __pantheon_shell_dock_____lambda21__gsettings_bind_set_mapping (GValue* value,
                                                                          const GVariantType* expected_type,
                                                                          void* user_data);
static gboolean _pantheon_shell_dock_____lambda22_ (GValue* value,
                                             GVariant* variant,
                                             void* user_data);
static gboolean __pantheon_shell_dock_____lambda22__gsettings_bind_get_mapping (GValue* value,
                                                                         GVariant* variant,
                                                                         void* user_data);
static GVariant* _pantheon_shell_dock_____lambda23_ (GValue* value,
                                              const GVariantType* expected_type,
                                              void* user_data);
static GVariant* __pantheon_shell_dock_____lambda23__gsettings_bind_set_mapping (GValue* value,
                                                                          const GVariantType* expected_type,
                                                                          void* user_data);
static gboolean _pantheon_shell_dock_____lambda24_ (GValue* value,
                                             GVariant* variant,
                                             void* user_data);
static gboolean __pantheon_shell_dock_____lambda24__gsettings_bind_get_mapping (GValue* value,
                                                                         GVariant* variant,
                                                                         void* user_data);
static GVariant* _pantheon_shell_dock_____lambda25_ (GValue* value,
                                              const GVariantType* expected_type,
                                              void* user_data);
static GVariant* __pantheon_shell_dock_____lambda25__gsettings_bind_set_mapping (GValue* value,
                                                                          const GVariantType* expected_type,
                                                                          void* user_data);
static gboolean _pantheon_shell_dock_____lambda26_ (GValue* value,
                                             GVariant* variant,
                                             void* user_data);
static gboolean __pantheon_shell_dock_____lambda26__gsettings_bind_get_mapping (GValue* value,
                                                                         GVariant* variant,
                                                                         void* user_data);
static GVariant* _pantheon_shell_dock_____lambda27_ (GValue* value,
                                              const GVariantType* expected_type,
                                              void* user_data);
static GVariant* __pantheon_shell_dock_____lambda27__gsettings_bind_set_mapping (GValue* value,
                                                                          const GVariantType* expected_type,
                                                                          void* user_data);
static gboolean _pantheon_shell_dock_____lambda28_ (GValue* value,
                                             GVariant* variant,
                                             void* user_data);
static gboolean __pantheon_shell_dock_____lambda28__gsettings_bind_get_mapping (GValue* value,
                                                                         GVariant* variant,
                                                                         void* user_data);
static GVariant* _pantheon_shell_dock_____lambda29_ (GValue* value,
                                              const GVariantType* expected_type,
                                              void* user_data);
static GVariant* __pantheon_shell_dock_____lambda29__gsettings_bind_set_mapping (GValue* value,
                                                                          const GVariantType* expected_type,
                                                                          void* user_data);
static gboolean _pantheon_shell_dock_____lambda30_ (GValue* value,
                                             GVariant* variant,
                                             void* user_data);
static gboolean __pantheon_shell_dock_____lambda30__gsettings_bind_get_mapping (GValue* value,
                                                                         GVariant* variant,
                                                                         void* user_data);
static GVariant* _pantheon_shell_dock_____lambda31_ (GValue* value,
                                              const GVariantType* expected_type,
                                              void* user_data);
static GVariant* __pantheon_shell_dock_____lambda31__gsettings_bind_set_mapping (GValue* value,
                                                                          const GVariantType* expected_type,
                                                                          void* user_data);
static GType pantheon_shell_dock_get_type_once (void);

PantheonShellDock*
pantheon_shell_dock_construct (GType object_type)
{
	PantheonShellDock * self = NULL;
	GThemedIcon* _tmp0_;
	GThemedIcon* _tmp1_;
	_tmp0_ = (GThemedIcon*) g_themed_icon_new ("preferences-desktop");
	_tmp1_ = _tmp0_;
	self = (PantheonShellDock*) g_object_new (object_type, "title", _ ("Dock & Panel"), "icon", _tmp1_, "show-end-title-buttons", TRUE, NULL);
	_g_object_unref0 (_tmp1_);
	return self;
}

PantheonShellDock*
pantheon_shell_dock_new (void)
{
	return pantheon_shell_dock_construct (PANTHEON_SHELL_TYPE_DOCK);
}

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

static gboolean
_pantheon_shell_dock_____lambda14_ (GValue* value,
                                    GVariant* variant,
                                    void* user_data)
{
	gboolean result;
	g_return_val_if_fail (value != NULL, FALSE);
	g_return_val_if_fail (variant != NULL, FALSE);
	g_value_set_boolean (value, g_variant_get_int32 (variant) == ((gint32) 32));
	result = TRUE;
	return result;
}

static gboolean
__pantheon_shell_dock_____lambda14__gsettings_bind_get_mapping (GValue* value,
                                                                GVariant* variant,
                                                                void* user_data)
{
	gboolean result;
	result = _pantheon_shell_dock_____lambda14_ (value, variant, user_data);
	return result;
}

static GVariant*
_pantheon_shell_dock_____lambda15_ (GValue* value,
                                    const GVariantType* expected_type,
                                    void* user_data)
{
	GVariant* _tmp1_;
	GVariant* result;
	g_return_val_if_fail (value != NULL, NULL);
	g_return_val_if_fail (expected_type != NULL, NULL);
	if (g_value_get_boolean (value)) {
		GVariant* _tmp0_;
		_tmp0_ = g_variant_new_int32 ((gint32) 32);
		g_variant_ref_sink (_tmp0_);
		result = _tmp0_;
		return result;
	}
	_tmp1_ = g_variant_new_maybe (NULL, NULL);
	g_variant_ref_sink (_tmp1_);
	result = _tmp1_;
	return result;
}

static GVariant*
__pantheon_shell_dock_____lambda15__gsettings_bind_set_mapping (GValue* value,
                                                                const GVariantType* expected_type,
                                                                void* user_data)
{
	GVariant* result;
	result = _pantheon_shell_dock_____lambda15_ (value, expected_type, user_data);
	return result;
}

static gboolean
_pantheon_shell_dock_____lambda16_ (GValue* value,
                                    GVariant* variant,
                                    void* user_data)
{
	gboolean result;
	g_return_val_if_fail (value != NULL, FALSE);
	g_return_val_if_fail (variant != NULL, FALSE);
	g_value_set_boolean (value, g_variant_get_int32 (variant) == ((gint32) 48));
	result = TRUE;
	return result;
}

static gboolean
__pantheon_shell_dock_____lambda16__gsettings_bind_get_mapping (GValue* value,
                                                                GVariant* variant,
                                                                void* user_data)
{
	gboolean result;
	result = _pantheon_shell_dock_____lambda16_ (value, variant, user_data);
	return result;
}

static GVariant*
_pantheon_shell_dock_____lambda17_ (GValue* value,
                                    const GVariantType* expected_type,
                                    void* user_data)
{
	GVariant* _tmp1_;
	GVariant* result;
	g_return_val_if_fail (value != NULL, NULL);
	g_return_val_if_fail (expected_type != NULL, NULL);
	if (g_value_get_boolean (value)) {
		GVariant* _tmp0_;
		_tmp0_ = g_variant_new_int32 ((gint32) 48);
		g_variant_ref_sink (_tmp0_);
		result = _tmp0_;
		return result;
	}
	_tmp1_ = g_variant_new_maybe (NULL, NULL);
	g_variant_ref_sink (_tmp1_);
	result = _tmp1_;
	return result;
}

static GVariant*
__pantheon_shell_dock_____lambda17__gsettings_bind_set_mapping (GValue* value,
                                                                const GVariantType* expected_type,
                                                                void* user_data)
{
	GVariant* result;
	result = _pantheon_shell_dock_____lambda17_ (value, expected_type, user_data);
	return result;
}

static gboolean
_pantheon_shell_dock_____lambda18_ (GValue* value,
                                    GVariant* variant,
                                    void* user_data)
{
	gboolean result;
	g_return_val_if_fail (value != NULL, FALSE);
	g_return_val_if_fail (variant != NULL, FALSE);
	g_value_set_boolean (value, g_variant_get_int32 (variant) == ((gint32) 64));
	result = TRUE;
	return result;
}

static gboolean
__pantheon_shell_dock_____lambda18__gsettings_bind_get_mapping (GValue* value,
                                                                GVariant* variant,
                                                                void* user_data)
{
	gboolean result;
	result = _pantheon_shell_dock_____lambda18_ (value, variant, user_data);
	return result;
}

static GVariant*
_pantheon_shell_dock_____lambda19_ (GValue* value,
                                    const GVariantType* expected_type,
                                    void* user_data)
{
	GVariant* _tmp1_;
	GVariant* result;
	g_return_val_if_fail (value != NULL, NULL);
	g_return_val_if_fail (expected_type != NULL, NULL);
	if (g_value_get_boolean (value)) {
		GVariant* _tmp0_;
		_tmp0_ = g_variant_new_int32 ((gint32) 64);
		g_variant_ref_sink (_tmp0_);
		result = _tmp0_;
		return result;
	}
	_tmp1_ = g_variant_new_maybe (NULL, NULL);
	g_variant_ref_sink (_tmp1_);
	result = _tmp1_;
	return result;
}

static GVariant*
__pantheon_shell_dock_____lambda19__gsettings_bind_set_mapping (GValue* value,
                                                                const GVariantType* expected_type,
                                                                void* user_data)
{
	GVariant* result;
	result = _pantheon_shell_dock_____lambda19_ (value, expected_type, user_data);
	return result;
}

static gboolean
_pantheon_shell_dock_____lambda20_ (GValue* value,
                                    GVariant* variant,
                                    void* user_data)
{
	gint32 icon_size = 0;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	gboolean result;
	g_return_val_if_fail (value != NULL, FALSE);
	g_return_val_if_fail (variant != NULL, FALSE);
	icon_size = g_variant_get_int32 (variant);
	if (icon_size != ((gint32) 32)) {
		_tmp1_ = icon_size != ((gint32) 48);
	} else {
		_tmp1_ = FALSE;
	}
	if (_tmp1_) {
		_tmp0_ = icon_size != ((gint32) 64);
	} else {
		_tmp0_ = FALSE;
	}
	g_value_set_boolean (value, _tmp0_);
	result = TRUE;
	return result;
}

static gboolean
__pantheon_shell_dock_____lambda20__gsettings_bind_get_mapping (GValue* value,
                                                                GVariant* variant,
                                                                void* user_data)
{
	gboolean result;
	result = _pantheon_shell_dock_____lambda20_ (value, variant, user_data);
	return result;
}

static GVariant*
_pantheon_shell_dock_____lambda21_ (GValue* value,
                                    const GVariantType* expected_type,
                                    void* user_data)
{
	GVariant* _tmp0_;
	GVariant* result;
	g_return_val_if_fail (value != NULL, NULL);
	g_return_val_if_fail (expected_type != NULL, NULL);
	_tmp0_ = g_variant_new_maybe (NULL, NULL);
	g_variant_ref_sink (_tmp0_);
	result = _tmp0_;
	return result;
}

static GVariant*
__pantheon_shell_dock_____lambda21__gsettings_bind_set_mapping (GValue* value,
                                                                const GVariantType* expected_type,
                                                                void* user_data)
{
	GVariant* result;
	result = _pantheon_shell_dock_____lambda21_ (value, expected_type, user_data);
	return result;
}

static gboolean
_pantheon_shell_dock_____lambda22_ (GValue* value,
                                    GVariant* variant,
                                    void* user_data)
{
	const gchar* _tmp0_;
	gboolean result;
	g_return_val_if_fail (value != NULL, FALSE);
	g_return_val_if_fail (variant != NULL, FALSE);
	_tmp0_ = g_variant_get_string (variant, NULL);
	g_value_set_boolean (value, g_strcmp0 (_tmp0_, "never") == 0);
	result = TRUE;
	return result;
}

static gboolean
__pantheon_shell_dock_____lambda22__gsettings_bind_get_mapping (GValue* value,
                                                                GVariant* variant,
                                                                void* user_data)
{
	gboolean result;
	result = _pantheon_shell_dock_____lambda22_ (value, variant, user_data);
	return result;
}

static GVariant*
_pantheon_shell_dock_____lambda23_ (GValue* value,
                                    const GVariantType* expected_type,
                                    void* user_data)
{
	GVariant* _tmp1_;
	GVariant* result;
	g_return_val_if_fail (value != NULL, NULL);
	g_return_val_if_fail (expected_type != NULL, NULL);
	if (g_value_get_boolean (value)) {
		GVariant* _tmp0_;
		_tmp0_ = g_variant_new_string ("never");
		g_variant_ref_sink (_tmp0_);
		result = _tmp0_;
		return result;
	}
	_tmp1_ = g_variant_new_maybe (NULL, NULL);
	g_variant_ref_sink (_tmp1_);
	result = _tmp1_;
	return result;
}

static GVariant*
__pantheon_shell_dock_____lambda23__gsettings_bind_set_mapping (GValue* value,
                                                                const GVariantType* expected_type,
                                                                void* user_data)
{
	GVariant* result;
	result = _pantheon_shell_dock_____lambda23_ (value, expected_type, user_data);
	return result;
}

static gboolean
_pantheon_shell_dock_____lambda24_ (GValue* value,
                                    GVariant* variant,
                                    void* user_data)
{
	const gchar* _tmp0_;
	gboolean result;
	g_return_val_if_fail (value != NULL, FALSE);
	g_return_val_if_fail (variant != NULL, FALSE);
	_tmp0_ = g_variant_get_string (variant, NULL);
	g_value_set_boolean (value, g_strcmp0 (_tmp0_, "maximized-focus-window") == 0);
	result = TRUE;
	return result;
}

static gboolean
__pantheon_shell_dock_____lambda24__gsettings_bind_get_mapping (GValue* value,
                                                                GVariant* variant,
                                                                void* user_data)
{
	gboolean result;
	result = _pantheon_shell_dock_____lambda24_ (value, variant, user_data);
	return result;
}

static GVariant*
_pantheon_shell_dock_____lambda25_ (GValue* value,
                                    const GVariantType* expected_type,
                                    void* user_data)
{
	GVariant* _tmp1_;
	GVariant* result;
	g_return_val_if_fail (value != NULL, NULL);
	g_return_val_if_fail (expected_type != NULL, NULL);
	if (g_value_get_boolean (value)) {
		GVariant* _tmp0_;
		_tmp0_ = g_variant_new_string ("maximized-focus-window");
		g_variant_ref_sink (_tmp0_);
		result = _tmp0_;
		return result;
	}
	_tmp1_ = g_variant_new_maybe (NULL, NULL);
	g_variant_ref_sink (_tmp1_);
	result = _tmp1_;
	return result;
}

static GVariant*
__pantheon_shell_dock_____lambda25__gsettings_bind_set_mapping (GValue* value,
                                                                const GVariantType* expected_type,
                                                                void* user_data)
{
	GVariant* result;
	result = _pantheon_shell_dock_____lambda25_ (value, expected_type, user_data);
	return result;
}

static gboolean
_pantheon_shell_dock_____lambda26_ (GValue* value,
                                    GVariant* variant,
                                    void* user_data)
{
	const gchar* _tmp0_;
	gboolean result;
	g_return_val_if_fail (value != NULL, FALSE);
	g_return_val_if_fail (variant != NULL, FALSE);
	_tmp0_ = g_variant_get_string (variant, NULL);
	g_value_set_boolean (value, g_strcmp0 (_tmp0_, "overlapping-focus-window") == 0);
	result = TRUE;
	return result;
}

static gboolean
__pantheon_shell_dock_____lambda26__gsettings_bind_get_mapping (GValue* value,
                                                                GVariant* variant,
                                                                void* user_data)
{
	gboolean result;
	result = _pantheon_shell_dock_____lambda26_ (value, variant, user_data);
	return result;
}

static GVariant*
_pantheon_shell_dock_____lambda27_ (GValue* value,
                                    const GVariantType* expected_type,
                                    void* user_data)
{
	GVariant* _tmp1_;
	GVariant* result;
	g_return_val_if_fail (value != NULL, NULL);
	g_return_val_if_fail (expected_type != NULL, NULL);
	if (g_value_get_boolean (value)) {
		GVariant* _tmp0_;
		_tmp0_ = g_variant_new_string ("overlapping-focus-window");
		g_variant_ref_sink (_tmp0_);
		result = _tmp0_;
		return result;
	}
	_tmp1_ = g_variant_new_maybe (NULL, NULL);
	g_variant_ref_sink (_tmp1_);
	result = _tmp1_;
	return result;
}

static GVariant*
__pantheon_shell_dock_____lambda27__gsettings_bind_set_mapping (GValue* value,
                                                                const GVariantType* expected_type,
                                                                void* user_data)
{
	GVariant* result;
	result = _pantheon_shell_dock_____lambda27_ (value, expected_type, user_data);
	return result;
}

static gboolean
_pantheon_shell_dock_____lambda28_ (GValue* value,
                                    GVariant* variant,
                                    void* user_data)
{
	const gchar* _tmp0_;
	gboolean result;
	g_return_val_if_fail (value != NULL, FALSE);
	g_return_val_if_fail (variant != NULL, FALSE);
	_tmp0_ = g_variant_get_string (variant, NULL);
	g_value_set_boolean (value, g_strcmp0 (_tmp0_, "overlapping-window") == 0);
	result = TRUE;
	return result;
}

static gboolean
__pantheon_shell_dock_____lambda28__gsettings_bind_get_mapping (GValue* value,
                                                                GVariant* variant,
                                                                void* user_data)
{
	gboolean result;
	result = _pantheon_shell_dock_____lambda28_ (value, variant, user_data);
	return result;
}

static GVariant*
_pantheon_shell_dock_____lambda29_ (GValue* value,
                                    const GVariantType* expected_type,
                                    void* user_data)
{
	GVariant* _tmp1_;
	GVariant* result;
	g_return_val_if_fail (value != NULL, NULL);
	g_return_val_if_fail (expected_type != NULL, NULL);
	if (g_value_get_boolean (value)) {
		GVariant* _tmp0_;
		_tmp0_ = g_variant_new_string ("overlapping-window");
		g_variant_ref_sink (_tmp0_);
		result = _tmp0_;
		return result;
	}
	_tmp1_ = g_variant_new_maybe (NULL, NULL);
	g_variant_ref_sink (_tmp1_);
	result = _tmp1_;
	return result;
}

static GVariant*
__pantheon_shell_dock_____lambda29__gsettings_bind_set_mapping (GValue* value,
                                                                const GVariantType* expected_type,
                                                                void* user_data)
{
	GVariant* result;
	result = _pantheon_shell_dock_____lambda29_ (value, expected_type, user_data);
	return result;
}

static gboolean
_pantheon_shell_dock_____lambda30_ (GValue* value,
                                    GVariant* variant,
                                    void* user_data)
{
	const gchar* _tmp0_;
	gboolean result;
	g_return_val_if_fail (value != NULL, FALSE);
	g_return_val_if_fail (variant != NULL, FALSE);
	_tmp0_ = g_variant_get_string (variant, NULL);
	g_value_set_boolean (value, g_strcmp0 (_tmp0_, "always") == 0);
	result = TRUE;
	return result;
}

static gboolean
__pantheon_shell_dock_____lambda30__gsettings_bind_get_mapping (GValue* value,
                                                                GVariant* variant,
                                                                void* user_data)
{
	gboolean result;
	result = _pantheon_shell_dock_____lambda30_ (value, variant, user_data);
	return result;
}

static GVariant*
_pantheon_shell_dock_____lambda31_ (GValue* value,
                                    const GVariantType* expected_type,
                                    void* user_data)
{
	GVariant* _tmp1_;
	GVariant* result;
	g_return_val_if_fail (value != NULL, NULL);
	g_return_val_if_fail (expected_type != NULL, NULL);
	if (g_value_get_boolean (value)) {
		GVariant* _tmp0_;
		_tmp0_ = g_variant_new_string ("always");
		g_variant_ref_sink (_tmp0_);
		result = _tmp0_;
		return result;
	}
	_tmp1_ = g_variant_new_maybe (NULL, NULL);
	g_variant_ref_sink (_tmp1_);
	result = _tmp1_;
	return result;
}

static GVariant*
__pantheon_shell_dock_____lambda31__gsettings_bind_set_mapping (GValue* value,
                                                                const GVariantType* expected_type,
                                                                void* user_data)
{
	GVariant* result;
	result = _pantheon_shell_dock_____lambda31_ (value, expected_type, user_data);
	return result;
}

static GObject *
pantheon_shell_dock_constructor (GType type,
                                 guint n_construct_properties,
                                 GObjectConstructParam * construct_properties)
{
	GObject * obj;
	GObjectClass * parent_class;
	PantheonShellDock * self;
	GraniteHeaderLabel* icon_header = NULL;
	GraniteHeaderLabel* _tmp0_;
	GtkImage* image_32 = NULL;
	GtkImage* _tmp1_ = NULL;
	GtkCheckButton* icon_size_32 = NULL;
	gchar* _tmp2_;
	GtkCheckButton* _tmp3_ = NULL;
	GtkImage* _tmp4_;
	GtkCheckButton* _tmp5_;
	GtkImage* image_48 = NULL;
	GtkImage* _tmp6_ = NULL;
	GtkCheckButton* icon_size_48 = NULL;
	GtkCheckButton* _tmp7_;
	GtkCheckButton* _tmp8_;
	gchar* _tmp9_;
	GtkCheckButton* _tmp10_ = NULL;
	GtkImage* _tmp11_;
	GtkCheckButton* _tmp12_;
	GtkImage* image_64 = NULL;
	GtkImage* _tmp13_ = NULL;
	GtkCheckButton* icon_size_64 = NULL;
	GtkCheckButton* _tmp14_;
	GtkCheckButton* _tmp15_;
	gchar* _tmp16_;
	GtkCheckButton* _tmp17_ = NULL;
	GtkImage* _tmp18_;
	GtkCheckButton* _tmp19_;
	GtkCheckButton* icon_size_unsupported = NULL;
	GtkCheckButton* _tmp20_;
	GtkCheckButton* _tmp21_;
	GtkCheckButton* _tmp22_ = NULL;
	GtkBox* icon_size_box = NULL;
	GtkBox* _tmp23_;
	GtkBox* _tmp24_;
	GtkCheckButton* _tmp25_;
	GtkBox* _tmp26_;
	GtkCheckButton* _tmp27_;
	GtkBox* _tmp28_;
	GtkCheckButton* _tmp29_;
	GtkBox* icon_box = NULL;
	GtkBox* _tmp30_;
	GtkBox* _tmp31_;
	GraniteHeaderLabel* _tmp32_;
	GtkBox* _tmp33_;
	GtkBox* _tmp34_;
	GraniteHeaderLabel* hide_header = NULL;
	GraniteHeaderLabel* _tmp35_;
	GtkCheckButton* never_radio = NULL;
	GtkCheckButton* _tmp36_;
	GtkCheckButton* dodge_maximized_radio = NULL;
	GtkCheckButton* _tmp37_;
	GtkCheckButton* _tmp38_;
	GtkCheckButton* _tmp39_ = NULL;
	GtkCheckButton* dodge_focused_radio = NULL;
	GtkCheckButton* _tmp40_;
	GtkCheckButton* _tmp41_;
	GtkCheckButton* _tmp42_ = NULL;
	GtkCheckButton* dodge_all_radio = NULL;
	GtkCheckButton* _tmp43_;
	GtkCheckButton* _tmp44_;
	GtkCheckButton* _tmp45_ = NULL;
	GtkCheckButton* always_radio = NULL;
	GtkCheckButton* _tmp46_;
	GtkCheckButton* _tmp47_;
	GtkCheckButton* _tmp48_ = NULL;
	GtkBox* hide_box = NULL;
	GtkBox* _tmp49_;
	GtkBox* _tmp50_;
	GraniteHeaderLabel* _tmp51_;
	GtkBox* _tmp52_;
	GtkCheckButton* _tmp53_;
	GtkBox* _tmp54_;
	GtkCheckButton* _tmp55_;
	GtkBox* _tmp56_;
	GtkCheckButton* _tmp57_;
	GtkBox* _tmp58_;
	GtkCheckButton* _tmp59_;
	GtkBox* _tmp60_;
	GtkCheckButton* _tmp61_;
	GtkSwitch* translucency_switch = NULL;
	GtkSwitch* _tmp62_ = NULL;
	GraniteHeaderLabel* translucency_header = NULL;
	GtkSwitch* _tmp63_;
	GtkWidget* _tmp64_;
	gchar* _tmp65_;
	GraniteHeaderLabel* _tmp66_ = NULL;
	GtkBox* translucency_box = NULL;
	GtkBox* _tmp67_;
	GtkBox* _tmp68_;
	GraniteHeaderLabel* _tmp69_;
	GtkBox* _tmp70_;
	GtkSwitch* _tmp71_;
	GtkSwitch* scroll_to_switch_workspaces_switch = NULL;
	GtkSwitch* _tmp72_ = NULL;
	GraniteHeaderLabel* scroll_to_switch_workspaces_header = NULL;
	GtkSwitch* _tmp73_;
	GtkWidget* _tmp74_;
	gchar* _tmp75_;
	GraniteHeaderLabel* _tmp76_ = NULL;
	GtkBox* scroll_to_switch_workspaces_box = NULL;
	GtkBox* _tmp77_;
	GtkBox* _tmp78_;
	GraniteHeaderLabel* _tmp79_;
	GtkBox* _tmp80_;
	GtkSwitch* _tmp81_;
	GraniteHeaderLabel* indicators_header = NULL;
	GraniteHeaderLabel* _tmp82_;
	GtkBox* indicators_box = NULL;
	GtkBox* _tmp83_;
	GtkBox* _tmp84_;
	GraniteHeaderLabel* _tmp85_;
	GSettingsSchema* quicksettings_schema = NULL;
	GSettingsSchemaSource* _tmp86_;
	GSettingsSchema* _tmp87_;
	gboolean _tmp88_ = FALSE;
	GSettingsSchema* _tmp89_;
	GSettingsSchema* keyboard_schema = NULL;
	GSettingsSchemaSource* _tmp97_;
	GSettingsSchema* _tmp98_;
	gboolean _tmp99_ = FALSE;
	GSettingsSchema* _tmp100_;
	GtkBox* box = NULL;
	GtkBox* _tmp113_;
	GtkBox* _tmp114_;
	GtkBox* _tmp115_;
	GtkBox* _tmp116_;
	GtkBox* _tmp117_;
	GtkBox* _tmp118_;
	GtkBox* _tmp119_;
	GtkBox* _tmp120_;
	GtkBox* _tmp121_;
	GraniteHeaderLabel* _tmp122_;
	GtkWidget* _tmp123_;
	GtkBox* _tmp126_;
	GSettingsSchema* dock_schema = NULL;
	GSettingsSchemaSource* _tmp127_;
	GSettingsSchema* _tmp128_;
	GSettingsSchema* _tmp129_;
	GSettings* panel_settings = NULL;
	GSettings* _tmp155_;
	GSettings* _tmp156_;
	GtkSwitch* _tmp157_;
	GSettings* _tmp158_;
	GtkSwitch* _tmp159_;
	parent_class = G_OBJECT_CLASS (pantheon_shell_dock_parent_class);
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, PANTHEON_SHELL_TYPE_DOCK, PantheonShellDock);
	_tmp0_ = granite_header_label_new (_ ("Dock Icon Size"));
	g_object_ref_sink (_tmp0_);
	icon_header = _tmp0_;
	_tmp1_ = (GtkImage*) gtk_image_new_from_icon_name ("dock-icon-symbolic");
	gtk_image_set_pixel_size (_tmp1_, 32);
	g_object_ref_sink (_tmp1_);
	image_32 = _tmp1_;
	_tmp2_ = g_strdup (_ ("Small"));
	_tmp3_ = (GtkCheckButton*) gtk_check_button_new ();
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp3_, _tmp2_);
	_g_free0 (_tmp2_);
	g_object_ref_sink (_tmp3_);
	icon_size_32 = _tmp3_;
	_tmp4_ = image_32;
	_tmp5_ = icon_size_32;
	gtk_widget_set_parent ((GtkWidget*) _tmp4_, (GtkWidget*) _tmp5_);
	_tmp6_ = (GtkImage*) gtk_image_new_from_icon_name ("dock-icon-symbolic");
	gtk_image_set_pixel_size (_tmp6_, 48);
	g_object_ref_sink (_tmp6_);
	image_48 = _tmp6_;
	_tmp7_ = icon_size_32;
	_tmp8_ = _g_object_ref0 (_tmp7_);
	_tmp9_ = g_strdup (_ ("Default"));
	_tmp10_ = (GtkCheckButton*) gtk_check_button_new ();
	gtk_check_button_set_group (_tmp10_, _tmp8_);
	_g_object_unref0 (_tmp8_);
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp10_, _tmp9_);
	_g_free0 (_tmp9_);
	g_object_ref_sink (_tmp10_);
	icon_size_48 = _tmp10_;
	_tmp11_ = image_48;
	_tmp12_ = icon_size_48;
	gtk_widget_set_parent ((GtkWidget*) _tmp11_, (GtkWidget*) _tmp12_);
	_tmp13_ = (GtkImage*) gtk_image_new_from_icon_name ("dock-icon-symbolic");
	gtk_image_set_pixel_size (_tmp13_, 64);
	g_object_ref_sink (_tmp13_);
	image_64 = _tmp13_;
	_tmp14_ = icon_size_32;
	_tmp15_ = _g_object_ref0 (_tmp14_);
	_tmp16_ = g_strdup (_ ("Large"));
	_tmp17_ = (GtkCheckButton*) gtk_check_button_new ();
	gtk_check_button_set_group (_tmp17_, _tmp15_);
	_g_object_unref0 (_tmp15_);
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp17_, _tmp16_);
	_g_free0 (_tmp16_);
	g_object_ref_sink (_tmp17_);
	icon_size_64 = _tmp17_;
	_tmp18_ = image_64;
	_tmp19_ = icon_size_64;
	gtk_widget_set_parent ((GtkWidget*) _tmp18_, (GtkWidget*) _tmp19_);
	_tmp20_ = icon_size_32;
	_tmp21_ = _g_object_ref0 (_tmp20_);
	_tmp22_ = (GtkCheckButton*) gtk_check_button_new ();
	gtk_check_button_set_group (_tmp22_, _tmp21_);
	_g_object_unref0 (_tmp21_);
	g_object_ref_sink (_tmp22_);
	icon_size_unsupported = _tmp22_;
	_tmp23_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 24);
	g_object_ref_sink (_tmp23_);
	icon_size_box = _tmp23_;
	_tmp24_ = icon_size_box;
	_tmp25_ = icon_size_32;
	gtk_box_append (_tmp24_, (GtkWidget*) _tmp25_);
	_tmp26_ = icon_size_box;
	_tmp27_ = icon_size_48;
	gtk_box_append (_tmp26_, (GtkWidget*) _tmp27_);
	_tmp28_ = icon_size_box;
	_tmp29_ = icon_size_64;
	gtk_box_append (_tmp28_, (GtkWidget*) _tmp29_);
	_tmp30_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
	g_object_ref_sink (_tmp30_);
	icon_box = _tmp30_;
	_tmp31_ = icon_box;
	_tmp32_ = icon_header;
	gtk_box_append (_tmp31_, (GtkWidget*) _tmp32_);
	_tmp33_ = icon_box;
	_tmp34_ = icon_size_box;
	gtk_box_append (_tmp33_, (GtkWidget*) _tmp34_);
	_tmp35_ = granite_header_label_new (_ ("Hide Dock"));
	g_object_ref_sink (_tmp35_);
	hide_header = _tmp35_;
	_tmp36_ = (GtkCheckButton*) gtk_check_button_new_with_label (_ ("Never"));
	g_object_ref_sink (_tmp36_);
	never_radio = _tmp36_;
	_tmp37_ = never_radio;
	_tmp38_ = _g_object_ref0 (_tmp37_);
	_tmp39_ = (GtkCheckButton*) gtk_check_button_new_with_label (_ ("When the focused window is maximized"));
	gtk_check_button_set_group (_tmp39_, _tmp38_);
	_g_object_unref0 (_tmp38_);
	g_object_ref_sink (_tmp39_);
	dodge_maximized_radio = _tmp39_;
	_tmp40_ = never_radio;
	_tmp41_ = _g_object_ref0 (_tmp40_);
	_tmp42_ = (GtkCheckButton*) gtk_check_button_new_with_label (_ ("When the focused window overlaps the dock"));
	gtk_check_button_set_group (_tmp42_, _tmp41_);
	_g_object_unref0 (_tmp41_);
	g_object_ref_sink (_tmp42_);
	dodge_focused_radio = _tmp42_;
	_tmp43_ = never_radio;
	_tmp44_ = _g_object_ref0 (_tmp43_);
	_tmp45_ = (GtkCheckButton*) gtk_check_button_new_with_label (_ ("When any window overlaps the dock"));
	gtk_check_button_set_group (_tmp45_, _tmp44_);
	_g_object_unref0 (_tmp44_);
	g_object_ref_sink (_tmp45_);
	dodge_all_radio = _tmp45_;
	_tmp46_ = never_radio;
	_tmp47_ = _g_object_ref0 (_tmp46_);
	_tmp48_ = (GtkCheckButton*) gtk_check_button_new_with_label (_ ("When not being used"));
	gtk_check_button_set_group (_tmp48_, _tmp47_);
	_g_object_unref0 (_tmp47_);
	g_object_ref_sink (_tmp48_);
	always_radio = _tmp48_;
	_tmp49_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
	g_object_ref_sink (_tmp49_);
	hide_box = _tmp49_;
	_tmp50_ = hide_box;
	_tmp51_ = hide_header;
	gtk_box_append (_tmp50_, (GtkWidget*) _tmp51_);
	_tmp52_ = hide_box;
	_tmp53_ = never_radio;
	gtk_box_append (_tmp52_, (GtkWidget*) _tmp53_);
	_tmp54_ = hide_box;
	_tmp55_ = dodge_maximized_radio;
	gtk_box_append (_tmp54_, (GtkWidget*) _tmp55_);
	_tmp56_ = hide_box;
	_tmp57_ = dodge_focused_radio;
	gtk_box_append (_tmp56_, (GtkWidget*) _tmp57_);
	_tmp58_ = hide_box;
	_tmp59_ = dodge_all_radio;
	gtk_box_append (_tmp58_, (GtkWidget*) _tmp59_);
	_tmp60_ = hide_box;
	_tmp61_ = always_radio;
	gtk_box_append (_tmp60_, (GtkWidget*) _tmp61_);
	_tmp62_ = (GtkSwitch*) gtk_switch_new ();
	gtk_widget_set_halign ((GtkWidget*) _tmp62_, GTK_ALIGN_END);
	gtk_widget_set_hexpand ((GtkWidget*) _tmp62_, TRUE);
	gtk_widget_set_valign ((GtkWidget*) _tmp62_, GTK_ALIGN_CENTER);
	g_object_ref_sink (_tmp62_);
	translucency_switch = _tmp62_;
	_tmp63_ = translucency_switch;
	_tmp64_ = _g_object_ref0 ((GtkWidget*) _tmp63_);
	_tmp65_ = g_strdup (_ ("Automatically transparent or opaque based on the wallpaper"));
	_tmp66_ = granite_header_label_new (_ ("Panel Translucency"));
	granite_header_label_set_mnemonic_widget (_tmp66_, _tmp64_);
	_g_object_unref0 (_tmp64_);
	granite_header_label_set_secondary_text (_tmp66_, _tmp65_);
	_g_free0 (_tmp65_);
	g_object_ref_sink (_tmp66_);
	translucency_header = _tmp66_;
	_tmp67_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
	g_object_ref_sink (_tmp67_);
	translucency_box = _tmp67_;
	_tmp68_ = translucency_box;
	_tmp69_ = translucency_header;
	gtk_box_append (_tmp68_, (GtkWidget*) _tmp69_);
	_tmp70_ = translucency_box;
	_tmp71_ = translucency_switch;
	gtk_box_append (_tmp70_, (GtkWidget*) _tmp71_);
	_tmp72_ = (GtkSwitch*) gtk_switch_new ();
	gtk_widget_set_halign ((GtkWidget*) _tmp72_, GTK_ALIGN_END);
	gtk_widget_set_hexpand ((GtkWidget*) _tmp72_, TRUE);
	gtk_widget_set_valign ((GtkWidget*) _tmp72_, GTK_ALIGN_CENTER);
	g_object_ref_sink (_tmp72_);
	scroll_to_switch_workspaces_switch = _tmp72_;
	_tmp73_ = scroll_to_switch_workspaces_switch;
	_tmp74_ = _g_object_ref0 ((GtkWidget*) _tmp73_);
	_tmp75_ = g_strdup (_ ("Scroll on the panel to switch workspaces"));
	_tmp76_ = granite_header_label_new (_ ("Panel Scroll"));
	granite_header_label_set_mnemonic_widget (_tmp76_, _tmp74_);
	_g_object_unref0 (_tmp74_);
	granite_header_label_set_secondary_text (_tmp76_, _tmp75_);
	_g_free0 (_tmp75_);
	g_object_ref_sink (_tmp76_);
	scroll_to_switch_workspaces_header = _tmp76_;
	_tmp77_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
	g_object_ref_sink (_tmp77_);
	scroll_to_switch_workspaces_box = _tmp77_;
	_tmp78_ = scroll_to_switch_workspaces_box;
	_tmp79_ = scroll_to_switch_workspaces_header;
	gtk_box_append (_tmp78_, (GtkWidget*) _tmp79_);
	_tmp80_ = scroll_to_switch_workspaces_box;
	_tmp81_ = scroll_to_switch_workspaces_switch;
	gtk_box_append (_tmp80_, (GtkWidget*) _tmp81_);
	_tmp82_ = granite_header_label_new (_ ("Show in Panel"));
	g_object_ref_sink (_tmp82_);
	indicators_header = _tmp82_;
	_tmp83_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
	g_object_ref_sink (_tmp83_);
	indicators_box = _tmp83_;
	_tmp84_ = indicators_box;
	_tmp85_ = indicators_header;
	gtk_box_append (_tmp84_, (GtkWidget*) _tmp85_);
	_tmp86_ = g_settings_schema_source_get_default ();
	_tmp87_ = g_settings_schema_source_lookup (_tmp86_, "io.elementary.desktop.quick-settings", TRUE);
	quicksettings_schema = _tmp87_;
	_tmp89_ = quicksettings_schema;
	if (_tmp89_ != NULL) {
		GSettingsSchema* _tmp90_;
		_tmp90_ = quicksettings_schema;
		_tmp88_ = g_settings_schema_has_key (_tmp90_, "show-a11y");
	} else {
		_tmp88_ = FALSE;
	}
	if (_tmp88_) {
		GtkCheckButton* a11y_check = NULL;
		GtkCheckButton* _tmp91_;
		GtkBox* _tmp92_;
		GtkCheckButton* _tmp93_;
		GSettings* a11y_settings = NULL;
		GSettings* _tmp94_;
		GSettings* _tmp95_;
		GtkCheckButton* _tmp96_;
		_tmp91_ = (GtkCheckButton*) gtk_check_button_new_with_label (_ ("Accessibility"));
		g_object_ref_sink (_tmp91_);
		a11y_check = _tmp91_;
		_tmp92_ = indicators_box;
		_tmp93_ = a11y_check;
		gtk_box_append (_tmp92_, (GtkWidget*) _tmp93_);
		_tmp94_ = g_settings_new ("io.elementary.desktop.quick-settings");
		a11y_settings = _tmp94_;
		_tmp95_ = a11y_settings;
		_tmp96_ = a11y_check;
		g_settings_bind (_tmp95_, "show-a11y", (GObject*) _tmp96_, "active", G_SETTINGS_BIND_DEFAULT);
		_g_object_unref0 (a11y_settings);
		_g_object_unref0 (a11y_check);
	}
	_tmp97_ = g_settings_schema_source_get_default ();
	_tmp98_ = g_settings_schema_source_lookup (_tmp97_, "io.elementary.wingpanel.keyboard", TRUE);
	keyboard_schema = _tmp98_;
	_tmp100_ = keyboard_schema;
	if (_tmp100_ != NULL) {
		GSettingsSchema* _tmp101_;
		_tmp101_ = keyboard_schema;
		_tmp99_ = g_settings_schema_has_key (_tmp101_, "capslock");
	} else {
		_tmp99_ = FALSE;
	}
	if (_tmp99_) {
		GtkCheckButton* caps_check = NULL;
		GtkCheckButton* _tmp102_;
		GtkCheckButton* num_check = NULL;
		GtkCheckButton* _tmp103_;
		GtkBox* _tmp104_;
		GtkCheckButton* _tmp105_;
		GtkBox* _tmp106_;
		GtkCheckButton* _tmp107_;
		GSettings* keyboard_settings = NULL;
		GSettings* _tmp108_;
		GSettings* _tmp109_;
		GtkCheckButton* _tmp110_;
		GSettings* _tmp111_;
		GtkCheckButton* _tmp112_;
		_tmp102_ = (GtkCheckButton*) gtk_check_button_new_with_label (_ ("Caps Lock ⇪"));
		g_object_ref_sink (_tmp102_);
		caps_check = _tmp102_;
		_tmp103_ = (GtkCheckButton*) gtk_check_button_new_with_label (_ ("Num Lock"));
		g_object_ref_sink (_tmp103_);
		num_check = _tmp103_;
		_tmp104_ = indicators_box;
		_tmp105_ = caps_check;
		gtk_box_append (_tmp104_, (GtkWidget*) _tmp105_);
		_tmp106_ = indicators_box;
		_tmp107_ = num_check;
		gtk_box_append (_tmp106_, (GtkWidget*) _tmp107_);
		_tmp108_ = g_settings_new ("io.elementary.wingpanel.keyboard");
		keyboard_settings = _tmp108_;
		_tmp109_ = keyboard_settings;
		_tmp110_ = caps_check;
		g_settings_bind (_tmp109_, "capslock", (GObject*) _tmp110_, "active", G_SETTINGS_BIND_DEFAULT);
		_tmp111_ = keyboard_settings;
		_tmp112_ = num_check;
		g_settings_bind (_tmp111_, "numlock", (GObject*) _tmp112_, "active", G_SETTINGS_BIND_DEFAULT);
		_g_object_unref0 (keyboard_settings);
		_g_object_unref0 (num_check);
		_g_object_unref0 (caps_check);
	}
	_tmp113_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 18);
	g_object_ref_sink (_tmp113_);
	box = _tmp113_;
	_tmp114_ = box;
	_tmp115_ = icon_box;
	gtk_box_append (_tmp114_, (GtkWidget*) _tmp115_);
	_tmp116_ = box;
	_tmp117_ = hide_box;
	gtk_box_append (_tmp116_, (GtkWidget*) _tmp117_);
	_tmp118_ = box;
	_tmp119_ = translucency_box;
	gtk_box_append (_tmp118_, (GtkWidget*) _tmp119_);
	_tmp120_ = box;
	_tmp121_ = scroll_to_switch_workspaces_box;
	gtk_box_append (_tmp120_, (GtkWidget*) _tmp121_);
	_tmp122_ = indicators_header;
	_tmp123_ = gtk_widget_get_next_sibling ((GtkWidget*) _tmp122_);
	if (_tmp123_ != NULL) {
		GtkBox* _tmp124_;
		GtkBox* _tmp125_;
		_tmp124_ = box;
		_tmp125_ = indicators_box;
		gtk_box_append (_tmp124_, (GtkWidget*) _tmp125_);
	}
	_tmp126_ = box;
	switchboard_settings_page_set_child ((SwitchboardSettingsPage*) self, (GtkWidget*) _tmp126_);
	_tmp127_ = g_settings_schema_source_get_default ();
	_tmp128_ = g_settings_schema_source_lookup (_tmp127_, "io.elementary.dock", TRUE);
	dock_schema = _tmp128_;
	_tmp129_ = dock_schema;
	if (_tmp129_ != NULL) {
		GSettings* dock_settings = NULL;
		GSettings* _tmp130_;
		GSettingsSchema* _tmp131_;
		GSettingsSchema* _tmp142_;
		_tmp130_ = g_settings_new ("io.elementary.dock");
		dock_settings = _tmp130_;
		_tmp131_ = dock_schema;
		if (g_settings_schema_has_key (_tmp131_, "icon-size")) {
			GSettings* _tmp132_;
			GtkCheckButton* _tmp133_;
			GSettings* _tmp134_;
			GtkCheckButton* _tmp135_;
			GSettings* _tmp136_;
			GtkCheckButton* _tmp137_;
			GSettings* _tmp138_;
			GtkCheckButton* _tmp139_;
			_tmp132_ = dock_settings;
			_tmp133_ = icon_size_32;
			g_settings_bind_with_mapping (_tmp132_, "icon-size", (GObject*) _tmp133_, "active", G_SETTINGS_BIND_DEFAULT, __pantheon_shell_dock_____lambda14__gsettings_bind_get_mapping, __pantheon_shell_dock_____lambda15__gsettings_bind_set_mapping, NULL, NULL);
			_tmp134_ = dock_settings;
			_tmp135_ = icon_size_48;
			g_settings_bind_with_mapping (_tmp134_, "icon-size", (GObject*) _tmp135_, "active", G_SETTINGS_BIND_DEFAULT, __pantheon_shell_dock_____lambda16__gsettings_bind_get_mapping, __pantheon_shell_dock_____lambda17__gsettings_bind_set_mapping, NULL, NULL);
			_tmp136_ = dock_settings;
			_tmp137_ = icon_size_64;
			g_settings_bind_with_mapping (_tmp136_, "icon-size", (GObject*) _tmp137_, "active", G_SETTINGS_BIND_DEFAULT, __pantheon_shell_dock_____lambda18__gsettings_bind_get_mapping, __pantheon_shell_dock_____lambda19__gsettings_bind_set_mapping, NULL, NULL);
			_tmp138_ = dock_settings;
			_tmp139_ = icon_size_unsupported;
			g_settings_bind_with_mapping (_tmp138_, "icon-size", (GObject*) _tmp139_, "active", G_SETTINGS_BIND_DEFAULT, __pantheon_shell_dock_____lambda20__gsettings_bind_get_mapping, __pantheon_shell_dock_____lambda21__gsettings_bind_set_mapping, NULL, NULL);
		} else {
			GtkBox* _tmp140_;
			GtkBox* _tmp141_;
			_tmp140_ = box;
			_tmp141_ = icon_box;
			gtk_box_remove (_tmp140_, (GtkWidget*) _tmp141_);
		}
		_tmp142_ = dock_schema;
		if (g_settings_schema_has_key (_tmp142_, "autohide-mode")) {
			GSettings* _tmp143_;
			GtkCheckButton* _tmp144_;
			GSettings* _tmp145_;
			GtkCheckButton* _tmp146_;
			GSettings* _tmp147_;
			GtkCheckButton* _tmp148_;
			GSettings* _tmp149_;
			GtkCheckButton* _tmp150_;
			GSettings* _tmp151_;
			GtkCheckButton* _tmp152_;
			_tmp143_ = dock_settings;
			_tmp144_ = never_radio;
			g_settings_bind_with_mapping (_tmp143_, "autohide-mode", (GObject*) _tmp144_, "active", G_SETTINGS_BIND_DEFAULT, __pantheon_shell_dock_____lambda22__gsettings_bind_get_mapping, __pantheon_shell_dock_____lambda23__gsettings_bind_set_mapping, NULL, NULL);
			_tmp145_ = dock_settings;
			_tmp146_ = dodge_maximized_radio;
			g_settings_bind_with_mapping (_tmp145_, "autohide-mode", (GObject*) _tmp146_, "active", G_SETTINGS_BIND_DEFAULT, __pantheon_shell_dock_____lambda24__gsettings_bind_get_mapping, __pantheon_shell_dock_____lambda25__gsettings_bind_set_mapping, NULL, NULL);
			_tmp147_ = dock_settings;
			_tmp148_ = dodge_focused_radio;
			g_settings_bind_with_mapping (_tmp147_, "autohide-mode", (GObject*) _tmp148_, "active", G_SETTINGS_BIND_DEFAULT, __pantheon_shell_dock_____lambda26__gsettings_bind_get_mapping, __pantheon_shell_dock_____lambda27__gsettings_bind_set_mapping, NULL, NULL);
			_tmp149_ = dock_settings;
			_tmp150_ = dodge_all_radio;
			g_settings_bind_with_mapping (_tmp149_, "autohide-mode", (GObject*) _tmp150_, "active", G_SETTINGS_BIND_DEFAULT, __pantheon_shell_dock_____lambda28__gsettings_bind_get_mapping, __pantheon_shell_dock_____lambda29__gsettings_bind_set_mapping, NULL, NULL);
			_tmp151_ = dock_settings;
			_tmp152_ = always_radio;
			g_settings_bind_with_mapping (_tmp151_, "autohide-mode", (GObject*) _tmp152_, "active", G_SETTINGS_BIND_DEFAULT, __pantheon_shell_dock_____lambda30__gsettings_bind_get_mapping, __pantheon_shell_dock_____lambda31__gsettings_bind_set_mapping, NULL, NULL);
		} else {
			GtkBox* _tmp153_;
			GtkBox* _tmp154_;
			_tmp153_ = box;
			_tmp154_ = hide_box;
			gtk_box_remove (_tmp153_, (GtkWidget*) _tmp154_);
		}
		_g_object_unref0 (dock_settings);
	}
	_tmp155_ = g_settings_new (PANTHEON_SHELL_DOCK_PANEL_SCHEMA);
	panel_settings = _tmp155_;
	_tmp156_ = panel_settings;
	_tmp157_ = translucency_switch;
	g_settings_bind (_tmp156_, PANTHEON_SHELL_DOCK_TRANSLUCENCY_KEY, (GObject*) _tmp157_, "active", G_SETTINGS_BIND_DEFAULT);
	_tmp158_ = panel_settings;
	_tmp159_ = scroll_to_switch_workspaces_switch;
	g_settings_bind (_tmp158_, PANTHEON_SHELL_DOCK_SCROLL_TO_SWITCH_WORKSPACES_KEY, (GObject*) _tmp159_, "active", G_SETTINGS_BIND_DEFAULT);
	_g_object_unref0 (panel_settings);
	_g_settings_schema_unref0 (dock_schema);
	_g_object_unref0 (box);
	_g_settings_schema_unref0 (keyboard_schema);
	_g_settings_schema_unref0 (quicksettings_schema);
	_g_object_unref0 (indicators_box);
	_g_object_unref0 (indicators_header);
	_g_object_unref0 (scroll_to_switch_workspaces_box);
	_g_object_unref0 (scroll_to_switch_workspaces_header);
	_g_object_unref0 (scroll_to_switch_workspaces_switch);
	_g_object_unref0 (translucency_box);
	_g_object_unref0 (translucency_header);
	_g_object_unref0 (translucency_switch);
	_g_object_unref0 (hide_box);
	_g_object_unref0 (always_radio);
	_g_object_unref0 (dodge_all_radio);
	_g_object_unref0 (dodge_focused_radio);
	_g_object_unref0 (dodge_maximized_radio);
	_g_object_unref0 (never_radio);
	_g_object_unref0 (hide_header);
	_g_object_unref0 (icon_box);
	_g_object_unref0 (icon_size_box);
	_g_object_unref0 (icon_size_unsupported);
	_g_object_unref0 (icon_size_64);
	_g_object_unref0 (image_64);
	_g_object_unref0 (icon_size_48);
	_g_object_unref0 (image_48);
	_g_object_unref0 (icon_size_32);
	_g_object_unref0 (image_32);
	_g_object_unref0 (icon_header);
	return obj;
}

static void
pantheon_shell_dock_class_init (PantheonShellDockClass * klass,
                                gpointer klass_data)
{
	pantheon_shell_dock_parent_class = g_type_class_peek_parent (klass);
	G_OBJECT_CLASS (klass)->constructor = pantheon_shell_dock_constructor;
}

static void
pantheon_shell_dock_instance_init (PantheonShellDock * self,
                                   gpointer klass)
{
}

static GType
pantheon_shell_dock_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (PantheonShellDockClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) pantheon_shell_dock_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (PantheonShellDock), 0, (GInstanceInitFunc) pantheon_shell_dock_instance_init, NULL };
	GType pantheon_shell_dock_type_id;
	pantheon_shell_dock_type_id = g_type_register_static (SWITCHBOARD_TYPE_SETTINGS_PAGE, "PantheonShellDock", &g_define_type_info, 0);
	return pantheon_shell_dock_type_id;
}

GType
pantheon_shell_dock_get_type (void)
{
	static volatile gsize pantheon_shell_dock_type_id__once = 0;
	if (g_once_init_enter (&pantheon_shell_dock_type_id__once)) {
		GType pantheon_shell_dock_type_id;
		pantheon_shell_dock_type_id = pantheon_shell_dock_get_type_once ();
		g_once_init_leave (&pantheon_shell_dock_type_id__once, pantheon_shell_dock_type_id);
	}
	return pantheon_shell_dock_type_id__once;
}

