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

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

#include "keyboard.h"
#include <glib-object.h>
#include <granite-7.h>
#include <glib.h>
#include <glib/gi18n-lib.h>
#include <gtk/gtk.h>
#include <gdk/gdk.h>
#include <float.h>
#include <math.h>
#include <stdlib.h>
#include <string.h>
#include <adwaita.h>
#include <gio/gio.h>

#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  {
	KEYBOARD_BEHAVIOUR_PAGE_0_PROPERTY,
	KEYBOARD_BEHAVIOUR_PAGE_NUM_PROPERTIES
};
static GParamSpec* keyboard_behaviour_page_properties[KEYBOARD_BEHAVIOUR_PAGE_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_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))

static gpointer keyboard_behaviour_page_parent_class = NULL;

static GObject * keyboard_behaviour_page_constructor (GType type,
                                               guint n_construct_properties,
                                               GObjectConstructParam * construct_properties);
static void _keyboard_behaviour_page___lambda4_ (KeyboardBehaviourPage* self);
static void __keyboard_behaviour_page___lambda4__gtk_button_clicked (GtkButton* _sender,
                                                              gpointer self);
static GType keyboard_behaviour_page_get_type_once (void);

KeyboardBehaviourPage*
keyboard_behaviour_page_construct (GType object_type)
{
	KeyboardBehaviourPage * self = NULL;
	self = (KeyboardBehaviourPage*) g_object_new (object_type, NULL);
	return self;
}

KeyboardBehaviourPage*
keyboard_behaviour_page_new (void)
{
	return keyboard_behaviour_page_construct (KEYBOARD_BEHAVIOUR_TYPE_PAGE);
}

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

static void
_keyboard_behaviour_page___lambda4_ (KeyboardBehaviourPage* self)
{
	GError* _inner_error0_ = NULL;
	{
		GAppInfo* appinfo = NULL;
		GAppInfo* _tmp0_;
		GAppInfo* _tmp1_;
		_tmp0_ = g_app_info_create_from_commandline ("onboard-settings", NULL, G_APP_INFO_CREATE_NONE, &_inner_error0_);
		appinfo = _tmp0_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			goto __catch0_g_error;
		}
		_tmp1_ = appinfo;
		g_app_info_launch (_tmp1_, NULL, NULL, &_inner_error0_);
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_object_unref0 (appinfo);
			goto __catch0_g_error;
		}
		_g_object_unref0 (appinfo);
	}
	goto __finally0;
	__catch0_g_error:
	{
		GError* e = NULL;
		GError* _tmp2_;
		const gchar* _tmp3_;
		e = _inner_error0_;
		_inner_error0_ = NULL;
		_tmp2_ = e;
		_tmp3_ = _tmp2_->message;
		g_critical ("Behavior.vala:258: Unable to launch onboard-settings: %s", _tmp3_);
		_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;
	}
}

static void
__keyboard_behaviour_page___lambda4__gtk_button_clicked (GtkButton* _sender,
                                                         gpointer self)
{
	_keyboard_behaviour_page___lambda4_ ((KeyboardBehaviourPage*) self);
}

static GObject *
keyboard_behaviour_page_constructor (GType type,
                                     guint n_construct_properties,
                                     GObjectConstructParam * construct_properties)
{
	GObject * obj;
	GObjectClass * parent_class;
	KeyboardBehaviourPage * self;
	GraniteHeaderLabel* onscreen_keyboard_header = NULL;
	GraniteHeaderLabel* _tmp0_;
	GtkSwitch* onscreen_keyboard_switch = NULL;
	GtkSwitch* _tmp1_ = NULL;
	GtkButton* onscreen_keyboard_settings = NULL;
	GtkButton* _tmp2_ = NULL;
	GtkButton* _tmp3_;
	GtkButton* _tmp4_;
	GtkGrid* onscreen_keyboard_grid = NULL;
	GtkGrid* _tmp5_ = NULL;
	GtkGrid* _tmp6_;
	GraniteHeaderLabel* _tmp7_;
	GtkGrid* _tmp8_;
	GtkButton* _tmp9_;
	GtkGrid* _tmp10_;
	GtkSwitch* _tmp11_;
	GtkCssProvider* scale_provider = NULL;
	GtkCssProvider* _tmp12_;
	GtkCssProvider* _tmp13_;
	GdkDisplay* _tmp14_;
	GtkCssProvider* _tmp15_;
	GtkLabel* label_repeat_delay = NULL;
	GtkLabel* _tmp16_ = NULL;
	GtkLabel* label_repeat_speed = NULL;
	GtkLabel* _tmp17_ = NULL;
	GtkSwitch* switch_repeat = NULL;
	GtkSwitch* _tmp18_ = NULL;
	GraniteHeaderLabel* label_repeat = NULL;
	GtkSwitch* _tmp19_;
	GtkWidget* _tmp20_;
	GraniteHeaderLabel* _tmp21_ = NULL;
	GtkAdjustment* repeat_delay_adjustment = NULL;
	GtkAdjustment* _tmp22_;
	GtkScale* scale_repeat_delay = NULL;
	GtkAdjustment* _tmp23_;
	GtkScale* _tmp24_ = NULL;
	GtkScale* _tmp25_;
	GtkAdjustment* repeat_speed_adjustment = NULL;
	GtkAdjustment* _tmp26_;
	GtkScale* scale_repeat_speed = NULL;
	GtkAdjustment* _tmp27_;
	GtkScale* _tmp28_ = NULL;
	GtkScale* _tmp29_;
	GtkScale* _tmp30_;
	GtkLabel* label_blink_speed = NULL;
	GtkLabel* _tmp31_ = NULL;
	GtkLabel* label_blink_time = NULL;
	GtkLabel* _tmp32_ = NULL;
	GtkSwitch* switch_blink = NULL;
	GtkSwitch* _tmp33_ = NULL;
	GraniteHeaderLabel* label_blink = NULL;
	GtkSwitch* _tmp34_;
	GtkWidget* _tmp35_;
	GraniteHeaderLabel* _tmp36_ = NULL;
	GtkAdjustment* blink_speed_adjustment = NULL;
	GtkAdjustment* _tmp37_;
	GtkScale* scale_blink_speed = NULL;
	GtkAdjustment* _tmp38_;
	GtkScale* _tmp39_ = NULL;
	GtkScale* _tmp40_;
	GtkAdjustment* blink_time_adjustment = NULL;
	GtkAdjustment* _tmp41_;
	GtkScale* scale_blink_time = NULL;
	GtkAdjustment* _tmp42_;
	GtkScale* _tmp43_ = NULL;
	GtkScale* _tmp44_;
	GtkScale* _tmp45_;
	GtkSwitch* stickykeys_switch = NULL;
	GtkSwitch* _tmp46_ = NULL;
	GraniteHeaderLabel* stickykeys_header = NULL;
	GtkSwitch* _tmp47_;
	GtkWidget* _tmp48_;
	gchar* _tmp49_;
	GraniteHeaderLabel* _tmp50_ = NULL;
	GtkGrid* stickykeys_grid = NULL;
	GtkGrid* _tmp51_ = NULL;
	GtkGrid* _tmp52_;
	GraniteHeaderLabel* _tmp53_;
	GtkGrid* _tmp54_;
	GtkSwitch* _tmp55_;
	GtkSwitch* slowkeys_switch = NULL;
	GtkSwitch* _tmp56_ = NULL;
	GraniteHeaderLabel* slowkeys_header = NULL;
	GtkSwitch* _tmp57_;
	GtkWidget* _tmp58_;
	gchar* _tmp59_;
	GraniteHeaderLabel* _tmp60_ = NULL;
	GtkAdjustment* slowkeys_adjustment = NULL;
	GtkAdjustment* _tmp61_;
	GtkScale* slowkeys_scale = NULL;
	GtkAdjustment* _tmp62_;
	GtkScale* _tmp63_ = NULL;
	GtkScale* _tmp64_;
	GtkGrid* slowkeys_grid = NULL;
	GtkGrid* _tmp65_ = NULL;
	GtkGrid* _tmp66_;
	GraniteHeaderLabel* _tmp67_;
	GtkGrid* _tmp68_;
	GtkSwitch* _tmp69_;
	GtkGrid* _tmp70_;
	GtkScale* _tmp71_;
	GtkSwitch* bouncekeys_switch = NULL;
	GtkSwitch* _tmp72_ = NULL;
	GraniteHeaderLabel* bouncekeys_header = NULL;
	GtkSwitch* _tmp73_;
	GtkWidget* _tmp74_;
	gchar* _tmp75_;
	GraniteHeaderLabel* _tmp76_ = NULL;
	GtkAdjustment* bouncekeys_adjustment = NULL;
	GtkAdjustment* _tmp77_;
	GtkScale* bouncekeys_scale = NULL;
	GtkAdjustment* _tmp78_;
	GtkScale* _tmp79_ = NULL;
	GtkScale* _tmp80_;
	GtkGrid* bouncekeys_grid = NULL;
	GtkGrid* _tmp81_ = NULL;
	GtkGrid* _tmp82_;
	GraniteHeaderLabel* _tmp83_;
	GtkGrid* _tmp84_;
	GtkSwitch* _tmp85_;
	GtkGrid* _tmp86_;
	GtkScale* _tmp87_;
	GraniteHeaderLabel* events_header = NULL;
	gchar* _tmp88_;
	gchar* _tmp89_;
	gchar* _tmp90_;
	GraniteHeaderLabel* _tmp91_ = NULL;
	GraniteHeaderLabel* _tmp92_;
	GtkCheckButton* togglekeys_check = NULL;
	GtkCheckButton* _tmp93_;
	GtkCheckButton* bouncekeys_check = NULL;
	GtkCheckButton* _tmp94_;
	GtkCheckButton* stickykeys_check = NULL;
	GtkCheckButton* _tmp95_;
	GtkCheckButton* slowkeys_check = NULL;
	GtkCheckButton* _tmp96_;
	GtkBox* events_checks_box = NULL;
	GtkBox* _tmp97_ = NULL;
	GtkBox* _tmp98_;
	GtkCheckButton* _tmp99_;
	GtkBox* _tmp100_;
	GtkCheckButton* _tmp101_;
	GtkBox* _tmp102_;
	GtkCheckButton* _tmp103_;
	GtkBox* _tmp104_;
	GtkCheckButton* _tmp105_;
	GtkBox* events_box = NULL;
	GtkBox* _tmp106_;
	GtkBox* _tmp107_;
	GraniteHeaderLabel* _tmp108_;
	GtkBox* _tmp109_;
	GtkBox* _tmp110_;
	GtkEntry* entry_test = NULL;
	gchar* _tmp111_;
	GtkEntry* _tmp112_ = NULL;
	GtkGrid* repeat_grid = NULL;
	GtkGrid* _tmp113_ = NULL;
	GtkGrid* _tmp114_;
	GraniteHeaderLabel* _tmp115_;
	GtkGrid* _tmp116_;
	GtkSwitch* _tmp117_;
	GtkGrid* _tmp118_;
	GtkLabel* _tmp119_;
	GtkGrid* _tmp120_;
	GtkScale* _tmp121_;
	GtkGrid* _tmp122_;
	GtkLabel* _tmp123_;
	GtkGrid* _tmp124_;
	GtkScale* _tmp125_;
	GtkGrid* blink_grid = NULL;
	GtkGrid* _tmp126_ = NULL;
	GtkGrid* _tmp127_;
	GraniteHeaderLabel* _tmp128_;
	GtkGrid* _tmp129_;
	GtkSwitch* _tmp130_;
	GtkGrid* _tmp131_;
	GtkLabel* _tmp132_;
	GtkGrid* _tmp133_;
	GtkScale* _tmp134_;
	GtkGrid* _tmp135_;
	GtkLabel* _tmp136_;
	GtkGrid* _tmp137_;
	GtkScale* _tmp138_;
	GtkBox* box = NULL;
	GtkBox* _tmp139_;
	GtkBox* _tmp140_;
	GtkGrid* _tmp141_;
	GtkBox* _tmp142_;
	GtkGrid* _tmp143_;
	GtkBox* _tmp144_;
	GtkGrid* _tmp145_;
	GtkBox* _tmp146_;
	GtkGrid* _tmp147_;
	GtkBox* _tmp148_;
	GtkGrid* _tmp149_;
	GtkBox* _tmp150_;
	GtkGrid* _tmp151_;
	GtkBox* _tmp152_;
	GtkBox* _tmp153_;
	GtkBox* _tmp154_;
	GtkEntry* _tmp155_;
	AdwClamp* clamp = NULL;
	GtkBox* _tmp156_;
	GtkWidget* _tmp157_;
	AdwClamp* _tmp158_ = NULL;
	GtkScrolledWindow* scrolled = NULL;
	AdwClamp* _tmp159_;
	GtkWidget* _tmp160_;
	GtkScrolledWindow* _tmp161_ = NULL;
	GtkScrolledWindow* _tmp162_;
	GtkButton* _tmp163_;
	GSettings* applications_settings = NULL;
	GSettings* _tmp164_;
	GSettings* _tmp165_;
	GtkSwitch* _tmp166_;
	GSettings* gsettings_blink = NULL;
	GSettings* _tmp167_;
	GSettings* _tmp168_;
	GtkSwitch* _tmp169_;
	GSettings* _tmp170_;
	GtkAdjustment* _tmp171_;
	GSettings* _tmp172_;
	GtkAdjustment* _tmp173_;
	GSettings* gsettings_repeat = NULL;
	GSettings* _tmp174_;
	GSettings* _tmp175_;
	GtkSwitch* _tmp176_;
	GSettings* _tmp177_;
	GtkAdjustment* _tmp178_;
	GSettings* _tmp179_;
	GtkAdjustment* _tmp180_;
	GtkSwitch* _tmp181_;
	GtkLabel* _tmp182_;
	GtkSwitch* _tmp183_;
	GtkLabel* _tmp184_;
	GtkSwitch* _tmp185_;
	GtkScale* _tmp186_;
	GtkSwitch* _tmp187_;
	GtkScale* _tmp188_;
	GtkSwitch* _tmp189_;
	GtkLabel* _tmp190_;
	GtkSwitch* _tmp191_;
	GtkLabel* _tmp192_;
	GtkSwitch* _tmp193_;
	GtkScale* _tmp194_;
	GtkSwitch* _tmp195_;
	GtkScale* _tmp196_;
	GSettings* a11y_settings = NULL;
	GSettings* _tmp197_;
	GSettings* _tmp198_;
	GtkSwitch* _tmp199_;
	GSettings* _tmp200_;
	GtkCheckButton* _tmp201_;
	GSettings* _tmp202_;
	GtkScale* _tmp203_;
	GSettings* _tmp204_;
	GtkCheckButton* _tmp205_;
	GSettings* _tmp206_;
	GtkAdjustment* _tmp207_;
	GSettings* _tmp208_;
	GtkSwitch* _tmp209_;
	GSettings* _tmp210_;
	GtkCheckButton* _tmp211_;
	GSettings* _tmp212_;
	GtkScale* _tmp213_;
	GSettings* _tmp214_;
	GtkCheckButton* _tmp215_;
	GSettings* _tmp216_;
	GtkAdjustment* _tmp217_;
	GSettings* _tmp218_;
	GtkSwitch* _tmp219_;
	GSettings* _tmp220_;
	GtkCheckButton* _tmp221_;
	GSettings* _tmp222_;
	GtkCheckButton* _tmp223_;
	GSettings* _tmp224_;
	GtkCheckButton* _tmp225_;
	GtkScale* _tmp226_;
	parent_class = G_OBJECT_CLASS (keyboard_behaviour_page_parent_class);
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, KEYBOARD_BEHAVIOUR_TYPE_PAGE, KeyboardBehaviourPage);
	_tmp0_ = granite_header_label_new (_ ("Show On-screen Keyboard"));
	g_object_ref_sink (_tmp0_);
	onscreen_keyboard_header = _tmp0_;
	_tmp1_ = (GtkSwitch*) gtk_switch_new ();
	gtk_widget_set_halign ((GtkWidget*) _tmp1_, GTK_ALIGN_END);
	gtk_widget_set_valign ((GtkWidget*) _tmp1_, GTK_ALIGN_CENTER);
	gtk_widget_set_hexpand ((GtkWidget*) _tmp1_, TRUE);
	g_object_ref_sink (_tmp1_);
	onscreen_keyboard_switch = _tmp1_;
	_tmp2_ = (GtkButton*) gtk_button_new_with_label (_ ("On-screen keyboard settings…"));
	gtk_widget_set_halign ((GtkWidget*) _tmp2_, GTK_ALIGN_START);
	gtk_button_set_has_frame (_tmp2_, FALSE);
	g_object_ref_sink (_tmp2_);
	onscreen_keyboard_settings = _tmp2_;
	_tmp3_ = onscreen_keyboard_settings;
	gtk_widget_add_css_class ((GtkWidget*) _tmp3_, "link");
	_tmp4_ = onscreen_keyboard_settings;
	gtk_widget_add_css_class ((GtkWidget*) _tmp4_, GRANITE_STYLE_CLASS_SMALL_LABEL);
	_tmp5_ = (GtkGrid*) gtk_grid_new ();
	gtk_grid_set_column_spacing (_tmp5_, 12);
	g_object_ref_sink (_tmp5_);
	onscreen_keyboard_grid = _tmp5_;
	_tmp6_ = onscreen_keyboard_grid;
	_tmp7_ = onscreen_keyboard_header;
	gtk_grid_attach (_tmp6_, (GtkWidget*) _tmp7_, 0, 0, 1, 1);
	_tmp8_ = onscreen_keyboard_grid;
	_tmp9_ = onscreen_keyboard_settings;
	gtk_grid_attach (_tmp8_, (GtkWidget*) _tmp9_, 0, 1, 1, 1);
	_tmp10_ = onscreen_keyboard_grid;
	_tmp11_ = onscreen_keyboard_switch;
	gtk_grid_attach (_tmp10_, (GtkWidget*) _tmp11_, 1, 0, 1, 2);
	_tmp12_ = gtk_css_provider_new ();
	scale_provider = _tmp12_;
	_tmp13_ = scale_provider;
	gtk_css_provider_load_from_resource (_tmp13_, "/io/elementary/settings/keyboard/Behavior.css");
	_tmp14_ = gdk_display_get_default ();
	_tmp15_ = scale_provider;
	gtk_style_context_add_provider_for_display (_tmp14_, (GtkStyleProvider*) _tmp15_, (guint) GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
	_tmp16_ = (GtkLabel*) gtk_label_new (_ ("Delay:"));
	gtk_widget_set_halign ((GtkWidget*) _tmp16_, GTK_ALIGN_END);
	g_object_ref_sink (_tmp16_);
	label_repeat_delay = _tmp16_;
	_tmp17_ = (GtkLabel*) gtk_label_new (_ ("Interval:"));
	gtk_widget_set_halign ((GtkWidget*) _tmp17_, GTK_ALIGN_END);
	g_object_ref_sink (_tmp17_);
	label_repeat_speed = _tmp17_;
	_tmp18_ = (GtkSwitch*) gtk_switch_new ();
	gtk_widget_set_halign ((GtkWidget*) _tmp18_, GTK_ALIGN_END);
	gtk_widget_set_valign ((GtkWidget*) _tmp18_, GTK_ALIGN_CENTER);
	g_object_ref_sink (_tmp18_);
	switch_repeat = _tmp18_;
	_tmp19_ = switch_repeat;
	_tmp20_ = _g_object_ref0 ((GtkWidget*) _tmp19_);
	_tmp21_ = granite_header_label_new (_ ("Repeat Keys"));
	granite_header_label_set_mnemonic_widget (_tmp21_, _tmp20_);
	_g_object_unref0 (_tmp20_);
	g_object_ref_sink (_tmp21_);
	label_repeat = _tmp21_;
	_tmp22_ = gtk_adjustment_new ((gdouble) -1, (gdouble) 100, (gdouble) 900, (gdouble) 1, (gdouble) 0, (gdouble) 0);
	g_object_ref_sink (_tmp22_);
	repeat_delay_adjustment = _tmp22_;
	_tmp23_ = repeat_delay_adjustment;
	_tmp24_ = (GtkScale*) gtk_scale_new (GTK_ORIENTATION_HORIZONTAL, _tmp23_);
	gtk_scale_set_digits (_tmp24_, 0);
	gtk_scale_set_draw_value (_tmp24_, TRUE);
	gtk_widget_set_hexpand ((GtkWidget*) _tmp24_, TRUE);
	g_object_ref_sink (_tmp24_);
	scale_repeat_delay = _tmp24_;
	_tmp25_ = scale_repeat_delay;
	gtk_scale_add_mark (_tmp25_, (gdouble) 500, GTK_POS_BOTTOM, NULL);
	_tmp26_ = gtk_adjustment_new ((gdouble) -1, (gdouble) 10, (gdouble) 70, (gdouble) 1, (gdouble) 0, (gdouble) 0);
	g_object_ref_sink (_tmp26_);
	repeat_speed_adjustment = _tmp26_;
	_tmp27_ = repeat_speed_adjustment;
	_tmp28_ = (GtkScale*) gtk_scale_new (GTK_ORIENTATION_HORIZONTAL, _tmp27_);
	gtk_scale_set_digits (_tmp28_, 0);
	gtk_scale_set_draw_value (_tmp28_, TRUE);
	gtk_widget_set_hexpand ((GtkWidget*) _tmp28_, TRUE);
	g_object_ref_sink (_tmp28_);
	scale_repeat_speed = _tmp28_;
	_tmp29_ = scale_repeat_speed;
	gtk_scale_add_mark (_tmp29_, (gdouble) 30, GTK_POS_BOTTOM, NULL);
	_tmp30_ = scale_repeat_speed;
	gtk_scale_add_mark (_tmp30_, (gdouble) 50, GTK_POS_BOTTOM, NULL);
	_tmp31_ = (GtkLabel*) gtk_label_new (_ ("Speed:"));
	gtk_widget_set_halign ((GtkWidget*) _tmp31_, GTK_ALIGN_END);
	g_object_ref_sink (_tmp31_);
	label_blink_speed = _tmp31_;
	_tmp32_ = (GtkLabel*) gtk_label_new (_ ("Duration:"));
	gtk_widget_set_halign ((GtkWidget*) _tmp32_, GTK_ALIGN_END);
	g_object_ref_sink (_tmp32_);
	label_blink_time = _tmp32_;
	_tmp33_ = (GtkSwitch*) gtk_switch_new ();
	gtk_widget_set_halign ((GtkWidget*) _tmp33_, GTK_ALIGN_END);
	gtk_widget_set_valign ((GtkWidget*) _tmp33_, GTK_ALIGN_CENTER);
	g_object_ref_sink (_tmp33_);
	switch_blink = _tmp33_;
	_tmp34_ = switch_blink;
	_tmp35_ = _g_object_ref0 ((GtkWidget*) _tmp34_);
	_tmp36_ = granite_header_label_new (_ ("Cursor Blinking"));
	granite_header_label_set_mnemonic_widget (_tmp36_, _tmp35_);
	_g_object_unref0 (_tmp35_);
	g_object_ref_sink (_tmp36_);
	label_blink = _tmp36_;
	_tmp37_ = gtk_adjustment_new ((gdouble) -1, (gdouble) 100, (gdouble) 2500, (gdouble) 10, (gdouble) 0, (gdouble) 0);
	g_object_ref_sink (_tmp37_);
	blink_speed_adjustment = _tmp37_;
	_tmp38_ = blink_speed_adjustment;
	_tmp39_ = (GtkScale*) gtk_scale_new (GTK_ORIENTATION_HORIZONTAL, _tmp38_);
	gtk_scale_set_digits (_tmp39_, 0);
	gtk_scale_set_draw_value (_tmp39_, TRUE);
	gtk_widget_set_hexpand ((GtkWidget*) _tmp39_, TRUE);
	g_object_ref_sink (_tmp39_);
	scale_blink_speed = _tmp39_;
	_tmp40_ = scale_blink_speed;
	gtk_scale_add_mark (_tmp40_, (gdouble) 1200, GTK_POS_BOTTOM, NULL);
	_tmp41_ = gtk_adjustment_new ((gdouble) -1, (gdouble) 1, (gdouble) 29, (gdouble) 1, (gdouble) 0, (gdouble) 0);
	g_object_ref_sink (_tmp41_);
	blink_time_adjustment = _tmp41_;
	_tmp42_ = blink_time_adjustment;
	_tmp43_ = (GtkScale*) gtk_scale_new (GTK_ORIENTATION_HORIZONTAL, _tmp42_);
	gtk_scale_set_digits (_tmp43_, 0);
	gtk_scale_set_draw_value (_tmp43_, TRUE);
	gtk_widget_set_hexpand ((GtkWidget*) _tmp43_, TRUE);
	g_object_ref_sink (_tmp43_);
	scale_blink_time = _tmp43_;
	_tmp44_ = scale_blink_time;
	gtk_scale_add_mark (_tmp44_, (gdouble) 10, GTK_POS_BOTTOM, NULL);
	_tmp45_ = scale_blink_time;
	gtk_scale_add_mark (_tmp45_, (gdouble) 20, GTK_POS_BOTTOM, NULL);
	_tmp46_ = (GtkSwitch*) gtk_switch_new ();
	gtk_widget_set_halign ((GtkWidget*) _tmp46_, GTK_ALIGN_END);
	gtk_widget_set_hexpand ((GtkWidget*) _tmp46_, TRUE);
	gtk_widget_set_valign ((GtkWidget*) _tmp46_, GTK_ALIGN_CENTER);
	g_object_ref_sink (_tmp46_);
	stickykeys_switch = _tmp46_;
	_tmp47_ = stickykeys_switch;
	_tmp48_ = _g_object_ref0 ((GtkWidget*) _tmp47_);
	_tmp49_ = g_strdup (_ ("Use ⌘, Alt, Ctrl, or Shift keys in sequence"));
	_tmp50_ = granite_header_label_new (_ ("Sticky Keys"));
	granite_header_label_set_mnemonic_widget (_tmp50_, _tmp48_);
	_g_object_unref0 (_tmp48_);
	granite_header_label_set_secondary_text (_tmp50_, _tmp49_);
	_g_free0 (_tmp49_);
	g_object_ref_sink (_tmp50_);
	stickykeys_header = _tmp50_;
	_tmp51_ = (GtkGrid*) gtk_grid_new ();
	gtk_grid_set_column_spacing (_tmp51_, 12);
	g_object_ref_sink (_tmp51_);
	stickykeys_grid = _tmp51_;
	_tmp52_ = stickykeys_grid;
	_tmp53_ = stickykeys_header;
	gtk_grid_attach (_tmp52_, (GtkWidget*) _tmp53_, 0, 0, 1, 1);
	_tmp54_ = stickykeys_grid;
	_tmp55_ = stickykeys_switch;
	gtk_grid_attach (_tmp54_, (GtkWidget*) _tmp55_, 1, 0, 1, 1);
	_tmp56_ = (GtkSwitch*) gtk_switch_new ();
	gtk_widget_set_halign ((GtkWidget*) _tmp56_, GTK_ALIGN_END);
	gtk_widget_set_hexpand ((GtkWidget*) _tmp56_, TRUE);
	gtk_widget_set_valign ((GtkWidget*) _tmp56_, GTK_ALIGN_CENTER);
	g_object_ref_sink (_tmp56_);
	slowkeys_switch = _tmp56_;
	_tmp57_ = slowkeys_switch;
	_tmp58_ = _g_object_ref0 ((GtkWidget*) _tmp57_);
	_tmp59_ = g_strdup (_ ("Don't accept keypresses unless held"));
	_tmp60_ = granite_header_label_new (_ ("Slow Keys"));
	granite_header_label_set_mnemonic_widget (_tmp60_, _tmp58_);
	_g_object_unref0 (_tmp58_);
	granite_header_label_set_secondary_text (_tmp60_, _tmp59_);
	_g_free0 (_tmp59_);
	g_object_ref_sink (_tmp60_);
	slowkeys_header = _tmp60_;
	_tmp61_ = gtk_adjustment_new ((gdouble) 0, (gdouble) 0, (gdouble) 1000, (gdouble) 1, (gdouble) 1, (gdouble) 1);
	g_object_ref_sink (_tmp61_);
	slowkeys_adjustment = _tmp61_;
	_tmp62_ = slowkeys_adjustment;
	_tmp63_ = (GtkScale*) gtk_scale_new (GTK_ORIENTATION_HORIZONTAL, _tmp62_);
	gtk_scale_set_digits (_tmp63_, 0);
	gtk_scale_set_draw_value (_tmp63_, TRUE);
	g_object_ref_sink (_tmp63_);
	slowkeys_scale = _tmp63_;
	_tmp64_ = slowkeys_scale;
	gtk_scale_add_mark (_tmp64_, (gdouble) 300, GTK_POS_BOTTOM, NULL);
	_tmp65_ = (GtkGrid*) gtk_grid_new ();
	gtk_grid_set_column_spacing (_tmp65_, 12);
	g_object_ref_sink (_tmp65_);
	slowkeys_grid = _tmp65_;
	_tmp66_ = slowkeys_grid;
	_tmp67_ = slowkeys_header;
	gtk_grid_attach (_tmp66_, (GtkWidget*) _tmp67_, 0, 0, 1, 1);
	_tmp68_ = slowkeys_grid;
	_tmp69_ = slowkeys_switch;
	gtk_grid_attach (_tmp68_, (GtkWidget*) _tmp69_, 1, 0, 1, 1);
	_tmp70_ = slowkeys_grid;
	_tmp71_ = slowkeys_scale;
	gtk_grid_attach (_tmp70_, (GtkWidget*) _tmp71_, 0, 2, 2, 1);
	_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_);
	bouncekeys_switch = _tmp72_;
	_tmp73_ = bouncekeys_switch;
	_tmp74_ = _g_object_ref0 ((GtkWidget*) _tmp73_);
	_tmp75_ = g_strdup (_ ("Ignore fast duplicate keypresses"));
	_tmp76_ = granite_header_label_new (_ ("Bounce Keys"));
	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_);
	bouncekeys_header = _tmp76_;
	_tmp77_ = gtk_adjustment_new ((gdouble) 0, (gdouble) 0, (gdouble) 1000, (gdouble) 1, (gdouble) 1, (gdouble) 1);
	g_object_ref_sink (_tmp77_);
	bouncekeys_adjustment = _tmp77_;
	_tmp78_ = bouncekeys_adjustment;
	_tmp79_ = (GtkScale*) gtk_scale_new (GTK_ORIENTATION_HORIZONTAL, _tmp78_);
	gtk_scale_set_digits (_tmp79_, 0);
	gtk_scale_set_draw_value (_tmp79_, TRUE);
	g_object_ref_sink (_tmp79_);
	bouncekeys_scale = _tmp79_;
	_tmp80_ = bouncekeys_scale;
	gtk_scale_add_mark (_tmp80_, (gdouble) 300, GTK_POS_BOTTOM, NULL);
	_tmp81_ = (GtkGrid*) gtk_grid_new ();
	gtk_grid_set_column_spacing (_tmp81_, 12);
	g_object_ref_sink (_tmp81_);
	bouncekeys_grid = _tmp81_;
	_tmp82_ = bouncekeys_grid;
	_tmp83_ = bouncekeys_header;
	gtk_grid_attach (_tmp82_, (GtkWidget*) _tmp83_, 0, 0, 1, 1);
	_tmp84_ = bouncekeys_grid;
	_tmp85_ = bouncekeys_switch;
	gtk_grid_attach (_tmp84_, (GtkWidget*) _tmp85_, 1, 0, 1, 1);
	_tmp86_ = bouncekeys_grid;
	_tmp87_ = bouncekeys_scale;
	gtk_grid_attach (_tmp86_, (GtkWidget*) _tmp87_, 0, 2, 2, 1);
	_tmp88_ = g_strdup_printf ("<a href='settings://sound/output'>%s</a>", _ ("Sound Settings…"));
	_tmp89_ = _tmp88_;
	_tmp90_ = g_strdup_printf (_ ("Play a sound or flash the screen. %s"), _tmp89_);
	_tmp91_ = granite_header_label_new (_ ("Event Alerts"));
	granite_header_label_set_secondary_text (_tmp91_, _tmp90_);
	_g_free0 (_tmp90_);
	g_object_ref_sink (_tmp91_);
	_tmp92_ = _tmp91_;
	_g_free0 (_tmp89_);
	events_header = _tmp92_;
	_tmp93_ = (GtkCheckButton*) gtk_check_button_new_with_label (_ ("Caps Lock ⇪ or Num Lock keys are pressed"));
	g_object_ref_sink (_tmp93_);
	togglekeys_check = _tmp93_;
	_tmp94_ = (GtkCheckButton*) gtk_check_button_new_with_label (_ ("Bounce Keys are rejected"));
	g_object_ref_sink (_tmp94_);
	bouncekeys_check = _tmp94_;
	_tmp95_ = (GtkCheckButton*) gtk_check_button_new_with_label (_ ("Sticky Keys are pressed"));
	g_object_ref_sink (_tmp95_);
	stickykeys_check = _tmp95_;
	_tmp96_ = (GtkCheckButton*) gtk_check_button_new_with_label (_ ("Slow Keys are rejected"));
	g_object_ref_sink (_tmp96_);
	slowkeys_check = _tmp96_;
	_tmp97_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
	gtk_widget_set_margin_top ((GtkWidget*) _tmp97_, 12);
	g_object_ref_sink (_tmp97_);
	events_checks_box = _tmp97_;
	_tmp98_ = events_checks_box;
	_tmp99_ = togglekeys_check;
	gtk_box_append (_tmp98_, (GtkWidget*) _tmp99_);
	_tmp100_ = events_checks_box;
	_tmp101_ = stickykeys_check;
	gtk_box_append (_tmp100_, (GtkWidget*) _tmp101_);
	_tmp102_ = events_checks_box;
	_tmp103_ = bouncekeys_check;
	gtk_box_append (_tmp102_, (GtkWidget*) _tmp103_);
	_tmp104_ = events_checks_box;
	_tmp105_ = slowkeys_check;
	gtk_box_append (_tmp104_, (GtkWidget*) _tmp105_);
	_tmp106_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
	g_object_ref_sink (_tmp106_);
	events_box = _tmp106_;
	_tmp107_ = events_box;
	_tmp108_ = events_header;
	gtk_box_append (_tmp107_, (GtkWidget*) _tmp108_);
	_tmp109_ = events_box;
	_tmp110_ = events_checks_box;
	gtk_box_append (_tmp109_, (GtkWidget*) _tmp110_);
	_tmp111_ = g_strdup (_ ("Type to test your settings"));
	_tmp112_ = (GtkEntry*) gtk_entry_new ();
	gtk_widget_set_hexpand ((GtkWidget*) _tmp112_, TRUE);
	gtk_entry_set_placeholder_text (_tmp112_, _tmp111_);
	_g_free0 (_tmp111_);
	g_object_ref_sink (_tmp112_);
	entry_test = _tmp112_;
	_tmp113_ = (GtkGrid*) gtk_grid_new ();
	gtk_grid_set_column_spacing (_tmp113_, 12);
	g_object_ref_sink (_tmp113_);
	repeat_grid = _tmp113_;
	_tmp114_ = repeat_grid;
	_tmp115_ = label_repeat;
	gtk_grid_attach (_tmp114_, (GtkWidget*) _tmp115_, 0, 0, 1, 1);
	_tmp116_ = repeat_grid;
	_tmp117_ = switch_repeat;
	gtk_grid_attach (_tmp116_, (GtkWidget*) _tmp117_, 1, 0, 1, 1);
	_tmp118_ = repeat_grid;
	_tmp119_ = label_repeat_delay;
	gtk_grid_attach (_tmp118_, (GtkWidget*) _tmp119_, 0, 1, 1, 1);
	_tmp120_ = repeat_grid;
	_tmp121_ = scale_repeat_delay;
	gtk_grid_attach (_tmp120_, (GtkWidget*) _tmp121_, 1, 1, 1, 1);
	_tmp122_ = repeat_grid;
	_tmp123_ = label_repeat_speed;
	gtk_grid_attach (_tmp122_, (GtkWidget*) _tmp123_, 0, 2, 1, 1);
	_tmp124_ = repeat_grid;
	_tmp125_ = scale_repeat_speed;
	gtk_grid_attach (_tmp124_, (GtkWidget*) _tmp125_, 1, 2, 1, 1);
	_tmp126_ = (GtkGrid*) gtk_grid_new ();
	gtk_grid_set_column_spacing (_tmp126_, 12);
	g_object_ref_sink (_tmp126_);
	blink_grid = _tmp126_;
	_tmp127_ = blink_grid;
	_tmp128_ = label_blink;
	gtk_grid_attach (_tmp127_, (GtkWidget*) _tmp128_, 0, 0, 1, 1);
	_tmp129_ = blink_grid;
	_tmp130_ = switch_blink;
	gtk_grid_attach (_tmp129_, (GtkWidget*) _tmp130_, 1, 0, 1, 1);
	_tmp131_ = blink_grid;
	_tmp132_ = label_blink_speed;
	gtk_grid_attach (_tmp131_, (GtkWidget*) _tmp132_, 0, 1, 1, 1);
	_tmp133_ = blink_grid;
	_tmp134_ = scale_blink_speed;
	gtk_grid_attach (_tmp133_, (GtkWidget*) _tmp134_, 1, 1, 1, 1);
	_tmp135_ = blink_grid;
	_tmp136_ = label_blink_time;
	gtk_grid_attach (_tmp135_, (GtkWidget*) _tmp136_, 0, 2, 1, 1);
	_tmp137_ = blink_grid;
	_tmp138_ = scale_blink_time;
	gtk_grid_attach (_tmp137_, (GtkWidget*) _tmp138_, 1, 2, 1, 1);
	_tmp139_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 18);
	g_object_ref_sink (_tmp139_);
	box = _tmp139_;
	_tmp140_ = box;
	_tmp141_ = onscreen_keyboard_grid;
	gtk_box_append (_tmp140_, (GtkWidget*) _tmp141_);
	_tmp142_ = box;
	_tmp143_ = blink_grid;
	gtk_box_append (_tmp142_, (GtkWidget*) _tmp143_);
	_tmp144_ = box;
	_tmp145_ = repeat_grid;
	gtk_box_append (_tmp144_, (GtkWidget*) _tmp145_);
	_tmp146_ = box;
	_tmp147_ = stickykeys_grid;
	gtk_box_append (_tmp146_, (GtkWidget*) _tmp147_);
	_tmp148_ = box;
	_tmp149_ = bouncekeys_grid;
	gtk_box_append (_tmp148_, (GtkWidget*) _tmp149_);
	_tmp150_ = box;
	_tmp151_ = slowkeys_grid;
	gtk_box_append (_tmp150_, (GtkWidget*) _tmp151_);
	_tmp152_ = box;
	_tmp153_ = events_box;
	gtk_box_append (_tmp152_, (GtkWidget*) _tmp153_);
	_tmp154_ = box;
	_tmp155_ = entry_test;
	gtk_box_append (_tmp154_, (GtkWidget*) _tmp155_);
	_tmp156_ = box;
	_tmp157_ = _g_object_ref0 ((GtkWidget*) _tmp156_);
	_tmp158_ = (AdwClamp*) adw_clamp_new ();
	adw_clamp_set_child (_tmp158_, _tmp157_);
	_g_object_unref0 (_tmp157_);
	gtk_widget_set_margin_start ((GtkWidget*) _tmp158_, 12);
	gtk_widget_set_margin_end ((GtkWidget*) _tmp158_, 12);
	gtk_widget_set_margin_bottom ((GtkWidget*) _tmp158_, 12);
	gtk_widget_set_margin_top ((GtkWidget*) _tmp158_, 12);
	g_object_ref_sink (_tmp158_);
	clamp = _tmp158_;
	_tmp159_ = clamp;
	_tmp160_ = _g_object_ref0 ((GtkWidget*) _tmp159_);
	_tmp161_ = (GtkScrolledWindow*) gtk_scrolled_window_new ();
	gtk_scrolled_window_set_child (_tmp161_, _tmp160_);
	_g_object_unref0 (_tmp160_);
	g_object_ref_sink (_tmp161_);
	scrolled = _tmp161_;
	_tmp162_ = scrolled;
	gtk_box_append ((GtkBox*) self, (GtkWidget*) _tmp162_);
	_tmp163_ = onscreen_keyboard_settings;
	g_signal_connect_object (_tmp163_, "clicked", (GCallback) __keyboard_behaviour_page___lambda4__gtk_button_clicked, self, 0);
	_tmp164_ = g_settings_new ("org.gnome.desktop.a11y.applications");
	applications_settings = _tmp164_;
	_tmp165_ = applications_settings;
	_tmp166_ = onscreen_keyboard_switch;
	g_settings_bind (_tmp165_, "screen-keyboard-enabled", (GObject*) _tmp166_, "active", G_SETTINGS_BIND_DEFAULT);
	_tmp167_ = g_settings_new ("org.gnome.desktop.interface");
	gsettings_blink = _tmp167_;
	_tmp168_ = gsettings_blink;
	_tmp169_ = switch_blink;
	g_settings_bind (_tmp168_, "cursor-blink", (GObject*) _tmp169_, "active", G_SETTINGS_BIND_DEFAULT);
	_tmp170_ = gsettings_blink;
	_tmp171_ = blink_speed_adjustment;
	g_settings_bind (_tmp170_, "cursor-blink-time", (GObject*) _tmp171_, "value", G_SETTINGS_BIND_DEFAULT);
	_tmp172_ = gsettings_blink;
	_tmp173_ = blink_time_adjustment;
	g_settings_bind (_tmp172_, "cursor-blink-timeout", (GObject*) _tmp173_, "value", G_SETTINGS_BIND_DEFAULT);
	_tmp174_ = g_settings_new ("org.gnome.desktop.peripherals.keyboard");
	gsettings_repeat = _tmp174_;
	_tmp175_ = gsettings_repeat;
	_tmp176_ = switch_repeat;
	g_settings_bind (_tmp175_, "repeat", (GObject*) _tmp176_, "active", G_SETTINGS_BIND_DEFAULT);
	_tmp177_ = gsettings_repeat;
	_tmp178_ = repeat_delay_adjustment;
	g_settings_bind (_tmp177_, "delay", (GObject*) _tmp178_, "value", G_SETTINGS_BIND_DEFAULT);
	_tmp179_ = gsettings_repeat;
	_tmp180_ = repeat_speed_adjustment;
	g_settings_bind (_tmp179_, "repeat-interval", (GObject*) _tmp180_, "value", G_SETTINGS_BIND_DEFAULT);
	_tmp181_ = switch_blink;
	_tmp182_ = label_blink_speed;
	g_object_bind_property_with_closures ((GObject*) _tmp181_, "active", (GObject*) _tmp182_, "sensitive", G_BINDING_DEFAULT, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)));
	_tmp183_ = switch_blink;
	_tmp184_ = label_blink_time;
	g_object_bind_property_with_closures ((GObject*) _tmp183_, "active", (GObject*) _tmp184_, "sensitive", G_BINDING_DEFAULT, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)));
	_tmp185_ = switch_blink;
	_tmp186_ = scale_blink_speed;
	g_object_bind_property_with_closures ((GObject*) _tmp185_, "active", (GObject*) _tmp186_, "sensitive", G_BINDING_DEFAULT, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)));
	_tmp187_ = switch_blink;
	_tmp188_ = scale_blink_time;
	g_object_bind_property_with_closures ((GObject*) _tmp187_, "active", (GObject*) _tmp188_, "sensitive", G_BINDING_DEFAULT, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)));
	_tmp189_ = switch_repeat;
	_tmp190_ = label_repeat_delay;
	g_object_bind_property_with_closures ((GObject*) _tmp189_, "active", (GObject*) _tmp190_, "sensitive", G_BINDING_DEFAULT, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)));
	_tmp191_ = switch_repeat;
	_tmp192_ = label_repeat_speed;
	g_object_bind_property_with_closures ((GObject*) _tmp191_, "active", (GObject*) _tmp192_, "sensitive", G_BINDING_DEFAULT, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)));
	_tmp193_ = switch_repeat;
	_tmp194_ = scale_repeat_delay;
	g_object_bind_property_with_closures ((GObject*) _tmp193_, "active", (GObject*) _tmp194_, "sensitive", G_BINDING_DEFAULT, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)));
	_tmp195_ = switch_repeat;
	_tmp196_ = scale_repeat_speed;
	g_object_bind_property_with_closures ((GObject*) _tmp195_, "active", (GObject*) _tmp196_, "sensitive", G_BINDING_DEFAULT, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)));
	_tmp197_ = g_settings_new ("org.gnome.desktop.a11y.keyboard");
	a11y_settings = _tmp197_;
	_tmp198_ = a11y_settings;
	_tmp199_ = bouncekeys_switch;
	g_settings_bind (_tmp198_, "bouncekeys-enable", (GObject*) _tmp199_, "active", G_SETTINGS_BIND_DEFAULT);
	_tmp200_ = a11y_settings;
	_tmp201_ = bouncekeys_check;
	g_settings_bind (_tmp200_, "bouncekeys-enable", (GObject*) _tmp201_, "sensitive", G_SETTINGS_BIND_GET);
	_tmp202_ = a11y_settings;
	_tmp203_ = bouncekeys_scale;
	g_settings_bind (_tmp202_, "bouncekeys-enable", (GObject*) _tmp203_, "sensitive", G_SETTINGS_BIND_GET);
	_tmp204_ = a11y_settings;
	_tmp205_ = bouncekeys_check;
	g_settings_bind (_tmp204_, "bouncekeys-beep-reject", (GObject*) _tmp205_, "active", G_SETTINGS_BIND_DEFAULT);
	_tmp206_ = a11y_settings;
	_tmp207_ = bouncekeys_adjustment;
	g_settings_bind (_tmp206_, "bouncekeys-delay", (GObject*) _tmp207_, "value", G_SETTINGS_BIND_DEFAULT);
	_tmp208_ = a11y_settings;
	_tmp209_ = slowkeys_switch;
	g_settings_bind (_tmp208_, "slowkeys-enable", (GObject*) _tmp209_, "active", G_SETTINGS_BIND_DEFAULT);
	_tmp210_ = a11y_settings;
	_tmp211_ = slowkeys_check;
	g_settings_bind (_tmp210_, "slowkeys-enable", (GObject*) _tmp211_, "sensitive", G_SETTINGS_BIND_GET);
	_tmp212_ = a11y_settings;
	_tmp213_ = slowkeys_scale;
	g_settings_bind (_tmp212_, "slowkeys-enable", (GObject*) _tmp213_, "sensitive", G_SETTINGS_BIND_GET);
	_tmp214_ = a11y_settings;
	_tmp215_ = slowkeys_check;
	g_settings_bind (_tmp214_, "slowkeys-beep-reject", (GObject*) _tmp215_, "active", G_SETTINGS_BIND_DEFAULT);
	_tmp216_ = a11y_settings;
	_tmp217_ = slowkeys_adjustment;
	g_settings_bind (_tmp216_, "slowkeys-delay", (GObject*) _tmp217_, "value", G_SETTINGS_BIND_DEFAULT);
	_tmp218_ = a11y_settings;
	_tmp219_ = stickykeys_switch;
	g_settings_bind (_tmp218_, "stickykeys-enable", (GObject*) _tmp219_, "active", G_SETTINGS_BIND_DEFAULT);
	_tmp220_ = a11y_settings;
	_tmp221_ = stickykeys_check;
	g_settings_bind (_tmp220_, "stickykeys-enable", (GObject*) _tmp221_, "sensitive", G_SETTINGS_BIND_GET);
	_tmp222_ = a11y_settings;
	_tmp223_ = stickykeys_check;
	g_settings_bind (_tmp222_, "stickykeys-modifier-beep", (GObject*) _tmp223_, "active", G_SETTINGS_BIND_DEFAULT);
	_tmp224_ = a11y_settings;
	_tmp225_ = togglekeys_check;
	g_settings_bind (_tmp224_, "togglekeys-enable", (GObject*) _tmp225_, "active", G_SETTINGS_BIND_DEFAULT);
	_tmp226_ = scale_repeat_delay;
	gtk_widget_grab_focus ((GtkWidget*) _tmp226_);
	_g_object_unref0 (a11y_settings);
	_g_object_unref0 (gsettings_repeat);
	_g_object_unref0 (gsettings_blink);
	_g_object_unref0 (applications_settings);
	_g_object_unref0 (scrolled);
	_g_object_unref0 (clamp);
	_g_object_unref0 (box);
	_g_object_unref0 (blink_grid);
	_g_object_unref0 (repeat_grid);
	_g_object_unref0 (entry_test);
	_g_object_unref0 (events_box);
	_g_object_unref0 (events_checks_box);
	_g_object_unref0 (slowkeys_check);
	_g_object_unref0 (stickykeys_check);
	_g_object_unref0 (bouncekeys_check);
	_g_object_unref0 (togglekeys_check);
	_g_object_unref0 (events_header);
	_g_object_unref0 (bouncekeys_grid);
	_g_object_unref0 (bouncekeys_scale);
	_g_object_unref0 (bouncekeys_adjustment);
	_g_object_unref0 (bouncekeys_header);
	_g_object_unref0 (bouncekeys_switch);
	_g_object_unref0 (slowkeys_grid);
	_g_object_unref0 (slowkeys_scale);
	_g_object_unref0 (slowkeys_adjustment);
	_g_object_unref0 (slowkeys_header);
	_g_object_unref0 (slowkeys_switch);
	_g_object_unref0 (stickykeys_grid);
	_g_object_unref0 (stickykeys_header);
	_g_object_unref0 (stickykeys_switch);
	_g_object_unref0 (scale_blink_time);
	_g_object_unref0 (blink_time_adjustment);
	_g_object_unref0 (scale_blink_speed);
	_g_object_unref0 (blink_speed_adjustment);
	_g_object_unref0 (label_blink);
	_g_object_unref0 (switch_blink);
	_g_object_unref0 (label_blink_time);
	_g_object_unref0 (label_blink_speed);
	_g_object_unref0 (scale_repeat_speed);
	_g_object_unref0 (repeat_speed_adjustment);
	_g_object_unref0 (scale_repeat_delay);
	_g_object_unref0 (repeat_delay_adjustment);
	_g_object_unref0 (label_repeat);
	_g_object_unref0 (switch_repeat);
	_g_object_unref0 (label_repeat_speed);
	_g_object_unref0 (label_repeat_delay);
	_g_object_unref0 (scale_provider);
	_g_object_unref0 (onscreen_keyboard_grid);
	_g_object_unref0 (onscreen_keyboard_settings);
	_g_object_unref0 (onscreen_keyboard_switch);
	_g_object_unref0 (onscreen_keyboard_header);
	return obj;
}

static void
keyboard_behaviour_page_class_init (KeyboardBehaviourPageClass * klass,
                                    gpointer klass_data)
{
	keyboard_behaviour_page_parent_class = g_type_class_peek_parent (klass);
	G_OBJECT_CLASS (klass)->constructor = keyboard_behaviour_page_constructor;
}

static void
keyboard_behaviour_page_instance_init (KeyboardBehaviourPage * self,
                                       gpointer klass)
{
}

static GType
keyboard_behaviour_page_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (KeyboardBehaviourPageClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) keyboard_behaviour_page_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (KeyboardBehaviourPage), 0, (GInstanceInitFunc) keyboard_behaviour_page_instance_init, NULL };
	GType keyboard_behaviour_page_type_id;
	keyboard_behaviour_page_type_id = g_type_register_static (gtk_box_get_type (), "KeyboardBehaviourPage", &g_define_type_info, 0);
	return keyboard_behaviour_page_type_id;
}

GType
keyboard_behaviour_page_get_type (void)
{
	static volatile gsize keyboard_behaviour_page_type_id__once = 0;
	if (g_once_init_enter (&keyboard_behaviour_page_type_id__once)) {
		GType keyboard_behaviour_page_type_id;
		keyboard_behaviour_page_type_id = keyboard_behaviour_page_get_type_once ();
		g_once_init_leave (&keyboard_behaviour_page_type_id__once, keyboard_behaviour_page_type_id);
	}
	return keyboard_behaviour_page_type_id__once;
}

