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

/*-
 * Copyright (c) 2019 elementary, Inc. (https://elementary.io)
 *
 * 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
 * (at your option) 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 <adwaita.h>
#include <glib-object.h>
#include <glib.h>
#include <glib/gi18n-lib.h>
#include <stdlib.h>
#include <string.h>
#include <granite-7.h>
#include <gtk/gtk.h>
#include <gio/gio.h>

#define ONBOARDING_GETTEXT_PACKAGE "io.elementary.onboarding"
#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 ONBOARDING_TYPE_ABSTRACT_ONBOARDING_VIEW (onboarding_abstract_onboarding_view_get_type ())
#define ONBOARDING_ABSTRACT_ONBOARDING_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ONBOARDING_TYPE_ABSTRACT_ONBOARDING_VIEW, OnboardingAbstractOnboardingView))
#define ONBOARDING_ABSTRACT_ONBOARDING_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ONBOARDING_TYPE_ABSTRACT_ONBOARDING_VIEW, OnboardingAbstractOnboardingViewClass))
#define ONBOARDING_IS_ABSTRACT_ONBOARDING_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ONBOARDING_TYPE_ABSTRACT_ONBOARDING_VIEW))
#define ONBOARDING_IS_ABSTRACT_ONBOARDING_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ONBOARDING_TYPE_ABSTRACT_ONBOARDING_VIEW))
#define ONBOARDING_ABSTRACT_ONBOARDING_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ONBOARDING_TYPE_ABSTRACT_ONBOARDING_VIEW, OnboardingAbstractOnboardingViewClass))

typedef struct _OnboardingAbstractOnboardingView OnboardingAbstractOnboardingView;
typedef struct _OnboardingAbstractOnboardingViewClass OnboardingAbstractOnboardingViewClass;
typedef struct _OnboardingAbstractOnboardingViewPrivate OnboardingAbstractOnboardingViewPrivate;

#define ONBOARDING_TYPE_HOUSE_KEEPING_VIEW (onboarding_house_keeping_view_get_type ())
#define ONBOARDING_HOUSE_KEEPING_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), ONBOARDING_TYPE_HOUSE_KEEPING_VIEW, OnboardingHouseKeepingView))
#define ONBOARDING_HOUSE_KEEPING_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), ONBOARDING_TYPE_HOUSE_KEEPING_VIEW, OnboardingHouseKeepingViewClass))
#define ONBOARDING_IS_HOUSE_KEEPING_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), ONBOARDING_TYPE_HOUSE_KEEPING_VIEW))
#define ONBOARDING_IS_HOUSE_KEEPING_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), ONBOARDING_TYPE_HOUSE_KEEPING_VIEW))
#define ONBOARDING_HOUSE_KEEPING_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), ONBOARDING_TYPE_HOUSE_KEEPING_VIEW, OnboardingHouseKeepingViewClass))

typedef struct _OnboardingHouseKeepingView OnboardingHouseKeepingView;
typedef struct _OnboardingHouseKeepingViewClass OnboardingHouseKeepingViewClass;
typedef struct _OnboardingHouseKeepingViewPrivate OnboardingHouseKeepingViewPrivate;
enum  {
	ONBOARDING_HOUSE_KEEPING_VIEW_0_PROPERTY,
	ONBOARDING_HOUSE_KEEPING_VIEW_OLD_FILES_AGE_PROPERTY,
	ONBOARDING_HOUSE_KEEPING_VIEW_NUM_PROPERTIES
};
static GParamSpec* onboarding_house_keeping_view_properties[ONBOARDING_HOUSE_KEEPING_VIEW_NUM_PROPERTIES];
#define _g_free0(var) (var = (g_free (var), NULL))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

struct _OnboardingAbstractOnboardingView {
	AdwNavigationPage parent_instance;
	OnboardingAbstractOnboardingViewPrivate * priv;
};

struct _OnboardingAbstractOnboardingViewClass {
	AdwNavigationPageClass parent_class;
};

struct _OnboardingHouseKeepingView {
	OnboardingAbstractOnboardingView parent_instance;
	OnboardingHouseKeepingViewPrivate * priv;
};

struct _OnboardingHouseKeepingViewClass {
	OnboardingAbstractOnboardingViewClass parent_class;
};

static gpointer onboarding_house_keeping_view_parent_class = NULL;

VALA_EXTERN GType onboarding_abstract_onboarding_view_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (OnboardingAbstractOnboardingView, g_object_unref)
VALA_EXTERN GType onboarding_house_keeping_view_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (OnboardingHouseKeepingView, g_object_unref)
VALA_EXTERN OnboardingHouseKeepingView* onboarding_house_keeping_view_new (void);
VALA_EXTERN OnboardingHouseKeepingView* onboarding_house_keeping_view_construct (GType object_type);
VALA_EXTERN void onboarding_house_keeping_view_set_old_files_age (OnboardingHouseKeepingView* self,
                                                      guint value);
VALA_EXTERN void onboarding_abstract_onboarding_view_set_description (OnboardingAbstractOnboardingView* self,
                                                          const gchar* value);
static GObject * onboarding_house_keeping_view_constructor (GType type,
                                                     guint n_construct_properties,
                                                     GObjectConstructParam * construct_properties);
static void _vala_GValue_array_free (GValue * array,
                              gssize array_length);
VALA_EXTERN GraniteBox* onboarding_abstract_onboarding_view_get_custom_bin (OnboardingAbstractOnboardingView* self);
static GType onboarding_house_keeping_view_get_type_once (void);
static void _vala_onboarding_house_keeping_view_set_property (GObject * object,
                                                       guint property_id,
                                                       const GValue * value,
                                                       GParamSpec * pspec);

OnboardingHouseKeepingView*
onboarding_house_keeping_view_construct (GType object_type)
{
	OnboardingHouseKeepingView * self = NULL;
	self = (OnboardingHouseKeepingView*) g_object_new (object_type, "view-name", "housekeeping", "icon-name", "preferences-system-privacy-housekeeping", "title", _ ("Housekeeping"), NULL);
	return self;
}

OnboardingHouseKeepingView*
onboarding_house_keeping_view_new (void)
{
	return onboarding_house_keeping_view_construct (ONBOARDING_TYPE_HOUSE_KEEPING_VIEW);
}

void
onboarding_house_keeping_view_set_old_files_age (OnboardingHouseKeepingView* self,
                                                 guint value)
{
	gchar* _tmp0_;
	gchar* _tmp1_;
	g_return_if_fail (self != NULL);
	_tmp0_ = g_strdup_printf (g_dngettext (ONBOARDING_GETTEXT_PACKAGE, "Old files can be automatically deleted after %u day to save space and " \
"help protect your privacy.", "Old files can be automatically deleted after %u days to save space and" \
" help protect your privacy.", (gulong) value), value);
	_tmp1_ = _tmp0_;
	onboarding_abstract_onboarding_view_set_description ((OnboardingAbstractOnboardingView*) self, _tmp1_);
	_g_free0 (_tmp1_);
	g_object_notify_by_pspec ((GObject *) self, onboarding_house_keeping_view_properties[ONBOARDING_HOUSE_KEEPING_VIEW_OLD_FILES_AGE_PROPERTY]);
}

static void
_vala_GValue_array_free (GValue * array,
                         gssize array_length)
{
	if (array != NULL) {
		gssize i;
		for (i = 0; i < array_length; i = i + 1) {
			g_value_unset (&array[i]);
		}
	}
	g_free (array);
}

static GObject *
onboarding_house_keeping_view_constructor (GType type,
                                           guint n_construct_properties,
                                           GObjectConstructParam * construct_properties)
{
	GObject * obj;
	GObjectClass * parent_class;
	OnboardingHouseKeepingView * self;
	GraniteHeaderLabel* header_label = NULL;
	GraniteHeaderLabel* _tmp0_;
	GtkLabel* temp_label = NULL;
	GtkLabel* _tmp1_;
	GtkCheckButton* temp_check = NULL;
	GtkCheckButton* _tmp2_ = NULL;
	GtkCheckButton* _tmp3_;
	GtkAccessibleProperty* _tmp4_;
	GtkAccessibleProperty* _tmp5_;
	gint _tmp5__length1;
	GValue _tmp6_ = {0};
	GtkLabel* _tmp7_;
	const gchar* _tmp8_;
	const gchar* _tmp9_;
	GValue _tmp10_ = {0};
	GValue* _tmp11_;
	GValue* _tmp12_;
	gint _tmp12__length1;
	GtkBox* temp_box = NULL;
	GtkBox* _tmp13_;
	GtkBox* _tmp14_;
	GtkImage* _tmp15_ = NULL;
	GtkImage* _tmp16_;
	GtkBox* _tmp17_;
	GtkLabel* _tmp18_;
	GtkBox* _tmp19_;
	GtkCheckButton* _tmp20_;
	GtkLabel* download_label = NULL;
	GtkLabel* _tmp21_;
	GtkCheckButton* download_check = NULL;
	GtkCheckButton* _tmp22_ = NULL;
	GtkCheckButton* _tmp23_;
	GtkAccessibleProperty* _tmp24_;
	GtkAccessibleProperty* _tmp25_;
	gint _tmp25__length1;
	GValue _tmp26_ = {0};
	GtkLabel* _tmp27_;
	const gchar* _tmp28_;
	const gchar* _tmp29_;
	GValue _tmp30_ = {0};
	GValue* _tmp31_;
	GValue* _tmp32_;
	gint _tmp32__length1;
	GtkBox* download_box = NULL;
	GtkBox* _tmp33_;
	GtkBox* _tmp34_;
	GtkImage* _tmp35_ = NULL;
	GtkImage* _tmp36_;
	GtkBox* _tmp37_;
	GtkLabel* _tmp38_;
	GtkBox* _tmp39_;
	GtkCheckButton* _tmp40_;
	GtkLabel* screenshots_label = NULL;
	GtkLabel* _tmp41_;
	GtkCheckButton* screenshots_check = NULL;
	GtkCheckButton* _tmp42_ = NULL;
	GtkCheckButton* _tmp43_;
	GtkAccessibleProperty* _tmp44_;
	GtkAccessibleProperty* _tmp45_;
	gint _tmp45__length1;
	GValue _tmp46_ = {0};
	GtkLabel* _tmp47_;
	const gchar* _tmp48_;
	const gchar* _tmp49_;
	GValue _tmp50_ = {0};
	GValue* _tmp51_;
	GValue* _tmp52_;
	gint _tmp52__length1;
	GtkBox* screenshots_box = NULL;
	GtkBox* _tmp53_;
	GtkBox* _tmp54_;
	GtkImage* _tmp55_ = NULL;
	GtkImage* _tmp56_;
	GtkBox* _tmp57_;
	GtkLabel* _tmp58_;
	GtkBox* _tmp59_;
	GtkCheckButton* _tmp60_;
	GtkLabel* trash_label = NULL;
	GtkLabel* _tmp61_;
	GtkCheckButton* trash_check = NULL;
	GtkCheckButton* _tmp62_ = NULL;
	GtkCheckButton* _tmp63_;
	GtkAccessibleProperty* _tmp64_;
	GtkAccessibleProperty* _tmp65_;
	gint _tmp65__length1;
	GValue _tmp66_ = {0};
	GtkLabel* _tmp67_;
	const gchar* _tmp68_;
	const gchar* _tmp69_;
	GValue _tmp70_ = {0};
	GValue* _tmp71_;
	GValue* _tmp72_;
	gint _tmp72__length1;
	GtkBox* trash_box = NULL;
	GtkBox* _tmp73_;
	GtkBox* _tmp74_;
	GtkImage* _tmp75_ = NULL;
	GtkImage* _tmp76_;
	GtkBox* _tmp77_;
	GtkLabel* _tmp78_;
	GtkBox* _tmp79_;
	GtkCheckButton* _tmp80_;
	GraniteBox* _tmp81_;
	GraniteBox* _tmp82_;
	GraniteHeaderLabel* _tmp83_;
	GraniteBox* _tmp84_;
	GraniteBox* _tmp85_;
	GtkCheckButton* _tmp86_;
	GraniteBox* _tmp87_;
	GraniteBox* _tmp88_;
	GtkCheckButton* _tmp89_;
	GraniteBox* _tmp90_;
	GraniteBox* _tmp91_;
	GtkCheckButton* _tmp92_;
	GraniteBox* _tmp93_;
	GraniteBox* _tmp94_;
	GtkCheckButton* _tmp95_;
	GSettings* housekeeping_settings = NULL;
	GSettings* _tmp96_;
	GSettings* _tmp97_;
	GtkCheckButton* _tmp98_;
	GSettings* _tmp99_;
	GtkCheckButton* _tmp100_;
	GSettings* _tmp101_;
	GtkCheckButton* _tmp102_;
	GSettings* _tmp103_;
	GtkCheckButton* _tmp104_;
	GSettings* _tmp105_;
	parent_class = G_OBJECT_CLASS (onboarding_house_keeping_view_parent_class);
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, ONBOARDING_TYPE_HOUSE_KEEPING_VIEW, OnboardingHouseKeepingView);
	_tmp0_ = granite_header_label_new (_ ("Automatically Delete"));
	g_object_ref_sink (_tmp0_);
	header_label = _tmp0_;
	_tmp1_ = (GtkLabel*) gtk_label_new (_ ("Old temporary files"));
	g_object_ref_sink (_tmp1_);
	temp_label = _tmp1_;
	_tmp2_ = (GtkCheckButton*) gtk_check_button_new ();
	gtk_widget_set_halign ((GtkWidget*) _tmp2_, GTK_ALIGN_START);
	gtk_widget_set_margin_start ((GtkWidget*) _tmp2_, 6);
	g_object_ref_sink (_tmp2_);
	temp_check = _tmp2_;
	_tmp3_ = temp_check;
	_tmp4_ = g_new0 (GtkAccessibleProperty, 2);
	_tmp4_[0] = GTK_ACCESSIBLE_PROPERTY_LABEL;
	_tmp4_[1] = GTK_ACCESSIBLE_PROPERTY_DESCRIPTION;
	_tmp5_ = _tmp4_;
	_tmp5__length1 = 2;
	g_value_init (&_tmp6_, G_TYPE_STRING);
	g_value_set_string (&_tmp6_, _ ("Automatically Delete"));
	_tmp7_ = temp_label;
	_tmp8_ = gtk_label_get_label (_tmp7_);
	_tmp9_ = _tmp8_;
	g_value_init (&_tmp10_, G_TYPE_STRING);
	g_value_set_string (&_tmp10_, _tmp9_);
	_tmp11_ = g_new0 (GValue, 2);
	_tmp11_[0] = _tmp6_;
	_tmp11_[1] = _tmp10_;
	_tmp12_ = _tmp11_;
	_tmp12__length1 = 2;
	gtk_accessible_update_property_value ((GtkAccessible*) _tmp3_, (gint) 2, _tmp5_, _tmp12_);
	_tmp12_ = (_vala_GValue_array_free (_tmp12_, _tmp12__length1), NULL);
	_tmp5_ = (g_free (_tmp5_), NULL);
	_tmp13_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
	g_object_ref_sink (_tmp13_);
	temp_box = _tmp13_;
	_tmp14_ = temp_box;
	_tmp15_ = (GtkImage*) gtk_image_new_from_icon_name ("folder");
	gtk_image_set_pixel_size (_tmp15_, 24);
	g_object_ref_sink (_tmp15_);
	_tmp16_ = _tmp15_;
	gtk_box_append (_tmp14_, (GtkWidget*) _tmp16_);
	_g_object_unref0 (_tmp16_);
	_tmp17_ = temp_box;
	_tmp18_ = temp_label;
	gtk_box_append (_tmp17_, (GtkWidget*) _tmp18_);
	_tmp19_ = temp_box;
	_tmp20_ = temp_check;
	gtk_widget_set_parent ((GtkWidget*) _tmp19_, (GtkWidget*) _tmp20_);
	_tmp21_ = (GtkLabel*) gtk_label_new (_ ("Downloaded files"));
	g_object_ref_sink (_tmp21_);
	download_label = _tmp21_;
	_tmp22_ = (GtkCheckButton*) gtk_check_button_new ();
	gtk_widget_set_halign ((GtkWidget*) _tmp22_, GTK_ALIGN_START);
	gtk_widget_set_margin_start ((GtkWidget*) _tmp22_, 6);
	g_object_ref_sink (_tmp22_);
	download_check = _tmp22_;
	_tmp23_ = download_check;
	_tmp24_ = g_new0 (GtkAccessibleProperty, 2);
	_tmp24_[0] = GTK_ACCESSIBLE_PROPERTY_LABEL;
	_tmp24_[1] = GTK_ACCESSIBLE_PROPERTY_DESCRIPTION;
	_tmp25_ = _tmp24_;
	_tmp25__length1 = 2;
	g_value_init (&_tmp26_, G_TYPE_STRING);
	g_value_set_string (&_tmp26_, _ ("Automatically Delete"));
	_tmp27_ = download_label;
	_tmp28_ = gtk_label_get_label (_tmp27_);
	_tmp29_ = _tmp28_;
	g_value_init (&_tmp30_, G_TYPE_STRING);
	g_value_set_string (&_tmp30_, _tmp29_);
	_tmp31_ = g_new0 (GValue, 2);
	_tmp31_[0] = _tmp26_;
	_tmp31_[1] = _tmp30_;
	_tmp32_ = _tmp31_;
	_tmp32__length1 = 2;
	gtk_accessible_update_property_value ((GtkAccessible*) _tmp23_, (gint) 2, _tmp25_, _tmp32_);
	_tmp32_ = (_vala_GValue_array_free (_tmp32_, _tmp32__length1), NULL);
	_tmp25_ = (g_free (_tmp25_), NULL);
	_tmp33_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
	g_object_ref_sink (_tmp33_);
	download_box = _tmp33_;
	_tmp34_ = download_box;
	_tmp35_ = (GtkImage*) gtk_image_new_from_icon_name ("folder-download");
	gtk_image_set_pixel_size (_tmp35_, 24);
	g_object_ref_sink (_tmp35_);
	_tmp36_ = _tmp35_;
	gtk_box_append (_tmp34_, (GtkWidget*) _tmp36_);
	_g_object_unref0 (_tmp36_);
	_tmp37_ = download_box;
	_tmp38_ = download_label;
	gtk_box_append (_tmp37_, (GtkWidget*) _tmp38_);
	_tmp39_ = download_box;
	_tmp40_ = download_check;
	gtk_widget_set_parent ((GtkWidget*) _tmp39_, (GtkWidget*) _tmp40_);
	_tmp41_ = (GtkLabel*) gtk_label_new (_ ("Screenshot files"));
	g_object_ref_sink (_tmp41_);
	screenshots_label = _tmp41_;
	_tmp42_ = (GtkCheckButton*) gtk_check_button_new ();
	gtk_widget_set_halign ((GtkWidget*) _tmp42_, GTK_ALIGN_START);
	gtk_widget_set_margin_start ((GtkWidget*) _tmp42_, 6);
	g_object_ref_sink (_tmp42_);
	screenshots_check = _tmp42_;
	_tmp43_ = screenshots_check;
	_tmp44_ = g_new0 (GtkAccessibleProperty, 2);
	_tmp44_[0] = GTK_ACCESSIBLE_PROPERTY_LABEL;
	_tmp44_[1] = GTK_ACCESSIBLE_PROPERTY_DESCRIPTION;
	_tmp45_ = _tmp44_;
	_tmp45__length1 = 2;
	g_value_init (&_tmp46_, G_TYPE_STRING);
	g_value_set_string (&_tmp46_, _ ("Automatically Delete"));
	_tmp47_ = screenshots_label;
	_tmp48_ = gtk_label_get_label (_tmp47_);
	_tmp49_ = _tmp48_;
	g_value_init (&_tmp50_, G_TYPE_STRING);
	g_value_set_string (&_tmp50_, _tmp49_);
	_tmp51_ = g_new0 (GValue, 2);
	_tmp51_[0] = _tmp46_;
	_tmp51_[1] = _tmp50_;
	_tmp52_ = _tmp51_;
	_tmp52__length1 = 2;
	gtk_accessible_update_property_value ((GtkAccessible*) _tmp43_, (gint) 2, _tmp45_, _tmp52_);
	_tmp52_ = (_vala_GValue_array_free (_tmp52_, _tmp52__length1), NULL);
	_tmp45_ = (g_free (_tmp45_), NULL);
	_tmp53_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
	g_object_ref_sink (_tmp53_);
	screenshots_box = _tmp53_;
	_tmp54_ = screenshots_box;
	_tmp55_ = (GtkImage*) gtk_image_new_from_icon_name ("folder-screenshots-icon");
	gtk_image_set_pixel_size (_tmp55_, 24);
	g_object_ref_sink (_tmp55_);
	_tmp56_ = _tmp55_;
	gtk_box_append (_tmp54_, (GtkWidget*) _tmp56_);
	_g_object_unref0 (_tmp56_);
	_tmp57_ = screenshots_box;
	_tmp58_ = screenshots_label;
	gtk_box_append (_tmp57_, (GtkWidget*) _tmp58_);
	_tmp59_ = screenshots_box;
	_tmp60_ = screenshots_check;
	gtk_widget_set_parent ((GtkWidget*) _tmp59_, (GtkWidget*) _tmp60_);
	_tmp61_ = (GtkLabel*) gtk_label_new (_ ("Trashed files"));
	g_object_ref_sink (_tmp61_);
	trash_label = _tmp61_;
	_tmp62_ = (GtkCheckButton*) gtk_check_button_new ();
	gtk_widget_set_halign ((GtkWidget*) _tmp62_, GTK_ALIGN_START);
	gtk_widget_set_margin_start ((GtkWidget*) _tmp62_, 6);
	g_object_ref_sink (_tmp62_);
	trash_check = _tmp62_;
	_tmp63_ = trash_check;
	_tmp64_ = g_new0 (GtkAccessibleProperty, 2);
	_tmp64_[0] = GTK_ACCESSIBLE_PROPERTY_LABEL;
	_tmp64_[1] = GTK_ACCESSIBLE_PROPERTY_DESCRIPTION;
	_tmp65_ = _tmp64_;
	_tmp65__length1 = 2;
	g_value_init (&_tmp66_, G_TYPE_STRING);
	g_value_set_string (&_tmp66_, _ ("Automatically Delete"));
	_tmp67_ = trash_label;
	_tmp68_ = gtk_label_get_label (_tmp67_);
	_tmp69_ = _tmp68_;
	g_value_init (&_tmp70_, G_TYPE_STRING);
	g_value_set_string (&_tmp70_, _tmp69_);
	_tmp71_ = g_new0 (GValue, 2);
	_tmp71_[0] = _tmp66_;
	_tmp71_[1] = _tmp70_;
	_tmp72_ = _tmp71_;
	_tmp72__length1 = 2;
	gtk_accessible_update_property_value ((GtkAccessible*) _tmp63_, (gint) 2, _tmp65_, _tmp72_);
	_tmp72_ = (_vala_GValue_array_free (_tmp72_, _tmp72__length1), NULL);
	_tmp65_ = (g_free (_tmp65_), NULL);
	_tmp73_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
	g_object_ref_sink (_tmp73_);
	trash_box = _tmp73_;
	_tmp74_ = trash_box;
	_tmp75_ = (GtkImage*) gtk_image_new_from_icon_name ("user-trash-full");
	gtk_image_set_pixel_size (_tmp75_, 24);
	g_object_ref_sink (_tmp75_);
	_tmp76_ = _tmp75_;
	gtk_box_append (_tmp74_, (GtkWidget*) _tmp76_);
	_g_object_unref0 (_tmp76_);
	_tmp77_ = trash_box;
	_tmp78_ = trash_label;
	gtk_box_append (_tmp77_, (GtkWidget*) _tmp78_);
	_tmp79_ = trash_box;
	_tmp80_ = trash_check;
	gtk_widget_set_parent ((GtkWidget*) _tmp79_, (GtkWidget*) _tmp80_);
	_tmp81_ = onboarding_abstract_onboarding_view_get_custom_bin ((OnboardingAbstractOnboardingView*) self);
	_tmp82_ = _tmp81_;
	_tmp83_ = header_label;
	gtk_box_append ((GtkBox*) _tmp82_, (GtkWidget*) _tmp83_);
	_tmp84_ = onboarding_abstract_onboarding_view_get_custom_bin ((OnboardingAbstractOnboardingView*) self);
	_tmp85_ = _tmp84_;
	_tmp86_ = download_check;
	gtk_box_append ((GtkBox*) _tmp85_, (GtkWidget*) _tmp86_);
	_tmp87_ = onboarding_abstract_onboarding_view_get_custom_bin ((OnboardingAbstractOnboardingView*) self);
	_tmp88_ = _tmp87_;
	_tmp89_ = temp_check;
	gtk_box_append ((GtkBox*) _tmp88_, (GtkWidget*) _tmp89_);
	_tmp90_ = onboarding_abstract_onboarding_view_get_custom_bin ((OnboardingAbstractOnboardingView*) self);
	_tmp91_ = _tmp90_;
	_tmp92_ = screenshots_check;
	gtk_box_append ((GtkBox*) _tmp91_, (GtkWidget*) _tmp92_);
	_tmp93_ = onboarding_abstract_onboarding_view_get_custom_bin ((OnboardingAbstractOnboardingView*) self);
	_tmp94_ = _tmp93_;
	_tmp95_ = trash_check;
	gtk_box_append ((GtkBox*) _tmp94_, (GtkWidget*) _tmp95_);
	_tmp96_ = g_settings_new ("io.elementary.settings-daemon.housekeeping");
	housekeeping_settings = _tmp96_;
	_tmp97_ = housekeeping_settings;
	_tmp98_ = download_check;
	g_settings_bind (_tmp97_, "cleanup-downloads-folder", (GObject*) _tmp98_, "active", G_SETTINGS_BIND_DEFAULT);
	_tmp99_ = housekeeping_settings;
	_tmp100_ = screenshots_check;
	g_settings_bind (_tmp99_, "cleanup-screenshots-folder", (GObject*) _tmp100_, "active", G_SETTINGS_BIND_DEFAULT);
	_tmp101_ = housekeeping_settings;
	_tmp102_ = temp_check;
	g_settings_bind (_tmp101_, "cleanup-temp-folder", (GObject*) _tmp102_, "active", G_SETTINGS_BIND_DEFAULT);
	_tmp103_ = housekeeping_settings;
	_tmp104_ = trash_check;
	g_settings_bind (_tmp103_, "cleanup-trash-folder", (GObject*) _tmp104_, "active", G_SETTINGS_BIND_DEFAULT);
	_tmp105_ = housekeeping_settings;
	g_settings_bind (_tmp105_, "old-files-age", (GObject*) self, "old_files_age", G_SETTINGS_BIND_GET);
	_g_object_unref0 (housekeeping_settings);
	_g_object_unref0 (trash_box);
	_g_object_unref0 (trash_check);
	_g_object_unref0 (trash_label);
	_g_object_unref0 (screenshots_box);
	_g_object_unref0 (screenshots_check);
	_g_object_unref0 (screenshots_label);
	_g_object_unref0 (download_box);
	_g_object_unref0 (download_check);
	_g_object_unref0 (download_label);
	_g_object_unref0 (temp_box);
	_g_object_unref0 (temp_check);
	_g_object_unref0 (temp_label);
	_g_object_unref0 (header_label);
	return obj;
}

static void
onboarding_house_keeping_view_class_init (OnboardingHouseKeepingViewClass * klass,
                                          gpointer klass_data)
{
	onboarding_house_keeping_view_parent_class = g_type_class_peek_parent (klass);
	G_OBJECT_CLASS (klass)->set_property = _vala_onboarding_house_keeping_view_set_property;
	G_OBJECT_CLASS (klass)->constructor = onboarding_house_keeping_view_constructor;
	g_object_class_install_property (G_OBJECT_CLASS (klass), ONBOARDING_HOUSE_KEEPING_VIEW_OLD_FILES_AGE_PROPERTY, onboarding_house_keeping_view_properties[ONBOARDING_HOUSE_KEEPING_VIEW_OLD_FILES_AGE_PROPERTY] = g_param_spec_uint ("old-files-age", "old-files-age", "old-files-age", 0, G_MAXUINT, 0U, G_PARAM_STATIC_STRINGS | G_PARAM_WRITABLE));
}

static void
onboarding_house_keeping_view_instance_init (OnboardingHouseKeepingView * self,
                                             gpointer klass)
{
}

 G_GNUC_NO_INLINE static GType
onboarding_house_keeping_view_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (OnboardingHouseKeepingViewClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) onboarding_house_keeping_view_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (OnboardingHouseKeepingView), 0, (GInstanceInitFunc) onboarding_house_keeping_view_instance_init, NULL };
	GType onboarding_house_keeping_view_type_id;
	onboarding_house_keeping_view_type_id = g_type_register_static (ONBOARDING_TYPE_ABSTRACT_ONBOARDING_VIEW, "OnboardingHouseKeepingView", &g_define_type_info, 0);
	return onboarding_house_keeping_view_type_id;
}

GType
onboarding_house_keeping_view_get_type (void)
{
	static volatile gsize onboarding_house_keeping_view_type_id__once = 0;
	if (g_once_init_enter (&onboarding_house_keeping_view_type_id__once)) {
		GType onboarding_house_keeping_view_type_id;
		onboarding_house_keeping_view_type_id = onboarding_house_keeping_view_get_type_once ();
		g_once_init_leave (&onboarding_house_keeping_view_type_id__once, onboarding_house_keeping_view_type_id);
	}
	return onboarding_house_keeping_view_type_id__once;
}

static void
_vala_onboarding_house_keeping_view_set_property (GObject * object,
                                                  guint property_id,
                                                  const GValue * value,
                                                  GParamSpec * pspec)
{
	OnboardingHouseKeepingView * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, ONBOARDING_TYPE_HOUSE_KEEPING_VIEW, OnboardingHouseKeepingView);
	switch (property_id) {
		case ONBOARDING_HOUSE_KEEPING_VIEW_OLD_FILES_AGE_PROPERTY:
		onboarding_house_keeping_view_set_old_files_age (self, g_value_get_uint (value));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

