/* ConfigLocationDAV.c generated by valac 0.30.2, the Vala compiler
 * generated from ConfigLocationDAV.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>
#include "deja.h"
#include <glib/gi18n-lib.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 DEJA_DUP_TYPE_CONFIG_LOCATION_DAV (deja_dup_config_location_dav_get_type ())
#define DEJA_DUP_CONFIG_LOCATION_DAV(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DEJA_DUP_TYPE_CONFIG_LOCATION_DAV, DejaDupConfigLocationDAV))
#define DEJA_DUP_CONFIG_LOCATION_DAV_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), DEJA_DUP_TYPE_CONFIG_LOCATION_DAV, DejaDupConfigLocationDAVClass))
#define DEJA_DUP_IS_CONFIG_LOCATION_DAV(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DEJA_DUP_TYPE_CONFIG_LOCATION_DAV))
#define DEJA_DUP_IS_CONFIG_LOCATION_DAV_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), DEJA_DUP_TYPE_CONFIG_LOCATION_DAV))
#define DEJA_DUP_CONFIG_LOCATION_DAV_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), DEJA_DUP_TYPE_CONFIG_LOCATION_DAV, DejaDupConfigLocationDAVClass))

typedef struct _DejaDupConfigLocationDAV DejaDupConfigLocationDAV;
typedef struct _DejaDupConfigLocationDAVClass DejaDupConfigLocationDAVClass;
typedef struct _DejaDupConfigLocationDAVPrivate DejaDupConfigLocationDAVPrivate;

#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;
#define _g_free0(var) (var = (g_free (var), NULL))

#define DEJA_DUP_CONFIG_URL_PART_TYPE_PART (deja_dup_config_url_part_part_get_type ())
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

#define DEJA_DUP_TYPE_CONFIG_ENTRY (deja_dup_config_entry_get_type ())
#define DEJA_DUP_CONFIG_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DEJA_DUP_TYPE_CONFIG_ENTRY, DejaDupConfigEntry))
#define DEJA_DUP_CONFIG_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), DEJA_DUP_TYPE_CONFIG_ENTRY, DejaDupConfigEntryClass))
#define DEJA_DUP_IS_CONFIG_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DEJA_DUP_TYPE_CONFIG_ENTRY))
#define DEJA_DUP_IS_CONFIG_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), DEJA_DUP_TYPE_CONFIG_ENTRY))
#define DEJA_DUP_CONFIG_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), DEJA_DUP_TYPE_CONFIG_ENTRY, DejaDupConfigEntryClass))

typedef struct _DejaDupConfigEntry DejaDupConfigEntry;
typedef struct _DejaDupConfigEntryClass DejaDupConfigEntryClass;

#define DEJA_DUP_TYPE_CONFIG_URL_PART (deja_dup_config_url_part_get_type ())
#define DEJA_DUP_CONFIG_URL_PART(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DEJA_DUP_TYPE_CONFIG_URL_PART, DejaDupConfigURLPart))
#define DEJA_DUP_CONFIG_URL_PART_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), DEJA_DUP_TYPE_CONFIG_URL_PART, DejaDupConfigURLPartClass))
#define DEJA_DUP_IS_CONFIG_URL_PART(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DEJA_DUP_TYPE_CONFIG_URL_PART))
#define DEJA_DUP_IS_CONFIG_URL_PART_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), DEJA_DUP_TYPE_CONFIG_URL_PART))
#define DEJA_DUP_CONFIG_URL_PART_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), DEJA_DUP_TYPE_CONFIG_URL_PART, DejaDupConfigURLPartClass))

typedef struct _DejaDupConfigURLPart DejaDupConfigURLPart;
typedef struct _DejaDupConfigURLPartClass DejaDupConfigURLPartClass;

#define DEJA_DUP_TYPE_CONFIG_URL_PART_BOOL (deja_dup_config_url_part_bool_get_type ())
#define DEJA_DUP_CONFIG_URL_PART_BOOL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), DEJA_DUP_TYPE_CONFIG_URL_PART_BOOL, DejaDupConfigURLPartBool))
#define DEJA_DUP_CONFIG_URL_PART_BOOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), DEJA_DUP_TYPE_CONFIG_URL_PART_BOOL, DejaDupConfigURLPartBoolClass))
#define DEJA_DUP_IS_CONFIG_URL_PART_BOOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), DEJA_DUP_TYPE_CONFIG_URL_PART_BOOL))
#define DEJA_DUP_IS_CONFIG_URL_PART_BOOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), DEJA_DUP_TYPE_CONFIG_URL_PART_BOOL))
#define DEJA_DUP_CONFIG_URL_PART_BOOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), DEJA_DUP_TYPE_CONFIG_URL_PART_BOOL, DejaDupConfigURLPartBoolClass))

typedef struct _DejaDupConfigURLPartBool DejaDupConfigURLPartBool;
typedef struct _DejaDupConfigURLPartBoolClass DejaDupConfigURLPartBoolClass;

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

struct _DejaDupConfigLocationTableClass {
	GtkGridClass parent_class;
};

struct _DejaDupConfigLocationDAV {
	DejaDupConfigLocationTable parent_instance;
	DejaDupConfigLocationDAVPrivate * priv;
};

struct _DejaDupConfigLocationDAVClass {
	DejaDupConfigLocationTableClass parent_class;
};

typedef enum  {
	DEJA_DUP_CONFIG_URL_PART_PART_SCHEME,
	DEJA_DUP_CONFIG_URL_PART_PART_SERVER,
	DEJA_DUP_CONFIG_URL_PART_PART_PORT,
	DEJA_DUP_CONFIG_URL_PART_PART_USER,
	DEJA_DUP_CONFIG_URL_PART_PART_FOLDER,
	DEJA_DUP_CONFIG_URL_PART_PART_DOMAIN
} DejaDupConfigURLPartPart;

typedef gboolean (*DejaDupConfigURLPartBoolTestActive) (const gchar* val, void* user_data);

static gpointer deja_dup_config_location_dav_parent_class = NULL;

GType deja_dup_config_location_table_get_type (void) G_GNUC_CONST;
GType deja_dup_config_location_dav_get_type (void) G_GNUC_CONST;
enum  {
	DEJA_DUP_CONFIG_LOCATION_DAV_DUMMY_PROPERTY
};
DejaDupConfigLocationDAV* deja_dup_config_location_dav_new (GtkSizeGroup* sg);
DejaDupConfigLocationDAV* deja_dup_config_location_dav_construct (GType object_type, GtkSizeGroup* sg);
static gboolean deja_dup_config_location_dav_is_https_active (const gchar* val);
GType deja_dup_config_widget_get_type (void) G_GNUC_CONST;
GType deja_dup_config_bool_get_type (void) G_GNUC_CONST;
static void deja_dup_config_location_dav_https_toggled (DejaDupConfigLocationDAV* self, DejaDupConfigBool* check, gboolean user);
gboolean deja_dup_config_bool_get_active (DejaDupConfigBool* self);
GType deja_dup_config_url_part_part_get_type (void) G_GNUC_CONST;
void deja_dup_config_url_part_write_uri_part (DejaDupFilteredSettings* settings, const gchar* key, DejaDupConfigURLPartPart part, const gchar* userval);
static GObject * deja_dup_config_location_dav_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties);
void deja_dup_config_location_table_add_widget (DejaDupConfigLocationTable* self, const gchar* msg, GtkWidget* w, DejaDupConfigBool* check, GtkWidget* mnemonic);
DejaDupConfigURLPart* deja_dup_config_url_part_new (DejaDupConfigURLPartPart part, const gchar* key, const gchar* ns);
DejaDupConfigURLPart* deja_dup_config_url_part_construct (GType object_type, DejaDupConfigURLPartPart part, const gchar* key, const gchar* ns);
GType deja_dup_config_entry_get_type (void) G_GNUC_CONST;
GType deja_dup_config_url_part_get_type (void) G_GNUC_CONST;
GType deja_dup_config_url_part_bool_get_type (void) G_GNUC_CONST;
DejaDupConfigURLPartBool* deja_dup_config_url_part_bool_new (DejaDupConfigURLPartPart part, const gchar* key, const gchar* ns, const gchar* label);
DejaDupConfigURLPartBool* deja_dup_config_url_part_bool_construct (GType object_type, DejaDupConfigURLPartPart part, const gchar* key, const gchar* ns, const gchar* label);
static gboolean _deja_dup_config_location_dav_is_https_active_deja_dup_config_url_part_bool_test_active (const gchar* val, gpointer self);
void deja_dup_config_url_part_bool_set_test_active (DejaDupConfigURLPartBool* self, DejaDupConfigURLPartBoolTestActive value, gpointer value_target);
static void _deja_dup_config_location_dav_https_toggled_deja_dup_config_bool_toggled (DejaDupConfigBool* _sender, DejaDupConfigBool* check, gboolean user, gpointer self);


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


DejaDupConfigLocationDAV* deja_dup_config_location_dav_new (GtkSizeGroup* sg) {
	return deja_dup_config_location_dav_construct (DEJA_DUP_TYPE_CONFIG_LOCATION_DAV, sg);
}


static gboolean deja_dup_config_location_dav_is_https_active (const gchar* val) {
	gboolean result = FALSE;
	const gchar* _tmp0_ = NULL;
	g_return_val_if_fail (val != NULL, FALSE);
	_tmp0_ = val;
	result = g_strcmp0 (_tmp0_, "davs") == 0;
	return result;
}


static void deja_dup_config_location_dav_https_toggled (DejaDupConfigLocationDAV* self, DejaDupConfigBool* check, gboolean user) {
	gboolean _tmp0_ = FALSE;
	gchar* scheme = NULL;
	DejaDupConfigBool* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	DejaDupFilteredSettings* _tmp5_ = NULL;
	DejaDupFilteredSettings* _tmp6_ = NULL;
	const gchar* _tmp7_ = NULL;
	g_return_if_fail (self != NULL);
	g_return_if_fail (check != NULL);
	_tmp0_ = user;
	if (!_tmp0_) {
		return;
	}
	_tmp1_ = check;
	_tmp2_ = deja_dup_config_bool_get_active (_tmp1_);
	if (_tmp2_) {
		gchar* _tmp3_ = NULL;
		_tmp3_ = g_strdup ("davs");
		_g_free0 (scheme);
		scheme = _tmp3_;
	} else {
		gchar* _tmp4_ = NULL;
		_tmp4_ = g_strdup ("dav");
		_g_free0 (scheme);
		scheme = _tmp4_;
	}
	_tmp5_ = deja_dup_get_settings (DEJA_DUP_FILE_ROOT);
	_tmp6_ = _tmp5_;
	_tmp7_ = scheme;
	deja_dup_config_url_part_write_uri_part (_tmp6_, DEJA_DUP_FILE_PATH_KEY, DEJA_DUP_CONFIG_URL_PART_PART_SCHEME, _tmp7_);
	_g_object_unref0 (_tmp6_);
	_g_free0 (scheme);
}


static gboolean _deja_dup_config_location_dav_is_https_active_deja_dup_config_url_part_bool_test_active (const gchar* val, gpointer self) {
	gboolean result;
	result = deja_dup_config_location_dav_is_https_active (val);
	return result;
}


static void _deja_dup_config_location_dav_https_toggled_deja_dup_config_bool_toggled (DejaDupConfigBool* _sender, DejaDupConfigBool* check, gboolean user, gpointer self) {
	deja_dup_config_location_dav_https_toggled ((DejaDupConfigLocationDAV*) self, check, user);
}


static GObject * deja_dup_config_location_dav_constructor (GType type, guint n_construct_properties, GObjectConstructParam * construct_properties) {
	GObject * obj;
	GObjectClass * parent_class;
	DejaDupConfigLocationDAV * self;
	const gchar* _tmp0_ = NULL;
	DejaDupConfigURLPart* _tmp1_ = NULL;
	DejaDupConfigURLPart* _tmp2_ = NULL;
	DejaDupConfigURLPartBool* w = NULL;
	const gchar* _tmp3_ = NULL;
	DejaDupConfigURLPartBool* _tmp4_ = NULL;
	DejaDupConfigURLPartBool* _tmp5_ = NULL;
	DejaDupConfigURLPartBool* _tmp6_ = NULL;
	DejaDupConfigURLPartBool* _tmp7_ = NULL;
	const gchar* _tmp8_ = NULL;
	DejaDupConfigURLPart* _tmp9_ = NULL;
	DejaDupConfigURLPart* _tmp10_ = NULL;
	const gchar* _tmp11_ = NULL;
	DejaDupConfigURLPart* _tmp12_ = NULL;
	DejaDupConfigURLPart* _tmp13_ = NULL;
	const gchar* _tmp14_ = NULL;
	DejaDupConfigURLPart* _tmp15_ = NULL;
	DejaDupConfigURLPart* _tmp16_ = NULL;
	parent_class = G_OBJECT_CLASS (deja_dup_config_location_dav_parent_class);
	obj = parent_class->constructor (type, n_construct_properties, construct_properties);
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, DEJA_DUP_TYPE_CONFIG_LOCATION_DAV, DejaDupConfigLocationDAV);
	_tmp0_ = _ ("_Server");
	_tmp1_ = deja_dup_config_url_part_new (DEJA_DUP_CONFIG_URL_PART_PART_SERVER, DEJA_DUP_FILE_PATH_KEY, DEJA_DUP_FILE_ROOT);
	g_object_ref_sink (_tmp1_);
	_tmp2_ = _tmp1_;
	deja_dup_config_location_table_add_widget ((DejaDupConfigLocationTable*) self, _tmp0_, (GtkWidget*) _tmp2_, NULL, NULL);
	_g_object_unref0 (_tmp2_);
	_tmp3_ = _ ("Use secure connection (_HTTPS)");
	_tmp4_ = deja_dup_config_url_part_bool_new (DEJA_DUP_CONFIG_URL_PART_PART_SCHEME, DEJA_DUP_FILE_PATH_KEY, DEJA_DUP_FILE_ROOT, _tmp3_);
	g_object_ref_sink (_tmp4_);
	w = _tmp4_;
	_tmp5_ = w;
	deja_dup_config_url_part_bool_set_test_active (_tmp5_, _deja_dup_config_location_dav_is_https_active_deja_dup_config_url_part_bool_test_active, NULL);
	_tmp6_ = w;
	g_signal_connect_object ((DejaDupConfigBool*) _tmp6_, "toggled", (GCallback) _deja_dup_config_location_dav_https_toggled_deja_dup_config_bool_toggled, self, 0);
	_tmp7_ = w;
	deja_dup_config_location_table_add_widget ((DejaDupConfigLocationTable*) self, "", (GtkWidget*) _tmp7_, NULL, NULL);
	_tmp8_ = _ ("_Port");
	_tmp9_ = deja_dup_config_url_part_new (DEJA_DUP_CONFIG_URL_PART_PART_PORT, DEJA_DUP_FILE_PATH_KEY, DEJA_DUP_FILE_ROOT);
	g_object_ref_sink (_tmp9_);
	_tmp10_ = _tmp9_;
	deja_dup_config_location_table_add_widget ((DejaDupConfigLocationTable*) self, _tmp8_, (GtkWidget*) _tmp10_, NULL, NULL);
	_g_object_unref0 (_tmp10_);
	_tmp11_ = _ ("_Folder");
	_tmp12_ = deja_dup_config_url_part_new (DEJA_DUP_CONFIG_URL_PART_PART_FOLDER, DEJA_DUP_FILE_PATH_KEY, DEJA_DUP_FILE_ROOT);
	g_object_ref_sink (_tmp12_);
	_tmp13_ = _tmp12_;
	deja_dup_config_location_table_add_widget ((DejaDupConfigLocationTable*) self, _tmp11_, (GtkWidget*) _tmp13_, NULL, NULL);
	_g_object_unref0 (_tmp13_);
	_tmp14_ = _ ("_Username");
	_tmp15_ = deja_dup_config_url_part_new (DEJA_DUP_CONFIG_URL_PART_PART_USER, DEJA_DUP_FILE_PATH_KEY, DEJA_DUP_FILE_ROOT);
	g_object_ref_sink (_tmp15_);
	_tmp16_ = _tmp15_;
	deja_dup_config_location_table_add_widget ((DejaDupConfigLocationTable*) self, _tmp14_, (GtkWidget*) _tmp16_, NULL, NULL);
	_g_object_unref0 (_tmp16_);
	_g_object_unref0 (w);
	return obj;
}


static void deja_dup_config_location_dav_class_init (DejaDupConfigLocationDAVClass * klass) {
	deja_dup_config_location_dav_parent_class = g_type_class_peek_parent (klass);
	G_OBJECT_CLASS (klass)->constructor = deja_dup_config_location_dav_constructor;
}


static void deja_dup_config_location_dav_instance_init (DejaDupConfigLocationDAV * self) {
}


GType deja_dup_config_location_dav_get_type (void) {
	static volatile gsize deja_dup_config_location_dav_type_id__volatile = 0;
	if (g_once_init_enter (&deja_dup_config_location_dav_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (DejaDupConfigLocationDAVClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) deja_dup_config_location_dav_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (DejaDupConfigLocationDAV), 0, (GInstanceInitFunc) deja_dup_config_location_dav_instance_init, NULL };
		GType deja_dup_config_location_dav_type_id;
		deja_dup_config_location_dav_type_id = g_type_register_static (DEJA_DUP_TYPE_CONFIG_LOCATION_TABLE, "DejaDupConfigLocationDAV", &g_define_type_info, 0);
		g_once_init_leave (&deja_dup_config_location_dav_type_id__volatile, deja_dup_config_location_dav_type_id);
	}
	return deja_dup_config_location_dav_type_id__volatile;
}



