/* tracker-preferences.c generated by valac 0.16.1, the Vala compiler
 * generated from tracker-preferences.vala, do not modify */

/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
 * Copyright (C) 2009, Nokia
 *
 * This library 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 2 of the License, or (at your option) any later version.
 *
 * This library 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 library; if not, write to the
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA  02110-1301, USA.
 */

#include <glib.h>
#include <glib-object.h>
#include <gio/gio.h>
#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include <glib/gi18n-lib.h>
#include <float.h>
#include <math.h>
#include <gmodule.h>
#include <stdio.h>
#include "config.h"
#include <gobject/gvaluecollector.h>


#define TRACKER_TYPE_PREFERENCES (tracker_preferences_get_type ())
#define TRACKER_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_TYPE_PREFERENCES, TrackerPreferences))
#define TRACKER_PREFERENCES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_TYPE_PREFERENCES, TrackerPreferencesClass))
#define TRACKER_IS_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_TYPE_PREFERENCES))
#define TRACKER_IS_PREFERENCES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_TYPE_PREFERENCES))
#define TRACKER_PREFERENCES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_TYPE_PREFERENCES, TrackerPreferencesClass))

typedef struct _TrackerPreferences TrackerPreferences;
typedef struct _TrackerPreferencesClass TrackerPreferencesClass;
typedef struct _TrackerPreferencesPrivate TrackerPreferencesPrivate;
#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)))
#define _g_module_close0(var) ((var == NULL) ? NULL : (var = (g_module_close (var), NULL)))
#define __g_list_free__gtk_tree_path_free0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__gtk_tree_path_free0_ (var), NULL)))
#define _gtk_tree_path_free0(var) ((var == NULL) ? NULL : (var = (gtk_tree_path_free (var), NULL)))
typedef struct _Block1Data Block1Data;
#define _tracker_preferences_unref0(var) ((var == NULL) ? NULL : (var = (tracker_preferences_unref (var), NULL)))
#define _g_list_free0(var) ((var == NULL) ? NULL : (var = (g_list_free (var), NULL)))
typedef struct _TrackerParamSpecPreferences TrackerParamSpecPreferences;
#define _g_option_context_free0(var) ((var == NULL) ? NULL : (var = (g_option_context_free (var), NULL)))

struct _TrackerPreferences {
	GTypeInstance parent_instance;
	volatile int ref_count;
	TrackerPreferencesPrivate * priv;
};

struct _TrackerPreferencesClass {
	GTypeClass parent_class;
	void (*finalize) (TrackerPreferences *self);
};

struct _TrackerPreferencesPrivate {
	GSettings* settings_miner_fs;
	GSettings* settings_extract;
	gchar* HOME_STRING_EVALUATED;
	GUserDirectory* ignored_user_directories;
	gint ignored_user_directories_length1;
	gint _ignored_user_directories_size_;
	GtkWindow* window;
	GtkCheckButton* checkbutton_enable_index_on_battery_first_time;
	GtkCheckButton* checkbutton_enable_index_on_battery;
	GtkSpinButton* spinbutton_delay;
	GtkCheckButton* checkbutton_enable_monitoring;
	GtkCheckButton* checkbutton_index_removable_media;
	GtkCheckButton* checkbutton_index_optical_discs;
	GtkScale* hscale_disk_space_limit;
	GtkRadioButton* radiobutton_sched_idle_always;
	GtkRadioButton* radiobutton_sched_idle_first_index;
	GtkRadioButton* radiobutton_sched_idle_never;
	GtkScale* hscale_drop_device_threshold;
	GtkListStore* liststore_index;
	GtkListStore* liststore_ignored_directories;
	GtkListStore* liststore_ignored_files;
	GtkListStore* liststore_ignored_directories_with_content;
	GtkTreeView* treeview_index;
	GtkTreeView* treeview_ignored_directories;
	GtkTreeView* treeview_ignored_directories_with_content;
	GtkTreeView* treeview_ignored_files;
	GtkTreeViewColumn* treeviewcolumn_index1;
	GtkTreeViewColumn* treeviewcolumn_index2;
	GtkToggleButton* togglebutton_home;
	GtkToggleButton* togglebutton_desktop;
	GtkToggleButton* togglebutton_documents;
	GtkToggleButton* togglebutton_music;
	GtkToggleButton* togglebutton_pictures;
	GtkToggleButton* togglebutton_videos;
	GtkToggleButton* togglebutton_download;
	GtkHBox* hbox_duplicate_warning;
	GtkNotebook* notebook;
};

struct _Block1Data {
	int _ref_count_;
	TrackerPreferences * self;
	GtkListStore* store;
};

struct _TrackerParamSpecPreferences {
	GParamSpec parent_instance;
};


static gpointer tracker_preferences_parent_class = NULL;
extern gboolean print_version;
gboolean print_version = FALSE;

gpointer tracker_preferences_ref (gpointer instance);
void tracker_preferences_unref (gpointer instance);
GParamSpec* tracker_param_spec_preferences (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void tracker_value_set_preferences (GValue* value, gpointer v_object);
void tracker_value_take_preferences (GValue* value, gpointer v_object);
gpointer tracker_value_get_preferences (const GValue* value);
GType tracker_preferences_get_type (void) G_GNUC_CONST;
#define TRACKER_PREFERENCES_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TRACKER_TYPE_PREFERENCES, TrackerPreferencesPrivate))
enum  {
	TRACKER_PREFERENCES_DUMMY_PROPERTY
};
#define TRACKER_PREFERENCES_UI_FILE "tracker-preferences.ui"
#define TRACKER_PREFERENCES_HOME_STRING "$HOME"
TrackerPreferences* tracker_preferences_new (void);
TrackerPreferences* tracker_preferences_construct (GType object_type);
static gchar* tracker_preferences_dir_from_config (TrackerPreferences* self, const gchar* input);
static void __lambda2_ (TrackerPreferences* self, const gchar* key);
static void ___lambda2__g_settings_changed (GSettings* _sender, const gchar* key, gpointer self);
static void __lambda3_ (TrackerPreferences* self, const gchar* key);
static void ___lambda3__g_settings_changed (GSettings* _sender, const gchar* key, gpointer self);
void tracker_preferences_setup_ui (TrackerPreferences* self);
static void tracker_preferences_treeview_setup (TrackerPreferences* self, GtkTreeView* view, const gchar* title, gboolean show_recurse_column, gboolean sort);
static void tracker_preferences_sanitize_user_dirs (TrackerPreferences* self);
static void tracker_preferences_model_populate (TrackerPreferences* self, GtkListStore* model, gchar** list, int list_length1, gboolean have_recurse, gboolean recurse);
gboolean tracker_preferences_model_contains (TrackerPreferences* self, GtkTreeModel* model, const gchar* needle);
static void tracker_preferences_connect_signals (GtkBuilder* builder, GObject* object, const gchar* signal_name, const gchar* handler_name, GObject* connect_object, GConnectFlags flags, TrackerPreferences* self);
static void _tracker_preferences_connect_signals_gtk_builder_connect_func (GtkBuilder* builder, GObject* object, const gchar* signal_name, const gchar* handler_name, GObject* connect_object, GConnectFlags flags, gpointer self);
void tracker_preferences_show (TrackerPreferences* self);
void tracker_preferences_response_cb (GtkDialog* source, gint response_id, TrackerPreferences* self);
static gchar** tracker_preferences_model_to_strv (TrackerPreferences* self, GtkListStore* model, gboolean recurse_required, gboolean recurse_value, int* result_length1);
void tracker_preferences_spinbutton_delay_value_changed_cb (GtkSpinButton* source, TrackerPreferences* self);
void tracker_preferences_checkbutton_enable_monitoring_toggled_cb (GtkCheckButton* source, TrackerPreferences* self);
void tracker_preferences_checkbutton_enable_index_on_battery_toggled_cb (GtkCheckButton* source, TrackerPreferences* self);
void tracker_preferences_checkbutton_enable_index_on_battery_first_time_toggled_cb (GtkCheckButton* source, TrackerPreferences* self);
void tracker_preferences_checkbutton_index_removable_media_toggled_cb (GtkCheckButton* source, TrackerPreferences* self);
void tracker_preferences_checkbutton_index_optical_discs_toggled_cb (GtkCheckButton* source, TrackerPreferences* self);
gchar* tracker_preferences_hscale_disk_space_limit_format_value_cb (GtkScale* source, gdouble value, TrackerPreferences* self);
gchar* tracker_preferences_hscale_drop_device_threshold_format_value_cb (GtkScale* source, gdouble value, TrackerPreferences* self);
void tracker_preferences_button_index_add_clicked_cb (GtkButton* source, TrackerPreferences* self);
static void tracker_preferences_store_add_dir (TrackerPreferences* self, GtkListStore* store);
void tracker_preferences_button_index_remove_clicked_cb (GtkButton* source, TrackerPreferences* self);
static void tracker_preferences_store_del_dir (TrackerPreferences* self, GtkTreeView* view);
void tracker_preferences_button_ignored_directories_globs_add_clicked_cb (GtkButton* source, TrackerPreferences* self);
static void tracker_preferences_store_add_value_dialog (TrackerPreferences* self, GtkListStore* store);
void tracker_preferences_button_ignored_directories_add_clicked_cb (GtkButton* source, TrackerPreferences* self);
void tracker_preferences_button_ignored_directories_remove_clicked_cb (GtkButton* source, TrackerPreferences* self);
void tracker_preferences_button_ignored_directories_with_content_add_clicked_cb (GtkButton* source, TrackerPreferences* self);
void tracker_preferences_button_ignored_directories_with_content_remove_clicked_cb (GtkButton* source, TrackerPreferences* self);
void tracker_preferences_button_ignored_files_add_clicked_cb (GtkButton* source, TrackerPreferences* self);
void tracker_preferences_button_ignored_files_remove_clicked_cb (GtkButton* source, TrackerPreferences* self);
static void tracker_preferences_togglebutton_directory_update_model (TrackerPreferences* self, GtkToggleButton* source, GtkListStore* store, const gchar* to_check);
void tracker_preferences_togglebutton_home_toggled_cb (GtkToggleButton* source, TrackerPreferences* self);
void tracker_preferences_togglebutton_desktop_toggled_cb (GtkToggleButton* source, TrackerPreferences* self);
void tracker_preferences_togglebutton_documents_toggled_cb (GtkToggleButton* source, TrackerPreferences* self);
void tracker_preferences_togglebutton_music_toggled_cb (GtkToggleButton* source, TrackerPreferences* self);
void tracker_preferences_togglebutton_pictures_toggled_cb (GtkToggleButton* source, TrackerPreferences* self);
void tracker_preferences_togglebutton_videos_toggled_cb (GtkToggleButton* source, TrackerPreferences* self);
void tracker_preferences_togglebutton_download_toggled_cb (GtkToggleButton* source, TrackerPreferences* self);
static void tracker_preferences_toggles_update (TrackerPreferences* self, GUserDirectory* matches, int matches_length1, gboolean active);
static GUserDirectory* tracker_preferences_dir_match_user_directories (TrackerPreferences* self, const gchar* input, int* result_length1);
static void _gtk_tree_path_free0_ (gpointer var);
static void _g_list_free__gtk_tree_path_free0_ (GList* self);
static void _vala_array_add1 (GUserDirectory** array, int* length, int* size, GUserDirectory value);
static gchar* tracker_preferences_dir_to_config (TrackerPreferences* self, const gchar* input);
const gchar* g_user_directory_to_string (GUserDirectory self);
static const char* _g_user_directory_to_string (GUserDirectory value);
static void _vala_array_add2 (gchar*** array, int* length, int* size, gchar* value);
static Block1Data* block1_data_ref (Block1Data* _data1_);
static void block1_data_unref (void * _userdata_);
static void ___lambda4_ (Block1Data* _data1_, GtkCellRendererToggle* toggle, const gchar* path);
static void ____lambda4__gtk_cell_renderer_toggle_toggled (GtkCellRendererToggle* _sender, const gchar* path, gpointer self);
static void _vala_array_add3 (gchar*** array, int* length, int* size, gchar* value);
static void _vala_array_add4 (GUserDirectory** array, int* length, int* size, GUserDirectory value);
static void _vala_array_add5 (gchar*** array, int* length, int* size, gchar* value);
static void tracker_preferences_finalize (TrackerPreferences* obj);
gint _vala_main (gchar** args, int args_length1);
static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func);
static gint _vala_array_length (gpointer array);

const GOptionEntry options[2] = {{"version", 'V', 0, G_OPTION_ARG_NONE, &print_version, "Print version", NULL}, {NULL}};

static void __lambda2_ (TrackerPreferences* self, const gchar* key) {
	const gchar* _tmp0_;
#line 82 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (key != NULL);
#line 83 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = key;
#line 83 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_print ("tracker-miner-fs: Key '%s' changed\n", _tmp0_);
#line 218 "tracker-preferences.c"
}


static void ___lambda2__g_settings_changed (GSettings* _sender, const gchar* key, gpointer self) {
#line 82 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	__lambda2_ (self, key);
#line 225 "tracker-preferences.c"
}


static void __lambda3_ (TrackerPreferences* self, const gchar* key) {
	const gchar* _tmp0_;
#line 86 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (key != NULL);
#line 87 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = key;
#line 87 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_print ("tracker-extract: Key '%s' changed\n", _tmp0_);
#line 237 "tracker-preferences.c"
}


static void ___lambda3__g_settings_changed (GSettings* _sender, const gchar* key, gpointer self) {
#line 86 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	__lambda3_ (self, key);
#line 244 "tracker-preferences.c"
}


TrackerPreferences* tracker_preferences_construct (GType object_type) {
	TrackerPreferences* self = NULL;
	gchar* _tmp0_ = NULL;
	GSettings* _tmp1_;
	GSettings* _tmp2_;
	GSettings* _tmp3_;
	GSettings* _tmp4_;
#line 73 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self = (TrackerPreferences*) g_type_create_instance (object_type);
#line 74 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_debug ("tracker-preferences.vala:74: Getting current settings");
#line 76 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = tracker_preferences_dir_from_config (self, TRACKER_PREFERENCES_HOME_STRING);
#line 76 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_free0 (self->priv->HOME_STRING_EVALUATED);
#line 76 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->HOME_STRING_EVALUATED = _tmp0_;
#line 78 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = g_settings_new ("org.freedesktop.Tracker.Miner.Files");
#line 78 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->settings_miner_fs);
#line 78 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->settings_miner_fs = _tmp1_;
#line 79 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = g_settings_new ("org.freedesktop.Tracker.Extract");
#line 79 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->settings_extract);
#line 79 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->settings_extract = _tmp2_;
#line 82 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = self->priv->settings_miner_fs;
#line 82 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_signal_connect (_tmp3_, "changed", (GCallback) ___lambda2__g_settings_changed, self);
#line 86 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = self->priv->settings_extract;
#line 86 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_signal_connect (_tmp4_, "changed", (GCallback) ___lambda3__g_settings_changed, self);
#line 73 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return self;
#line 287 "tracker-preferences.c"
}


TrackerPreferences* tracker_preferences_new (void) {
#line 73 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return tracker_preferences_construct (TRACKER_TYPE_PREFERENCES);
#line 294 "tracker-preferences.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 115 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return self ? g_object_ref (self) : NULL;
#line 301 "tracker-preferences.c"
}


static void _tracker_preferences_connect_signals_gtk_builder_connect_func (GtkBuilder* builder, GObject* object, const gchar* signal_name, const gchar* handler_name, GObject* connect_object, GConnectFlags flags, gpointer self) {
#line 216 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_connect_signals (builder, object, signal_name, handler_name, connect_object, flags, self);
#line 308 "tracker-preferences.c"
}


void tracker_preferences_setup_ui (TrackerPreferences* self) {
	GtkBuilder* _tmp0_;
	GtkBuilder* builder;
	GObject* _tmp6_ = NULL;
	GtkWindow* _tmp7_;
	GObject* _tmp8_ = NULL;
	GtkNotebook* _tmp9_;
	GObject* _tmp10_ = NULL;
	GtkCheckButton* _tmp11_;
	GObject* _tmp12_ = NULL;
	GtkCheckButton* _tmp13_;
	GObject* _tmp14_ = NULL;
	GtkCheckButton* _tmp15_;
	GObject* _tmp16_ = NULL;
	GtkSpinButton* _tmp17_;
	GObject* _tmp18_ = NULL;
	GtkCheckButton* _tmp19_;
	GObject* _tmp20_ = NULL;
	GtkCheckButton* _tmp21_;
	GtkCheckButton* _tmp22_;
	GtkCheckButton* _tmp23_;
	gboolean _tmp24_;
	gboolean _tmp25_;
	GObject* _tmp26_ = NULL;
	GtkScale* _tmp27_;
	GObject* _tmp28_ = NULL;
	GtkRadioButton* _tmp29_;
	GObject* _tmp30_ = NULL;
	GtkRadioButton* _tmp31_;
	GObject* _tmp32_ = NULL;
	GtkRadioButton* _tmp33_;
	GObject* _tmp34_ = NULL;
	GtkScale* _tmp35_;
	GObject* _tmp36_ = NULL;
	GtkToggleButton* _tmp37_;
	GObject* _tmp38_ = NULL;
	GtkToggleButton* _tmp39_;
	GObject* _tmp40_ = NULL;
	GtkToggleButton* _tmp41_;
	GObject* _tmp42_ = NULL;
	GtkToggleButton* _tmp43_;
	GObject* _tmp44_ = NULL;
	GtkToggleButton* _tmp45_;
	GObject* _tmp46_ = NULL;
	GtkToggleButton* _tmp47_;
	GObject* _tmp48_ = NULL;
	GtkToggleButton* _tmp49_;
	GObject* _tmp50_ = NULL;
	GtkHBox* _tmp51_;
	GObject* _tmp52_ = NULL;
	GtkTreeView* _tmp53_;
	GObject* _tmp54_ = NULL;
	GtkTreeViewColumn* _tmp55_;
	GObject* _tmp56_ = NULL;
	GtkTreeViewColumn* _tmp57_;
	GObject* _tmp58_ = NULL;
	GtkTreeView* _tmp59_;
	GObject* _tmp60_ = NULL;
	GtkTreeView* _tmp61_;
	GObject* _tmp62_ = NULL;
	GtkTreeView* _tmp63_;
	GtkTreeView* _tmp64_;
	const gchar* _tmp65_ = NULL;
	GtkTreeView* _tmp66_;
	const gchar* _tmp67_ = NULL;
	GtkTreeView* _tmp68_;
	const gchar* _tmp69_ = NULL;
	GtkTreeView* _tmp70_;
	const gchar* _tmp71_ = NULL;
	GObject* _tmp72_ = NULL;
	GtkListStore* _tmp73_;
	GtkListStore* _tmp74_;
	GObject* _tmp75_ = NULL;
	GtkListStore* _tmp76_;
	GObject* _tmp77_ = NULL;
	GtkListStore* _tmp78_;
	GObject* _tmp79_ = NULL;
	GtkListStore* _tmp80_;
	GtkCheckButton* _tmp81_;
	GSettings* _tmp82_;
	gboolean _tmp83_ = FALSE;
	GtkCheckButton* _tmp84_;
	GtkCheckButton* _tmp85_;
	gboolean _tmp86_;
	gboolean _tmp87_;
	GtkCheckButton* _tmp88_;
	GSettings* _tmp89_;
	gboolean _tmp90_ = FALSE;
	GtkSpinButton* _tmp91_;
	GtkSpinButton* _tmp92_;
	GSettings* _tmp93_;
	gint _tmp94_ = 0;
	GtkCheckButton* _tmp95_;
	GSettings* _tmp96_;
	gboolean _tmp97_ = FALSE;
	GtkCheckButton* _tmp98_;
	GSettings* _tmp99_;
	gboolean _tmp100_ = FALSE;
	GtkCheckButton* _tmp101_;
	GSettings* _tmp102_;
	gboolean _tmp103_ = FALSE;
	GtkScale* _tmp104_;
	GSettings* _tmp105_;
	gint _tmp106_ = 0;
	GtkScale* _tmp107_;
	GSettings* _tmp108_;
	gint _tmp109_ = 0;
	GSettings* _tmp110_;
	gint _tmp111_ = 0;
	gint sched_idle;
	gint _tmp112_;
	GtkListStore* _tmp119_;
	GSettings* _tmp120_;
	gchar** _tmp121_;
	gchar** _tmp122_ = NULL;
	gchar** _tmp123_;
	gint _tmp123__length1;
	GtkListStore* _tmp124_;
	GSettings* _tmp125_;
	gchar** _tmp126_;
	gchar** _tmp127_ = NULL;
	gchar** _tmp128_;
	gint _tmp128__length1;
	GtkListStore* _tmp129_;
	GSettings* _tmp130_;
	gchar** _tmp131_;
	gchar** _tmp132_ = NULL;
	gchar** _tmp133_;
	gint _tmp133__length1;
	GtkListStore* _tmp134_;
	GSettings* _tmp135_;
	gchar** _tmp136_;
	gchar** _tmp137_ = NULL;
	gchar** _tmp138_;
	gint _tmp138__length1;
	GtkListStore* _tmp139_;
	GSettings* _tmp140_;
	gchar** _tmp141_;
	gchar** _tmp142_ = NULL;
	gchar** _tmp143_;
	gint _tmp143__length1;
	GUserDirectory* _tmp144_;
	gint _tmp144__length1;
	GtkToggleButton* _tmp147_;
	GtkListStore* _tmp148_;
	const gchar* _tmp149_;
	gboolean _tmp150_ = FALSE;
	GtkToggleButton* _tmp151_;
	GtkListStore* _tmp152_;
	gboolean _tmp153_ = FALSE;
	GtkToggleButton* _tmp154_;
	GtkListStore* _tmp155_;
	gboolean _tmp156_ = FALSE;
	GtkToggleButton* _tmp157_;
	GtkListStore* _tmp158_;
	gboolean _tmp159_ = FALSE;
	GtkToggleButton* _tmp160_;
	GtkListStore* _tmp161_;
	gboolean _tmp162_ = FALSE;
	GtkToggleButton* _tmp163_;
	GtkListStore* _tmp164_;
	gboolean _tmp165_ = FALSE;
	GtkToggleButton* _tmp166_;
	GtkListStore* _tmp167_;
	gboolean _tmp168_ = FALSE;
	GtkNotebook* _tmp169_;
	GError * _inner_error_ = NULL;
#line 91 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 92 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = gtk_builder_new ();
#line 92 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	builder = _tmp0_;
#line 485 "tracker-preferences.c"
	{
#line 95 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_debug ("tracker-preferences.vala:95: Trying to use UI file:'%s'", SRCDIR TRACKER_PREFERENCES_UI_FILE);
#line 96 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_builder_add_from_file (builder, SRCDIR TRACKER_PREFERENCES_UI_FILE, &_inner_error_);
#line 96 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_inner_error_ != NULL) {
#line 493 "tracker-preferences.c"
			goto __catch0_g_error;
		}
	}
	goto __finally0;
	__catch0_g_error:
	{
		GError* e = NULL;
#line 94 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		e = _inner_error_;
#line 94 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_inner_error_ = NULL;
#line 505 "tracker-preferences.c"
		{
#line 100 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_debug ("tracker-preferences.vala:100: Trying to use UI file:'%s'", TRACKER_UI_DIR TRACKER_PREFERENCES_UI_FILE);
#line 101 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_builder_add_from_file (builder, TRACKER_UI_DIR TRACKER_PREFERENCES_UI_FILE, &_inner_error_);
#line 101 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (_inner_error_ != NULL) {
#line 513 "tracker-preferences.c"
				goto __catch1_g_error;
			}
		}
		goto __finally1;
		__catch1_g_error:
		{
			GError* e = NULL;
			GError* _tmp1_;
			const gchar* _tmp2_;
			GtkMessageDialog* _tmp3_;
			GtkMessageDialog* _tmp4_;
			GtkMessageDialog* msg;
			GtkMessageDialog* _tmp5_;
#line 99 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			e = _inner_error_;
#line 99 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_inner_error_ = NULL;
#line 103 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp1_ = e;
#line 103 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp2_ = _tmp1_->message;
#line 103 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp3_ = (GtkMessageDialog*) gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_CANCEL, "Failed to load UI file, %s\n", _tmp2_);
#line 103 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp4_ = g_object_ref_sink (_tmp3_);
#line 103 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			msg = _tmp4_;
#line 109 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp5_ = msg;
#line 109 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_dialog_run ((GtkDialog*) _tmp5_);
#line 110 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_main_quit ();
#line 99 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_object_unref0 (msg);
#line 99 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_error_free0 (e);
#line 551 "tracker-preferences.c"
		}
		__finally1:
#line 99 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_inner_error_ != NULL) {
#line 99 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_error_free0 (e);
#line 99 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_error_free0 (e);
#line 99 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_object_unref0 (builder);
#line 99 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 99 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_clear_error (&_inner_error_);
#line 99 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			return;
#line 568 "tracker-preferences.c"
		}
#line 94 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_error_free0 (e);
#line 572 "tracker-preferences.c"
	}
	__finally0:
#line 94 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_inner_error_ != NULL) {
#line 94 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (builder);
#line 94 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 94 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_clear_error (&_inner_error_);
#line 94 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return;
#line 585 "tracker-preferences.c"
	}
#line 115 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = gtk_builder_get_object (builder, "tracker-preferences");
#line 115 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = _g_object_ref0 (GTK_IS_WINDOW (_tmp6_) ? ((GtkWindow*) _tmp6_) : NULL);
#line 115 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->window);
#line 115 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->window = _tmp7_;
#line 116 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp8_ = gtk_builder_get_object (builder, "notebook");
#line 116 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp9_ = _g_object_ref0 (GTK_IS_NOTEBOOK (_tmp8_) ? ((GtkNotebook*) _tmp8_) : NULL);
#line 116 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->notebook);
#line 116 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->notebook = _tmp9_;
#line 118 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp10_ = gtk_builder_get_object (builder, "checkbutton_enable_monitoring");
#line 118 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp11_ = _g_object_ref0 (GTK_IS_CHECK_BUTTON (_tmp10_) ? ((GtkCheckButton*) _tmp10_) : NULL);
#line 118 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_enable_monitoring);
#line 118 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->checkbutton_enable_monitoring = _tmp11_;
#line 119 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp12_ = gtk_builder_get_object (builder, "checkbutton_enable_index_on_battery");
#line 119 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp13_ = _g_object_ref0 (GTK_IS_CHECK_BUTTON (_tmp12_) ? ((GtkCheckButton*) _tmp12_) : NULL);
#line 119 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_enable_index_on_battery);
#line 119 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->checkbutton_enable_index_on_battery = _tmp13_;
#line 120 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp14_ = gtk_builder_get_object (builder, "checkbutton_enable_index_on_battery_first_time");
#line 120 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp15_ = _g_object_ref0 (GTK_IS_CHECK_BUTTON (_tmp14_) ? ((GtkCheckButton*) _tmp14_) : NULL);
#line 120 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_enable_index_on_battery_first_time);
#line 120 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->checkbutton_enable_index_on_battery_first_time = _tmp15_;
#line 121 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp16_ = gtk_builder_get_object (builder, "spinbutton_delay");
#line 121 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp17_ = _g_object_ref0 (GTK_IS_SPIN_BUTTON (_tmp16_) ? ((GtkSpinButton*) _tmp16_) : NULL);
#line 121 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->spinbutton_delay);
#line 121 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->spinbutton_delay = _tmp17_;
#line 122 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp18_ = gtk_builder_get_object (builder, "checkbutton_index_removable_media");
#line 122 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp19_ = _g_object_ref0 (GTK_IS_CHECK_BUTTON (_tmp18_) ? ((GtkCheckButton*) _tmp18_) : NULL);
#line 122 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_index_removable_media);
#line 122 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->checkbutton_index_removable_media = _tmp19_;
#line 123 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp20_ = gtk_builder_get_object (builder, "checkbutton_index_optical_discs");
#line 123 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp21_ = _g_object_ref0 (GTK_IS_CHECK_BUTTON (_tmp20_) ? ((GtkCheckButton*) _tmp20_) : NULL);
#line 123 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_index_optical_discs);
#line 123 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->checkbutton_index_optical_discs = _tmp21_;
#line 124 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp22_ = self->priv->checkbutton_index_optical_discs;
#line 124 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp23_ = self->priv->checkbutton_index_removable_media;
#line 124 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp24_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp23_);
#line 124 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp25_ = _tmp24_;
#line 124 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp22_, _tmp25_);
#line 125 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp26_ = gtk_builder_get_object (builder, "hscale_disk_space_limit");
#line 125 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp27_ = _g_object_ref0 (GTK_IS_SCALE (_tmp26_) ? ((GtkScale*) _tmp26_) : NULL);
#line 125 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->hscale_disk_space_limit);
#line 125 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->hscale_disk_space_limit = _tmp27_;
#line 126 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp28_ = gtk_builder_get_object (builder, "radiobutton_sched_idle_always");
#line 126 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp29_ = _g_object_ref0 (GTK_IS_RADIO_BUTTON (_tmp28_) ? ((GtkRadioButton*) _tmp28_) : NULL);
#line 126 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->radiobutton_sched_idle_always);
#line 126 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->radiobutton_sched_idle_always = _tmp29_;
#line 127 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp30_ = gtk_builder_get_object (builder, "radiobutton_sched_idle_first_index");
#line 127 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp31_ = _g_object_ref0 (GTK_IS_RADIO_BUTTON (_tmp30_) ? ((GtkRadioButton*) _tmp30_) : NULL);
#line 127 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->radiobutton_sched_idle_first_index);
#line 127 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->radiobutton_sched_idle_first_index = _tmp31_;
#line 128 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp32_ = gtk_builder_get_object (builder, "radiobutton_sched_idle_never");
#line 128 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp33_ = _g_object_ref0 (GTK_IS_RADIO_BUTTON (_tmp32_) ? ((GtkRadioButton*) _tmp32_) : NULL);
#line 128 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->radiobutton_sched_idle_never);
#line 128 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->radiobutton_sched_idle_never = _tmp33_;
#line 129 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp34_ = gtk_builder_get_object (builder, "hscale_drop_device_threshold");
#line 129 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp35_ = _g_object_ref0 (GTK_IS_SCALE (_tmp34_) ? ((GtkScale*) _tmp34_) : NULL);
#line 129 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->hscale_drop_device_threshold);
#line 129 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->hscale_drop_device_threshold = _tmp35_;
#line 130 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp36_ = gtk_builder_get_object (builder, "togglebutton_home");
#line 130 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp37_ = _g_object_ref0 (GTK_IS_TOGGLE_BUTTON (_tmp36_) ? ((GtkToggleButton*) _tmp36_) : NULL);
#line 130 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_home);
#line 130 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_home = _tmp37_;
#line 131 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp38_ = gtk_builder_get_object (builder, "togglebutton_desktop");
#line 131 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp39_ = _g_object_ref0 (GTK_IS_TOGGLE_BUTTON (_tmp38_) ? ((GtkToggleButton*) _tmp38_) : NULL);
#line 131 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_desktop);
#line 131 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_desktop = _tmp39_;
#line 132 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp40_ = gtk_builder_get_object (builder, "togglebutton_documents");
#line 132 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp41_ = _g_object_ref0 (GTK_IS_TOGGLE_BUTTON (_tmp40_) ? ((GtkToggleButton*) _tmp40_) : NULL);
#line 132 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_documents);
#line 132 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_documents = _tmp41_;
#line 133 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp42_ = gtk_builder_get_object (builder, "togglebutton_music");
#line 133 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp43_ = _g_object_ref0 (GTK_IS_TOGGLE_BUTTON (_tmp42_) ? ((GtkToggleButton*) _tmp42_) : NULL);
#line 133 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_music);
#line 133 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_music = _tmp43_;
#line 134 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp44_ = gtk_builder_get_object (builder, "togglebutton_pictures");
#line 134 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp45_ = _g_object_ref0 (GTK_IS_TOGGLE_BUTTON (_tmp44_) ? ((GtkToggleButton*) _tmp44_) : NULL);
#line 134 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_pictures);
#line 134 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_pictures = _tmp45_;
#line 135 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp46_ = gtk_builder_get_object (builder, "togglebutton_videos");
#line 135 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp47_ = _g_object_ref0 (GTK_IS_TOGGLE_BUTTON (_tmp46_) ? ((GtkToggleButton*) _tmp46_) : NULL);
#line 135 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_videos);
#line 135 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_videos = _tmp47_;
#line 136 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp48_ = gtk_builder_get_object (builder, "togglebutton_download");
#line 136 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp49_ = _g_object_ref0 (GTK_IS_TOGGLE_BUTTON (_tmp48_) ? ((GtkToggleButton*) _tmp48_) : NULL);
#line 136 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_download);
#line 136 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_download = _tmp49_;
#line 137 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp50_ = gtk_builder_get_object (builder, "hbox_duplicate_warning");
#line 137 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp51_ = _g_object_ref0 (GTK_IS_HBOX (_tmp50_) ? ((GtkHBox*) _tmp50_) : NULL);
#line 137 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->hbox_duplicate_warning);
#line 137 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->hbox_duplicate_warning = _tmp51_;
#line 139 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp52_ = gtk_builder_get_object (builder, "treeview_index");
#line 139 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp53_ = _g_object_ref0 (GTK_IS_TREE_VIEW (_tmp52_) ? ((GtkTreeView*) _tmp52_) : NULL);
#line 139 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_index);
#line 139 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->treeview_index = _tmp53_;
#line 140 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp54_ = gtk_builder_get_object (builder, "treeviewcolumn_index1");
#line 140 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp55_ = _g_object_ref0 (GTK_IS_TREE_VIEW_COLUMN (_tmp54_) ? ((GtkTreeViewColumn*) _tmp54_) : NULL);
#line 140 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeviewcolumn_index1);
#line 140 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->treeviewcolumn_index1 = _tmp55_;
#line 141 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp56_ = gtk_builder_get_object (builder, "treeviewcolumn_index1");
#line 141 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp57_ = _g_object_ref0 (GTK_IS_TREE_VIEW_COLUMN (_tmp56_) ? ((GtkTreeViewColumn*) _tmp56_) : NULL);
#line 141 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeviewcolumn_index2);
#line 141 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->treeviewcolumn_index2 = _tmp57_;
#line 142 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp58_ = gtk_builder_get_object (builder, "treeview_ignored_directories");
#line 142 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp59_ = _g_object_ref0 (GTK_IS_TREE_VIEW (_tmp58_) ? ((GtkTreeView*) _tmp58_) : NULL);
#line 142 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_ignored_directories);
#line 142 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->treeview_ignored_directories = _tmp59_;
#line 143 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp60_ = gtk_builder_get_object (builder, "treeview_ignored_directories_with_content");
#line 143 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp61_ = _g_object_ref0 (GTK_IS_TREE_VIEW (_tmp60_) ? ((GtkTreeView*) _tmp60_) : NULL);
#line 143 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_ignored_directories_with_content);
#line 143 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->treeview_ignored_directories_with_content = _tmp61_;
#line 144 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp62_ = gtk_builder_get_object (builder, "treeview_ignored_files");
#line 144 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp63_ = _g_object_ref0 (GTK_IS_TREE_VIEW (_tmp62_) ? ((GtkTreeView*) _tmp62_) : NULL);
#line 144 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_ignored_files);
#line 144 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->treeview_ignored_files = _tmp63_;
#line 146 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp64_ = self->priv->treeview_index;
#line 146 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp65_ = _ ("Directory");
#line 146 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_treeview_setup (self, _tmp64_, _tmp65_, TRUE, FALSE);
#line 147 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp66_ = self->priv->treeview_ignored_directories;
#line 147 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp67_ = _ ("Directory");
#line 147 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_treeview_setup (self, _tmp66_, _tmp67_, FALSE, TRUE);
#line 148 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp68_ = self->priv->treeview_ignored_directories_with_content;
#line 148 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp69_ = _ ("Directory");
#line 148 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_treeview_setup (self, _tmp68_, _tmp69_, FALSE, TRUE);
#line 149 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp70_ = self->priv->treeview_ignored_files;
#line 149 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp71_ = _ ("File");
#line 149 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_treeview_setup (self, _tmp70_, _tmp71_, FALSE, TRUE);
#line 151 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp72_ = gtk_builder_get_object (builder, "liststore_index");
#line 151 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp73_ = _g_object_ref0 (GTK_IS_LIST_STORE (_tmp72_) ? ((GtkListStore*) _tmp72_) : NULL);
#line 151 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_index);
#line 151 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->liststore_index = _tmp73_;
#line 152 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp74_ = self->priv->liststore_index;
#line 152 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_tree_sortable_set_sort_column_id ((GtkTreeSortable*) _tmp74_, 0, GTK_SORT_ASCENDING);
#line 153 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp75_ = gtk_builder_get_object (builder, "liststore_ignored_directories");
#line 153 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp76_ = _g_object_ref0 (GTK_IS_LIST_STORE (_tmp75_) ? ((GtkListStore*) _tmp75_) : NULL);
#line 153 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_ignored_directories);
#line 153 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->liststore_ignored_directories = _tmp76_;
#line 154 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp77_ = gtk_builder_get_object (builder, "liststore_ignored_files");
#line 154 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp78_ = _g_object_ref0 (GTK_IS_LIST_STORE (_tmp77_) ? ((GtkListStore*) _tmp77_) : NULL);
#line 154 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_ignored_files);
#line 154 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->liststore_ignored_files = _tmp78_;
#line 155 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp79_ = gtk_builder_get_object (builder, "liststore_ignored_directories_with_content");
#line 155 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp80_ = _g_object_ref0 (GTK_IS_LIST_STORE (_tmp79_) ? ((GtkListStore*) _tmp79_) : NULL);
#line 155 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_ignored_directories_with_content);
#line 155 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->liststore_ignored_directories_with_content = _tmp80_;
#line 158 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp81_ = self->priv->checkbutton_enable_index_on_battery;
#line 158 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp82_ = self->priv->settings_miner_fs;
#line 158 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp83_ = g_settings_get_boolean (_tmp82_, "index-on-battery");
#line 158 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp81_, _tmp83_);
#line 159 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp84_ = self->priv->checkbutton_enable_index_on_battery_first_time;
#line 159 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp85_ = self->priv->checkbutton_enable_index_on_battery;
#line 159 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp86_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp85_);
#line 159 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp87_ = _tmp86_;
#line 159 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp84_, !_tmp87_);
#line 160 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp88_ = self->priv->checkbutton_enable_index_on_battery_first_time;
#line 160 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp89_ = self->priv->settings_miner_fs;
#line 160 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp90_ = g_settings_get_boolean (_tmp89_, "index-on-battery-first-time");
#line 160 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp88_, _tmp90_);
#line 161 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp91_ = self->priv->spinbutton_delay;
#line 161 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_spin_button_set_increments (_tmp91_, (gdouble) 1, (gdouble) 1);
#line 162 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp92_ = self->priv->spinbutton_delay;
#line 162 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp93_ = self->priv->settings_miner_fs;
#line 162 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp94_ = g_settings_get_int (_tmp93_, "initial-sleep");
#line 162 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_spin_button_set_value (_tmp92_, (gdouble) _tmp94_);
#line 163 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp95_ = self->priv->checkbutton_enable_monitoring;
#line 163 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp96_ = self->priv->settings_miner_fs;
#line 163 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp97_ = g_settings_get_boolean (_tmp96_, "enable-monitors");
#line 163 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp95_, _tmp97_);
#line 164 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp98_ = self->priv->checkbutton_index_removable_media;
#line 164 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp99_ = self->priv->settings_miner_fs;
#line 164 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp100_ = g_settings_get_boolean (_tmp99_, "index-removable-devices");
#line 164 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp98_, _tmp100_);
#line 165 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp101_ = self->priv->checkbutton_index_optical_discs;
#line 165 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp102_ = self->priv->settings_miner_fs;
#line 165 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp103_ = g_settings_get_boolean (_tmp102_, "index-optical-discs");
#line 165 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp101_, _tmp103_);
#line 166 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp104_ = self->priv->hscale_disk_space_limit;
#line 166 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp105_ = self->priv->settings_miner_fs;
#line 166 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp106_ = g_settings_get_int (_tmp105_, "low-disk-space-limit");
#line 166 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_range_set_value ((GtkRange*) _tmp104_, (gdouble) _tmp106_);
#line 167 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp107_ = self->priv->hscale_drop_device_threshold;
#line 167 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp108_ = self->priv->settings_miner_fs;
#line 167 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp109_ = g_settings_get_int (_tmp108_, "removable-days-threshold");
#line 167 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_range_set_value ((GtkRange*) _tmp107_, (gdouble) _tmp109_);
#line 173 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp110_ = self->priv->settings_miner_fs;
#line 173 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp111_ = g_settings_get_enum (_tmp110_, "sched-idle");
#line 173 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	sched_idle = _tmp111_;
#line 175 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp112_ = sched_idle;
#line 175 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp112_ == 0) {
#line 961 "tracker-preferences.c"
		GtkRadioButton* _tmp113_;
#line 176 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp113_ = self->priv->radiobutton_sched_idle_always;
#line 176 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_toggle_button_set_active ((GtkToggleButton*) _tmp113_, TRUE);
#line 967 "tracker-preferences.c"
	} else {
		gint _tmp114_;
#line 177 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp114_ = sched_idle;
#line 177 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_tmp114_ == 1) {
#line 974 "tracker-preferences.c"
			GtkRadioButton* _tmp115_;
#line 178 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp115_ = self->priv->radiobutton_sched_idle_first_index;
#line 178 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_toggle_button_set_active ((GtkToggleButton*) _tmp115_, TRUE);
#line 980 "tracker-preferences.c"
		} else {
			gint _tmp116_;
#line 179 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp116_ = sched_idle;
#line 179 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (_tmp116_ == 2) {
#line 987 "tracker-preferences.c"
				GtkRadioButton* _tmp117_;
#line 180 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp117_ = self->priv->radiobutton_sched_idle_never;
#line 180 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_toggle_button_set_active ((GtkToggleButton*) _tmp117_, TRUE);
#line 993 "tracker-preferences.c"
			} else {
				GtkRadioButton* _tmp118_;
#line 183 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp118_ = self->priv->radiobutton_sched_idle_first_index;
#line 183 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_toggle_button_set_active ((GtkToggleButton*) _tmp118_, TRUE);
#line 1000 "tracker-preferences.c"
			}
		}
	}
#line 187 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_sanitize_user_dirs (self);
#line 190 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp119_ = self->priv->liststore_index;
#line 190 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp120_ = self->priv->settings_miner_fs;
#line 190 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp122_ = _tmp121_ = g_settings_get_strv (_tmp120_, "index-recursive-directories");
#line 190 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp123_ = _tmp122_;
#line 190 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp123__length1 = _vala_array_length (_tmp121_);
#line 190 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_model_populate (self, _tmp119_, _tmp123_, _vala_array_length (_tmp121_), TRUE, TRUE);
#line 190 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp123_ = (_vala_array_free (_tmp123_, _tmp123__length1, (GDestroyNotify) g_free), NULL);
#line 191 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp124_ = self->priv->liststore_index;
#line 191 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp125_ = self->priv->settings_miner_fs;
#line 191 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp127_ = _tmp126_ = g_settings_get_strv (_tmp125_, "index-single-directories");
#line 191 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp128_ = _tmp127_;
#line 191 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp128__length1 = _vala_array_length (_tmp126_);
#line 191 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_model_populate (self, _tmp124_, _tmp128_, _vala_array_length (_tmp126_), TRUE, FALSE);
#line 191 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp128_ = (_vala_array_free (_tmp128_, _tmp128__length1, (GDestroyNotify) g_free), NULL);
#line 192 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp129_ = self->priv->liststore_ignored_directories;
#line 192 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp130_ = self->priv->settings_miner_fs;
#line 192 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp132_ = _tmp131_ = g_settings_get_strv (_tmp130_, "ignored-directories");
#line 192 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp133_ = _tmp132_;
#line 192 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp133__length1 = _vala_array_length (_tmp131_);
#line 192 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_model_populate (self, _tmp129_, _tmp133_, _vala_array_length (_tmp131_), FALSE, FALSE);
#line 192 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp133_ = (_vala_array_free (_tmp133_, _tmp133__length1, (GDestroyNotify) g_free), NULL);
#line 193 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp134_ = self->priv->liststore_ignored_files;
#line 193 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp135_ = self->priv->settings_miner_fs;
#line 193 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp137_ = _tmp136_ = g_settings_get_strv (_tmp135_, "ignored-files");
#line 193 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp138_ = _tmp137_;
#line 193 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp138__length1 = _vala_array_length (_tmp136_);
#line 193 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_model_populate (self, _tmp134_, _tmp138_, _vala_array_length (_tmp136_), FALSE, FALSE);
#line 193 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp138_ = (_vala_array_free (_tmp138_, _tmp138__length1, (GDestroyNotify) g_free), NULL);
#line 194 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp139_ = self->priv->liststore_ignored_directories_with_content;
#line 194 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp140_ = self->priv->settings_miner_fs;
#line 194 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp142_ = _tmp141_ = g_settings_get_strv (_tmp140_, "ignored-directories-with-content");
#line 194 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp143_ = _tmp142_;
#line 194 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp143__length1 = _vala_array_length (_tmp141_);
#line 194 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_model_populate (self, _tmp139_, _tmp143_, _vala_array_length (_tmp141_), FALSE, FALSE);
#line 194 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp143_ = (_vala_array_free (_tmp143_, _tmp143__length1, (GDestroyNotify) g_free), NULL);
#line 196 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp144_ = self->priv->ignored_user_directories;
#line 196 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp144__length1 = self->priv->ignored_user_directories_length1;
#line 196 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp144__length1 > 0) {
#line 1082 "tracker-preferences.c"
		GtkHBox* _tmp145_;
#line 197 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp145_ = self->priv->hbox_duplicate_warning;
#line 197 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_widget_show ((GtkWidget*) _tmp145_);
#line 1088 "tracker-preferences.c"
	} else {
		GtkHBox* _tmp146_;
#line 199 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp146_ = self->priv->hbox_duplicate_warning;
#line 199 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_widget_hide ((GtkWidget*) _tmp146_);
#line 1095 "tracker-preferences.c"
	}
#line 202 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp147_ = self->priv->togglebutton_home;
#line 202 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp148_ = self->priv->liststore_index;
#line 202 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp149_ = self->priv->HOME_STRING_EVALUATED;
#line 202 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp150_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp148_, _tmp149_);
#line 202 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp147_, _tmp150_);
#line 203 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp151_ = self->priv->togglebutton_desktop;
#line 203 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp152_ = self->priv->liststore_index;
#line 203 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp153_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp152_, "&DESKTOP");
#line 203 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp151_, _tmp153_);
#line 204 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp154_ = self->priv->togglebutton_documents;
#line 204 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp155_ = self->priv->liststore_index;
#line 204 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp156_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp155_, "&DOCUMENTS");
#line 204 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp154_, _tmp156_);
#line 205 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp157_ = self->priv->togglebutton_music;
#line 205 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp158_ = self->priv->liststore_index;
#line 205 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp159_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp158_, "&MUSIC");
#line 205 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp157_, _tmp159_);
#line 206 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp160_ = self->priv->togglebutton_pictures;
#line 206 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp161_ = self->priv->liststore_index;
#line 206 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp162_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp161_, "&PICTURES");
#line 206 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp160_, _tmp162_);
#line 207 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp163_ = self->priv->togglebutton_videos;
#line 207 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp164_ = self->priv->liststore_index;
#line 207 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp165_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp164_, "&VIDEOS");
#line 207 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp163_, _tmp165_);
#line 208 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp166_ = self->priv->togglebutton_download;
#line 208 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp167_ = self->priv->liststore_index;
#line 208 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp168_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp167_, "&DOWNLOAD");
#line 208 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp166_, _tmp168_);
#line 212 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp169_ = self->priv->notebook;
#line 212 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_notebook_remove_page (_tmp169_, 0);
#line 216 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_builder_connect_signals_full (builder, _tracker_preferences_connect_signals_gtk_builder_connect_func, self);
#line 91 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (builder);
#line 1163 "tracker-preferences.c"
}


void tracker_preferences_show (TrackerPreferences* self) {
	GtkWindow* _tmp0_;
#line 219 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 220 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_setup_ui (self);
#line 222 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->window;
#line 222 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_show ((GtkWidget*) _tmp0_);
#line 1177 "tracker-preferences.c"
}


static void tracker_preferences_connect_signals (GtkBuilder* builder, GObject* object, const gchar* signal_name, const gchar* handler_name, GObject* connect_object, GConnectFlags flags, TrackerPreferences* self) {
	GModule* _tmp0_ = NULL;
	GModule* module;
	void* sym = NULL;
	GModule* _tmp1_;
	const gchar* _tmp2_;
	void* _tmp3_ = NULL;
	gboolean _tmp4_ = FALSE;
#line 228 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 228 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (builder != NULL);
#line 228 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (object != NULL);
#line 228 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (signal_name != NULL);
#line 228 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (handler_name != NULL);
#line 232 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = g_module_open (NULL, G_MODULE_BIND_LAZY);
#line 232 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	module = _tmp0_;
#line 235 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = module;
#line 235 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = handler_name;
#line 235 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = g_module_symbol (_tmp1_, _tmp2_, &_tmp3_);
#line 235 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	sym = _tmp3_;
#line 235 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (!_tmp4_) {
#line 1213 "tracker-preferences.c"
		FILE* _tmp5_;
		const gchar* _tmp6_;
#line 236 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = stdout;
#line 236 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp6_ = handler_name;
#line 236 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		fprintf (_tmp5_, "Symbol not found! %s\n", _tmp6_);
#line 1222 "tracker-preferences.c"
	} else {
		GObject* _tmp7_;
		const gchar* _tmp8_;
		void* _tmp9_;
#line 238 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp7_ = object;
#line 238 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp8_ = signal_name;
#line 238 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp9_ = sym;
#line 238 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_signal_connect (_tmp7_, _tmp8_, (GCallback) _tmp9_, self);
#line 1235 "tracker-preferences.c"
	}
#line 228 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_module_close0 (module);
#line 1239 "tracker-preferences.c"
}


void tracker_preferences_response_cb (GtkDialog* source, gint response_id, TrackerPreferences* self) {
	gint _tmp0_;
	gint _tmp1_;
#line 243 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 243 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 244 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = response_id;
#line 244 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_debug ("tracker-preferences.vala:244: Got response id %d (apply:%d, close:%d)", _tmp0_, (gint) GTK_RESPONSE_APPLY, (gint) GTK_RESPONSE_CLOSE);
#line 246 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = response_id;
#line 246 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	switch (_tmp1_) {
#line 246 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		case GTK_RESPONSE_APPLY:
#line 1260 "tracker-preferences.c"
		{
			GSettings* _tmp2_;
			GtkListStore* _tmp3_;
			gint _tmp4_ = 0;
			gchar** _tmp5_ = NULL;
			gchar** _tmp6_;
			gint _tmp6__length1;
			GSettings* _tmp7_;
			GtkListStore* _tmp8_;
			gint _tmp9_ = 0;
			gchar** _tmp10_ = NULL;
			gchar** _tmp11_;
			gint _tmp11__length1;
			GSettings* _tmp12_;
			GtkListStore* _tmp13_;
			gint _tmp14_ = 0;
			gchar** _tmp15_ = NULL;
			gchar** _tmp16_;
			gint _tmp16__length1;
			GSettings* _tmp17_;
			GtkListStore* _tmp18_;
			gint _tmp19_ = 0;
			gchar** _tmp20_ = NULL;
			gchar** _tmp21_;
			gint _tmp21__length1;
			GSettings* _tmp22_;
			GtkListStore* _tmp23_;
			gint _tmp24_ = 0;
			gchar** _tmp25_ = NULL;
			gchar** _tmp26_;
			gint _tmp26__length1;
			GSettings* _tmp27_;
			GtkScale* _tmp28_;
			gdouble _tmp29_ = 0.0;
			GSettings* _tmp30_;
			GtkScale* _tmp31_;
			gdouble _tmp32_ = 0.0;
			gint sched_idle = 0;
			GtkRadioButton* _tmp33_;
			gboolean _tmp34_;
			gboolean _tmp35_;
			GSettings* _tmp42_;
			gint _tmp43_;
			GSettings* _tmp44_;
			gint _tmp45_;
			GSettings* _tmp46_;
			GSettings* _tmp47_;
#line 248 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_debug ("tracker-preferences.vala:248: Converting directories for storage");
#line 250 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp2_ = self->priv->settings_miner_fs;
#line 250 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp3_ = self->priv->liststore_index;
#line 250 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp5_ = tracker_preferences_model_to_strv (self, _tmp3_, TRUE, FALSE, &_tmp4_);
#line 250 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp6_ = _tmp5_;
#line 250 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp6__length1 = _tmp4_;
#line 250 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_strv (_tmp2_, "index-single-directories", _tmp6_);
#line 250 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp6_ = (_vala_array_free (_tmp6_, _tmp6__length1, (GDestroyNotify) g_free), NULL);
#line 251 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp7_ = self->priv->settings_miner_fs;
#line 251 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp8_ = self->priv->liststore_index;
#line 251 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp10_ = tracker_preferences_model_to_strv (self, _tmp8_, TRUE, TRUE, &_tmp9_);
#line 251 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp11_ = _tmp10_;
#line 251 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp11__length1 = _tmp9_;
#line 251 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_strv (_tmp7_, "index-recursive-directories", _tmp11_);
#line 251 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp11_ = (_vala_array_free (_tmp11_, _tmp11__length1, (GDestroyNotify) g_free), NULL);
#line 252 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp12_ = self->priv->settings_miner_fs;
#line 252 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp13_ = self->priv->liststore_ignored_directories;
#line 252 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp15_ = tracker_preferences_model_to_strv (self, _tmp13_, FALSE, FALSE, &_tmp14_);
#line 252 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp16_ = _tmp15_;
#line 252 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp16__length1 = _tmp14_;
#line 252 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_strv (_tmp12_, "ignored-directories", _tmp16_);
#line 252 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp16_ = (_vala_array_free (_tmp16_, _tmp16__length1, (GDestroyNotify) g_free), NULL);
#line 253 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp17_ = self->priv->settings_miner_fs;
#line 253 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp18_ = self->priv->liststore_ignored_files;
#line 253 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp20_ = tracker_preferences_model_to_strv (self, _tmp18_, FALSE, FALSE, &_tmp19_);
#line 253 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp21_ = _tmp20_;
#line 253 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp21__length1 = _tmp19_;
#line 253 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_strv (_tmp17_, "ignored-files", _tmp21_);
#line 253 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp21_ = (_vala_array_free (_tmp21_, _tmp21__length1, (GDestroyNotify) g_free), NULL);
#line 254 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp22_ = self->priv->settings_miner_fs;
#line 254 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp23_ = self->priv->liststore_ignored_directories_with_content;
#line 254 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp25_ = tracker_preferences_model_to_strv (self, _tmp23_, FALSE, FALSE, &_tmp24_);
#line 254 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp26_ = _tmp25_;
#line 254 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp26__length1 = _tmp24_;
#line 254 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_strv (_tmp22_, "ignored-directories-with-content", _tmp26_);
#line 254 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp26_ = (_vala_array_free (_tmp26_, _tmp26__length1, (GDestroyNotify) g_free), NULL);
#line 256 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp27_ = self->priv->settings_miner_fs;
#line 256 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp28_ = self->priv->hscale_disk_space_limit;
#line 256 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp29_ = gtk_range_get_value ((GtkRange*) _tmp28_);
#line 256 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_int (_tmp27_, "low-disk-space-limit", (gint) _tmp29_);
#line 257 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp30_ = self->priv->settings_miner_fs;
#line 257 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp31_ = self->priv->hscale_drop_device_threshold;
#line 257 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp32_ = gtk_range_get_value ((GtkRange*) _tmp31_);
#line 257 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_int (_tmp30_, "removable-days-threshold", (gint) _tmp32_);
#line 261 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp33_ = self->priv->radiobutton_sched_idle_always;
#line 261 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp34_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp33_);
#line 261 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp35_ = _tmp34_;
#line 261 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (_tmp35_) {
#line 262 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				sched_idle = 0;
#line 1406 "tracker-preferences.c"
			} else {
				GtkRadioButton* _tmp36_;
				gboolean _tmp37_;
				gboolean _tmp38_;
#line 263 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp36_ = self->priv->radiobutton_sched_idle_first_index;
#line 263 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp37_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp36_);
#line 263 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp38_ = _tmp37_;
#line 263 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (_tmp38_) {
#line 264 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					sched_idle = 1;
#line 1421 "tracker-preferences.c"
				} else {
					GtkRadioButton* _tmp39_;
					gboolean _tmp40_;
					gboolean _tmp41_;
#line 265 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp39_ = self->priv->radiobutton_sched_idle_never;
#line 265 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp40_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp39_);
#line 265 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp41_ = _tmp40_;
#line 265 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					if (_tmp41_) {
#line 266 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						sched_idle = 2;
#line 1436 "tracker-preferences.c"
					} else {
#line 268 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						g_assert_not_reached ();
#line 1440 "tracker-preferences.c"
					}
				}
			}
#line 275 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp42_ = self->priv->settings_miner_fs;
#line 275 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp43_ = sched_idle;
#line 275 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_enum (_tmp42_, "sched-idle", _tmp43_);
#line 276 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp44_ = self->priv->settings_extract;
#line 276 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp45_ = sched_idle;
#line 276 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_enum (_tmp44_, "sched-idle", _tmp45_);
#line 278 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_debug ("tracker-preferences.vala:278: Saving settings...");
#line 279 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp46_ = self->priv->settings_miner_fs;
#line 279 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_apply (_tmp46_);
#line 280 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_debug ("tracker-preferences.vala:280:   tracker-miner-fs: Done");
#line 281 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp47_ = self->priv->settings_extract;
#line 281 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_apply (_tmp47_);
#line 282 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_debug ("tracker-preferences.vala:282:   tracker-extract: Done");
#line 285 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			return;
#line 1472 "tracker-preferences.c"
		}
		default:
		{
#line 288 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			break;
#line 1478 "tracker-preferences.c"
		}
	}
#line 291 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_main_quit ();
#line 1483 "tracker-preferences.c"
}


void tracker_preferences_spinbutton_delay_value_changed_cb (GtkSpinButton* source, TrackerPreferences* self) {
	GSettings* _tmp0_;
	GtkSpinButton* _tmp1_;
	gint _tmp2_ = 0;
#line 295 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 295 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 296 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->settings_miner_fs;
#line 296 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 296 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_spin_button_get_value_as_int (_tmp1_);
#line 296 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_settings_set_int (_tmp0_, "initial-sleep", _tmp2_);
#line 1503 "tracker-preferences.c"
}


void tracker_preferences_checkbutton_enable_monitoring_toggled_cb (GtkCheckButton* source, TrackerPreferences* self) {
	GSettings* _tmp0_;
	GtkCheckButton* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
#line 300 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 300 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 301 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->settings_miner_fs;
#line 301 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 301 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
#line 301 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 301 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_settings_set_boolean (_tmp0_, "enable-monitors", _tmp3_);
#line 1526 "tracker-preferences.c"
}


void tracker_preferences_checkbutton_enable_index_on_battery_toggled_cb (GtkCheckButton* source, TrackerPreferences* self) {
	GSettings* _tmp0_;
	GtkCheckButton* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	GtkCheckButton* _tmp4_;
	GtkCheckButton* _tmp5_;
	gboolean _tmp6_;
	gboolean _tmp7_;
#line 305 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 305 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 306 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->settings_miner_fs;
#line 306 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 306 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
#line 306 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 306 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_settings_set_boolean (_tmp0_, "index-on-battery", _tmp3_);
#line 307 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = self->priv->checkbutton_enable_index_on_battery_first_time;
#line 307 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = source;
#line 307 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp5_);
#line 307 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = _tmp6_;
#line 307 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp4_, !_tmp7_);
#line 1563 "tracker-preferences.c"
}


void tracker_preferences_checkbutton_enable_index_on_battery_first_time_toggled_cb (GtkCheckButton* source, TrackerPreferences* self) {
	GSettings* _tmp0_;
	GtkCheckButton* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
#line 311 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 311 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 312 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->settings_miner_fs;
#line 312 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 312 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
#line 312 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 312 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_settings_set_boolean (_tmp0_, "index-on-battery-first-time", _tmp3_);
#line 1586 "tracker-preferences.c"
}


void tracker_preferences_checkbutton_index_removable_media_toggled_cb (GtkCheckButton* source, TrackerPreferences* self) {
	GSettings* _tmp0_;
	GtkCheckButton* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	GtkCheckButton* _tmp4_;
	GtkCheckButton* _tmp5_;
	gboolean _tmp6_;
	gboolean _tmp7_;
#line 316 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 316 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 317 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->settings_miner_fs;
#line 317 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 317 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
#line 317 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 317 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_settings_set_boolean (_tmp0_, "index-removable-devices", _tmp3_);
#line 318 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = self->priv->checkbutton_index_optical_discs;
#line 318 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = source;
#line 318 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp5_);
#line 318 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = _tmp6_;
#line 318 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp4_, _tmp7_);
#line 1623 "tracker-preferences.c"
}


void tracker_preferences_checkbutton_index_optical_discs_toggled_cb (GtkCheckButton* source, TrackerPreferences* self) {
	GSettings* _tmp0_;
	GtkCheckButton* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
#line 322 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 322 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 323 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->settings_miner_fs;
#line 323 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 323 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
#line 323 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 323 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_settings_set_boolean (_tmp0_, "index-optical-discs", _tmp3_);
#line 1646 "tracker-preferences.c"
}


gchar* tracker_preferences_hscale_disk_space_limit_format_value_cb (GtkScale* source, gdouble value, TrackerPreferences* self) {
	gchar* result = NULL;
	gdouble _tmp0_;
	const gchar* _tmp3_ = NULL;
	gdouble _tmp4_;
	gchar* _tmp5_ = NULL;
#line 327 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 327 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (source != NULL, NULL);
#line 328 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = value;
#line 328 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (((gint) _tmp0_) == (-1)) {
#line 1664 "tracker-preferences.c"
		const gchar* _tmp1_ = NULL;
		gchar* _tmp2_;
#line 329 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp1_ = _ ("Disabled");
#line 329 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = g_strdup (_tmp1_);
#line 329 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		result = _tmp2_;
#line 329 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return result;
#line 1675 "tracker-preferences.c"
	}
#line 332 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _ ("%d%%");
#line 332 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = value;
#line 332 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = g_strdup_printf (_tmp3_, (gint) _tmp4_);
#line 332 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = _tmp5_;
#line 332 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 1687 "tracker-preferences.c"
}


gchar* tracker_preferences_hscale_drop_device_threshold_format_value_cb (GtkScale* source, gdouble value, TrackerPreferences* self) {
	gchar* result = NULL;
	gdouble _tmp0_;
	const gchar* _tmp3_ = NULL;
	gdouble _tmp4_;
	gchar* _tmp5_ = NULL;
#line 336 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 336 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (source != NULL, NULL);
#line 337 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = value;
#line 337 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (((gint) _tmp0_) == 0) {
#line 1705 "tracker-preferences.c"
		const gchar* _tmp1_ = NULL;
		gchar* _tmp2_;
#line 338 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp1_ = _ ("Disabled");
#line 338 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = g_strdup (_tmp1_);
#line 338 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		result = _tmp2_;
#line 338 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return result;
#line 1716 "tracker-preferences.c"
	}
#line 341 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _ ("%d");
#line 341 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = value;
#line 341 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = g_strdup_printf (_tmp3_, (gint) _tmp4_);
#line 341 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = _tmp5_;
#line 341 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 1728 "tracker-preferences.c"
}


void tracker_preferences_button_index_add_clicked_cb (GtkButton* source, TrackerPreferences* self) {
	GtkListStore* _tmp0_;
#line 345 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 345 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 346 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->liststore_index;
#line 346 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_store_add_dir (self, _tmp0_);
#line 1742 "tracker-preferences.c"
}


void tracker_preferences_button_index_remove_clicked_cb (GtkButton* source, TrackerPreferences* self) {
	GtkTreeView* _tmp0_;
#line 350 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 350 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 351 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->treeview_index;
#line 351 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_store_del_dir (self, _tmp0_);
#line 1756 "tracker-preferences.c"
}


void tracker_preferences_button_ignored_directories_globs_add_clicked_cb (GtkButton* source, TrackerPreferences* self) {
	GtkListStore* _tmp0_;
#line 355 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 355 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 356 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->liststore_ignored_directories;
#line 356 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_store_add_value_dialog (self, _tmp0_);
#line 1770 "tracker-preferences.c"
}


void tracker_preferences_button_ignored_directories_add_clicked_cb (GtkButton* source, TrackerPreferences* self) {
	GtkListStore* _tmp0_;
#line 360 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 360 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 361 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->liststore_ignored_directories;
#line 361 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_store_add_dir (self, _tmp0_);
#line 1784 "tracker-preferences.c"
}


void tracker_preferences_button_ignored_directories_remove_clicked_cb (GtkButton* source, TrackerPreferences* self) {
	GtkTreeView* _tmp0_;
#line 365 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 365 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 366 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->treeview_ignored_directories;
#line 366 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_store_del_dir (self, _tmp0_);
#line 1798 "tracker-preferences.c"
}


void tracker_preferences_button_ignored_directories_with_content_add_clicked_cb (GtkButton* source, TrackerPreferences* self) {
	GtkListStore* _tmp0_;
#line 370 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 370 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 371 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->liststore_ignored_directories_with_content;
#line 371 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_store_add_value_dialog (self, _tmp0_);
#line 1812 "tracker-preferences.c"
}


void tracker_preferences_button_ignored_directories_with_content_remove_clicked_cb (GtkButton* source, TrackerPreferences* self) {
	GtkTreeView* _tmp0_;
#line 375 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 375 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 376 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->treeview_ignored_directories_with_content;
#line 376 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_store_del_dir (self, _tmp0_);
#line 1826 "tracker-preferences.c"
}


void tracker_preferences_button_ignored_files_add_clicked_cb (GtkButton* source, TrackerPreferences* self) {
	GtkListStore* _tmp0_;
#line 380 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 380 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 381 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->liststore_ignored_files;
#line 381 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_store_add_value_dialog (self, _tmp0_);
#line 1840 "tracker-preferences.c"
}


void tracker_preferences_button_ignored_files_remove_clicked_cb (GtkButton* source, TrackerPreferences* self) {
	GtkTreeView* _tmp0_;
#line 385 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 385 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 386 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->treeview_ignored_files;
#line 386 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_store_del_dir (self, _tmp0_);
#line 1854 "tracker-preferences.c"
}


static void tracker_preferences_togglebutton_directory_update_model (TrackerPreferences* self, GtkToggleButton* source, GtkListStore* store, const gchar* to_check) {
	gboolean _tmp0_ = FALSE;
	GtkToggleButton* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	gboolean _tmp7_;
	gboolean _tmp21_ = FALSE;
	GtkToggleButton* _tmp22_;
	gboolean _tmp23_;
	gboolean _tmp24_;
	gboolean _tmp28_;
#line 389 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 389 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 389 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (store != NULL);
#line 389 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (to_check != NULL);
#line 390 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 390 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_toggle_button_get_active (_tmp1_);
#line 390 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 390 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp3_) {
#line 1885 "tracker-preferences.c"
		GtkListStore* _tmp4_;
		const gchar* _tmp5_;
		gboolean _tmp6_ = FALSE;
#line 390 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = store;
#line 390 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = to_check;
#line 390 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp6_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp4_, _tmp5_);
#line 390 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp0_ = !_tmp6_;
#line 1897 "tracker-preferences.c"
	} else {
#line 390 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp0_ = FALSE;
#line 1901 "tracker-preferences.c"
	}
#line 390 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = _tmp0_;
#line 390 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp7_) {
#line 1907 "tracker-preferences.c"
		GtkTreeIter iter = {0};
		GtkListStore* _tmp8_;
		GtkTreeIter _tmp9_ = {0};
		GValue _tmp10_ = {0};
		GValue v;
		const gchar* _tmp11_;
		const gchar* _tmp12_;
		const gchar* _tmp13_;
		gboolean recurse;
		GtkListStore* _tmp14_;
		GtkTreeIter _tmp15_;
		GValue _tmp16_;
		GtkListStore* _tmp17_;
		GtkTreeIter _tmp18_;
		gboolean _tmp19_;
		GValue _tmp20_ = {0};
#line 392 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp8_ = self->priv->liststore_index;
#line 392 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_list_store_append (_tmp8_, &_tmp9_);
#line 392 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		iter = _tmp9_;
#line 393 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_value_init (&_tmp10_, G_TYPE_STRING);
#line 393 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		v = _tmp10_;
#line 394 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp11_ = to_check;
#line 394 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_value_set_string (&v, _tmp11_);
#line 396 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp12_ = to_check;
#line 396 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp13_ = self->priv->HOME_STRING_EVALUATED;
#line 396 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		recurse = g_strcmp0 (_tmp12_, _tmp13_) != 0;
#line 397 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp14_ = self->priv->liststore_index;
#line 397 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp15_ = iter;
#line 397 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp16_ = v;
#line 397 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_list_store_set_value (_tmp14_, &_tmp15_, 0, &_tmp16_);
#line 398 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp17_ = self->priv->liststore_index;
#line 398 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp18_ = iter;
#line 398 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp19_ = recurse;
#line 398 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_value_init (&_tmp20_, G_TYPE_BOOLEAN);
#line 398 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_value_set_boolean (&_tmp20_, _tmp19_);
#line 398 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_list_store_set_value (_tmp17_, &_tmp18_, 1, &_tmp20_);
#line 398 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		G_IS_VALUE (&_tmp20_) ? (g_value_unset (&_tmp20_), NULL) : NULL;
#line 390 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		G_IS_VALUE (&v) ? (g_value_unset (&v), NULL) : NULL;
#line 1968 "tracker-preferences.c"
	}
#line 401 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp22_ = source;
#line 401 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp23_ = gtk_toggle_button_get_active (_tmp22_);
#line 401 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp24_ = _tmp23_;
#line 401 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (!_tmp24_) {
#line 1978 "tracker-preferences.c"
		GtkListStore* _tmp25_;
		const gchar* _tmp26_;
		gboolean _tmp27_ = FALSE;
#line 401 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp25_ = store;
#line 401 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp26_ = to_check;
#line 401 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp27_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp25_, _tmp26_);
#line 401 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp21_ = _tmp27_;
#line 1990 "tracker-preferences.c"
	} else {
#line 401 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp21_ = FALSE;
#line 1994 "tracker-preferences.c"
	}
#line 401 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp28_ = _tmp21_;
#line 401 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp28_) {
#line 2000 "tracker-preferences.c"
		gboolean valid = FALSE;
		GtkTreeIter iter = {0};
		GtkListStore* _tmp29_;
		GtkTreeIter _tmp30_ = {0};
		gboolean _tmp31_ = FALSE;
#line 405 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp29_ = store;
#line 405 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp31_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp29_, &_tmp30_);
#line 405 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		iter = _tmp30_;
#line 405 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		valid = _tmp31_;
#line 406 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		while (TRUE) {
#line 2016 "tracker-preferences.c"
			gboolean _tmp32_;
			GValue value = {0};
			GtkListStore* _tmp33_;
			GtkTreeIter _tmp34_;
			GValue _tmp35_ = {0};
			const gchar* _tmp36_ = NULL;
			const gchar* _tmp37_;
#line 406 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp32_ = valid;
#line 406 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!_tmp32_) {
#line 406 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				break;
#line 2030 "tracker-preferences.c"
			}
#line 408 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp33_ = store;
#line 408 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp34_ = iter;
#line 408 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_tree_model_get_value ((GtkTreeModel*) _tmp33_, &_tmp34_, 0, &_tmp35_);
#line 408 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 408 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			value = _tmp35_;
#line 409 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp36_ = g_value_get_string (&value);
#line 409 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp37_ = to_check;
#line 409 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (g_strcmp0 (_tmp36_, _tmp37_) == 0) {
#line 2048 "tracker-preferences.c"
				GtkListStore* _tmp38_;
				GtkTreeIter _tmp39_;
				GtkListStore* _tmp40_;
				GtkTreeIter _tmp41_ = {0};
				gboolean _tmp42_ = FALSE;
#line 410 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp38_ = store;
#line 410 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp39_ = iter;
#line 410 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_list_store_remove (_tmp38_, &_tmp39_);
#line 411 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp40_ = store;
#line 411 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp42_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp40_, &_tmp41_);
#line 411 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				iter = _tmp41_;
#line 411 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				valid = _tmp42_;
#line 2068 "tracker-preferences.c"
			} else {
				GtkListStore* _tmp43_;
				gboolean _tmp44_ = FALSE;
#line 413 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp43_ = store;
#line 413 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp44_ = gtk_tree_model_iter_next ((GtkTreeModel*) _tmp43_, &iter);
#line 413 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				valid = _tmp44_;
#line 2078 "tracker-preferences.c"
			}
#line 406 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 2082 "tracker-preferences.c"
		}
	}
}


void tracker_preferences_togglebutton_home_toggled_cb (GtkToggleButton* source, TrackerPreferences* self) {
	GtkToggleButton* _tmp0_;
	GtkListStore* _tmp1_;
	const gchar* _tmp2_;
#line 420 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 420 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 421 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = source;
#line 421 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->liststore_index;
#line 421 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = self->priv->HOME_STRING_EVALUATED;
#line 421 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_togglebutton_directory_update_model (self, _tmp0_, _tmp1_, _tmp2_);
#line 2104 "tracker-preferences.c"
}


void tracker_preferences_togglebutton_desktop_toggled_cb (GtkToggleButton* source, TrackerPreferences* self) {
	GtkToggleButton* _tmp0_;
	GtkListStore* _tmp1_;
	const gchar* _tmp2_ = NULL;
#line 425 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 425 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 426 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = source;
#line 426 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->liststore_index;
#line 426 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = g_get_user_special_dir (G_USER_DIRECTORY_DESKTOP);
#line 426 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_togglebutton_directory_update_model (self, _tmp0_, _tmp1_, _tmp2_);
#line 2124 "tracker-preferences.c"
}


void tracker_preferences_togglebutton_documents_toggled_cb (GtkToggleButton* source, TrackerPreferences* self) {
	GtkToggleButton* _tmp0_;
	GtkListStore* _tmp1_;
	const gchar* _tmp2_ = NULL;
#line 430 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 430 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 431 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = source;
#line 431 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->liststore_index;
#line 431 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = g_get_user_special_dir (G_USER_DIRECTORY_DOCUMENTS);
#line 431 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_togglebutton_directory_update_model (self, _tmp0_, _tmp1_, _tmp2_);
#line 2144 "tracker-preferences.c"
}


void tracker_preferences_togglebutton_music_toggled_cb (GtkToggleButton* source, TrackerPreferences* self) {
	GtkToggleButton* _tmp0_;
	GtkListStore* _tmp1_;
	const gchar* _tmp2_ = NULL;
#line 435 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 435 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 436 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = source;
#line 436 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->liststore_index;
#line 436 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = g_get_user_special_dir (G_USER_DIRECTORY_MUSIC);
#line 436 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_togglebutton_directory_update_model (self, _tmp0_, _tmp1_, _tmp2_);
#line 2164 "tracker-preferences.c"
}


void tracker_preferences_togglebutton_pictures_toggled_cb (GtkToggleButton* source, TrackerPreferences* self) {
	GtkToggleButton* _tmp0_;
	GtkListStore* _tmp1_;
	const gchar* _tmp2_ = NULL;
#line 440 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 440 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 441 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = source;
#line 441 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->liststore_index;
#line 441 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = g_get_user_special_dir (G_USER_DIRECTORY_PICTURES);
#line 441 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_togglebutton_directory_update_model (self, _tmp0_, _tmp1_, _tmp2_);
#line 2184 "tracker-preferences.c"
}


void tracker_preferences_togglebutton_videos_toggled_cb (GtkToggleButton* source, TrackerPreferences* self) {
	GtkToggleButton* _tmp0_;
	GtkListStore* _tmp1_;
	const gchar* _tmp2_ = NULL;
#line 445 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 445 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 446 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = source;
#line 446 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->liststore_index;
#line 446 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = g_get_user_special_dir (G_USER_DIRECTORY_VIDEOS);
#line 446 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_togglebutton_directory_update_model (self, _tmp0_, _tmp1_, _tmp2_);
#line 2204 "tracker-preferences.c"
}


void tracker_preferences_togglebutton_download_toggled_cb (GtkToggleButton* source, TrackerPreferences* self) {
	GtkToggleButton* _tmp0_;
	GtkListStore* _tmp1_;
	const gchar* _tmp2_ = NULL;
#line 450 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 450 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 451 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = source;
#line 451 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->liststore_index;
#line 451 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = g_get_user_special_dir (G_USER_DIRECTORY_DOWNLOAD);
#line 451 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_togglebutton_directory_update_model (self, _tmp0_, _tmp1_, _tmp2_);
#line 2224 "tracker-preferences.c"
}


static void tracker_preferences_toggles_update (TrackerPreferences* self, GUserDirectory* matches, int matches_length1, gboolean active) {
	GUserDirectory* _tmp0_;
	gint _tmp0__length1;
#line 454 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 456 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = matches;
#line 456 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0__length1 = matches_length1;
#line 2237 "tracker-preferences.c"
	{
		GUserDirectory* ud_collection = NULL;
		gint ud_collection_length1 = 0;
		gint _ud_collection_size_ = 0;
		gint ud_it = 0;
#line 456 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		ud_collection = _tmp0_;
#line 456 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		ud_collection_length1 = _tmp0__length1;
#line 456 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		for (ud_it = 0; ud_it < _tmp0__length1; ud_it = ud_it + 1) {
#line 2249 "tracker-preferences.c"
			GUserDirectory ud = 0;
#line 456 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			ud = ud_collection[ud_it];
#line 2253 "tracker-preferences.c"
			{
				GUserDirectory _tmp1_;
#line 457 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp1_ = ud;
#line 457 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				switch (_tmp1_) {
#line 457 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_DESKTOP:
#line 2262 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp2_;
						gboolean _tmp3_;
#line 459 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp2_ = self->priv->togglebutton_desktop;
#line 459 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp3_ = active;
#line 459 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_toggle_button_set_active (_tmp2_, _tmp3_);
#line 460 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 2274 "tracker-preferences.c"
					}
#line 457 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_DOCUMENTS:
#line 2278 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp4_;
						gboolean _tmp5_;
#line 462 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp4_ = self->priv->togglebutton_documents;
#line 462 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp5_ = active;
#line 462 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_toggle_button_set_active (_tmp4_, _tmp5_);
#line 463 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 2290 "tracker-preferences.c"
					}
#line 457 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_DOWNLOAD:
#line 2294 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp6_;
						gboolean _tmp7_;
#line 465 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp6_ = self->priv->togglebutton_download;
#line 465 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp7_ = active;
#line 465 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_toggle_button_set_active (_tmp6_, _tmp7_);
#line 466 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 2306 "tracker-preferences.c"
					}
#line 457 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_MUSIC:
#line 2310 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp8_;
						gboolean _tmp9_;
#line 468 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp8_ = self->priv->togglebutton_music;
#line 468 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp9_ = active;
#line 468 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_toggle_button_set_active (_tmp8_, _tmp9_);
#line 469 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 2322 "tracker-preferences.c"
					}
#line 457 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_PICTURES:
#line 2326 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp10_;
						gboolean _tmp11_;
#line 471 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp10_ = self->priv->togglebutton_pictures;
#line 471 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp11_ = active;
#line 471 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_toggle_button_set_active (_tmp10_, _tmp11_);
#line 472 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 2338 "tracker-preferences.c"
					}
#line 457 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_VIDEOS:
#line 2342 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp12_;
						gboolean _tmp13_;
#line 474 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp12_ = self->priv->togglebutton_videos;
#line 474 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp13_ = active;
#line 474 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_toggle_button_set_active (_tmp12_, _tmp13_);
#line 475 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 2354 "tracker-preferences.c"
					}
					default:
#line 457 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					break;
#line 2359 "tracker-preferences.c"
				}
			}
		}
	}
}


static void tracker_preferences_store_add_value_dialog (TrackerPreferences* self, GtkListStore* store) {
	GtkDialog* dialog = NULL;
	GtkEntry* entry = NULL;
	GtkContainer* content_area = NULL;
	const gchar* _tmp0_ = NULL;
	GtkWindow* _tmp1_;
	GtkDialog* _tmp2_;
	GtkDialog* _tmp3_;
	GtkDialog* _tmp4_;
	GtkDialog* _tmp5_;
	GtkBox* _tmp6_ = NULL;
	GtkContainer* _tmp7_;
	GtkEntry* _tmp8_;
	GtkEntry* _tmp9_;
	GtkEntry* _tmp10_;
	GtkEntry* _tmp11_;
	GtkContainer* _tmp12_;
	GtkEntry* _tmp13_;
	GtkDialog* _tmp14_;
	gint _tmp15_ = 0;
	GtkDialog* _tmp30_;
#line 480 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 480 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (store != NULL);
#line 485 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = _ ("Enter value");
#line 485 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->window;
#line 485 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = (GtkDialog*) gtk_dialog_new_with_buttons (_tmp0_, _tmp1_, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL);
#line 485 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = g_object_ref_sink (_tmp2_);
#line 485 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (dialog);
#line 485 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	dialog = _tmp3_;
#line 491 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = dialog;
#line 491 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_dialog_set_default_response (_tmp4_, (gint) GTK_RESPONSE_ACCEPT);
#line 492 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = dialog;
#line 492 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = gtk_dialog_get_content_area (_tmp5_);
#line 492 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = _g_object_ref0 (GTK_CONTAINER (_tmp6_));
#line 492 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (content_area);
#line 492 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	content_area = _tmp7_;
#line 493 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp8_ = (GtkEntry*) gtk_entry_new ();
#line 493 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp9_ = g_object_ref_sink (_tmp8_);
#line 493 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (entry);
#line 493 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	entry = _tmp9_;
#line 494 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp10_ = entry;
#line 494 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_entry_set_activates_default (_tmp10_, TRUE);
#line 495 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp11_ = entry;
#line 495 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_show ((GtkWidget*) _tmp11_);
#line 496 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp12_ = content_area;
#line 496 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp13_ = entry;
#line 496 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_container_add (_tmp12_, (GtkWidget*) _tmp13_);
#line 498 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp14_ = dialog;
#line 498 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp15_ = gtk_dialog_run (_tmp14_);
#line 498 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp15_ == ((gint) GTK_RESPONSE_ACCEPT)) {
#line 2446 "tracker-preferences.c"
		GtkEntry* _tmp16_;
		const gchar* _tmp17_ = NULL;
		gchar* _tmp18_;
		gchar* text;
		gboolean _tmp19_ = FALSE;
		const gchar* _tmp20_;
		gboolean _tmp22_;
#line 499 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp16_ = entry;
#line 499 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp17_ = gtk_entry_get_text (_tmp16_);
#line 499 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp18_ = g_strdup (_tmp17_);
#line 499 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		text = _tmp18_;
#line 501 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp20_ = text;
#line 501 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_tmp20_ != NULL) {
#line 2466 "tracker-preferences.c"
			const gchar* _tmp21_;
#line 501 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp21_ = text;
#line 501 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp19_ = g_strcmp0 (_tmp21_, "") != 0;
#line 2472 "tracker-preferences.c"
		} else {
#line 501 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp19_ = FALSE;
#line 2476 "tracker-preferences.c"
		}
#line 501 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp22_ = _tmp19_;
#line 501 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_tmp22_) {
#line 2482 "tracker-preferences.c"
			GtkTreeIter iter = {0};
			GtkListStore* _tmp23_;
			GtkTreeIter _tmp24_ = {0};
			GValue _tmp25_ = {0};
			GValue v;
			const gchar* _tmp26_;
			GtkListStore* _tmp27_;
			GtkTreeIter _tmp28_;
			GValue _tmp29_;
#line 503 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp23_ = store;
#line 503 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_list_store_append (_tmp23_, &_tmp24_);
#line 503 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			iter = _tmp24_;
#line 504 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_value_init (&_tmp25_, G_TYPE_STRING);
#line 504 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			v = _tmp25_;
#line 505 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp26_ = text;
#line 505 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_value_set_string (&v, _tmp26_);
#line 506 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp27_ = store;
#line 506 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp28_ = iter;
#line 506 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp29_ = v;
#line 506 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_list_store_set_value (_tmp27_, &_tmp28_, 0, &_tmp29_);
#line 501 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&v) ? (g_value_unset (&v), NULL) : NULL;
#line 2516 "tracker-preferences.c"
		}
#line 498 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (text);
#line 2520 "tracker-preferences.c"
	}
#line 510 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp30_ = dialog;
#line 510 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_destroy ((GtkWidget*) _tmp30_);
#line 480 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (content_area);
#line 480 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (entry);
#line 480 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (dialog);
#line 2532 "tracker-preferences.c"
}


static void tracker_preferences_store_add_dir (TrackerPreferences* self, GtkListStore* store) {
	const gchar* _tmp0_ = NULL;
	GtkWindow* _tmp1_;
	GtkFileChooserDialog* _tmp2_;
	GtkFileChooserDialog* _tmp3_;
	GtkFileChooserDialog* dialog;
	GtkFileChooserDialog* _tmp36_;
#line 513 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 513 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (store != NULL);
#line 514 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = _ ("Select directory");
#line 514 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->window;
#line 514 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = (GtkFileChooserDialog*) gtk_file_chooser_dialog_new (_tmp0_, _tmp1_, GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL);
#line 514 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = g_object_ref_sink (_tmp2_);
#line 514 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	dialog = _tmp3_;
#line 522 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	while (TRUE) {
#line 2559 "tracker-preferences.c"
		GtkFileChooserDialog* _tmp4_;
		gint _tmp5_ = 0;
#line 523 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = dialog;
#line 523 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = gtk_dialog_run ((GtkDialog*) _tmp4_);
#line 523 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_tmp5_ == ((gint) GTK_RESPONSE_ACCEPT)) {
#line 2568 "tracker-preferences.c"
			GtkTreeIter iter = {0};
			GFile* f = NULL;
			GtkFileChooserDialog* _tmp6_;
			GFile* _tmp7_ = NULL;
			GFile* _tmp8_;
			GFile* _tmp9_;
			gchar* _tmp10_ = NULL;
			gchar* path;
			GtkListStore* _tmp11_;
			const gchar* _tmp12_;
			gboolean _tmp13_ = FALSE;
			GFile* _tmp20_;
			gchar* _tmp21_ = NULL;
			gchar* dir;
			const gchar* _tmp22_;
			gint _tmp23_ = 0;
			GUserDirectory* _tmp24_ = NULL;
			GUserDirectory* matches;
			gint matches_length1;
			gint _matches_size_;
			GtkListStore* _tmp25_;
			GtkTreeIter _tmp26_ = {0};
			GValue _tmp27_ = {0};
			GValue v;
			const gchar* _tmp28_;
			GtkListStore* _tmp29_;
			GtkTreeIter _tmp30_;
			GValue _tmp31_;
			GUserDirectory* _tmp32_;
			gint _tmp32__length1;
			const gchar* _tmp33_;
			const gchar* _tmp34_;
#line 527 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp6_ = dialog;
#line 527 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp7_ = gtk_file_chooser_get_file ((GtkFileChooser*) _tmp6_);
#line 527 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp8_ = _g_object_ref0 (_tmp7_);
#line 527 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_object_unref0 (f);
#line 527 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			f = _tmp8_;
#line 528 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp9_ = f;
#line 528 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp10_ = g_file_get_path (_tmp9_);
#line 528 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			path = _tmp10_;
#line 530 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp11_ = store;
#line 530 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp12_ = path;
#line 530 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp13_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp11_, _tmp12_);
#line 530 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (_tmp13_) {
#line 2625 "tracker-preferences.c"
				GtkFileChooserDialog* _tmp14_;
				const gchar* _tmp15_ = NULL;
				GtkMessageDialog* _tmp16_;
				GtkMessageDialog* _tmp17_;
				GtkMessageDialog* md;
				GtkMessageDialog* _tmp18_;
				GtkMessageDialog* _tmp19_;
#line 531 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp14_ = dialog;
#line 531 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp15_ = _ ("That directory is already selected as a location to index");
#line 531 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp16_ = (GtkMessageDialog*) gtk_message_dialog_new ((GtkWindow*) _tmp14_, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _tmp15_, NULL);
#line 531 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp17_ = g_object_ref_sink (_tmp16_);
#line 531 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				md = _tmp17_;
#line 537 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp18_ = md;
#line 537 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_dialog_run ((GtkDialog*) _tmp18_);
#line 538 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp19_ = md;
#line 538 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_widget_destroy ((GtkWidget*) _tmp19_);
#line 539 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_object_unref0 (md);
#line 539 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (path);
#line 539 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_object_unref0 (f);
#line 539 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				continue;
#line 2659 "tracker-preferences.c"
			}
#line 542 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp20_ = f;
#line 542 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp21_ = g_file_get_path (_tmp20_);
#line 542 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			dir = _tmp21_;
#line 545 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp22_ = dir;
#line 545 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp24_ = tracker_preferences_dir_match_user_directories (self, _tmp22_, &_tmp23_);
#line 545 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			matches = _tmp24_;
#line 545 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			matches_length1 = _tmp23_;
#line 545 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_matches_size_ = matches_length1;
#line 548 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp25_ = store;
#line 548 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_list_store_append (_tmp25_, &_tmp26_);
#line 548 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			iter = _tmp26_;
#line 549 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_value_init (&_tmp27_, G_TYPE_STRING);
#line 549 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			v = _tmp27_;
#line 550 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp28_ = dir;
#line 550 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_value_set_string (&v, _tmp28_);
#line 551 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp29_ = store;
#line 551 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp30_ = iter;
#line 551 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp31_ = v;
#line 551 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_list_store_set_value (_tmp29_, &_tmp30_, 0, &_tmp31_);
#line 553 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp32_ = matches;
#line 553 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp32__length1 = matches_length1;
#line 553 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			tracker_preferences_toggles_update (self, _tmp32_, _tmp32__length1, TRUE);
#line 555 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp33_ = dir;
#line 555 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp34_ = self->priv->HOME_STRING_EVALUATED;
#line 555 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (g_strcmp0 (_tmp33_, _tmp34_) == 0) {
#line 2711 "tracker-preferences.c"
				GtkToggleButton* _tmp35_;
#line 556 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp35_ = self->priv->togglebutton_home;
#line 556 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_toggle_button_set_active (_tmp35_, TRUE);
#line 2717 "tracker-preferences.c"
			}
#line 523 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&v) ? (g_value_unset (&v), NULL) : NULL;
#line 523 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			matches = (g_free (matches), NULL);
#line 523 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_free0 (dir);
#line 523 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_free0 (path);
#line 523 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_object_unref0 (f);
#line 2729 "tracker-preferences.c"
		}
#line 560 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		break;
#line 2733 "tracker-preferences.c"
	}
#line 563 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp36_ = dialog;
#line 563 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_destroy ((GtkWidget*) _tmp36_);
#line 513 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (dialog);
#line 2741 "tracker-preferences.c"
}


static void _gtk_tree_path_free0_ (gpointer var) {
#line 572 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	(var == NULL) ? NULL : (var = (gtk_tree_path_free (var), NULL));
#line 2748 "tracker-preferences.c"
}


static void _g_list_free__gtk_tree_path_free0_ (GList* self) {
#line 572 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_list_foreach (self, (GFunc) _gtk_tree_path_free0_, NULL);
#line 572 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_list_free (self);
#line 2757 "tracker-preferences.c"
}


static gpointer _gtk_tree_path_copy0 (gpointer self) {
#line 576 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return self ? gtk_tree_path_copy (self) : NULL;
#line 2764 "tracker-preferences.c"
}


static void tracker_preferences_store_del_dir (TrackerPreferences* self, GtkTreeView* view) {
	GList* list = NULL;
	GtkListStore* store = NULL;
	GtkTreeModel* model = NULL;
	GtkTreeView* _tmp0_;
	GtkTreeSelection* _tmp1_ = NULL;
	GtkTreeSelection* _tmp2_;
	GtkTreeSelection* selection;
	GtkTreeSelection* _tmp3_;
	GtkTreeModel* _tmp4_ = NULL;
	GList* _tmp5_ = NULL;
	GtkTreeModel* _tmp6_;
	GtkTreeModel* _tmp7_;
	GtkListStore* _tmp8_;
	GList* _tmp9_;
#line 566 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 566 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (view != NULL);
#line 571 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = view;
#line 571 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = gtk_tree_view_get_selection (_tmp0_);
#line 571 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 571 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	selection = _tmp2_;
#line 572 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = selection;
#line 572 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = gtk_tree_selection_get_selected_rows (_tmp3_, &_tmp4_);
#line 572 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (model);
#line 572 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = _g_object_ref0 (_tmp4_);
#line 572 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	model = _tmp6_;
#line 572 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	__g_list_free__gtk_tree_path_free0_0 (list);
#line 572 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	list = _tmp5_;
#line 574 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = model;
#line 574 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp8_ = _g_object_ref0 (GTK_LIST_STORE (_tmp7_));
#line 574 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (store);
#line 574 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	store = _tmp8_;
#line 576 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp9_ = list;
#line 2819 "tracker-preferences.c"
	{
		GList* path_collection = NULL;
		GList* path_it = NULL;
#line 576 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		path_collection = _tmp9_;
#line 576 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		for (path_it = path_collection; path_it != NULL; path_it = path_it->next) {
#line 2827 "tracker-preferences.c"
			GtkTreePath* _tmp10_;
			GtkTreePath* path = NULL;
#line 576 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp10_ = _gtk_tree_path_copy0 ((GtkTreePath*) path_it->data);
#line 576 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			path = _tmp10_;
#line 2834 "tracker-preferences.c"
			{
				GtkTreeIter iter = {0};
				GtkTreeModel* _tmp11_;
				GtkTreePath* _tmp12_;
				GtkTreeIter _tmp13_ = {0};
				gboolean _tmp14_ = FALSE;
				GValue value = {0};
				GtkTreeModel* _tmp15_;
				GtkTreeIter _tmp16_;
				GValue _tmp17_ = {0};
				const gchar* _tmp18_ = NULL;
				gchar* _tmp19_;
				gchar* dir;
				const gchar* _tmp20_;
				gint _tmp21_ = 0;
				GUserDirectory* _tmp22_ = NULL;
				GUserDirectory* matches;
				gint matches_length1;
				gint _matches_size_;
				GtkListStore* _tmp23_;
				GtkTreeIter _tmp24_;
				GUserDirectory* _tmp25_;
				gint _tmp25__length1;
				const gchar* _tmp26_;
				const gchar* _tmp27_;
#line 579 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp11_ = model;
#line 579 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp12_ = path;
#line 579 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp14_ = gtk_tree_model_get_iter (_tmp11_, &_tmp13_, _tmp12_);
#line 579 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				iter = _tmp13_;
#line 579 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (!_tmp14_) {
#line 580 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_gtk_tree_path_free0 (path);
#line 580 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					continue;
#line 2874 "tracker-preferences.c"
				}
#line 585 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp15_ = model;
#line 585 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp16_ = iter;
#line 585 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_tree_model_get_value (_tmp15_, &_tmp16_, 0, &_tmp17_);
#line 585 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 585 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				value = _tmp17_;
#line 586 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp18_ = g_value_get_string (&value);
#line 586 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp19_ = g_strdup (_tmp18_);
#line 586 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				dir = _tmp19_;
#line 589 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp20_ = dir;
#line 589 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp22_ = tracker_preferences_dir_match_user_directories (self, _tmp20_, &_tmp21_);
#line 589 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				matches = _tmp22_;
#line 589 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				matches_length1 = _tmp21_;
#line 589 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_matches_size_ = matches_length1;
#line 591 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp23_ = store;
#line 591 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp24_ = iter;
#line 591 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_list_store_remove (_tmp23_, &_tmp24_);
#line 594 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp25_ = matches;
#line 594 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp25__length1 = matches_length1;
#line 594 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				tracker_preferences_toggles_update (self, _tmp25_, _tmp25__length1, FALSE);
#line 596 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp26_ = dir;
#line 596 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp27_ = self->priv->HOME_STRING_EVALUATED;
#line 596 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (g_strcmp0 (_tmp26_, _tmp27_) == 0) {
#line 2920 "tracker-preferences.c"
					GtkToggleButton* _tmp28_;
#line 597 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp28_ = self->priv->togglebutton_home;
#line 597 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					gtk_toggle_button_set_active (_tmp28_, FALSE);
#line 2926 "tracker-preferences.c"
				}
#line 576 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				matches = (g_free (matches), NULL);
#line 576 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (dir);
#line 576 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 576 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_gtk_tree_path_free0 (path);
#line 2936 "tracker-preferences.c"
			}
		}
	}
#line 566 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (selection);
#line 566 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (model);
#line 566 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (store);
#line 566 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	__g_list_free__gtk_tree_path_free0_0 (list);
#line 2948 "tracker-preferences.c"
}


static void _vala_array_add1 (GUserDirectory** array, int* length, int* size, GUserDirectory value) {
#line 611 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if ((*length) == (*size)) {
#line 611 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 611 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		*array = g_renew (GUserDirectory, *array, *size);
#line 2959 "tracker-preferences.c"
	}
#line 611 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	(*array)[(*length)++] = value;
#line 2963 "tracker-preferences.c"
}


static GUserDirectory* tracker_preferences_dir_match_user_directories (TrackerPreferences* self, const gchar* input, int* result_length1) {
	GUserDirectory* result = NULL;
	GUserDirectory* _tmp0_ = NULL;
	GUserDirectory* matches;
	gint matches_length1;
	gint _matches_size_;
	gint i = 0;
	GUserDirectory* _tmp12_;
	gint _tmp12__length1;
#line 601 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 601 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (input != NULL, NULL);
#line 602 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = g_new0 (GUserDirectory, 0);
#line 602 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	matches = _tmp0_;
#line 602 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	matches_length1 = 0;
#line 602 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_matches_size_ = matches_length1;
#line 2988 "tracker-preferences.c"
	{
		gboolean _tmp1_;
#line 605 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		i = 0;
#line 605 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp1_ = TRUE;
#line 605 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		while (TRUE) {
#line 2997 "tracker-preferences.c"
			gboolean _tmp2_;
			gint _tmp4_;
			gint _tmp5_;
			GUserDirectory ud;
			const gchar* dir;
			GUserDirectory _tmp6_;
			const gchar* _tmp7_ = NULL;
			const gchar* _tmp8_;
			const gchar* _tmp9_;
#line 605 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp2_ = _tmp1_;
#line 605 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!_tmp2_) {
#line 3011 "tracker-preferences.c"
				gint _tmp3_;
#line 605 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp3_ = i;
#line 605 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				i = _tmp3_ + 1;
#line 3017 "tracker-preferences.c"
			}
#line 605 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp1_ = FALSE;
#line 605 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp4_ = i;
#line 605 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!(_tmp4_ < ((gint) G_USER_N_DIRECTORIES))) {
#line 605 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				break;
#line 3027 "tracker-preferences.c"
			}
#line 606 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp5_ = i;
#line 606 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			ud = (GUserDirectory) _tmp5_;
#line 607 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			dir = NULL;
#line 609 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp6_ = ud;
#line 609 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp7_ = g_get_user_special_dir (_tmp6_);
#line 609 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			dir = _tmp7_;
#line 610 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp8_ = input;
#line 610 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp9_ = dir;
#line 610 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (g_strcmp0 (_tmp8_, _tmp9_) == 0) {
#line 3047 "tracker-preferences.c"
				GUserDirectory* _tmp10_;
				gint _tmp10__length1;
				GUserDirectory _tmp11_;
#line 611 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp10_ = matches;
#line 611 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp10__length1 = matches_length1;
#line 611 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp11_ = ud;
#line 611 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_vala_array_add1 (&matches, &matches_length1, &_matches_size_, _tmp11_);
#line 3059 "tracker-preferences.c"
			}
		}
	}
#line 615 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp12_ = matches;
#line 615 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp12__length1 = matches_length1;
#line 615 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (result_length1) {
#line 615 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		*result_length1 = _tmp12__length1;
#line 3071 "tracker-preferences.c"
	}
#line 615 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = _tmp12_;
#line 615 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 3077 "tracker-preferences.c"
}


static const char* _g_user_directory_to_string (GUserDirectory value) {
#line 632 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	switch (value) {
#line 632 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_DIRECTORY_DESKTOP:
#line 632 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_DIRECTORY_DESKTOP";
#line 632 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_DIRECTORY_DOCUMENTS:
#line 632 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_DIRECTORY_DOCUMENTS";
#line 632 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_DIRECTORY_DOWNLOAD:
#line 632 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_DIRECTORY_DOWNLOAD";
#line 632 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_DIRECTORY_MUSIC:
#line 632 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_DIRECTORY_MUSIC";
#line 632 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_DIRECTORY_PICTURES:
#line 632 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_DIRECTORY_PICTURES";
#line 632 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_DIRECTORY_PUBLIC_SHARE:
#line 632 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_DIRECTORY_PUBLIC_SHARE";
#line 632 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_DIRECTORY_TEMPLATES:
#line 632 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_DIRECTORY_TEMPLATES";
#line 632 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_DIRECTORY_VIDEOS:
#line 632 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_DIRECTORY_VIDEOS";
#line 632 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_N_DIRECTORIES:
#line 632 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_N_DIRECTORIES";
#line 3120 "tracker-preferences.c"
	}
#line 632 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return NULL;
#line 3124 "tracker-preferences.c"
}


static glong string_strnlen (gchar* str, glong maxlen) {
	glong result = 0L;
	gchar* _tmp0_;
	glong _tmp1_;
	gchar* _tmp2_ = NULL;
	gchar* end;
	gchar* _tmp3_;
#line 1338 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	_tmp0_ = str;
#line 1338 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	_tmp1_ = maxlen;
#line 1338 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
#line 1338 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	end = _tmp2_;
#line 1339 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	_tmp3_ = end;
#line 1339 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	if (_tmp3_ == NULL) {
#line 3147 "tracker-preferences.c"
		glong _tmp4_;
#line 1340 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		_tmp4_ = maxlen;
#line 1340 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		result = _tmp4_;
#line 1340 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		return result;
#line 3155 "tracker-preferences.c"
	} else {
		gchar* _tmp5_;
		gchar* _tmp6_;
#line 1342 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		_tmp5_ = end;
#line 1342 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		_tmp6_ = str;
#line 1342 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		result = (glong) (_tmp5_ - _tmp6_);
#line 1342 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		return result;
#line 3167 "tracker-preferences.c"
	}
}


static gchar* string_substring (const gchar* self, glong offset, glong len) {
	gchar* result = NULL;
	glong string_length = 0L;
	gboolean _tmp0_ = FALSE;
	glong _tmp1_;
	gboolean _tmp3_;
	glong _tmp9_;
	glong _tmp15_;
	glong _tmp18_;
	glong _tmp19_;
	glong _tmp20_;
	glong _tmp21_;
	glong _tmp22_;
	gchar* _tmp23_ = NULL;
#line 1349 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1351 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	_tmp1_ = offset;
#line 1351 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	if (_tmp1_ >= ((glong) 0)) {
#line 3192 "tracker-preferences.c"
		glong _tmp2_;
#line 1351 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		_tmp2_ = len;
#line 1351 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		_tmp0_ = _tmp2_ >= ((glong) 0);
#line 3198 "tracker-preferences.c"
	} else {
#line 1351 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		_tmp0_ = FALSE;
#line 3202 "tracker-preferences.c"
	}
#line 1351 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	_tmp3_ = _tmp0_;
#line 1351 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	if (_tmp3_) {
#line 3208 "tracker-preferences.c"
		glong _tmp4_;
		glong _tmp5_;
		glong _tmp6_ = 0L;
#line 1353 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		_tmp4_ = offset;
#line 1353 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		_tmp5_ = len;
#line 1353 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		_tmp6_ = string_strnlen ((gchar*) self, _tmp4_ + _tmp5_);
#line 1353 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		string_length = _tmp6_;
#line 3220 "tracker-preferences.c"
	} else {
		gint _tmp7_;
		gint _tmp8_;
#line 1355 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		_tmp7_ = strlen (self);
#line 1355 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		_tmp8_ = _tmp7_;
#line 1355 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		string_length = (glong) _tmp8_;
#line 3230 "tracker-preferences.c"
	}
#line 1358 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	_tmp9_ = offset;
#line 1358 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	if (_tmp9_ < ((glong) 0)) {
#line 3236 "tracker-preferences.c"
		glong _tmp10_;
		glong _tmp11_;
		glong _tmp12_;
#line 1359 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		_tmp10_ = string_length;
#line 1359 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		_tmp11_ = offset;
#line 1359 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		offset = _tmp10_ + _tmp11_;
#line 1360 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		_tmp12_ = offset;
#line 1360 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		g_return_val_if_fail (_tmp12_ >= ((glong) 0), NULL);
#line 3250 "tracker-preferences.c"
	} else {
		glong _tmp13_;
		glong _tmp14_;
#line 1362 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		_tmp13_ = offset;
#line 1362 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		_tmp14_ = string_length;
#line 1362 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		g_return_val_if_fail (_tmp13_ <= _tmp14_, NULL);
#line 3260 "tracker-preferences.c"
	}
#line 1364 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	_tmp15_ = len;
#line 1364 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	if (_tmp15_ < ((glong) 0)) {
#line 3266 "tracker-preferences.c"
		glong _tmp16_;
		glong _tmp17_;
#line 1365 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		_tmp16_ = string_length;
#line 1365 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		_tmp17_ = offset;
#line 1365 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		len = _tmp16_ - _tmp17_;
#line 3275 "tracker-preferences.c"
	}
#line 1367 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	_tmp18_ = offset;
#line 1367 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	_tmp19_ = len;
#line 1367 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	_tmp20_ = string_length;
#line 1367 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	g_return_val_if_fail ((_tmp18_ + _tmp19_) <= _tmp20_, NULL);
#line 1368 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	_tmp21_ = offset;
#line 1368 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	_tmp22_ = len;
#line 1368 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	_tmp23_ = g_strndup (((gchar*) self) + _tmp21_, (gsize) _tmp22_);
#line 1368 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	result = _tmp23_;
#line 1368 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	return result;
#line 3295 "tracker-preferences.c"
}


static gint string_last_index_of_char (const gchar* self, gunichar c, gint start_index) {
	gint result = 0;
	gint _tmp0_;
	gunichar _tmp1_;
	gchar* _tmp2_ = NULL;
	gchar* _result_;
	gchar* _tmp3_;
#line 1122 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, 0);
#line 1123 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	_tmp0_ = start_index;
#line 1123 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	_tmp1_ = c;
#line 1123 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	_tmp2_ = g_utf8_strrchr (((gchar*) self) + _tmp0_, (gssize) (-1), _tmp1_);
#line 1123 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	_result_ = _tmp2_;
#line 1125 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	_tmp3_ = _result_;
#line 1125 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
	if (_tmp3_ != NULL) {
#line 3320 "tracker-preferences.c"
		gchar* _tmp4_;
#line 1126 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		_tmp4_ = _result_;
#line 1126 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		result = (gint) (_tmp4_ - ((gchar*) self));
#line 1126 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		return result;
#line 3328 "tracker-preferences.c"
	} else {
#line 1128 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		result = -1;
#line 1128 "/usr/share/vala-0.16/vapi/glib-2.0.vapi"
		return result;
#line 3334 "tracker-preferences.c"
	}
}


static gchar* tracker_preferences_dir_to_config (TrackerPreferences* self, const gchar* input) {
	gchar* result = NULL;
	const gchar* _tmp0_;
	gchar* _tmp1_;
	gchar* output;
	gboolean _tmp2_ = FALSE;
	const gchar* _tmp3_;
	gboolean _tmp6_;
#line 618 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 618 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (input != NULL, NULL);
#line 619 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = input;
#line 619 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 619 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	output = _tmp1_;
#line 621 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = self->priv->HOME_STRING_EVALUATED;
#line 621 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp3_ != NULL) {
#line 3361 "tracker-preferences.c"
		const gchar* _tmp4_;
		const gchar* _tmp5_;
#line 621 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = self->priv->HOME_STRING_EVALUATED;
#line 621 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = input;
#line 621 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = g_strcmp0 (_tmp4_, _tmp5_) == 0;
#line 3370 "tracker-preferences.c"
	} else {
#line 621 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = FALSE;
#line 3374 "tracker-preferences.c"
	}
#line 621 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = _tmp2_;
#line 621 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp6_) {
#line 3380 "tracker-preferences.c"
		gchar* _tmp7_;
#line 622 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp7_ = g_strdup (TRACKER_PREFERENCES_HOME_STRING);
#line 622 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		result = _tmp7_;
#line 622 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (output);
#line 622 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return result;
#line 3390 "tracker-preferences.c"
	}
	{
		gint i;
#line 625 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		i = 0;
#line 3396 "tracker-preferences.c"
		{
			gboolean _tmp8_;
#line 625 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp8_ = TRUE;
#line 625 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			while (TRUE) {
#line 3403 "tracker-preferences.c"
				gboolean _tmp9_;
				gint _tmp11_;
				gint _tmp12_;
				GUserDirectory ud;
				const gchar* dir;
				GUserDirectory _tmp13_;
				const gchar* _tmp14_ = NULL;
				const gchar* _tmp15_;
				const gchar* _tmp16_;
#line 625 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp9_ = _tmp8_;
#line 625 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (!_tmp9_) {
#line 3417 "tracker-preferences.c"
					gint _tmp10_;
#line 625 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp10_ = i;
#line 625 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					i = _tmp10_ + 1;
#line 3423 "tracker-preferences.c"
				}
#line 625 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp8_ = FALSE;
#line 625 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp11_ = i;
#line 625 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (!(_tmp11_ < ((gint) G_USER_N_DIRECTORIES))) {
#line 625 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					break;
#line 3433 "tracker-preferences.c"
				}
#line 626 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp12_ = i;
#line 626 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				ud = (GUserDirectory) _tmp12_;
#line 627 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				dir = NULL;
#line 629 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp13_ = ud;
#line 629 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp14_ = g_get_user_special_dir (_tmp13_);
#line 629 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				dir = _tmp14_;
#line 630 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp15_ = input;
#line 630 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp16_ = dir;
#line 630 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (g_strcmp0 (_tmp15_, _tmp16_) == 0) {
#line 3453 "tracker-preferences.c"
					GUserDirectory _tmp17_;
					const gchar* _tmp18_ = NULL;
					gchar* _tmp19_;
					gchar* ud_string;
					const gchar* _tmp20_;
					const gchar* _tmp21_;
					gint _tmp22_ = 0;
					gchar* _tmp23_ = NULL;
					gchar* _tmp24_;
					gchar* _tmp25_ = NULL;
#line 632 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp17_ = ud;
#line 632 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp18_ = _g_user_directory_to_string (_tmp17_);
#line 632 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp19_ = g_strdup (_tmp18_);
#line 632 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					ud_string = _tmp19_;
#line 633 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp20_ = ud_string;
#line 633 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp21_ = ud_string;
#line 633 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp22_ = string_last_index_of_char (_tmp21_, (gunichar) '_', 0);
#line 633 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp23_ = string_substring (_tmp20_, (glong) (_tmp22_ + 1), (glong) (-1));
#line 633 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp24_ = _tmp23_;
#line 633 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp25_ = g_strdup_printf ("&%s", _tmp24_);
#line 633 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (output);
#line 633 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					output = _tmp25_;
#line 633 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (_tmp24_);
#line 630 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (ud_string);
#line 3492 "tracker-preferences.c"
				}
			}
		}
	}
#line 637 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = output;
#line 637 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 3501 "tracker-preferences.c"
}


static gchar* tracker_preferences_dir_from_config (TrackerPreferences* self, const gchar* input) {
	gchar* result = NULL;
	const gchar* _tmp0_;
	gchar* _tmp1_;
	gchar* output;
	const gchar* _tmp2_;
	gboolean _tmp3_ = FALSE;
#line 640 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 640 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (input != NULL, NULL);
#line 641 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = input;
#line 641 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 641 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	output = _tmp1_;
#line 643 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = input;
#line 643 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = g_str_has_prefix (_tmp2_, "&");
#line 643 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp3_) {
#line 3528 "tracker-preferences.c"
		const gchar* dir;
		const gchar* _tmp4_;
		const gchar* _tmp5_ = NULL;
		gchar* _tmp6_ = NULL;
		gchar* ud_input;
		const gchar* _tmp20_;
#line 644 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		dir = NULL;
#line 647 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = input;
#line 647 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = g_utf8_next_char (_tmp4_);
#line 647 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp6_ = g_strdup_printf ("G_USER_DIRECTORY_%s", _tmp5_);
#line 647 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		ud_input = _tmp6_;
#line 3545 "tracker-preferences.c"
		{
			gint i;
#line 649 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			i = 0;
#line 3550 "tracker-preferences.c"
			{
				gboolean _tmp7_;
#line 649 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp7_ = TRUE;
#line 649 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				while (TRUE) {
#line 3557 "tracker-preferences.c"
					gboolean _tmp8_;
					gboolean _tmp10_ = FALSE;
					gint _tmp11_;
					gboolean _tmp13_;
					gint _tmp14_;
					GUserDirectory ud;
					const gchar* _tmp15_;
					GUserDirectory _tmp16_;
					const gchar* _tmp17_ = NULL;
#line 649 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp8_ = _tmp7_;
#line 649 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					if (!_tmp8_) {
#line 3571 "tracker-preferences.c"
						gint _tmp9_;
#line 649 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp9_ = i;
#line 649 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						i = _tmp9_ + 1;
#line 3577 "tracker-preferences.c"
					}
#line 649 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp7_ = FALSE;
#line 649 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp11_ = i;
#line 649 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					if (_tmp11_ < ((gint) G_USER_N_DIRECTORIES)) {
#line 3585 "tracker-preferences.c"
						const gchar* _tmp12_;
#line 649 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp12_ = dir;
#line 649 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp10_ = _tmp12_ == NULL;
#line 3591 "tracker-preferences.c"
					} else {
#line 649 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp10_ = FALSE;
#line 3595 "tracker-preferences.c"
					}
#line 649 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp13_ = _tmp10_;
#line 649 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					if (!_tmp13_) {
#line 649 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 3603 "tracker-preferences.c"
					}
#line 650 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp14_ = i;
#line 650 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					ud = (GUserDirectory) _tmp14_;
#line 652 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp15_ = ud_input;
#line 652 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp16_ = ud;
#line 652 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp17_ = _g_user_directory_to_string (_tmp16_);
#line 652 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					if (g_strcmp0 (_tmp15_, _tmp17_) == 0) {
#line 3617 "tracker-preferences.c"
						GUserDirectory _tmp18_;
						const gchar* _tmp19_ = NULL;
#line 653 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp18_ = ud;
#line 653 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp19_ = g_get_user_special_dir (_tmp18_);
#line 653 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						dir = _tmp19_;
#line 3626 "tracker-preferences.c"
					}
				}
			}
		}
#line 659 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp20_ = dir;
#line 659 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_tmp20_ != NULL) {
#line 3635 "tracker-preferences.c"
			const gchar* _tmp21_;
			gchar* _tmp22_;
#line 660 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp21_ = dir;
#line 660 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp22_ = g_strdup (_tmp21_);
#line 660 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_free0 (output);
#line 660 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			output = _tmp22_;
#line 3646 "tracker-preferences.c"
		}
#line 643 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (ud_input);
#line 3650 "tracker-preferences.c"
	} else {
		const gchar* _tmp23_;
		gboolean _tmp24_ = FALSE;
#line 661 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp23_ = input;
#line 661 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp24_ = g_str_has_prefix (_tmp23_, "$");
#line 661 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_tmp24_) {
#line 3660 "tracker-preferences.c"
			const gchar* _tmp25_;
			gchar* _tmp26_ = NULL;
			gchar* _tmp27_;
			const gchar* _tmp28_ = NULL;
			const gchar* _tmp29_;
			const gchar* env;
			const gchar* _tmp30_;
#line 662 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp25_ = input;
#line 662 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp26_ = string_substring (_tmp25_, (glong) 1, (glong) (-1));
#line 662 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp27_ = _tmp26_;
#line 662 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp28_ = g_getenv (_tmp27_);
#line 662 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp29_ = _tmp28_;
#line 662 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_free0 (_tmp27_);
#line 662 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			env = _tmp29_;
#line 666 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp30_ = env;
#line 666 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (_tmp30_ != NULL) {
#line 3686 "tracker-preferences.c"
				const gchar* _tmp31_;
				gchar* _tmp32_;
#line 667 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp31_ = env;
#line 667 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp32_ = g_strdup (_tmp31_);
#line 667 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (output);
#line 667 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				output = _tmp32_;
#line 3697 "tracker-preferences.c"
			}
		}
	}
#line 670 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = output;
#line 670 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 3705 "tracker-preferences.c"
}


static void _vala_array_add2 (gchar*** array, int* length, int* size, gchar* value) {
#line 697 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if ((*length) == (*size)) {
#line 697 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 697 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		*array = g_renew (gchar*, *array, (*size) + 1);
#line 3716 "tracker-preferences.c"
	}
#line 697 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	(*array)[(*length)++] = value;
#line 697 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	(*array)[*length] = NULL;
#line 3722 "tracker-preferences.c"
}


static gchar** tracker_preferences_model_to_strv (TrackerPreferences* self, GtkListStore* model, gboolean recurse_required, gboolean recurse_value, int* result_length1) {
	gchar** result = NULL;
	gchar** _tmp0_ = NULL;
	gchar** list;
	gint list_length1;
	gint _list_size_;
	GtkTreeIter iter = {0};
	gboolean valid = FALSE;
	gchar** _tmp23_;
	gint _tmp23__length1;
#line 673 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 673 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (model != NULL, NULL);
#line 674 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = g_new0 (gchar*, 0 + 1);
#line 674 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	list = _tmp0_;
#line 674 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	list_length1 = 0;
#line 674 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_list_size_ = list_length1;
#line 3748 "tracker-preferences.c"
	{
		GtkListStore* _tmp1_;
		GtkTreeIter _tmp2_ = {0};
		gboolean _tmp3_ = FALSE;
		gboolean _tmp4_;
#line 678 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp1_ = model;
#line 678 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp3_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp1_, &_tmp2_);
#line 678 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		iter = _tmp2_;
#line 678 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		valid = _tmp3_;
#line 678 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = TRUE;
#line 678 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		while (TRUE) {
#line 3766 "tracker-preferences.c"
			gboolean _tmp5_;
			gboolean _tmp8_;
			GValue value = {0};
			GtkListStore* _tmp9_;
			GtkTreeIter _tmp10_;
			GValue _tmp11_ = {0};
			gboolean _tmp12_;
			const gchar* _tmp18_ = NULL;
			gchar* _tmp19_ = NULL;
			gchar* dir;
			gchar** _tmp20_;
			gint _tmp20__length1;
			const gchar* _tmp21_;
			gchar* _tmp22_;
#line 678 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp5_ = _tmp4_;
#line 678 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!_tmp5_) {
#line 3785 "tracker-preferences.c"
				GtkListStore* _tmp6_;
				gboolean _tmp7_ = FALSE;
#line 680 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp6_ = model;
#line 680 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp7_ = gtk_tree_model_iter_next ((GtkTreeModel*) _tmp6_, &iter);
#line 680 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				valid = _tmp7_;
#line 3794 "tracker-preferences.c"
			}
#line 678 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp4_ = FALSE;
#line 679 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp8_ = valid;
#line 679 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!_tmp8_) {
#line 679 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				break;
#line 3804 "tracker-preferences.c"
			}
#line 683 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp9_ = model;
#line 683 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp10_ = iter;
#line 683 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_tree_model_get_value ((GtkTreeModel*) _tmp9_, &_tmp10_, 0, &_tmp11_);
#line 683 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 683 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			value = _tmp11_;
#line 685 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp12_ = recurse_required;
#line 685 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (_tmp12_) {
#line 3820 "tracker-preferences.c"
				GValue recurse = {0};
				GtkListStore* _tmp13_;
				GtkTreeIter _tmp14_;
				GValue _tmp15_ = {0};
				gboolean _tmp16_;
				gboolean _tmp17_ = FALSE;
#line 688 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp13_ = model;
#line 688 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp14_ = iter;
#line 688 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_tree_model_get_value ((GtkTreeModel*) _tmp13_, &_tmp14_, 1, &_tmp15_);
#line 688 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				G_IS_VALUE (&recurse) ? (g_value_unset (&recurse), NULL) : NULL;
#line 688 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				recurse = _tmp15_;
#line 690 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp16_ = recurse_value;
#line 690 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp17_ = g_value_get_boolean (&recurse);
#line 690 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (_tmp16_ != _tmp17_) {
#line 691 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					G_IS_VALUE (&recurse) ? (g_value_unset (&recurse), NULL) : NULL;
#line 691 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 691 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					continue;
#line 3849 "tracker-preferences.c"
				}
#line 685 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				G_IS_VALUE (&recurse) ? (g_value_unset (&recurse), NULL) : NULL;
#line 3853 "tracker-preferences.c"
			}
#line 696 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp18_ = g_value_get_string (&value);
#line 696 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp19_ = tracker_preferences_dir_to_config (self, _tmp18_);
#line 696 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			dir = _tmp19_;
#line 697 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp20_ = list;
#line 697 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp20__length1 = list_length1;
#line 697 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp21_ = dir;
#line 697 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp22_ = g_strdup (_tmp21_);
#line 697 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_vala_array_add2 (&list, &list_length1, &_list_size_, _tmp22_);
#line 678 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_free0 (dir);
#line 678 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 3875 "tracker-preferences.c"
		}
	}
#line 700 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp23_ = list;
#line 700 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp23__length1 = list_length1;
#line 700 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (result_length1) {
#line 700 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		*result_length1 = _tmp23__length1;
#line 3886 "tracker-preferences.c"
	}
#line 700 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = _tmp23_;
#line 700 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 3892 "tracker-preferences.c"
}


gboolean tracker_preferences_model_contains (TrackerPreferences* self, GtkTreeModel* model, const gchar* needle) {
	gboolean result = FALSE;
	GtkTreeIter iter = {0};
	gchar* needle_evaluated = NULL;
	gboolean valid = FALSE;
	const gchar* _tmp0_;
	gchar* _tmp1_ = NULL;
#line 703 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 703 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (model != NULL, FALSE);
#line 703 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (needle != NULL, FALSE);
#line 708 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = needle;
#line 708 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = tracker_preferences_dir_from_config (self, _tmp0_);
#line 708 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_free0 (needle_evaluated);
#line 708 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	needle_evaluated = _tmp1_;
#line 3917 "tracker-preferences.c"
	{
		GtkTreeModel* _tmp2_;
		GtkTreeIter _tmp3_ = {0};
		gboolean _tmp4_ = FALSE;
		gboolean _tmp5_;
#line 710 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = model;
#line 710 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = gtk_tree_model_get_iter_first (_tmp2_, &_tmp3_);
#line 710 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		iter = _tmp3_;
#line 710 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		valid = _tmp4_;
#line 710 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = TRUE;
#line 710 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		while (TRUE) {
#line 3935 "tracker-preferences.c"
			gboolean _tmp6_;
			gboolean _tmp9_;
			GValue value = {0};
			GtkTreeModel* _tmp10_;
			GtkTreeIter _tmp11_;
			GValue _tmp12_ = {0};
			const gchar* _tmp13_ = NULL;
			const gchar* _tmp14_;
#line 710 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp6_ = _tmp5_;
#line 710 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!_tmp6_) {
#line 3948 "tracker-preferences.c"
				GtkTreeModel* _tmp7_;
				gboolean _tmp8_ = FALSE;
#line 712 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp7_ = model;
#line 712 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp8_ = gtk_tree_model_iter_next (_tmp7_, &iter);
#line 712 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				valid = _tmp8_;
#line 3957 "tracker-preferences.c"
			}
#line 710 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp5_ = FALSE;
#line 711 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp9_ = valid;
#line 711 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!_tmp9_) {
#line 711 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				break;
#line 3967 "tracker-preferences.c"
			}
#line 715 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp10_ = model;
#line 715 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp11_ = iter;
#line 715 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_tree_model_get_value (_tmp10_, &_tmp11_, 0, &_tmp12_);
#line 715 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 715 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			value = _tmp12_;
#line 717 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp13_ = g_value_get_string (&value);
#line 717 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp14_ = needle_evaluated;
#line 717 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (g_strcmp0 (_tmp13_, _tmp14_) == 0) {
#line 718 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				result = TRUE;
#line 718 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 718 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (needle_evaluated);
#line 718 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				return result;
#line 3993 "tracker-preferences.c"
			}
#line 710 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 3997 "tracker-preferences.c"
		}
	}
#line 722 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = FALSE;
#line 722 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_free0 (needle_evaluated);
#line 722 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 4006 "tracker-preferences.c"
}


static void tracker_preferences_model_populate (TrackerPreferences* self, GtkListStore* model, gchar** list, int list_length1, gboolean have_recurse, gboolean recurse) {
	gint position;
	gchar** _tmp0_;
	gint _tmp0__length1;
	GError * _inner_error_ = NULL;
#line 725 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 725 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (model != NULL);
#line 726 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	position = 0;
#line 728 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = list;
#line 728 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0__length1 = list_length1;
#line 4025 "tracker-preferences.c"
	{
		gchar** s_collection = NULL;
		gint s_collection_length1 = 0;
		gint _s_collection_size_ = 0;
		gint s_it = 0;
#line 728 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		s_collection = _tmp0_;
#line 728 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		s_collection_length1 = _tmp0__length1;
#line 728 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		for (s_it = 0; s_it < _tmp0__length1; s_it = s_it + 1) {
#line 4037 "tracker-preferences.c"
			gchar* _tmp1_;
			gchar* s = NULL;
#line 728 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp1_ = g_strdup (s_collection[s_it]);
#line 728 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			s = _tmp1_;
#line 4044 "tracker-preferences.c"
			{
				gboolean ignore;
				GUserDirectory* _tmp2_;
				gint _tmp2__length1;
				gboolean _tmp15_;
				const gchar* _tmp17_;
				gchar* _tmp18_ = NULL;
				gchar* str;
#line 730 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				ignore = FALSE;
#line 733 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp2_ = self->priv->ignored_user_directories;
#line 733 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp2__length1 = self->priv->ignored_user_directories_length1;
#line 4059 "tracker-preferences.c"
				{
					GUserDirectory* ud_collection = NULL;
					gint ud_collection_length1 = 0;
					gint _ud_collection_size_ = 0;
					gint ud_it = 0;
#line 733 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					ud_collection = _tmp2_;
#line 733 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					ud_collection_length1 = _tmp2__length1;
#line 733 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					for (ud_it = 0; ud_it < _tmp2__length1; ud_it = ud_it + 1) {
#line 4071 "tracker-preferences.c"
						GUserDirectory ud = 0;
#line 733 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						ud = ud_collection[ud_it];
#line 4075 "tracker-preferences.c"
						{
							GUserDirectory _tmp3_;
							const gchar* _tmp4_ = NULL;
							gchar* _tmp5_;
							gchar* ud_string;
							const gchar* _tmp6_;
							const gchar* _tmp7_;
							gint _tmp8_ = 0;
							gchar* _tmp9_ = NULL;
							gchar* _tmp10_;
							gchar* _tmp11_ = NULL;
							gchar* _tmp12_;
							gchar* output;
							const gchar* _tmp13_;
							const gchar* _tmp14_;
#line 734 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp3_ = ud;
#line 734 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp4_ = _g_user_directory_to_string (_tmp3_);
#line 734 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp5_ = g_strdup (_tmp4_);
#line 734 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							ud_string = _tmp5_;
#line 735 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp6_ = ud_string;
#line 735 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp7_ = ud_string;
#line 735 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp8_ = string_last_index_of_char (_tmp7_, (gunichar) '_', 0);
#line 735 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp9_ = string_substring (_tmp6_, (glong) (_tmp8_ + 1), (glong) (-1));
#line 735 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp10_ = _tmp9_;
#line 735 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp11_ = g_strdup_printf ("&%s", _tmp10_);
#line 735 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp12_ = _tmp11_;
#line 735 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							_g_free0 (_tmp10_);
#line 735 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							output = _tmp12_;
#line 737 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp13_ = s;
#line 737 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp14_ = output;
#line 737 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							if (g_strcmp0 (_tmp13_, _tmp14_) == 0) {
#line 738 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
								ignore = TRUE;
#line 739 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
								_g_free0 (output);
#line 739 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
								_g_free0 (ud_string);
#line 739 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
								break;
#line 4131 "tracker-preferences.c"
							}
#line 733 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							_g_free0 (output);
#line 733 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							_g_free0 (ud_string);
#line 4137 "tracker-preferences.c"
						}
					}
				}
#line 743 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp15_ = ignore;
#line 743 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (_tmp15_) {
#line 4145 "tracker-preferences.c"
					const gchar* _tmp16_;
#line 744 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp16_ = s;
#line 744 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					g_debug ("tracker-preferences.vala:744: Ignoring '%s' (duplicates other entries " \
"in config)", _tmp16_);
#line 745 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (s);
#line 745 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					continue;
#line 4155 "tracker-preferences.c"
				}
#line 748 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp17_ = s;
#line 748 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp18_ = tracker_preferences_dir_from_config (self, _tmp17_);
#line 748 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				str = _tmp18_;
#line 4163 "tracker-preferences.c"
				{
					gboolean _tmp19_;
#line 751 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp19_ = have_recurse;
#line 751 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					if (_tmp19_) {
#line 4170 "tracker-preferences.c"
						const gchar* _tmp20_;
						gchar* _tmp21_ = NULL;
						gchar* _tmp22_;
						GtkListStore* _tmp23_;
						gint _tmp24_;
						gchar* _tmp25_;
						gboolean _tmp26_;
#line 755 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp20_ = str;
#line 755 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp21_ = g_filename_to_utf8 (_tmp20_, (gssize) (-1), NULL, NULL, &_inner_error_);
#line 755 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp22_ = _tmp21_;
#line 755 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						if (_inner_error_ != NULL) {
#line 755 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							if (_inner_error_->domain == G_CONVERT_ERROR) {
#line 4188 "tracker-preferences.c"
								goto __catch2_g_convert_error;
							}
#line 755 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							_g_free0 (str);
#line 755 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							_g_free0 (s);
#line 755 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 755 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							g_clear_error (&_inner_error_);
#line 755 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							return;
#line 4201 "tracker-preferences.c"
						}
#line 752 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp23_ = model;
#line 752 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp24_ = position;
#line 752 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						position = _tmp24_ + 1;
#line 752 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp25_ = _tmp22_;
#line 752 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp26_ = recurse;
#line 752 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_list_store_insert_with_values (_tmp23_, NULL, _tmp24_, 0, _tmp25_, 1, _tmp26_, -1, -1);
#line 752 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_g_free0 (_tmp25_);
#line 4217 "tracker-preferences.c"
					} else {
						const gchar* _tmp27_;
						gchar* _tmp28_ = NULL;
						gchar* _tmp29_;
						GtkListStore* _tmp30_;
						gint _tmp31_;
						gchar* _tmp32_;
#line 766 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp27_ = str;
#line 766 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp28_ = g_filename_to_utf8 (_tmp27_, (gssize) (-1), NULL, NULL, &_inner_error_);
#line 766 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp29_ = _tmp28_;
#line 766 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						if (_inner_error_ != NULL) {
#line 766 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							if (_inner_error_->domain == G_CONVERT_ERROR) {
#line 4235 "tracker-preferences.c"
								goto __catch2_g_convert_error;
							}
#line 766 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							_g_free0 (str);
#line 766 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							_g_free0 (s);
#line 766 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 766 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							g_clear_error (&_inner_error_);
#line 766 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							return;
#line 4248 "tracker-preferences.c"
						}
#line 763 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp30_ = model;
#line 763 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp31_ = position;
#line 763 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						position = _tmp31_ + 1;
#line 763 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp32_ = _tmp29_;
#line 763 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_list_store_insert_with_values (_tmp30_, NULL, _tmp31_, 0, _tmp32_, -1, -1);
#line 763 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_g_free0 (_tmp32_);
#line 4262 "tracker-preferences.c"
					}
				}
				goto __finally2;
				__catch2_g_convert_error:
				{
					GError* e = NULL;
					GError* _tmp33_;
					const gchar* _tmp34_;
#line 750 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					e = _inner_error_;
#line 750 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_inner_error_ = NULL;
#line 772 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp33_ = e;
#line 772 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp34_ = _tmp33_->message;
#line 772 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					g_print ("Could not convert filename to UTF8: %s", _tmp34_);
#line 750 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_error_free0 (e);
#line 4283 "tracker-preferences.c"
				}
				__finally2:
#line 750 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (_inner_error_ != NULL) {
#line 750 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (str);
#line 750 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (s);
#line 750 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 750 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					g_clear_error (&_inner_error_);
#line 750 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					return;
#line 4298 "tracker-preferences.c"
				}
#line 728 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (str);
#line 728 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (s);
#line 4304 "tracker-preferences.c"
			}
		}
	}
}


static Block1Data* block1_data_ref (Block1Data* _data1_) {
#line 793 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_atomic_int_inc (&_data1_->_ref_count_);
#line 793 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return _data1_;
#line 4316 "tracker-preferences.c"
}


static void block1_data_unref (void * _userdata_) {
	Block1Data* _data1_;
	_data1_ = (Block1Data*) _userdata_;
#line 793 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (g_atomic_int_dec_and_test (&_data1_->_ref_count_)) {
#line 4325 "tracker-preferences.c"
		TrackerPreferences * self;
#line 793 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		self = _data1_->self;
#line 793 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (_data1_->store);
#line 793 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tracker_preferences_unref0 (self);
#line 793 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_slice_free (Block1Data, _data1_);
#line 4335 "tracker-preferences.c"
	}
}


static void ___lambda4_ (Block1Data* _data1_, GtkCellRendererToggle* toggle, const gchar* path) {
	TrackerPreferences * self;
	const gchar* _tmp0_;
	GtkTreePath* _tmp1_;
	GtkTreePath* tree_path;
	GtkTreeIter iter = {0};
	GtkListStore* _tmp2_;
	GtkTreeIter _tmp3_ = {0};
	GtkListStore* _tmp4_;
	GtkTreeIter _tmp5_;
	GtkCellRendererToggle* _tmp6_;
	gboolean _tmp7_;
	gboolean _tmp8_;
#line 805 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self = _data1_->self;
#line 805 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (toggle != NULL);
#line 805 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (path != NULL);
#line 806 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = path;
#line 806 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = gtk_tree_path_new_from_string (_tmp0_);
#line 806 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tree_path = _tmp1_;
#line 809 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = _data1_->store;
#line 809 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_tree_model_get_iter ((GtkTreeModel*) _tmp2_, &_tmp3_, tree_path);
#line 809 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	iter = _tmp3_;
#line 810 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = _data1_->store;
#line 810 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = iter;
#line 810 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = toggle;
#line 810 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = gtk_cell_renderer_toggle_get_active (_tmp6_);
#line 810 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp8_ = _tmp7_;
#line 810 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_list_store_set (_tmp4_, &_tmp5_, 1, !_tmp8_, -1);
#line 805 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_gtk_tree_path_free0 (tree_path);
#line 4385 "tracker-preferences.c"
}


static void ____lambda4__gtk_cell_renderer_toggle_toggled (GtkCellRendererToggle* _sender, const gchar* path, gpointer self) {
#line 805 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	___lambda4_ (self, _sender, path);
#line 4392 "tracker-preferences.c"
}


static void tracker_preferences_treeview_setup (TrackerPreferences* self, GtkTreeView* view, const gchar* title, gboolean show_recurse_column, gboolean sort) {
	GtkTreeViewColumn* column = NULL;
	GtkTreeView* _tmp0_;
	GList* _tmp1_ = NULL;
	GList* columns;
	GList* _tmp2_;
	const gchar* _tmp6_;
	GtkCellRendererText* _tmp7_;
	GtkCellRendererText* _tmp8_;
	GtkTreeViewColumn* _tmp9_;
	GtkTreeViewColumn* _tmp10_;
	GtkTreeViewColumn* _tmp11_;
	GtkTreeView* _tmp12_;
	GtkTreeViewColumn* _tmp13_;
	gboolean _tmp14_;
	gboolean _tmp29_;
#line 777 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 777 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (view != NULL);
#line 777 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (title != NULL);
#line 779 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = view;
#line 779 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = gtk_tree_view_get_columns (_tmp0_);
#line 779 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	columns = _tmp1_;
#line 782 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = columns;
#line 4426 "tracker-preferences.c"
	{
		GList* c_collection = NULL;
		GList* c_it = NULL;
#line 782 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		c_collection = _tmp2_;
#line 782 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		for (c_it = c_collection; c_it != NULL; c_it = c_it->next) {
#line 4434 "tracker-preferences.c"
			GtkTreeViewColumn* _tmp3_;
			GtkTreeViewColumn* c = NULL;
#line 782 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp3_ = _g_object_ref0 ((GtkTreeViewColumn*) c_it->data);
#line 782 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			c = _tmp3_;
#line 4441 "tracker-preferences.c"
			{
				GtkTreeView* _tmp4_;
				GtkTreeViewColumn* _tmp5_;
#line 783 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp4_ = view;
#line 783 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp5_ = c;
#line 783 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_tree_view_remove_column (_tmp4_, _tmp5_);
#line 782 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_object_unref0 (c);
#line 4453 "tracker-preferences.c"
			}
		}
	}
#line 786 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = title;
#line 786 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = (GtkCellRendererText*) gtk_cell_renderer_text_new ();
#line 786 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp8_ = g_object_ref_sink (_tmp7_);
#line 786 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp9_ = gtk_tree_view_column_new_with_attributes (_tmp6_, (GtkCellRenderer*) _tmp8_, "text", 0, NULL, NULL);
#line 786 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp10_ = g_object_ref_sink (_tmp9_);
#line 786 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (column);
#line 786 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	column = _tmp10_;
#line 786 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (_tmp8_);
#line 790 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp11_ = column;
#line 790 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_tree_view_column_set_expand (_tmp11_, TRUE);
#line 791 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp12_ = view;
#line 791 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp13_ = column;
#line 791 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_tree_view_append_column (_tmp12_, _tmp13_);
#line 793 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp14_ = show_recurse_column;
#line 793 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp14_) {
#line 4487 "tracker-preferences.c"
		Block1Data* _data1_;
		GtkTreeView* _tmp15_;
		GtkTreeModel* _tmp16_ = NULL;
		GtkListStore* _tmp17_;
		GtkCellRendererToggle* _tmp18_;
		GtkCellRendererToggle* _tmp19_;
		GtkCellRendererToggle* cell;
		const gchar* _tmp20_ = NULL;
		GtkCellRendererToggle* _tmp21_;
		GtkTreeViewColumn* _tmp22_;
		GtkTreeViewColumn* _tmp23_;
		GtkTreeViewColumn* _tmp24_;
		GtkTreeViewColumn* _tmp25_;
		GtkTreeView* _tmp26_;
		GtkTreeViewColumn* _tmp27_;
		GtkCellRendererToggle* _tmp28_;
#line 793 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_data1_ = g_slice_new0 (Block1Data);
#line 793 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_data1_->_ref_count_ = 1;
#line 793 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_data1_->self = tracker_preferences_ref (self);
#line 794 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp15_ = view;
#line 794 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp16_ = gtk_tree_view_get_model (_tmp15_);
#line 794 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp17_ = _g_object_ref0 (GTK_IS_LIST_STORE (_tmp16_) ? ((GtkListStore*) _tmp16_) : NULL);
#line 794 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_data1_->store = _tmp17_;
#line 795 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp18_ = (GtkCellRendererToggle*) gtk_cell_renderer_toggle_new ();
#line 795 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp19_ = g_object_ref_sink (_tmp18_);
#line 795 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		cell = _tmp19_;
#line 797 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp20_ = _ ("Recurse");
#line 797 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp21_ = cell;
#line 797 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp22_ = gtk_tree_view_column_new_with_attributes (_tmp20_, (GtkCellRenderer*) _tmp21_, "active", 1, NULL, NULL);
#line 797 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp23_ = g_object_ref_sink (_tmp22_);
#line 797 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (column);
#line 797 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		column = _tmp23_;
#line 801 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp24_ = column;
#line 801 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_tree_view_column_set_expand (_tmp24_, FALSE);
#line 802 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp25_ = column;
#line 802 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_tree_view_column_set_fixed_width (_tmp25_, 50);
#line 803 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp26_ = view;
#line 803 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp27_ = column;
#line 803 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_tree_view_append_column (_tmp26_, _tmp27_);
#line 805 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp28_ = cell;
#line 805 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_signal_connect_data (_tmp28_, "toggled", (GCallback) ____lambda4__gtk_cell_renderer_toggle_toggled, block1_data_ref (_data1_), (GClosureNotify) block1_data_unref, 0);
#line 793 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (cell);
#line 793 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		block1_data_unref (_data1_);
#line 793 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_data1_ = NULL;
#line 4560 "tracker-preferences.c"
	}
#line 814 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp29_ = sort;
#line 814 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp29_) {
#line 4566 "tracker-preferences.c"
		GtkTreeView* _tmp30_;
		GtkTreeModel* _tmp31_ = NULL;
		GtkTreeSortable* _tmp32_;
		GtkTreeSortable* sortable;
		GtkTreeSortable* _tmp33_;
#line 815 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp30_ = view;
#line 815 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp31_ = gtk_tree_view_get_model (_tmp30_);
#line 815 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp32_ = _g_object_ref0 (GTK_IS_TREE_SORTABLE (_tmp31_) ? ((GtkTreeSortable*) _tmp31_) : NULL);
#line 815 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		sortable = _tmp32_;
#line 816 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp33_ = sortable;
#line 816 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_tree_sortable_set_sort_column_id (_tmp33_, 0, GTK_SORT_ASCENDING);
#line 814 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (sortable);
#line 4586 "tracker-preferences.c"
	}
#line 777 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_list_free0 (columns);
#line 777 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (column);
#line 4592 "tracker-preferences.c"
}


static void _vala_array_add3 (gchar*** array, int* length, int* size, gchar* value) {
#line 823 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if ((*length) == (*size)) {
#line 823 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 823 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		*array = g_renew (gchar*, *array, (*size) + 1);
#line 4603 "tracker-preferences.c"
	}
#line 823 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	(*array)[(*length)++] = value;
#line 823 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	(*array)[*length] = NULL;
#line 4609 "tracker-preferences.c"
}


static void _vala_array_add4 (GUserDirectory** array, int* length, int* size, GUserDirectory value) {
#line 844 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if ((*length) == (*size)) {
#line 844 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 844 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		*array = g_renew (GUserDirectory, *array, *size);
#line 4620 "tracker-preferences.c"
	}
#line 844 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	(*array)[(*length)++] = value;
#line 4624 "tracker-preferences.c"
}


static void _vala_array_add5 (gchar*** array, int* length, int* size, gchar* value) {
#line 859 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if ((*length) == (*size)) {
#line 859 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 859 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		*array = g_renew (gchar*, *array, (*size) + 1);
#line 4635 "tracker-preferences.c"
	}
#line 859 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	(*array)[(*length)++] = value;
#line 859 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	(*array)[*length] = NULL;
#line 4641 "tracker-preferences.c"
}


static void tracker_preferences_sanitize_user_dirs (TrackerPreferences* self) {
	gchar** all_dirs;
	gint all_dirs_length1;
	gint _all_dirs_size_;
	gchar** _tmp0_;
	gint _tmp0__length1;
	const gchar* _tmp1_;
	gchar* _tmp2_;
	GUserDirectory* _tmp24_;
	gint _tmp24__length1;
#line 820 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 821 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	all_dirs = NULL;
#line 821 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	all_dirs_length1 = 0;
#line 821 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_all_dirs_size_ = all_dirs_length1;
#line 823 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = all_dirs;
#line 823 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0__length1 = all_dirs_length1;
#line 823 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->HOME_STRING_EVALUATED;
#line 823 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 823 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_vala_array_add3 (&all_dirs, &all_dirs_length1, &_all_dirs_size_, _tmp2_);
#line 4673 "tracker-preferences.c"
	{
		gint i;
#line 825 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		i = 0;
#line 4678 "tracker-preferences.c"
		{
			gboolean _tmp3_;
#line 825 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp3_ = TRUE;
#line 825 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			while (TRUE) {
#line 4685 "tracker-preferences.c"
				gboolean _tmp4_;
				gint _tmp6_;
				gint _tmp7_;
				GUserDirectory ud;
				GUserDirectory _tmp8_;
				const gchar* _tmp9_ = NULL;
				gchar* _tmp10_;
				gchar* dir;
				const gchar* _tmp11_;
				gchar** _tmp12_;
				gint _tmp12__length1;
				gchar** _tmp21_;
				gint _tmp21__length1;
				const gchar* _tmp22_;
				gchar* _tmp23_;
#line 825 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp4_ = _tmp3_;
#line 825 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (!_tmp4_) {
#line 4705 "tracker-preferences.c"
					gint _tmp5_;
#line 825 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp5_ = i;
#line 825 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					i = _tmp5_ + 1;
#line 4711 "tracker-preferences.c"
				}
#line 825 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp3_ = FALSE;
#line 825 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp6_ = i;
#line 825 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (!(_tmp6_ < ((gint) G_USER_N_DIRECTORIES))) {
#line 825 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					break;
#line 4721 "tracker-preferences.c"
				}
#line 826 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp7_ = i;
#line 826 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				ud = (GUserDirectory) _tmp7_;
#line 828 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp8_ = ud;
#line 828 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp9_ = g_get_user_special_dir (_tmp8_);
#line 828 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp10_ = g_strdup (_tmp9_);
#line 828 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				dir = _tmp10_;
#line 829 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp11_ = dir;
#line 829 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (_tmp11_ == NULL) {
#line 830 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (dir);
#line 830 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					continue;
#line 4743 "tracker-preferences.c"
				}
#line 833 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp12_ = all_dirs;
#line 833 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp12__length1 = all_dirs_length1;
#line 4749 "tracker-preferences.c"
				{
					gchar** d_collection = NULL;
					gint d_collection_length1 = 0;
					gint _d_collection_size_ = 0;
					gint d_it = 0;
#line 833 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					d_collection = _tmp12_;
#line 833 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					d_collection_length1 = _tmp12__length1;
#line 833 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					for (d_it = 0; d_it < _tmp12__length1; d_it = d_it + 1) {
#line 4761 "tracker-preferences.c"
						gchar* _tmp13_;
						gchar* d = NULL;
#line 833 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp13_ = g_strdup (d_collection[d_it]);
#line 833 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						d = _tmp13_;
#line 4768 "tracker-preferences.c"
						{
							const gchar* _tmp14_;
							const gchar* _tmp15_;
#line 834 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp14_ = d;
#line 834 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp15_ = dir;
#line 834 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							if (g_strcmp0 (_tmp14_, _tmp15_) == 0) {
#line 4778 "tracker-preferences.c"
								const gchar* _tmp16_;
								GUserDirectory _tmp17_;
								GUserDirectory _tmp18_;
#line 835 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
								_tmp16_ = d;
#line 835 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
								_tmp17_ = ud;
#line 835 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
								g_debug ("tracker-preferences.vala:835: Directory '%s' duplicated in XDG dir %d", _tmp16_, (gint) _tmp17_);
#line 837 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
								_tmp18_ = ud;
#line 837 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
								switch (_tmp18_) {
#line 837 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
									case G_USER_DIRECTORY_DESKTOP:
#line 837 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
									case G_USER_DIRECTORY_DOCUMENTS:
#line 837 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
									case G_USER_DIRECTORY_DOWNLOAD:
#line 837 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
									case G_USER_DIRECTORY_MUSIC:
#line 837 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
									case G_USER_DIRECTORY_PICTURES:
#line 837 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
									case G_USER_DIRECTORY_VIDEOS:
#line 4804 "tracker-preferences.c"
									{
										GUserDirectory* _tmp19_;
										gint _tmp19__length1;
										GUserDirectory _tmp20_;
#line 844 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
										_tmp19_ = self->priv->ignored_user_directories;
#line 844 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
										_tmp19__length1 = self->priv->ignored_user_directories_length1;
#line 844 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
										_tmp20_ = ud;
#line 844 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
										_vala_array_add4 (&self->priv->ignored_user_directories, &self->priv->ignored_user_directories_length1, &self->priv->_ignored_user_directories_size_, _tmp20_);
#line 845 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
										break;
#line 4819 "tracker-preferences.c"
									}
									default:
									{
#line 850 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
										break;
#line 4825 "tracker-preferences.c"
									}
								}
#line 853 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
								_g_free0 (d);
#line 853 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
								break;
#line 4832 "tracker-preferences.c"
							}
#line 833 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
							_g_free0 (d);
#line 4836 "tracker-preferences.c"
						}
					}
				}
#line 859 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp21_ = all_dirs;
#line 859 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp21__length1 = all_dirs_length1;
#line 859 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp22_ = dir;
#line 859 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp23_ = g_strdup (_tmp22_);
#line 859 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_vala_array_add5 (&all_dirs, &all_dirs_length1, &_all_dirs_size_, _tmp23_);
#line 825 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (dir);
#line 4852 "tracker-preferences.c"
			}
		}
	}
#line 862 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp24_ = self->priv->ignored_user_directories;
#line 862 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp24__length1 = self->priv->ignored_user_directories_length1;
#line 4860 "tracker-preferences.c"
	{
		GUserDirectory* ud_collection = NULL;
		gint ud_collection_length1 = 0;
		gint _ud_collection_size_ = 0;
		gint ud_it = 0;
#line 862 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		ud_collection = _tmp24_;
#line 862 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		ud_collection_length1 = _tmp24__length1;
#line 862 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		for (ud_it = 0; ud_it < _tmp24__length1; ud_it = ud_it + 1) {
#line 4872 "tracker-preferences.c"
			GUserDirectory ud = 0;
#line 862 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			ud = ud_collection[ud_it];
#line 4876 "tracker-preferences.c"
			{
				GUserDirectory _tmp25_;
#line 863 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp25_ = ud;
#line 863 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
				switch (_tmp25_) {
#line 863 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_DESKTOP:
#line 4885 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp26_;
#line 865 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp26_ = self->priv->togglebutton_desktop;
#line 865 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_widget_set_sensitive ((GtkWidget*) _tmp26_, FALSE);
#line 866 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 4894 "tracker-preferences.c"
					}
#line 863 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_DOCUMENTS:
#line 4898 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp27_;
#line 868 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp27_ = self->priv->togglebutton_documents;
#line 868 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_widget_set_sensitive ((GtkWidget*) _tmp27_, FALSE);
#line 869 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 4907 "tracker-preferences.c"
					}
#line 863 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_DOWNLOAD:
#line 4911 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp28_;
#line 871 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp28_ = self->priv->togglebutton_download;
#line 871 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_widget_set_sensitive ((GtkWidget*) _tmp28_, FALSE);
#line 872 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 4920 "tracker-preferences.c"
					}
#line 863 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_MUSIC:
#line 4924 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp29_;
#line 874 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp29_ = self->priv->togglebutton_music;
#line 874 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_widget_set_sensitive ((GtkWidget*) _tmp29_, FALSE);
#line 875 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 4933 "tracker-preferences.c"
					}
#line 863 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_PICTURES:
#line 4937 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp30_;
#line 877 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp30_ = self->priv->togglebutton_pictures;
#line 877 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_widget_set_sensitive ((GtkWidget*) _tmp30_, FALSE);
#line 878 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 4946 "tracker-preferences.c"
					}
#line 863 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_VIDEOS:
#line 4950 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp31_;
#line 880 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp31_ = self->priv->togglebutton_videos;
#line 880 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_widget_set_sensitive ((GtkWidget*) _tmp31_, FALSE);
#line 881 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 4959 "tracker-preferences.c"
					}
					default:
					{
#line 883 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 4965 "tracker-preferences.c"
					}
				}
			}
		}
	}
#line 820 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	all_dirs = (_vala_array_free (all_dirs, all_dirs_length1, (GDestroyNotify) g_free), NULL);
#line 4973 "tracker-preferences.c"
}


static void tracker_value_preferences_init (GValue* value) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	value->data[0].v_pointer = NULL;
#line 4980 "tracker-preferences.c"
}


static void tracker_value_preferences_free_value (GValue* value) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (value->data[0].v_pointer) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		tracker_preferences_unref (value->data[0].v_pointer);
#line 4989 "tracker-preferences.c"
	}
}


static void tracker_value_preferences_copy_value (const GValue* src_value, GValue* dest_value) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (src_value->data[0].v_pointer) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		dest_value->data[0].v_pointer = tracker_preferences_ref (src_value->data[0].v_pointer);
#line 4999 "tracker-preferences.c"
	} else {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		dest_value->data[0].v_pointer = NULL;
#line 5003 "tracker-preferences.c"
	}
}


static gpointer tracker_value_preferences_peek_pointer (const GValue* value) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return value->data[0].v_pointer;
#line 5011 "tracker-preferences.c"
}


static gchar* tracker_value_preferences_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (collect_values[0].v_pointer) {
#line 5018 "tracker-preferences.c"
		TrackerPreferences* object;
		object = collect_values[0].v_pointer;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (object->parent_instance.g_class == NULL) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 5025 "tracker-preferences.c"
		} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
			return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 5029 "tracker-preferences.c"
		}
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		value->data[0].v_pointer = tracker_preferences_ref (object);
#line 5033 "tracker-preferences.c"
	} else {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		value->data[0].v_pointer = NULL;
#line 5037 "tracker-preferences.c"
	}
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return NULL;
#line 5041 "tracker-preferences.c"
}


static gchar* tracker_value_preferences_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
	TrackerPreferences** object_p;
	object_p = collect_values[0].v_pointer;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (!object_p) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
#line 5052 "tracker-preferences.c"
	}
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (!value->data[0].v_pointer) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		*object_p = NULL;
#line 5058 "tracker-preferences.c"
	} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		*object_p = value->data[0].v_pointer;
#line 5062 "tracker-preferences.c"
	} else {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		*object_p = tracker_preferences_ref (value->data[0].v_pointer);
#line 5066 "tracker-preferences.c"
	}
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return NULL;
#line 5070 "tracker-preferences.c"
}


GParamSpec* tracker_param_spec_preferences (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	TrackerParamSpecPreferences* spec;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (g_type_is_a (object_type, TRACKER_TYPE_PREFERENCES), NULL);
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	G_PARAM_SPEC (spec)->value_type = object_type;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return G_PARAM_SPEC (spec);
#line 5084 "tracker-preferences.c"
}


gpointer tracker_value_get_preferences (const GValue* value) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TRACKER_TYPE_PREFERENCES), NULL);
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return value->data[0].v_pointer;
#line 5093 "tracker-preferences.c"
}


void tracker_value_set_preferences (GValue* value, gpointer v_object) {
	TrackerPreferences* old;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TRACKER_TYPE_PREFERENCES));
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	old = value->data[0].v_pointer;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (v_object) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TRACKER_TYPE_PREFERENCES));
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		value->data[0].v_pointer = v_object;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		tracker_preferences_ref (value->data[0].v_pointer);
#line 5113 "tracker-preferences.c"
	} else {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		value->data[0].v_pointer = NULL;
#line 5117 "tracker-preferences.c"
	}
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (old) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		tracker_preferences_unref (old);
#line 5123 "tracker-preferences.c"
	}
}


void tracker_value_take_preferences (GValue* value, gpointer v_object) {
	TrackerPreferences* old;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TRACKER_TYPE_PREFERENCES));
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	old = value->data[0].v_pointer;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (v_object) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TRACKER_TYPE_PREFERENCES));
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		value->data[0].v_pointer = v_object;
#line 5142 "tracker-preferences.c"
	} else {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		value->data[0].v_pointer = NULL;
#line 5146 "tracker-preferences.c"
	}
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (old) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		tracker_preferences_unref (old);
#line 5152 "tracker-preferences.c"
	}
}


static void tracker_preferences_class_init (TrackerPreferencesClass * klass) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_parent_class = g_type_class_peek_parent (klass);
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	TRACKER_PREFERENCES_CLASS (klass)->finalize = tracker_preferences_finalize;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_type_class_add_private (klass, sizeof (TrackerPreferencesPrivate));
#line 5164 "tracker-preferences.c"
}


static void tracker_preferences_instance_init (TrackerPreferences * self) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv = TRACKER_PREFERENCES_GET_PRIVATE (self);
#line 32 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->settings_miner_fs = NULL;
#line 33 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->settings_extract = NULL;
#line 39 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->ignored_user_directories = NULL;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->ref_count = 1;
#line 5179 "tracker-preferences.c"
}


static void tracker_preferences_finalize (TrackerPreferences* obj) {
	TrackerPreferences * self;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self = TRACKER_PREFERENCES (obj);
#line 32 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->settings_miner_fs);
#line 33 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->settings_extract);
#line 37 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_free0 (self->priv->HOME_STRING_EVALUATED);
#line 39 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->ignored_user_directories = (g_free (self->priv->ignored_user_directories), NULL);
#line 41 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->window);
#line 42 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_enable_index_on_battery_first_time);
#line 43 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_enable_index_on_battery);
#line 44 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->spinbutton_delay);
#line 45 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_enable_monitoring);
#line 46 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_index_removable_media);
#line 47 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_index_optical_discs);
#line 48 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->hscale_disk_space_limit);
#line 49 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->radiobutton_sched_idle_always);
#line 50 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->radiobutton_sched_idle_first_index);
#line 51 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->radiobutton_sched_idle_never);
#line 52 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->hscale_drop_device_threshold);
#line 53 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_index);
#line 54 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_ignored_directories);
#line 55 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_ignored_files);
#line 56 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_ignored_directories_with_content);
#line 57 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_index);
#line 58 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_ignored_directories);
#line 59 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_ignored_directories_with_content);
#line 60 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_ignored_files);
#line 61 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeviewcolumn_index1);
#line 62 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeviewcolumn_index2);
#line 63 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_home);
#line 64 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_desktop);
#line 65 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_documents);
#line 66 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_music);
#line 67 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_pictures);
#line 68 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_videos);
#line 69 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_download);
#line 70 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->hbox_duplicate_warning);
#line 71 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->notebook);
#line 5257 "tracker-preferences.c"
}


GType tracker_preferences_get_type (void) {
	static volatile gsize tracker_preferences_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_preferences_type_id__volatile)) {
		static const GTypeValueTable g_define_type_value_table = { tracker_value_preferences_init, tracker_value_preferences_free_value, tracker_value_preferences_copy_value, tracker_value_preferences_peek_pointer, "p", tracker_value_preferences_collect_value, "p", tracker_value_preferences_lcopy_value };
		static const GTypeInfo g_define_type_info = { sizeof (TrackerPreferencesClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) tracker_preferences_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TrackerPreferences), 0, (GInstanceInitFunc) tracker_preferences_instance_init, &g_define_type_value_table };
		static const GTypeFundamentalInfo g_define_type_fundamental_info = { (G_TYPE_FLAG_CLASSED | G_TYPE_FLAG_INSTANTIATABLE | G_TYPE_FLAG_DERIVABLE | G_TYPE_FLAG_DEEP_DERIVABLE) };
		GType tracker_preferences_type_id;
		tracker_preferences_type_id = g_type_register_fundamental (g_type_fundamental_next (), "TrackerPreferences", &g_define_type_info, &g_define_type_fundamental_info, 0);
		g_once_init_leave (&tracker_preferences_type_id__volatile, tracker_preferences_type_id);
	}
	return tracker_preferences_type_id__volatile;
}


gpointer tracker_preferences_ref (gpointer instance) {
	TrackerPreferences* self;
	self = instance;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_atomic_int_inc (&self->ref_count);
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return instance;
#line 5282 "tracker-preferences.c"
}


void tracker_preferences_unref (gpointer instance) {
	TrackerPreferences* self;
	self = instance;
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (g_atomic_int_dec_and_test (&self->ref_count)) {
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		TRACKER_PREFERENCES_GET_CLASS (self)->finalize (self);
#line 31 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_type_free_instance ((GTypeInstance *) self);
#line 5295 "tracker-preferences.c"
	}
}


gint _vala_main (gchar** args, int args_length1) {
	gint result = 0;
	const gchar* _tmp0_ = NULL;
	GOptionContext* _tmp1_;
	GOptionContext* context;
	gboolean _tmp14_;
	TrackerPreferences* _tmp39_;
	TrackerPreferences* p;
	TrackerPreferences* _tmp40_;
	GError * _inner_error_ = NULL;
#line 903 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = _ ("Desktop Search preferences");
#line 903 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = g_option_context_new (_tmp0_);
#line 903 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	context = _tmp1_;
#line 5316 "tracker-preferences.c"
	{
		GOptionContext* _tmp2_;
		GOptionContext* _tmp3_;
		GOptionContext* _tmp4_;
		GOptionGroup* _tmp5_ = NULL;
		GOptionContext* _tmp6_;
#line 906 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = context;
#line 906 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_option_context_set_help_enabled (_tmp2_, TRUE);
#line 907 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp3_ = context;
#line 907 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_option_context_add_main_entries (_tmp3_, options, NULL);
#line 908 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = context;
#line 908 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = gtk_get_option_group (TRUE);
#line 908 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_option_context_add_group (_tmp4_, _tmp5_);
#line 909 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp6_ = context;
#line 909 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_option_context_parse (_tmp6_, &args_length1, &args, &_inner_error_);
#line 909 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_inner_error_ != NULL) {
#line 5343 "tracker-preferences.c"
			goto __catch3_g_error;
		}
	}
	goto __finally3;
	__catch3_g_error:
	{
		GError* e = NULL;
		GError* _tmp7_;
		const gchar* _tmp8_;
		gchar* _tmp9_;
		gchar* _tmp10_;
		GOptionContext* _tmp11_;
		gchar* _tmp12_ = NULL;
		gchar* _tmp13_;
#line 905 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		e = _inner_error_;
#line 905 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_inner_error_ = NULL;
#line 911 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp7_ = e;
#line 911 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp8_ = _tmp7_->message;
#line 911 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp9_ = g_strconcat (_tmp8_, "\n\n", NULL);
#line 911 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp10_ = _tmp9_;
#line 911 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_printerr ("%s", _tmp10_);
#line 911 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (_tmp10_);
#line 912 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp11_ = context;
#line 912 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp12_ = g_option_context_get_help (_tmp11_, TRUE, NULL);
#line 912 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp13_ = _tmp12_;
#line 912 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_printerr ("%s", _tmp13_);
#line 912 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (_tmp13_);
#line 913 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		result = 1;
#line 913 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_error_free0 (e);
#line 913 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_option_context_free0 (context);
#line 913 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return result;
#line 5392 "tracker-preferences.c"
	}
	__finally3:
#line 905 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_inner_error_ != NULL) {
#line 905 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_option_context_free0 (context);
#line 905 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 905 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_clear_error (&_inner_error_);
#line 905 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return 0;
#line 5405 "tracker-preferences.c"
	}
#line 916 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp14_ = print_version;
#line 916 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp14_) {
#line 5411 "tracker-preferences.c"
		gchar* _tmp15_;
		gchar* about;
		gchar* _tmp16_;
		gchar* license;
		const gchar* _tmp17_;
		gchar* _tmp18_;
		const gchar* _tmp19_;
		gchar* _tmp20_;
		const gchar* _tmp21_;
		gchar* _tmp22_;
		const gchar* _tmp23_;
		gchar* _tmp24_;
		const gchar* _tmp25_;
		gchar* _tmp26_;
		const gchar* _tmp27_;
		gchar* _tmp28_;
		const gchar* _tmp29_;
		gchar* _tmp30_;
		gchar* _tmp31_;
		gchar* _tmp32_;
		gchar* _tmp33_;
		const gchar* _tmp34_;
		gchar* _tmp35_;
		gchar* _tmp36_;
		gchar* _tmp37_;
		gchar* _tmp38_;
#line 917 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp15_ = g_strdup ("");
#line 917 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		about = _tmp15_;
#line 918 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp16_ = g_strdup ("");
#line 918 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		license = _tmp16_;
#line 920 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp17_ = about;
#line 920 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp18_ = g_strconcat (_tmp17_, "Tracker " PACKAGE_VERSION "\n", NULL);
#line 920 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (about);
#line 920 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		about = _tmp18_;
#line 922 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp19_ = license;
#line 922 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp20_ = g_strconcat (_tmp19_, "This program is free software and comes without any warranty.\n", NULL);
#line 922 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (license);
#line 922 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		license = _tmp20_;
#line 923 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp21_ = license;
#line 923 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp22_ = g_strconcat (_tmp21_, "It is licensed under version 2 or later of the General Public ", NULL);
#line 923 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (license);
#line 923 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		license = _tmp22_;
#line 924 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp23_ = license;
#line 924 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp24_ = g_strconcat (_tmp23_, "License which can be viewed at:\n", NULL);
#line 924 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (license);
#line 924 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		license = _tmp24_;
#line 925 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp25_ = license;
#line 925 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp26_ = g_strconcat (_tmp25_, "\n", NULL);
#line 925 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (license);
#line 925 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		license = _tmp26_;
#line 926 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp27_ = license;
#line 926 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp28_ = g_strconcat (_tmp27_, "  http://www.gnu.org/licenses/gpl.txt\n", NULL);
#line 926 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (license);
#line 926 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		license = _tmp28_;
#line 928 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp29_ = about;
#line 928 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp30_ = g_strconcat ("\n", _tmp29_, NULL);
#line 928 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp31_ = _tmp30_;
#line 928 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp32_ = g_strconcat (_tmp31_, "\n", NULL);
#line 928 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp33_ = _tmp32_;
#line 928 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp34_ = license;
#line 928 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp35_ = g_strconcat (_tmp33_, _tmp34_, NULL);
#line 928 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp36_ = _tmp35_;
#line 928 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp37_ = g_strconcat (_tmp36_, "\n", NULL);
#line 928 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp38_ = _tmp37_;
#line 928 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_print ("%s", _tmp38_);
#line 928 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (_tmp38_);
#line 928 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (_tmp36_);
#line 928 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (_tmp33_);
#line 928 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (_tmp31_);
#line 929 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		result = 0;
#line 929 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (license);
#line 929 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (about);
#line 929 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_option_context_free0 (context);
#line 929 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
		return result;
#line 5534 "tracker-preferences.c"
	}
#line 932 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_init (&args_length1, &args);
#line 934 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
#line 935 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
#line 936 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	textdomain (GETTEXT_PACKAGE);
#line 938 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp39_ = tracker_preferences_new ();
#line 938 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	p = _tmp39_;
#line 939 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp40_ = p;
#line 939 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_show (_tmp40_);
#line 941 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_main ();
#line 943 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = 0;
#line 943 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tracker_preferences_unref0 (p);
#line 943 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_option_context_free0 (context);
#line 943 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 5562 "tracker-preferences.c"
}


int main (int argc, char ** argv) {
#line 902 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_type_init ();
#line 902 "/home/martyn/Source/tracker/src/tracker-preferences/tracker-preferences.vala"
	return _vala_main (argv, argc);
#line 5571 "tracker-preferences.c"
}


static void _vala_array_destroy (gpointer array, gint array_length, GDestroyNotify destroy_func) {
	if ((array != NULL) && (destroy_func != NULL)) {
		int i;
		for (i = 0; i < array_length; i = i + 1) {
			if (((gpointer*) array)[i] != NULL) {
				destroy_func (((gpointer*) array)[i]);
			}
		}
	}
}


static void _vala_array_free (gpointer array, gint array_length, GDestroyNotify destroy_func) {
	_vala_array_destroy (array, array_length, destroy_func);
	g_free (array);
}


static gint _vala_array_length (gpointer array) {
	int length;
	length = 0;
	if (array) {
		while (((gpointer*) array)[length]) {
			length++;
		}
	}
	return length;
}



