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

/* -*- Mode: Vala; indent-tabs-mode: nil; tab-width: 2 -*- */
/*
    This file is part of Déjà Dup.
    For copyright information, see AUTHORS.

    Déjà Dup 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.

    Déjà Dup 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 Déjà Dup.  If not, see <http://www.gnu.org/licenses/>.
*/

#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
#include <stdlib.h>
#include <string.h>


#define DEJA_DUP_TYPE_CONFIG_LOCATION_TABLE (deja_dup_config_location_table_get_type ())
#define DEJA_DUP_CONFIG_LOCATION_TABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DEJA_DUP_TYPE_CONFIG_LOCATION_TABLE, DejaDupConfigLocationTable))
#define DEJA_DUP_CONFIG_LOCATION_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), DEJA_DUP_TYPE_CONFIG_LOCATION_TABLE, DejaDupConfigLocationTableClass))
#define DEJA_DUP_IS_CONFIG_LOCATION_TABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DEJA_DUP_TYPE_CONFIG_LOCATION_TABLE))
#define DEJA_DUP_IS_CONFIG_LOCATION_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), DEJA_DUP_TYPE_CONFIG_LOCATION_TABLE))
#define DEJA_DUP_CONFIG_LOCATION_TABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), DEJA_DUP_TYPE_CONFIG_LOCATION_TABLE, DejaDupConfigLocationTableClass))

typedef struct _DejaDupConfigLocationTable DejaDupConfigLocationTable;
typedef struct _DejaDupConfigLocationTableClass DejaDupConfigLocationTableClass;
typedef struct _DejaDupConfigLocationTablePrivate DejaDupConfigLocationTablePrivate;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

#define DEJA_DUP_TYPE_CONFIG_WIDGET (deja_dup_config_widget_get_type ())
#define DEJA_DUP_CONFIG_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DEJA_DUP_TYPE_CONFIG_WIDGET, DejaDupConfigWidget))
#define DEJA_DUP_CONFIG_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), DEJA_DUP_TYPE_CONFIG_WIDGET, DejaDupConfigWidgetClass))
#define DEJA_DUP_IS_CONFIG_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DEJA_DUP_TYPE_CONFIG_WIDGET))
#define DEJA_DUP_IS_CONFIG_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), DEJA_DUP_TYPE_CONFIG_WIDGET))
#define DEJA_DUP_CONFIG_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), DEJA_DUP_TYPE_CONFIG_WIDGET, DejaDupConfigWidgetClass))

typedef struct _DejaDupConfigWidget DejaDupConfigWidget;
typedef struct _DejaDupConfigWidgetClass DejaDupConfigWidgetClass;

#define DEJA_DUP_TYPE_CONFIG_BOOL (deja_dup_config_bool_get_type ())
#define DEJA_DUP_CONFIG_BOOL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DEJA_DUP_TYPE_CONFIG_BOOL, DejaDupConfigBool))
#define DEJA_DUP_CONFIG_BOOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), DEJA_DUP_TYPE_CONFIG_BOOL, DejaDupConfigBoolClass))
#define DEJA_DUP_IS_CONFIG_BOOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DEJA_DUP_TYPE_CONFIG_BOOL))
#define DEJA_DUP_IS_CONFIG_BOOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), DEJA_DUP_TYPE_CONFIG_BOOL))
#define DEJA_DUP_CONFIG_BOOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), DEJA_DUP_TYPE_CONFIG_BOOL, DejaDupConfigBoolClass))

typedef struct _DejaDupConfigBool DejaDupConfigBool;
typedef struct _DejaDupConfigBoolClass DejaDupConfigBoolClass;
typedef struct _Block2Data Block2Data;
typedef struct _Block3Data Block3Data;

struct _DejaDupConfigLocationTable {
	GtkGrid parent_instance;
	DejaDupConfigLocationTablePrivate * priv;
	gint row;
};

struct _DejaDupConfigLocationTableClass {
	GtkGridClass parent_class;
};

struct _DejaDupConfigLocationTablePrivate {
	GtkSizeGroup* _label_sizes;
};

struct _Block2Data {
	int _ref_count_;
	DejaDupConfigLocationTable* self;
	GtkWidget* label;
	GtkWidget* w;
	DejaDupConfigBool* check;
};

struct _Block3Data {
	int _ref_count_;
	DejaDupConfigLocationTable* self;
	GtkWidget* w;
	DejaDupConfigBool* check;
};


static gpointer deja_dup_config_location_table_parent_class = NULL;

GType deja_dup_config_location_table_get_type (void) G_GNUC_CONST;
#define DEJA_DUP_CONFIG_LOCATION_TABLE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), DEJA_DUP_TYPE_CONFIG_LOCATION_TABLE, DejaDupConfigLocationTablePrivate))
enum  {
	DEJA_DUP_CONFIG_LOCATION_TABLE_DUMMY_PROPERTY,
	DEJA_DUP_CONFIG_LOCATION_TABLE_LABEL_SIZES
};
DejaDupConfigLocationTable* deja_dup_config_location_table_new (GtkSizeGroup* sg);
DejaDupConfigLocationTable* deja_dup_config_location_table_construct (GType object_type, GtkSizeGroup* sg);
GType deja_dup_config_widget_get_type (void) G_GNUC_CONST;
GType deja_dup_config_bool_get_type (void) G_GNUC_CONST;
void deja_dup_config_location_table_add_widget (DejaDupConfigLocationTable* self, const gchar* msg, GtkWidget* w, DejaDupConfigBool* check, GtkWidget* mnemonic);
GtkSizeGroup* deja_dup_config_location_table_get_label_sizes (DejaDupConfigLocationTable* self);
void deja_dup_config_location_table_add_widget_with_label (DejaDupConfigLocationTable* self, GtkWidget* label, GtkWidget* w, DejaDupConfigBool* check);
static Block2Data* block2_data_ref (Block2Data* _data2_);
static void block2_data_unref (void * _userdata_);
gboolean deja_dup_config_bool_get_active (DejaDupConfigBool* self);
static void ___lambda6_ (Block2Data* _data2_);
static void ____lambda6__deja_dup_config_bool_toggled (DejaDupConfigBool* _sender, DejaDupConfigBool* check, gboolean user, gpointer self);
void deja_dup_config_location_table_add_wide_widget (DejaDupConfigLocationTable* self, GtkWidget* w, DejaDupConfigBool* check);
static Block3Data* block3_data_ref (Block3Data* _data3_);
static void block3_data_unref (void * _userdata_);
static void ___lambda7_ (Block3Data* _data3_);
static void ____lambda7__deja_dup_config_bool_toggled (DejaDupConfigBool* _sender, DejaDupConfigBool* check, gboolean user, gpointer self);
static void deja_dup_config_location_table_set_label_sizes (DejaDupConfigLocationTable* self, GtkSizeGroup* value);
static GObject * deja_dup_config_location_table_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
static void deja_dup_config_location_table_finalize (GObject* obj);
static void _vala_deja_dup_config_location_table_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_deja_dup_config_location_table_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);


DejaDupConfigLocationTable* deja_dup_config_location_table_construct (GType object_type, GtkSizeGroup* sg) {
	DejaDupConfigLocationTable * self = NULL;
	GtkSizeGroup* _tmp0_ = NULL;
	g_return_val_if_fail (sg != NULL, NULL);
	_tmp0_ = sg;
	self = (DejaDupConfigLocationTable*) g_object_new (object_type, "label-sizes", _tmp0_, NULL);
	return self;
}


DejaDupConfigLocationTable* deja_dup_config_location_table_new (GtkSizeGroup* sg) {
	return deja_dup_config_location_table_construct (DEJA_DUP_TYPE_CONFIG_LOCATION_TABLE, sg);
}


void deja_dup_config_location_table_add_widget (DejaDupConfigLocationTable* self, const gchar* msg, GtkWidget* w, DejaDupConfigBool* check, GtkWidget* mnemonic) {
	GtkLabel* label = NULL;
	const gchar* _tmp0_ = NULL;
	GtkLabel* _tmp1_ = NULL;
	GtkWidget* _tmp2_ = NULL;
	GtkWidget* _tmp3_ = NULL;
	GtkLabel* _tmp6_ = NULL;
	GtkSizeGroup* _tmp7_ = NULL;
	GtkLabel* _tmp8_ = NULL;
	GtkLabel* _tmp9_ = NULL;
	GtkWidget* _tmp10_ = NULL;
	DejaDupConfigBool* _tmp11_ = NULL;
	g_return_if_fail (self != NULL);
	g_return_if_fail (msg != NULL);
	g_return_if_fail (w != NULL);
	_tmp0_ = msg;
	_tmp1_ = (GtkLabel*) gtk_label_new (_tmp0_);
	g_object_ref_sink (_tmp1_);
	label = _tmp1_;
	_tmp3_ = mnemonic;
	if (_tmp3_ != NULL) {
		GtkWidget* _tmp4_ = NULL;
		_tmp4_ = mnemonic;
		_tmp2_ = _tmp4_;
	} else {
		GtkWidget* _tmp5_ = NULL;
		_tmp5_ = w;
		_tmp2_ = _tmp5_;
	}
	_tmp6_ = label;
	g_object_set ((GObject*) _tmp6_, "mnemonic-widget", _tmp2_, "use-underline", TRUE, "xalign", 1.0f, NULL);
	_tmp7_ = self->priv->_label_sizes;
	_tmp8_ = label;
	gtk_size_group_add_widget (_tmp7_, (GtkWidget*) _tmp8_);
	_tmp9_ = label;
	_tmp10_ = w;
	_tmp11_ = check;
	deja_dup_config_location_table_add_widget_with_label (self, (GtkWidget*) _tmp9_, _tmp10_, _tmp11_);
	_g_object_unref0 (label);
}


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


static Block2Data* block2_data_ref (Block2Data* _data2_) {
	g_atomic_int_inc (&_data2_->_ref_count_);
	return _data2_;
}


static void block2_data_unref (void * _userdata_) {
	Block2Data* _data2_;
	_data2_ = (Block2Data*) _userdata_;
	if (g_atomic_int_dec_and_test (&_data2_->_ref_count_)) {
		DejaDupConfigLocationTable* self;
		self = _data2_->self;
		_g_object_unref0 (_data2_->label);
		_g_object_unref0 (_data2_->w);
		_g_object_unref0 (_data2_->check);
		_g_object_unref0 (self);
		g_slice_free (Block2Data, _data2_);
	}
}


static void ___lambda6_ (Block2Data* _data2_) {
	DejaDupConfigLocationTable* self;
	GtkWidget* _tmp0_ = NULL;
	DejaDupConfigBool* _tmp1_ = NULL;
	GtkWidget* _tmp5_ = NULL;
	DejaDupConfigBool* _tmp6_ = NULL;
	gboolean _tmp7_ = FALSE;
	self = _data2_->self;
	_tmp0_ = _data2_->label;
	_tmp1_ = _data2_->check;
	if ((G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, G_TYPE_OBJECT) ? ((GObject*) _tmp0_) : NULL) != (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, G_TYPE_OBJECT) ? ((GObject*) _tmp1_) : NULL)) {
		GtkWidget* _tmp2_ = NULL;
		DejaDupConfigBool* _tmp3_ = NULL;
		gboolean _tmp4_ = FALSE;
		_tmp2_ = _data2_->label;
		_tmp3_ = _data2_->check;
		_tmp4_ = deja_dup_config_bool_get_active (_tmp3_);
		gtk_widget_set_sensitive (_tmp2_, _tmp4_);
	}
	_tmp5_ = _data2_->w;
	_tmp6_ = _data2_->check;
	_tmp7_ = deja_dup_config_bool_get_active (_tmp6_);
	gtk_widget_set_sensitive (_tmp5_, _tmp7_);
}


static void ____lambda6__deja_dup_config_bool_toggled (DejaDupConfigBool* _sender, DejaDupConfigBool* check, gboolean user, gpointer self) {
	___lambda6_ (self);
}


void deja_dup_config_location_table_add_widget_with_label (DejaDupConfigLocationTable* self, GtkWidget* label, GtkWidget* w, DejaDupConfigBool* check) {
	Block2Data* _data2_;
	GtkWidget* _tmp0_ = NULL;
	GtkWidget* _tmp1_ = NULL;
	GtkWidget* _tmp2_ = NULL;
	GtkWidget* _tmp3_ = NULL;
	DejaDupConfigBool* _tmp4_ = NULL;
	DejaDupConfigBool* _tmp5_ = NULL;
	GtkWidget* _tmp6_ = NULL;
	gint _tmp7_ = 0;
	GtkWidget* _tmp8_ = NULL;
	GtkWidget* _tmp9_ = NULL;
	gint _tmp10_ = 0;
	gint _tmp11_ = 0;
	DejaDupConfigBool* _tmp12_ = NULL;
	g_return_if_fail (self != NULL);
	g_return_if_fail (label != NULL);
	g_return_if_fail (w != NULL);
	_data2_ = g_slice_new0 (Block2Data);
	_data2_->_ref_count_ = 1;
	_data2_->self = g_object_ref (self);
	_tmp0_ = label;
	_tmp1_ = _g_object_ref0 (_tmp0_);
	_g_object_unref0 (_data2_->label);
	_data2_->label = _tmp1_;
	_tmp2_ = w;
	_tmp3_ = _g_object_ref0 (_tmp2_);
	_g_object_unref0 (_data2_->w);
	_data2_->w = _tmp3_;
	_tmp4_ = check;
	_tmp5_ = _g_object_ref0 (_tmp4_);
	_g_object_unref0 (_data2_->check);
	_data2_->check = _tmp5_;
	_tmp6_ = _data2_->label;
	_tmp7_ = self->row;
	gtk_grid_attach ((GtkGrid*) self, _tmp6_, 0, _tmp7_, 1, 1);
	_tmp8_ = _data2_->w;
	g_object_set ((GObject*) _tmp8_, "hexpand", TRUE, NULL);
	_tmp9_ = _data2_->w;
	_tmp10_ = self->row;
	gtk_grid_attach ((GtkGrid*) self, _tmp9_, 1, _tmp10_, 1, 1);
	_tmp11_ = self->row;
	self->row = _tmp11_ + 1;
	_tmp12_ = _data2_->check;
	if (_tmp12_ != NULL) {
		GtkWidget* _tmp13_ = NULL;
		DejaDupConfigBool* _tmp14_ = NULL;
		GtkWidget* _tmp18_ = NULL;
		DejaDupConfigBool* _tmp19_ = NULL;
		gboolean _tmp20_ = FALSE;
		DejaDupConfigBool* _tmp21_ = NULL;
		_tmp13_ = _data2_->label;
		_tmp14_ = _data2_->check;
		if ((G_TYPE_CHECK_INSTANCE_TYPE (_tmp13_, G_TYPE_OBJECT) ? ((GObject*) _tmp13_) : NULL) != (G_TYPE_CHECK_INSTANCE_TYPE (_tmp14_, G_TYPE_OBJECT) ? ((GObject*) _tmp14_) : NULL)) {
			GtkWidget* _tmp15_ = NULL;
			DejaDupConfigBool* _tmp16_ = NULL;
			gboolean _tmp17_ = FALSE;
			_tmp15_ = _data2_->label;
			_tmp16_ = _data2_->check;
			_tmp17_ = deja_dup_config_bool_get_active (_tmp16_);
			gtk_widget_set_sensitive (_tmp15_, _tmp17_);
		}
		_tmp18_ = _data2_->w;
		_tmp19_ = _data2_->check;
		_tmp20_ = deja_dup_config_bool_get_active (_tmp19_);
		gtk_widget_set_sensitive (_tmp18_, _tmp20_);
		_tmp21_ = _data2_->check;
		g_signal_connect_data (_tmp21_, "toggled", (GCallback) ____lambda6__deja_dup_config_bool_toggled, block2_data_ref (_data2_), (GClosureNotify) block2_data_unref, 0);
	}
	block2_data_unref (_data2_);
	_data2_ = NULL;
}


static Block3Data* block3_data_ref (Block3Data* _data3_) {
	g_atomic_int_inc (&_data3_->_ref_count_);
	return _data3_;
}


static void block3_data_unref (void * _userdata_) {
	Block3Data* _data3_;
	_data3_ = (Block3Data*) _userdata_;
	if (g_atomic_int_dec_and_test (&_data3_->_ref_count_)) {
		DejaDupConfigLocationTable* self;
		self = _data3_->self;
		_g_object_unref0 (_data3_->w);
		_g_object_unref0 (_data3_->check);
		_g_object_unref0 (self);
		g_slice_free (Block3Data, _data3_);
	}
}


static void ___lambda7_ (Block3Data* _data3_) {
	DejaDupConfigLocationTable* self;
	GtkWidget* _tmp0_ = NULL;
	DejaDupConfigBool* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	self = _data3_->self;
	_tmp0_ = _data3_->w;
	_tmp1_ = _data3_->check;
	_tmp2_ = deja_dup_config_bool_get_active (_tmp1_);
	gtk_widget_set_sensitive (_tmp0_, _tmp2_);
}


static void ____lambda7__deja_dup_config_bool_toggled (DejaDupConfigBool* _sender, DejaDupConfigBool* check, gboolean user, gpointer self) {
	___lambda7_ (self);
}


void deja_dup_config_location_table_add_wide_widget (DejaDupConfigLocationTable* self, GtkWidget* w, DejaDupConfigBool* check) {
	Block3Data* _data3_;
	GtkWidget* _tmp0_ = NULL;
	GtkWidget* _tmp1_ = NULL;
	DejaDupConfigBool* _tmp2_ = NULL;
	DejaDupConfigBool* _tmp3_ = NULL;
	GtkWidget* _tmp4_ = NULL;
	GtkWidget* _tmp5_ = NULL;
	gint _tmp6_ = 0;
	gint _tmp7_ = 0;
	DejaDupConfigBool* _tmp8_ = NULL;
	g_return_if_fail (self != NULL);
	g_return_if_fail (w != NULL);
	_data3_ = g_slice_new0 (Block3Data);
	_data3_->_ref_count_ = 1;
	_data3_->self = g_object_ref (self);
	_tmp0_ = w;
	_tmp1_ = _g_object_ref0 (_tmp0_);
	_g_object_unref0 (_data3_->w);
	_data3_->w = _tmp1_;
	_tmp2_ = check;
	_tmp3_ = _g_object_ref0 (_tmp2_);
	_g_object_unref0 (_data3_->check);
	_data3_->check = _tmp3_;
	_tmp4_ = _data3_->w;
	gtk_widget_set_hexpand (_tmp4_, TRUE);
	_tmp5_ = _data3_->w;
	_tmp6_ = self->row;
	gtk_grid_attach ((GtkGrid*) self, _tmp5_, 0, _tmp6_, 2, 1);
	_tmp7_ = self->row;
	self->row = _tmp7_ + 1;
	_tmp8_ = _data3_->check;
	if (_tmp8_ != NULL) {
		GtkWidget* _tmp9_ = NULL;
		DejaDupConfigBool* _tmp10_ = NULL;
		gboolean _tmp11_ = FALSE;
		DejaDupConfigBool* _tmp12_ = NULL;
		_tmp9_ = _data3_->w;
		_tmp10_ = _data3_->check;
		_tmp11_ = deja_dup_config_bool_get_active (_tmp10_);
		gtk_widget_set_sensitive (_tmp9_, _tmp11_);
		_tmp12_ = _data3_->check;
		g_signal_connect_data (_tmp12_, "toggled", (GCallback) ____lambda7__deja_dup_config_bool_toggled, block3_data_ref (_data3_), (GClosureNotify) block3_data_unref, 0);
	}
	block3_data_unref (_data3_);
	_data3_ = NULL;
}


GtkSizeGroup* deja_dup_config_location_table_get_label_sizes (DejaDupConfigLocationTable* self) {
	GtkSizeGroup* result;
	GtkSizeGroup* _tmp0_ = NULL;
	g_return_val_if_fail (self != NULL, NULL);
	_tmp0_ = self->priv->_label_sizes;
	result = _tmp0_;
	return result;
}


static void deja_dup_config_location_table_set_label_sizes (DejaDupConfigLocationTable* self, GtkSizeGroup* value) {
	GtkSizeGroup* _tmp0_ = NULL;
	GtkSizeGroup* _tmp1_ = NULL;
	g_return_if_fail (self != NULL);
	_tmp0_ = value;
	_tmp1_ = _g_object_ref0 (_tmp0_);
	_g_object_unref0 (self->priv->_label_sizes);
	self->priv->_label_sizes = _tmp1_;
	g_object_notify ((GObject *) self, "label-sizes");
}


static GObject * deja_dup_config_location_table_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
	GObject * obj;
	GObjectClass * parent_class;
	DejaDupConfigLocationTable * self;
	parent_class = G_OBJECT_CLASS (deja_dup_config_location_table_parent_class);
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, DEJA_DUP_TYPE_CONFIG_LOCATION_TABLE, DejaDupConfigLocationTable);
	gtk_grid_set_row_spacing ((GtkGrid*) self, 6);
	gtk_grid_set_column_spacing ((GtkGrid*) self, 12);
	return obj;
}


static void deja_dup_config_location_table_class_init (DejaDupConfigLocationTableClass * klass) {
	deja_dup_config_location_table_parent_class = g_type_class_peek_parent (klass);
	g_type_class_add_private (klass, sizeof (DejaDupConfigLocationTablePrivate));
	G_OBJECT_CLASS (klass)->get_property = _vala_deja_dup_config_location_table_get_property;
	G_OBJECT_CLASS (klass)->set_property = _vala_deja_dup_config_location_table_set_property;
	G_OBJECT_CLASS (klass)->constructor = deja_dup_config_location_table_constructor;
	G_OBJECT_CLASS (klass)->finalize = deja_dup_config_location_table_finalize;
	g_object_class_install_property (G_OBJECT_CLASS (klass), DEJA_DUP_CONFIG_LOCATION_TABLE_LABEL_SIZES, g_param_spec_object ("label-sizes", "label-sizes", "label-sizes", gtk_size_group_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY));
}


static void deja_dup_config_location_table_instance_init (DejaDupConfigLocationTable * self) {
	self->priv = DEJA_DUP_CONFIG_LOCATION_TABLE_GET_PRIVATE (self);
	self->row = 0;
}


static void deja_dup_config_location_table_finalize (GObject* obj) {
	DejaDupConfigLocationTable * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, DEJA_DUP_TYPE_CONFIG_LOCATION_TABLE, DejaDupConfigLocationTable);
	_g_object_unref0 (self->priv->_label_sizes);
	G_OBJECT_CLASS (deja_dup_config_location_table_parent_class)->finalize (obj);
}


GType deja_dup_config_location_table_get_type (void) {
	static volatile gsize deja_dup_config_location_table_type_id__volatile = 0;
	if (g_once_init_enter (&deja_dup_config_location_table_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (DejaDupConfigLocationTableClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) deja_dup_config_location_table_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (DejaDupConfigLocationTable), 0, (GInstanceInitFunc) deja_dup_config_location_table_instance_init, NULL };
		GType deja_dup_config_location_table_type_id;
		deja_dup_config_location_table_type_id = g_type_register_static (gtk_grid_get_type (), "DejaDupConfigLocationTable", &g_define_type_info, 0);
		g_once_init_leave (&deja_dup_config_location_table_type_id__volatile, deja_dup_config_location_table_type_id);
	}
	return deja_dup_config_location_table_type_id__volatile;
}


static void _vala_deja_dup_config_location_table_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	DejaDupConfigLocationTable * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, DEJA_DUP_TYPE_CONFIG_LOCATION_TABLE, DejaDupConfigLocationTable);
	switch (property_id) {
		case DEJA_DUP_CONFIG_LOCATION_TABLE_LABEL_SIZES:
		g_value_set_object (value, deja_dup_config_location_table_get_label_sizes (self));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}


static void _vala_deja_dup_config_location_table_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	DejaDupConfigLocationTable * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, DEJA_DUP_TYPE_CONFIG_LOCATION_TABLE, DejaDupConfigLocationTable);
	switch (property_id) {
		case DEJA_DUP_CONFIG_LOCATION_TABLE_LABEL_SIZES:
		deja_dup_config_location_table_set_label_sizes (self, g_value_get_object (value));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}



