/* tracker-preferences.c generated by valac 0.24.0.36-e935, 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;
	GtkButton* button_reindex;
	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 __lambda3_ (TrackerPreferences* self, const gchar* key);
static void ___lambda3__g_settings_changed (GSettings* _sender, const gchar* key, gpointer self);
static void __lambda4_ (TrackerPreferences* self, const gchar* key);
static void ___lambda4__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);
void tracker_preferences_button_reindex_clicked_cb (GtkButton* 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 ___lambda5_ (Block1Data* _data1_, GtkCellRendererToggle* toggle, const gchar* path);
static void ____lambda5__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 __lambda3_ (TrackerPreferences* self, const gchar* key) {
	const gchar* _tmp0_ = NULL;
#line 83 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (key != NULL);
#line 84 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = key;
#line 84 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_print ("tracker-miner-fs: Key '%s' changed\n", _tmp0_);
#line 220 "tracker-preferences.c"
}


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


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


static void ___lambda4__g_settings_changed (GSettings* _sender, const gchar* key, gpointer self) {
#line 87 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	__lambda4_ ((TrackerPreferences*) self, key);
#line 246 "tracker-preferences.c"
}


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


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


static gpointer _g_object_ref0 (gpointer self) {
#line 116 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return self ? g_object_ref (self) : NULL;
#line 303 "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/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_connect_signals (builder, object, signal_name, handler_name, connect_object, flags, (TrackerPreferences*) self);
#line 310 "tracker-preferences.c"
}


void tracker_preferences_setup_ui (TrackerPreferences* self) {
	GtkBuilder* builder = NULL;
	GtkBuilder* _tmp0_ = NULL;
	GObject* _tmp5_ = NULL;
	GtkWindow* _tmp6_ = NULL;
	GObject* _tmp7_ = NULL;
	GtkNotebook* _tmp8_ = NULL;
	GObject* _tmp9_ = NULL;
	GtkCheckButton* _tmp10_ = NULL;
	GObject* _tmp11_ = NULL;
	GtkCheckButton* _tmp12_ = NULL;
	GObject* _tmp13_ = NULL;
	GtkCheckButton* _tmp14_ = NULL;
	GObject* _tmp15_ = NULL;
	GtkSpinButton* _tmp16_ = NULL;
	GObject* _tmp17_ = NULL;
	GtkCheckButton* _tmp18_ = NULL;
	GObject* _tmp19_ = NULL;
	GtkCheckButton* _tmp20_ = NULL;
	GtkCheckButton* _tmp21_ = NULL;
	GtkCheckButton* _tmp22_ = NULL;
	gboolean _tmp23_ = FALSE;
	gboolean _tmp24_ = FALSE;
	GObject* _tmp25_ = NULL;
	GtkScale* _tmp26_ = NULL;
	GObject* _tmp27_ = NULL;
	GtkRadioButton* _tmp28_ = NULL;
	GObject* _tmp29_ = NULL;
	GtkRadioButton* _tmp30_ = NULL;
	GObject* _tmp31_ = NULL;
	GtkRadioButton* _tmp32_ = NULL;
	GObject* _tmp33_ = NULL;
	GtkScale* _tmp34_ = NULL;
	GObject* _tmp35_ = NULL;
	GtkToggleButton* _tmp36_ = NULL;
	GObject* _tmp37_ = NULL;
	GtkToggleButton* _tmp38_ = NULL;
	GObject* _tmp39_ = NULL;
	GtkToggleButton* _tmp40_ = NULL;
	GObject* _tmp41_ = NULL;
	GtkToggleButton* _tmp42_ = NULL;
	GObject* _tmp43_ = NULL;
	GtkToggleButton* _tmp44_ = NULL;
	GObject* _tmp45_ = NULL;
	GtkToggleButton* _tmp46_ = NULL;
	GObject* _tmp47_ = NULL;
	GtkToggleButton* _tmp48_ = NULL;
	GObject* _tmp49_ = NULL;
	GtkHBox* _tmp50_ = NULL;
	GObject* _tmp51_ = NULL;
	GtkButton* _tmp52_ = NULL;
	GObject* _tmp53_ = NULL;
	GtkTreeView* _tmp54_ = NULL;
	GObject* _tmp55_ = NULL;
	GtkTreeViewColumn* _tmp56_ = NULL;
	GObject* _tmp57_ = NULL;
	GtkTreeViewColumn* _tmp58_ = NULL;
	GObject* _tmp59_ = NULL;
	GtkTreeView* _tmp60_ = NULL;
	GObject* _tmp61_ = NULL;
	GtkTreeView* _tmp62_ = NULL;
	GObject* _tmp63_ = NULL;
	GtkTreeView* _tmp64_ = NULL;
	GtkTreeView* _tmp65_ = NULL;
	const gchar* _tmp66_ = NULL;
	GtkTreeView* _tmp67_ = NULL;
	const gchar* _tmp68_ = NULL;
	GtkTreeView* _tmp69_ = NULL;
	const gchar* _tmp70_ = NULL;
	GtkTreeView* _tmp71_ = NULL;
	const gchar* _tmp72_ = NULL;
	GObject* _tmp73_ = NULL;
	GtkListStore* _tmp74_ = NULL;
	GtkListStore* _tmp75_ = NULL;
	GObject* _tmp76_ = NULL;
	GtkListStore* _tmp77_ = NULL;
	GObject* _tmp78_ = NULL;
	GtkListStore* _tmp79_ = NULL;
	GObject* _tmp80_ = NULL;
	GtkListStore* _tmp81_ = NULL;
	GtkCheckButton* _tmp82_ = NULL;
	GSettings* _tmp83_ = NULL;
	gboolean _tmp84_ = FALSE;
	GtkCheckButton* _tmp85_ = NULL;
	GtkCheckButton* _tmp86_ = NULL;
	gboolean _tmp87_ = FALSE;
	gboolean _tmp88_ = FALSE;
	GtkCheckButton* _tmp89_ = NULL;
	GSettings* _tmp90_ = NULL;
	gboolean _tmp91_ = FALSE;
	GtkSpinButton* _tmp92_ = NULL;
	GtkSpinButton* _tmp93_ = NULL;
	GSettings* _tmp94_ = NULL;
	gint _tmp95_ = 0;
	GtkCheckButton* _tmp96_ = NULL;
	GSettings* _tmp97_ = NULL;
	gboolean _tmp98_ = FALSE;
	GtkCheckButton* _tmp99_ = NULL;
	GSettings* _tmp100_ = NULL;
	gboolean _tmp101_ = FALSE;
	GtkCheckButton* _tmp102_ = NULL;
	GtkCheckButton* _tmp103_ = NULL;
	gboolean _tmp104_ = FALSE;
	gboolean _tmp105_ = FALSE;
	GtkCheckButton* _tmp106_ = NULL;
	GSettings* _tmp107_ = NULL;
	gboolean _tmp108_ = FALSE;
	GtkScale* _tmp109_ = NULL;
	GSettings* _tmp110_ = NULL;
	gint _tmp111_ = 0;
	GtkScale* _tmp112_ = NULL;
	GSettings* _tmp113_ = NULL;
	gint _tmp114_ = 0;
	gint sched_idle = 0;
	GSettings* _tmp115_ = NULL;
	gint _tmp116_ = 0;
	gint _tmp117_ = 0;
	GtkListStore* _tmp124_ = NULL;
	GSettings* _tmp125_ = NULL;
	gchar** _tmp126_ = NULL;
	gchar** _tmp127_ = NULL;
	gchar** _tmp128_ = NULL;
	gint _tmp128__length1 = 0;
	GtkListStore* _tmp129_ = NULL;
	GSettings* _tmp130_ = NULL;
	gchar** _tmp131_ = NULL;
	gchar** _tmp132_ = NULL;
	gchar** _tmp133_ = NULL;
	gint _tmp133__length1 = 0;
	GtkListStore* _tmp134_ = NULL;
	GSettings* _tmp135_ = NULL;
	gchar** _tmp136_ = NULL;
	gchar** _tmp137_ = NULL;
	gchar** _tmp138_ = NULL;
	gint _tmp138__length1 = 0;
	GtkListStore* _tmp139_ = NULL;
	GSettings* _tmp140_ = NULL;
	gchar** _tmp141_ = NULL;
	gchar** _tmp142_ = NULL;
	gchar** _tmp143_ = NULL;
	gint _tmp143__length1 = 0;
	GtkListStore* _tmp144_ = NULL;
	GSettings* _tmp145_ = NULL;
	gchar** _tmp146_ = NULL;
	gchar** _tmp147_ = NULL;
	gchar** _tmp148_ = NULL;
	gint _tmp148__length1 = 0;
	GUserDirectory* _tmp149_ = NULL;
	gint _tmp149__length1 = 0;
	GtkToggleButton* _tmp152_ = NULL;
	GtkListStore* _tmp153_ = NULL;
	const gchar* _tmp154_ = NULL;
	gboolean _tmp155_ = FALSE;
	GtkToggleButton* _tmp156_ = NULL;
	GtkListStore* _tmp157_ = NULL;
	gboolean _tmp158_ = FALSE;
	GtkToggleButton* _tmp159_ = NULL;
	GtkListStore* _tmp160_ = NULL;
	gboolean _tmp161_ = FALSE;
	GtkToggleButton* _tmp162_ = NULL;
	GtkListStore* _tmp163_ = NULL;
	gboolean _tmp164_ = FALSE;
	GtkToggleButton* _tmp165_ = NULL;
	GtkListStore* _tmp166_ = NULL;
	gboolean _tmp167_ = FALSE;
	GtkToggleButton* _tmp168_ = NULL;
	GtkListStore* _tmp169_ = NULL;
	gboolean _tmp170_ = FALSE;
	GtkToggleButton* _tmp171_ = NULL;
	GtkListStore* _tmp172_ = NULL;
	gboolean _tmp173_ = FALSE;
	GError * _inner_error_ = NULL;
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 93 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = gtk_builder_new ();
#line 93 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	builder = _tmp0_;
#line 492 "tracker-preferences.c"
	{
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_debug ("tracker-preferences.vala:96: Trying to use UI file:'%s'", SRCDIR TRACKER_PREFERENCES_UI_FILE);
#line 97 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_builder_add_from_file (builder, SRCDIR TRACKER_PREFERENCES_UI_FILE, &_inner_error_);
#line 97 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_inner_error_ != NULL) {
#line 500 "tracker-preferences.c"
			goto __catch0_g_error;
		}
	}
	goto __finally0;
	__catch0_g_error:
	{
		GError* e = NULL;
#line 95 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		e = _inner_error_;
#line 95 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_inner_error_ = NULL;
#line 512 "tracker-preferences.c"
		{
#line 101 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_debug ("tracker-preferences.vala:101: Trying to use UI file:'%s'", TRACKER_UI_DIR TRACKER_PREFERENCES_UI_FILE);
#line 102 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_builder_add_from_file (builder, TRACKER_UI_DIR TRACKER_PREFERENCES_UI_FILE, &_inner_error_);
#line 102 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (_inner_error_ != NULL) {
#line 520 "tracker-preferences.c"
				goto __catch1_g_error;
			}
		}
		goto __finally1;
		__catch1_g_error:
		{
			GError* e = NULL;
			GtkMessageDialog* msg = NULL;
			GError* _tmp1_ = NULL;
			const gchar* _tmp2_ = NULL;
			GtkMessageDialog* _tmp3_ = NULL;
			GtkMessageDialog* _tmp4_ = NULL;
#line 100 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			e = _inner_error_;
#line 100 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_inner_error_ = NULL;
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp1_ = e;
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp2_ = _tmp1_->message;
#line 104 "/home/martyn/Source/checkout/gnome/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 104 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_object_ref_sink (_tmp3_);
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			msg = _tmp3_;
#line 110 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp4_ = msg;
#line 110 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_dialog_run ((GtkDialog*) _tmp4_);
#line 111 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_main_quit ();
#line 100 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_object_unref0 (msg);
#line 100 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_error_free0 (e);
#line 557 "tracker-preferences.c"
		}
		__finally1:
#line 100 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_inner_error_ != NULL) {
#line 100 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_error_free0 (e);
#line 100 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_error_free0 (e);
#line 100 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_object_unref0 (builder);
#line 100 "/home/martyn/Source/checkout/gnome/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 100 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_clear_error (&_inner_error_);
#line 100 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			return;
#line 574 "tracker-preferences.c"
		}
#line 95 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_error_free0 (e);
#line 578 "tracker-preferences.c"
	}
	__finally0:
#line 95 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_inner_error_ != NULL) {
#line 95 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (builder);
#line 95 "/home/martyn/Source/checkout/gnome/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 95 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_clear_error (&_inner_error_);
#line 95 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		return;
#line 591 "tracker-preferences.c"
	}
#line 116 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = gtk_builder_get_object (builder, "tracker-preferences");
#line 116 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, GTK_TYPE_WINDOW) ? ((GtkWindow*) _tmp5_) : NULL);
#line 116 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->window);
#line 116 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->window = _tmp6_;
#line 117 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = gtk_builder_get_object (builder, "notebook");
#line 117 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp8_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp7_, GTK_TYPE_NOTEBOOK) ? ((GtkNotebook*) _tmp7_) : NULL);
#line 117 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->notebook);
#line 117 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->notebook = _tmp8_;
#line 119 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp9_ = gtk_builder_get_object (builder, "checkbutton_enable_monitoring");
#line 119 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp10_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp9_, GTK_TYPE_CHECK_BUTTON) ? ((GtkCheckButton*) _tmp9_) : NULL);
#line 119 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_enable_monitoring);
#line 119 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->checkbutton_enable_monitoring = _tmp10_;
#line 120 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp11_ = gtk_builder_get_object (builder, "checkbutton_enable_index_on_battery");
#line 120 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp12_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp11_, GTK_TYPE_CHECK_BUTTON) ? ((GtkCheckButton*) _tmp11_) : NULL);
#line 120 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_enable_index_on_battery);
#line 120 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->checkbutton_enable_index_on_battery = _tmp12_;
#line 121 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp13_ = gtk_builder_get_object (builder, "checkbutton_enable_index_on_battery_first_time");
#line 121 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp14_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp13_, GTK_TYPE_CHECK_BUTTON) ? ((GtkCheckButton*) _tmp13_) : NULL);
#line 121 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_enable_index_on_battery_first_time);
#line 121 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->checkbutton_enable_index_on_battery_first_time = _tmp14_;
#line 122 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp15_ = gtk_builder_get_object (builder, "spinbutton_delay");
#line 122 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp16_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp15_, GTK_TYPE_SPIN_BUTTON) ? ((GtkSpinButton*) _tmp15_) : NULL);
#line 122 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->spinbutton_delay);
#line 122 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->spinbutton_delay = _tmp16_;
#line 123 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp17_ = gtk_builder_get_object (builder, "checkbutton_index_removable_media");
#line 123 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp18_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp17_, GTK_TYPE_CHECK_BUTTON) ? ((GtkCheckButton*) _tmp17_) : NULL);
#line 123 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_index_removable_media);
#line 123 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->checkbutton_index_removable_media = _tmp18_;
#line 124 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp19_ = gtk_builder_get_object (builder, "checkbutton_index_optical_discs");
#line 124 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp20_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp19_, GTK_TYPE_CHECK_BUTTON) ? ((GtkCheckButton*) _tmp19_) : NULL);
#line 124 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_index_optical_discs);
#line 124 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->checkbutton_index_optical_discs = _tmp20_;
#line 125 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp21_ = self->priv->checkbutton_index_optical_discs;
#line 125 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp22_ = self->priv->checkbutton_index_removable_media;
#line 125 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp23_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp22_);
#line 125 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp24_ = _tmp23_;
#line 125 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp21_, _tmp24_);
#line 126 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp25_ = gtk_builder_get_object (builder, "hscale_disk_space_limit");
#line 126 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp26_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp25_, GTK_TYPE_SCALE) ? ((GtkScale*) _tmp25_) : NULL);
#line 126 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->hscale_disk_space_limit);
#line 126 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->hscale_disk_space_limit = _tmp26_;
#line 127 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp27_ = gtk_builder_get_object (builder, "radiobutton_sched_idle_always");
#line 127 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp28_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp27_, GTK_TYPE_RADIO_BUTTON) ? ((GtkRadioButton*) _tmp27_) : NULL);
#line 127 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->radiobutton_sched_idle_always);
#line 127 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->radiobutton_sched_idle_always = _tmp28_;
#line 128 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp29_ = gtk_builder_get_object (builder, "radiobutton_sched_idle_first_index");
#line 128 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp30_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp29_, GTK_TYPE_RADIO_BUTTON) ? ((GtkRadioButton*) _tmp29_) : NULL);
#line 128 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->radiobutton_sched_idle_first_index);
#line 128 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->radiobutton_sched_idle_first_index = _tmp30_;
#line 129 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp31_ = gtk_builder_get_object (builder, "radiobutton_sched_idle_never");
#line 129 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp32_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp31_, GTK_TYPE_RADIO_BUTTON) ? ((GtkRadioButton*) _tmp31_) : NULL);
#line 129 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->radiobutton_sched_idle_never);
#line 129 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->radiobutton_sched_idle_never = _tmp32_;
#line 130 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp33_ = gtk_builder_get_object (builder, "hscale_drop_device_threshold");
#line 130 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp34_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp33_, GTK_TYPE_SCALE) ? ((GtkScale*) _tmp33_) : NULL);
#line 130 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->hscale_drop_device_threshold);
#line 130 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->hscale_drop_device_threshold = _tmp34_;
#line 131 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp35_ = gtk_builder_get_object (builder, "togglebutton_home");
#line 131 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp36_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp35_, GTK_TYPE_TOGGLE_BUTTON) ? ((GtkToggleButton*) _tmp35_) : NULL);
#line 131 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_home);
#line 131 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_home = _tmp36_;
#line 132 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp37_ = gtk_builder_get_object (builder, "togglebutton_desktop");
#line 132 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp38_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp37_, GTK_TYPE_TOGGLE_BUTTON) ? ((GtkToggleButton*) _tmp37_) : NULL);
#line 132 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_desktop);
#line 132 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_desktop = _tmp38_;
#line 133 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp39_ = gtk_builder_get_object (builder, "togglebutton_documents");
#line 133 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp40_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp39_, GTK_TYPE_TOGGLE_BUTTON) ? ((GtkToggleButton*) _tmp39_) : NULL);
#line 133 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_documents);
#line 133 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_documents = _tmp40_;
#line 134 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp41_ = gtk_builder_get_object (builder, "togglebutton_music");
#line 134 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp42_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp41_, GTK_TYPE_TOGGLE_BUTTON) ? ((GtkToggleButton*) _tmp41_) : NULL);
#line 134 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_music);
#line 134 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_music = _tmp42_;
#line 135 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp43_ = gtk_builder_get_object (builder, "togglebutton_pictures");
#line 135 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp44_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp43_, GTK_TYPE_TOGGLE_BUTTON) ? ((GtkToggleButton*) _tmp43_) : NULL);
#line 135 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_pictures);
#line 135 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_pictures = _tmp44_;
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp45_ = gtk_builder_get_object (builder, "togglebutton_videos");
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp46_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp45_, GTK_TYPE_TOGGLE_BUTTON) ? ((GtkToggleButton*) _tmp45_) : NULL);
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_videos);
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_videos = _tmp46_;
#line 137 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp47_ = gtk_builder_get_object (builder, "togglebutton_download");
#line 137 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp48_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp47_, GTK_TYPE_TOGGLE_BUTTON) ? ((GtkToggleButton*) _tmp47_) : NULL);
#line 137 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_download);
#line 137 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_download = _tmp48_;
#line 138 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp49_ = gtk_builder_get_object (builder, "hbox_duplicate_warning");
#line 138 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp50_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp49_, GTK_TYPE_HBOX) ? ((GtkHBox*) _tmp49_) : NULL);
#line 138 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->hbox_duplicate_warning);
#line 138 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->hbox_duplicate_warning = _tmp50_;
#line 140 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp51_ = gtk_builder_get_object (builder, "button_reindex");
#line 140 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp52_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp51_, GTK_TYPE_BUTTON) ? ((GtkButton*) _tmp51_) : NULL);
#line 140 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->button_reindex);
#line 140 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->button_reindex = _tmp52_;
#line 142 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp53_ = gtk_builder_get_object (builder, "treeview_index");
#line 142 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp54_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp53_, GTK_TYPE_TREE_VIEW) ? ((GtkTreeView*) _tmp53_) : NULL);
#line 142 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_index);
#line 142 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->treeview_index = _tmp54_;
#line 143 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp55_ = gtk_builder_get_object (builder, "treeviewcolumn_index1");
#line 143 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp56_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp55_, GTK_TYPE_TREE_VIEW_COLUMN) ? ((GtkTreeViewColumn*) _tmp55_) : NULL);
#line 143 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeviewcolumn_index1);
#line 143 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->treeviewcolumn_index1 = _tmp56_;
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp57_ = gtk_builder_get_object (builder, "treeviewcolumn_index1");
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp58_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp57_, GTK_TYPE_TREE_VIEW_COLUMN) ? ((GtkTreeViewColumn*) _tmp57_) : NULL);
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeviewcolumn_index2);
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->treeviewcolumn_index2 = _tmp58_;
#line 145 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp59_ = gtk_builder_get_object (builder, "treeview_ignored_directories");
#line 145 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp60_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp59_, GTK_TYPE_TREE_VIEW) ? ((GtkTreeView*) _tmp59_) : NULL);
#line 145 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_ignored_directories);
#line 145 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->treeview_ignored_directories = _tmp60_;
#line 146 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp61_ = gtk_builder_get_object (builder, "treeview_ignored_directories_with_content");
#line 146 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp62_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp61_, GTK_TYPE_TREE_VIEW) ? ((GtkTreeView*) _tmp61_) : NULL);
#line 146 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_ignored_directories_with_content);
#line 146 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->treeview_ignored_directories_with_content = _tmp62_;
#line 147 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp63_ = gtk_builder_get_object (builder, "treeview_ignored_files");
#line 147 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp64_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp63_, GTK_TYPE_TREE_VIEW) ? ((GtkTreeView*) _tmp63_) : NULL);
#line 147 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_ignored_files);
#line 147 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->treeview_ignored_files = _tmp64_;
#line 149 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp65_ = self->priv->treeview_index;
#line 149 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp66_ = _ ("Directory");
#line 149 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_treeview_setup (self, _tmp65_, _tmp66_, TRUE, FALSE);
#line 150 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp67_ = self->priv->treeview_ignored_directories;
#line 150 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp68_ = _ ("Directory");
#line 150 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_treeview_setup (self, _tmp67_, _tmp68_, FALSE, TRUE);
#line 151 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp69_ = self->priv->treeview_ignored_directories_with_content;
#line 151 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp70_ = _ ("Directory");
#line 151 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_treeview_setup (self, _tmp69_, _tmp70_, FALSE, TRUE);
#line 152 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp71_ = self->priv->treeview_ignored_files;
#line 152 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp72_ = _ ("File");
#line 152 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_treeview_setup (self, _tmp71_, _tmp72_, FALSE, TRUE);
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp73_ = gtk_builder_get_object (builder, "liststore_index");
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp74_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp73_, GTK_TYPE_LIST_STORE) ? ((GtkListStore*) _tmp73_) : NULL);
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_index);
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->liststore_index = _tmp74_;
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp75_ = self->priv->liststore_index;
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_tree_sortable_set_sort_column_id ((GtkTreeSortable*) _tmp75_, 0, GTK_SORT_ASCENDING);
#line 156 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp76_ = gtk_builder_get_object (builder, "liststore_ignored_directories");
#line 156 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp77_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp76_, GTK_TYPE_LIST_STORE) ? ((GtkListStore*) _tmp76_) : NULL);
#line 156 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_ignored_directories);
#line 156 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->liststore_ignored_directories = _tmp77_;
#line 157 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp78_ = gtk_builder_get_object (builder, "liststore_ignored_files");
#line 157 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp79_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp78_, GTK_TYPE_LIST_STORE) ? ((GtkListStore*) _tmp78_) : NULL);
#line 157 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_ignored_files);
#line 157 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->liststore_ignored_files = _tmp79_;
#line 158 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp80_ = gtk_builder_get_object (builder, "liststore_ignored_directories_with_content");
#line 158 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp81_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp80_, GTK_TYPE_LIST_STORE) ? ((GtkListStore*) _tmp80_) : NULL);
#line 158 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_ignored_directories_with_content);
#line 158 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->liststore_ignored_directories_with_content = _tmp81_;
#line 161 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp82_ = self->priv->checkbutton_enable_index_on_battery;
#line 161 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp83_ = self->priv->settings_miner_fs;
#line 161 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp84_ = g_settings_get_boolean (_tmp83_, "index-on-battery");
#line 161 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp82_, _tmp84_);
#line 162 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp85_ = self->priv->checkbutton_enable_index_on_battery_first_time;
#line 162 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp86_ = self->priv->checkbutton_enable_index_on_battery;
#line 162 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp87_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp86_);
#line 162 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp88_ = _tmp87_;
#line 162 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp85_, !_tmp88_);
#line 163 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp89_ = self->priv->checkbutton_enable_index_on_battery_first_time;
#line 163 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp90_ = self->priv->settings_miner_fs;
#line 163 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp91_ = g_settings_get_boolean (_tmp90_, "index-on-battery-first-time");
#line 163 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp89_, _tmp91_);
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp92_ = self->priv->spinbutton_delay;
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_spin_button_set_increments (_tmp92_, (gdouble) 1, (gdouble) 1);
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp93_ = self->priv->spinbutton_delay;
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp94_ = self->priv->settings_miner_fs;
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp95_ = g_settings_get_int (_tmp94_, "initial-sleep");
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_spin_button_set_value (_tmp93_, (gdouble) _tmp95_);
#line 166 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp96_ = self->priv->checkbutton_enable_monitoring;
#line 166 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp97_ = self->priv->settings_miner_fs;
#line 166 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp98_ = g_settings_get_boolean (_tmp97_, "enable-monitors");
#line 166 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp96_, _tmp98_);
#line 167 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp99_ = self->priv->checkbutton_index_removable_media;
#line 167 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp100_ = self->priv->settings_miner_fs;
#line 167 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp101_ = g_settings_get_boolean (_tmp100_, "index-removable-devices");
#line 167 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp99_, _tmp101_);
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp102_ = self->priv->checkbutton_index_optical_discs;
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp103_ = self->priv->checkbutton_index_removable_media;
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp104_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp103_);
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp105_ = _tmp104_;
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp102_, _tmp105_);
#line 169 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp106_ = self->priv->checkbutton_index_optical_discs;
#line 169 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp107_ = self->priv->settings_miner_fs;
#line 169 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp108_ = g_settings_get_boolean (_tmp107_, "index-optical-discs");
#line 169 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp106_, _tmp108_);
#line 170 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp109_ = self->priv->hscale_disk_space_limit;
#line 170 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp110_ = self->priv->settings_miner_fs;
#line 170 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp111_ = g_settings_get_int (_tmp110_, "low-disk-space-limit");
#line 170 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_range_set_value ((GtkRange*) _tmp109_, (gdouble) _tmp111_);
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp112_ = self->priv->hscale_drop_device_threshold;
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp113_ = self->priv->settings_miner_fs;
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp114_ = g_settings_get_int (_tmp113_, "removable-days-threshold");
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_range_set_value ((GtkRange*) _tmp112_, (gdouble) _tmp114_);
#line 177 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp115_ = self->priv->settings_miner_fs;
#line 177 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp116_ = g_settings_get_enum (_tmp115_, "sched-idle");
#line 177 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	sched_idle = _tmp116_;
#line 179 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp117_ = sched_idle;
#line 179 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp117_ == 0) {
#line 985 "tracker-preferences.c"
		GtkRadioButton* _tmp118_ = NULL;
#line 180 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp118_ = self->priv->radiobutton_sched_idle_always;
#line 180 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_toggle_button_set_active ((GtkToggleButton*) _tmp118_, TRUE);
#line 991 "tracker-preferences.c"
	} else {
		gint _tmp119_ = 0;
#line 181 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp119_ = sched_idle;
#line 181 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_tmp119_ == 1) {
#line 998 "tracker-preferences.c"
			GtkRadioButton* _tmp120_ = NULL;
#line 182 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp120_ = self->priv->radiobutton_sched_idle_first_index;
#line 182 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_toggle_button_set_active ((GtkToggleButton*) _tmp120_, TRUE);
#line 1004 "tracker-preferences.c"
		} else {
			gint _tmp121_ = 0;
#line 183 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp121_ = sched_idle;
#line 183 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (_tmp121_ == 2) {
#line 1011 "tracker-preferences.c"
				GtkRadioButton* _tmp122_ = NULL;
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp122_ = self->priv->radiobutton_sched_idle_never;
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_toggle_button_set_active ((GtkToggleButton*) _tmp122_, TRUE);
#line 1017 "tracker-preferences.c"
			} else {
				GtkRadioButton* _tmp123_ = NULL;
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp123_ = self->priv->radiobutton_sched_idle_first_index;
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_toggle_button_set_active ((GtkToggleButton*) _tmp123_, TRUE);
#line 1024 "tracker-preferences.c"
			}
		}
	}
#line 191 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_sanitize_user_dirs (self);
#line 194 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp124_ = self->priv->liststore_index;
#line 194 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp125_ = self->priv->settings_miner_fs;
#line 194 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp127_ = _tmp126_ = g_settings_get_strv (_tmp125_, "index-recursive-directories");
#line 194 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp128_ = _tmp127_;
#line 194 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp128__length1 = _vala_array_length (_tmp126_);
#line 194 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_model_populate (self, _tmp124_, _tmp128_, _vala_array_length (_tmp126_), TRUE, TRUE);
#line 194 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp128_ = (_vala_array_free (_tmp128_, _tmp128__length1, (GDestroyNotify) g_free), NULL);
#line 195 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp129_ = self->priv->liststore_index;
#line 195 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp130_ = self->priv->settings_miner_fs;
#line 195 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp132_ = _tmp131_ = g_settings_get_strv (_tmp130_, "index-single-directories");
#line 195 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp133_ = _tmp132_;
#line 195 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp133__length1 = _vala_array_length (_tmp131_);
#line 195 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_model_populate (self, _tmp129_, _tmp133_, _vala_array_length (_tmp131_), TRUE, FALSE);
#line 195 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp133_ = (_vala_array_free (_tmp133_, _tmp133__length1, (GDestroyNotify) g_free), NULL);
#line 196 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp134_ = self->priv->liststore_ignored_directories;
#line 196 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp135_ = self->priv->settings_miner_fs;
#line 196 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp137_ = _tmp136_ = g_settings_get_strv (_tmp135_, "ignored-directories");
#line 196 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp138_ = _tmp137_;
#line 196 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp138__length1 = _vala_array_length (_tmp136_);
#line 196 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_model_populate (self, _tmp134_, _tmp138_, _vala_array_length (_tmp136_), FALSE, FALSE);
#line 196 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp138_ = (_vala_array_free (_tmp138_, _tmp138__length1, (GDestroyNotify) g_free), NULL);
#line 197 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp139_ = self->priv->liststore_ignored_files;
#line 197 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp140_ = self->priv->settings_miner_fs;
#line 197 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp142_ = _tmp141_ = g_settings_get_strv (_tmp140_, "ignored-files");
#line 197 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp143_ = _tmp142_;
#line 197 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp143__length1 = _vala_array_length (_tmp141_);
#line 197 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_model_populate (self, _tmp139_, _tmp143_, _vala_array_length (_tmp141_), FALSE, FALSE);
#line 197 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp143_ = (_vala_array_free (_tmp143_, _tmp143__length1, (GDestroyNotify) g_free), NULL);
#line 198 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp144_ = self->priv->liststore_ignored_directories_with_content;
#line 198 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp145_ = self->priv->settings_miner_fs;
#line 198 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp147_ = _tmp146_ = g_settings_get_strv (_tmp145_, "ignored-directories-with-content");
#line 198 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp148_ = _tmp147_;
#line 198 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp148__length1 = _vala_array_length (_tmp146_);
#line 198 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_model_populate (self, _tmp144_, _tmp148_, _vala_array_length (_tmp146_), FALSE, FALSE);
#line 198 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp148_ = (_vala_array_free (_tmp148_, _tmp148__length1, (GDestroyNotify) g_free), NULL);
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp149_ = self->priv->ignored_user_directories;
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp149__length1 = self->priv->ignored_user_directories_length1;
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp149__length1 > 0) {
#line 1106 "tracker-preferences.c"
		GtkHBox* _tmp150_ = NULL;
#line 201 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp150_ = self->priv->hbox_duplicate_warning;
#line 201 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_widget_show ((GtkWidget*) _tmp150_);
#line 1112 "tracker-preferences.c"
	} else {
		GtkHBox* _tmp151_ = NULL;
#line 203 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp151_ = self->priv->hbox_duplicate_warning;
#line 203 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_widget_hide ((GtkWidget*) _tmp151_);
#line 1119 "tracker-preferences.c"
	}
#line 206 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp152_ = self->priv->togglebutton_home;
#line 206 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp153_ = self->priv->liststore_index;
#line 206 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp154_ = self->priv->HOME_STRING_EVALUATED;
#line 206 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp155_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp153_, _tmp154_);
#line 206 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp152_, _tmp155_);
#line 207 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp156_ = self->priv->togglebutton_desktop;
#line 207 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp157_ = self->priv->liststore_index;
#line 207 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp158_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp157_, "&DESKTOP");
#line 207 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp156_, _tmp158_);
#line 208 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp159_ = self->priv->togglebutton_documents;
#line 208 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp160_ = self->priv->liststore_index;
#line 208 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp161_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp160_, "&DOCUMENTS");
#line 208 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp159_, _tmp161_);
#line 209 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp162_ = self->priv->togglebutton_music;
#line 209 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp163_ = self->priv->liststore_index;
#line 209 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp164_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp163_, "&MUSIC");
#line 209 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp162_, _tmp164_);
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp165_ = self->priv->togglebutton_pictures;
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp166_ = self->priv->liststore_index;
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp167_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp166_, "&PICTURES");
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp165_, _tmp167_);
#line 211 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp168_ = self->priv->togglebutton_videos;
#line 211 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp169_ = self->priv->liststore_index;
#line 211 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp170_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp169_, "&VIDEOS");
#line 211 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp168_, _tmp170_);
#line 212 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp171_ = self->priv->togglebutton_download;
#line 212 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp172_ = self->priv->liststore_index;
#line 212 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp173_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp172_, "&DOWNLOAD");
#line 212 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp171_, _tmp173_);
#line 216 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_builder_connect_signals_full (builder, _tracker_preferences_connect_signals_gtk_builder_connect_func, self);
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (builder);
#line 1183 "tracker-preferences.c"
}


void tracker_preferences_show (TrackerPreferences* self) {
	GtkWindow* _tmp0_ = NULL;
#line 219 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 220 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_setup_ui (self);
#line 222 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->window;
#line 222 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_show ((GtkWidget*) _tmp0_);
#line 1197 "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* module = NULL;
	GModule* _tmp0_ = NULL;
	void* sym = NULL;
	GModule* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	void* _tmp3_ = NULL;
	gboolean _tmp4_ = FALSE;
#line 228 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 228 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (builder != NULL);
#line 228 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (object != NULL);
#line 228 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (signal_name != NULL);
#line 228 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (handler_name != NULL);
#line 232 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = g_module_open (NULL, G_MODULE_BIND_LAZY);
#line 232 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	module = _tmp0_;
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = module;
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = handler_name;
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = g_module_symbol (_tmp1_, _tmp2_, &_tmp3_);
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	sym = _tmp3_;
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (!_tmp4_) {
#line 1233 "tracker-preferences.c"
		FILE* _tmp5_ = NULL;
		const gchar* _tmp6_ = NULL;
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = stdout;
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp6_ = handler_name;
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		fprintf (_tmp5_, "Symbol not found! %s\n", _tmp6_);
#line 1242 "tracker-preferences.c"
	} else {
		GObject* _tmp7_ = NULL;
		const gchar* _tmp8_ = NULL;
		void* _tmp9_ = NULL;
#line 238 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp7_ = object;
#line 238 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp8_ = signal_name;
#line 238 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp9_ = sym;
#line 238 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_signal_connect (_tmp7_, _tmp8_, (GCallback) _tmp9_, self);
#line 1255 "tracker-preferences.c"
	}
#line 228 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_module_close0 (module);
#line 1259 "tracker-preferences.c"
}


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


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


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


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


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


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


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


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


gchar* tracker_preferences_hscale_drop_device_threshold_format_value_cb (GtkScale* source, gdouble value, TrackerPreferences* self) {
	gchar* result = NULL;
	gdouble _tmp0_ = 0.0;
	gdouble _tmp3_ = 0.0;
	gchar* _tmp4_ = NULL;
#line 339 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 339 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (source != NULL, NULL);
#line 340 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = value;
#line 340 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (((gint) _tmp0_) == 0) {
#line 1721 "tracker-preferences.c"
		const gchar* _tmp1_ = NULL;
		gchar* _tmp2_ = NULL;
#line 345 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp1_ = _ ("Disabled");
#line 345 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = g_strdup (_tmp1_);
#line 345 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		result = _tmp2_;
#line 345 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		return result;
#line 1732 "tracker-preferences.c"
	}
#line 348 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = value;
#line 348 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = g_strdup_printf ("%d", (gint) _tmp3_);
#line 348 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = _tmp4_;
#line 348 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 1742 "tracker-preferences.c"
}


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


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


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


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


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


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


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


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


void tracker_preferences_button_ignored_files_remove_clicked_cb (GtkButton* source, TrackerPreferences* self) {
	GtkTreeView* _tmp0_ = NULL;
#line 392 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 392 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 393 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->treeview_ignored_files;
#line 393 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_store_del_dir (self, _tmp0_);
#line 1868 "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_ = NULL;
	gboolean _tmp2_ = FALSE;
	gboolean _tmp3_ = FALSE;
	gboolean _tmp20_ = FALSE;
	GtkToggleButton* _tmp21_ = NULL;
	gboolean _tmp22_ = FALSE;
	gboolean _tmp23_ = FALSE;
#line 396 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 396 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 396 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (store != NULL);
#line 396 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (to_check != NULL);
#line 397 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 397 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_toggle_button_get_active (_tmp1_);
#line 397 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 397 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp3_) {
#line 1897 "tracker-preferences.c"
		GtkListStore* _tmp4_ = NULL;
		const gchar* _tmp5_ = NULL;
		gboolean _tmp6_ = FALSE;
#line 397 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = store;
#line 397 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = to_check;
#line 397 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp6_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp4_, _tmp5_);
#line 397 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp0_ = !_tmp6_;
#line 1909 "tracker-preferences.c"
	} else {
#line 397 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp0_ = FALSE;
#line 1913 "tracker-preferences.c"
	}
#line 397 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp0_) {
#line 1917 "tracker-preferences.c"
		GtkTreeIter iter = {0};
		GtkListStore* _tmp7_ = NULL;
		GtkTreeIter _tmp8_ = {0};
		GValue v = {0};
		GValue _tmp9_ = {0};
		const gchar* _tmp10_ = NULL;
		gboolean recurse = FALSE;
		const gchar* _tmp11_ = NULL;
		const gchar* _tmp12_ = NULL;
		GtkListStore* _tmp13_ = NULL;
		GtkTreeIter _tmp14_ = {0};
		GValue _tmp15_ = {0};
		GtkListStore* _tmp16_ = NULL;
		GtkTreeIter _tmp17_ = {0};
		gboolean _tmp18_ = FALSE;
		GValue _tmp19_ = {0};
#line 399 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp7_ = self->priv->liststore_index;
#line 399 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_list_store_append (_tmp7_, &_tmp8_);
#line 399 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		iter = _tmp8_;
#line 400 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_value_init (&_tmp9_, G_TYPE_STRING);
#line 400 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		v = _tmp9_;
#line 401 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp10_ = to_check;
#line 401 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_value_set_string (&v, _tmp10_);
#line 403 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp11_ = to_check;
#line 403 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp12_ = self->priv->HOME_STRING_EVALUATED;
#line 403 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		recurse = g_strcmp0 (_tmp11_, _tmp12_) != 0;
#line 404 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp13_ = self->priv->liststore_index;
#line 404 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp14_ = iter;
#line 404 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp15_ = v;
#line 404 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_list_store_set_value (_tmp13_, &_tmp14_, 0, &_tmp15_);
#line 405 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp16_ = self->priv->liststore_index;
#line 405 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp17_ = iter;
#line 405 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp18_ = recurse;
#line 405 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_value_init (&_tmp19_, G_TYPE_BOOLEAN);
#line 405 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_value_set_boolean (&_tmp19_, _tmp18_);
#line 405 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_list_store_set_value (_tmp16_, &_tmp17_, 1, &_tmp19_);
#line 405 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		G_IS_VALUE (&_tmp19_) ? (g_value_unset (&_tmp19_), NULL) : NULL;
#line 397 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		G_IS_VALUE (&v) ? (g_value_unset (&v), NULL) : NULL;
#line 1978 "tracker-preferences.c"
	}
#line 408 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp21_ = source;
#line 408 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp22_ = gtk_toggle_button_get_active (_tmp21_);
#line 408 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp23_ = _tmp22_;
#line 408 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (!_tmp23_) {
#line 1988 "tracker-preferences.c"
		GtkListStore* _tmp24_ = NULL;
		const gchar* _tmp25_ = NULL;
		gboolean _tmp26_ = FALSE;
#line 408 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp24_ = store;
#line 408 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp25_ = to_check;
#line 408 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp26_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp24_, _tmp25_);
#line 408 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp20_ = _tmp26_;
#line 2000 "tracker-preferences.c"
	} else {
#line 408 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp20_ = FALSE;
#line 2004 "tracker-preferences.c"
	}
#line 408 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp20_) {
#line 2008 "tracker-preferences.c"
		gboolean valid = FALSE;
		GtkTreeIter iter = {0};
		GtkListStore* _tmp27_ = NULL;
		GtkTreeIter _tmp28_ = {0};
		gboolean _tmp29_ = FALSE;
#line 412 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp27_ = store;
#line 412 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp29_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp27_, &_tmp28_);
#line 412 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		iter = _tmp28_;
#line 412 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		valid = _tmp29_;
#line 413 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		while (TRUE) {
#line 2024 "tracker-preferences.c"
			gboolean _tmp30_ = FALSE;
			GValue value = {0};
			GtkListStore* _tmp31_ = NULL;
			GtkTreeIter _tmp32_ = {0};
			GValue _tmp33_ = {0};
			const gchar* _tmp34_ = NULL;
			const gchar* _tmp35_ = NULL;
#line 413 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp30_ = valid;
#line 413 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!_tmp30_) {
#line 413 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				break;
#line 2038 "tracker-preferences.c"
			}
#line 415 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp31_ = store;
#line 415 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp32_ = iter;
#line 415 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_tree_model_get_value ((GtkTreeModel*) _tmp31_, &_tmp32_, 0, &_tmp33_);
#line 415 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 415 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			value = _tmp33_;
#line 416 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp34_ = g_value_get_string (&value);
#line 416 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp35_ = to_check;
#line 416 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (g_strcmp0 (_tmp34_, _tmp35_) == 0) {
#line 2056 "tracker-preferences.c"
				GtkListStore* _tmp36_ = NULL;
				GtkTreeIter _tmp37_ = {0};
				GtkListStore* _tmp38_ = NULL;
				GtkTreeIter _tmp39_ = {0};
				gboolean _tmp40_ = FALSE;
#line 417 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp36_ = store;
#line 417 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp37_ = iter;
#line 417 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_list_store_remove (_tmp36_, &_tmp37_);
#line 418 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp38_ = store;
#line 418 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp40_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp38_, &_tmp39_);
#line 418 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				iter = _tmp39_;
#line 418 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				valid = _tmp40_;
#line 2076 "tracker-preferences.c"
			} else {
				GtkListStore* _tmp41_ = NULL;
				gboolean _tmp42_ = FALSE;
#line 420 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp41_ = store;
#line 420 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp42_ = gtk_tree_model_iter_next ((GtkTreeModel*) _tmp41_, &iter);
#line 420 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				valid = _tmp42_;
#line 2086 "tracker-preferences.c"
			}
#line 413 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 2090 "tracker-preferences.c"
		}
	}
}


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


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


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


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


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


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


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


void tracker_preferences_button_reindex_clicked_cb (GtkButton* source, TrackerPreferences* self) {
	FILE* _tmp0_ = NULL;
	gchar* output = NULL;
	gchar* errors = NULL;
	gint status = 0;
	FILE* _tmp12_ = NULL;
	FILE* _tmp13_ = NULL;
	GError * _inner_error_ = NULL;
#line 462 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 462 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 463 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = stdout;
#line 463 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	fprintf (_tmp0_, "Reindexing...\n");
#line 2252 "tracker-preferences.c"
	{
		gchar* _tmp1_ = NULL;
		gchar* _tmp2_ = NULL;
		gchar* _tmp3_ = NULL;
		gchar** _tmp4_ = NULL;
		gchar** _tmp5_ = NULL;
		gint _tmp5__length1 = 0;
		gchar* _tmp6_ = NULL;
		gchar* _tmp7_ = NULL;
		gint _tmp8_ = 0;
#line 469 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp1_ = g_strdup ("tracker-control");
#line 469 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = g_strdup ("--hard-reset");
#line 469 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp3_ = g_strdup ("--start");
#line 469 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = g_new0 (gchar*, 3 + 1);
#line 469 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_[0] = _tmp1_;
#line 469 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_[1] = _tmp2_;
#line 469 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_[2] = _tmp3_;
#line 469 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = _tmp4_;
#line 469 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5__length1 = 3;
#line 469 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_spawn_sync (NULL, _tmp5_, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, &_tmp6_, &_tmp7_, &_tmp8_, &_inner_error_);
#line 469 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (output);
#line 469 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		output = _tmp6_;
#line 469 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (errors);
#line 469 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		errors = _tmp7_;
#line 469 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		status = _tmp8_;
#line 469 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = (_vala_array_free (_tmp5_, _tmp5__length1, (GDestroyNotify) g_free), NULL);
#line 469 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_inner_error_ != NULL) {
#line 2297 "tracker-preferences.c"
			goto __catch2_g_error;
		}
	}
	goto __finally2;
	__catch2_g_error:
	{
		GError* e = NULL;
		FILE* _tmp9_ = NULL;
		GError* _tmp10_ = NULL;
		const gchar* _tmp11_ = NULL;
#line 468 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		e = _inner_error_;
#line 468 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_inner_error_ = NULL;
#line 478 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp9_ = stderr;
#line 478 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp10_ = e;
#line 478 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp11_ = _tmp10_->message;
#line 478 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		fprintf (_tmp9_, "Could not reindex: %s", _tmp11_);
#line 468 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_error_free0 (e);
#line 2322 "tracker-preferences.c"
	}
	__finally2:
#line 468 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_inner_error_ != NULL) {
#line 468 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (errors);
#line 468 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (output);
#line 468 "/home/martyn/Source/checkout/gnome/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 468 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_clear_error (&_inner_error_);
#line 468 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		return;
#line 2337 "tracker-preferences.c"
	}
#line 480 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp12_ = stdout;
#line 480 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	fprintf (_tmp12_, "%s\n", output);
#line 481 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp13_ = stdout;
#line 481 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	fprintf (_tmp13_, "Finishing...\n");
#line 462 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_free0 (errors);
#line 462 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_free0 (output);
#line 2351 "tracker-preferences.c"
}


static void tracker_preferences_toggles_update (TrackerPreferences* self, GUserDirectory* matches, int matches_length1, gboolean active) {
	GUserDirectory* _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
#line 484 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 486 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = matches;
#line 486 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0__length1 = matches_length1;
#line 2364 "tracker-preferences.c"
	{
		GUserDirectory* ud_collection = NULL;
		gint ud_collection_length1 = 0;
		gint _ud_collection_size_ = 0;
		gint ud_it = 0;
#line 486 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		ud_collection = _tmp0_;
#line 486 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		ud_collection_length1 = _tmp0__length1;
#line 486 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		for (ud_it = 0; ud_it < _tmp0__length1; ud_it = ud_it + 1) {
#line 2376 "tracker-preferences.c"
			GUserDirectory ud = 0;
#line 486 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			ud = ud_collection[ud_it];
#line 2380 "tracker-preferences.c"
			{
				GUserDirectory _tmp1_ = 0;
#line 487 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp1_ = ud;
#line 487 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				switch (_tmp1_) {
#line 487 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_DESKTOP:
#line 2389 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp2_ = NULL;
						gboolean _tmp3_ = FALSE;
#line 489 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp2_ = self->priv->togglebutton_desktop;
#line 489 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp3_ = active;
#line 489 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_toggle_button_set_active (_tmp2_, _tmp3_);
#line 490 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 2401 "tracker-preferences.c"
					}
#line 487 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_DOCUMENTS:
#line 2405 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp4_ = NULL;
						gboolean _tmp5_ = FALSE;
#line 492 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp4_ = self->priv->togglebutton_documents;
#line 492 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp5_ = active;
#line 492 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_toggle_button_set_active (_tmp4_, _tmp5_);
#line 493 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 2417 "tracker-preferences.c"
					}
#line 487 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_DOWNLOAD:
#line 2421 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp6_ = NULL;
						gboolean _tmp7_ = FALSE;
#line 495 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp6_ = self->priv->togglebutton_download;
#line 495 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp7_ = active;
#line 495 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_toggle_button_set_active (_tmp6_, _tmp7_);
#line 496 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 2433 "tracker-preferences.c"
					}
#line 487 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_MUSIC:
#line 2437 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp8_ = NULL;
						gboolean _tmp9_ = FALSE;
#line 498 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp8_ = self->priv->togglebutton_music;
#line 498 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp9_ = active;
#line 498 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_toggle_button_set_active (_tmp8_, _tmp9_);
#line 499 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 2449 "tracker-preferences.c"
					}
#line 487 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_PICTURES:
#line 2453 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp10_ = NULL;
						gboolean _tmp11_ = FALSE;
#line 501 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp10_ = self->priv->togglebutton_pictures;
#line 501 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp11_ = active;
#line 501 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_toggle_button_set_active (_tmp10_, _tmp11_);
#line 502 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 2465 "tracker-preferences.c"
					}
#line 487 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_VIDEOS:
#line 2469 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp12_ = NULL;
						gboolean _tmp13_ = FALSE;
#line 504 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp12_ = self->priv->togglebutton_videos;
#line 504 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp13_ = active;
#line 504 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_toggle_button_set_active (_tmp12_, _tmp13_);
#line 505 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 2481 "tracker-preferences.c"
					}
					default:
#line 487 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					break;
#line 2486 "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_ = NULL;
	GtkDialog* _tmp2_ = NULL;
	GtkDialog* _tmp3_ = NULL;
	GtkDialog* _tmp4_ = NULL;
	GtkBox* _tmp5_ = NULL;
	GtkContainer* _tmp6_ = NULL;
	GtkEntry* _tmp7_ = NULL;
	GtkEntry* _tmp8_ = NULL;
	GtkEntry* _tmp9_ = NULL;
	GtkContainer* _tmp10_ = NULL;
	GtkEntry* _tmp11_ = NULL;
	GtkDialog* _tmp12_ = NULL;
	gint _tmp13_ = 0;
	GtkDialog* _tmp27_ = NULL;
#line 510 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 510 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (store != NULL);
#line 515 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = _ ("Enter value");
#line 515 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->window;
#line 515 "/home/martyn/Source/checkout/gnome/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 515 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_object_ref_sink (_tmp2_);
#line 515 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (dialog);
#line 515 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	dialog = _tmp2_;
#line 521 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = dialog;
#line 521 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_dialog_set_default_response (_tmp3_, (gint) GTK_RESPONSE_ACCEPT);
#line 522 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = dialog;
#line 522 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = (GtkBox*) gtk_dialog_get_content_area (_tmp4_);
#line 522 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GTK_TYPE_CONTAINER, GtkContainer));
#line 522 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (content_area);
#line 522 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	content_area = _tmp6_;
#line 523 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = (GtkEntry*) gtk_entry_new ();
#line 523 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_object_ref_sink (_tmp7_);
#line 523 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (entry);
#line 523 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	entry = _tmp7_;
#line 524 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp8_ = entry;
#line 524 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_entry_set_activates_default (_tmp8_, TRUE);
#line 525 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp9_ = entry;
#line 525 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_show ((GtkWidget*) _tmp9_);
#line 526 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp10_ = content_area;
#line 526 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp11_ = entry;
#line 526 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_container_add (_tmp10_, (GtkWidget*) _tmp11_);
#line 528 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp12_ = dialog;
#line 528 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp13_ = gtk_dialog_run (_tmp12_);
#line 528 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp13_ == ((gint) GTK_RESPONSE_ACCEPT)) {
#line 2571 "tracker-preferences.c"
		gchar* text = NULL;
		GtkEntry* _tmp14_ = NULL;
		const gchar* _tmp15_ = NULL;
		gchar* _tmp16_ = NULL;
		gboolean _tmp17_ = FALSE;
		const gchar* _tmp18_ = NULL;
#line 529 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp14_ = entry;
#line 529 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp15_ = gtk_entry_get_text (_tmp14_);
#line 529 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp16_ = g_strdup (_tmp15_);
#line 529 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		text = _tmp16_;
#line 531 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp18_ = text;
#line 531 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_tmp18_ != NULL) {
#line 2590 "tracker-preferences.c"
			const gchar* _tmp19_ = NULL;
#line 531 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp19_ = text;
#line 531 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp17_ = g_strcmp0 (_tmp19_, "") != 0;
#line 2596 "tracker-preferences.c"
		} else {
#line 531 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp17_ = FALSE;
#line 2600 "tracker-preferences.c"
		}
#line 531 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_tmp17_) {
#line 2604 "tracker-preferences.c"
			GtkTreeIter iter = {0};
			GtkListStore* _tmp20_ = NULL;
			GtkTreeIter _tmp21_ = {0};
			GValue v = {0};
			GValue _tmp22_ = {0};
			const gchar* _tmp23_ = NULL;
			GtkListStore* _tmp24_ = NULL;
			GtkTreeIter _tmp25_ = {0};
			GValue _tmp26_ = {0};
#line 533 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp20_ = store;
#line 533 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_list_store_append (_tmp20_, &_tmp21_);
#line 533 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			iter = _tmp21_;
#line 534 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_value_init (&_tmp22_, G_TYPE_STRING);
#line 534 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			v = _tmp22_;
#line 535 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp23_ = text;
#line 535 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_value_set_string (&v, _tmp23_);
#line 536 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp24_ = store;
#line 536 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp25_ = iter;
#line 536 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp26_ = v;
#line 536 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_list_store_set_value (_tmp24_, &_tmp25_, 0, &_tmp26_);
#line 531 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&v) ? (g_value_unset (&v), NULL) : NULL;
#line 2638 "tracker-preferences.c"
		}
#line 528 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (text);
#line 2642 "tracker-preferences.c"
	}
#line 540 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp27_ = dialog;
#line 540 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_destroy ((GtkWidget*) _tmp27_);
#line 510 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (content_area);
#line 510 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (entry);
#line 510 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (dialog);
#line 2654 "tracker-preferences.c"
}


static void tracker_preferences_store_add_dir (TrackerPreferences* self, GtkListStore* store) {
	GtkFileChooserDialog* dialog = NULL;
	const gchar* _tmp0_ = NULL;
	GtkWindow* _tmp1_ = NULL;
	GtkFileChooserDialog* _tmp2_ = NULL;
	GtkFileChooserDialog* _tmp34_ = NULL;
#line 543 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 543 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (store != NULL);
#line 544 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = _ ("Select directory");
#line 544 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->window;
#line 544 "/home/martyn/Source/checkout/gnome/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 544 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_object_ref_sink (_tmp2_);
#line 544 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	dialog = _tmp2_;
#line 552 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	while (TRUE) {
#line 2680 "tracker-preferences.c"
		GtkFileChooserDialog* _tmp3_ = NULL;
		gint _tmp4_ = 0;
#line 553 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp3_ = dialog;
#line 553 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = gtk_dialog_run ((GtkDialog*) _tmp3_);
#line 553 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_tmp4_ == ((gint) GTK_RESPONSE_ACCEPT)) {
#line 2689 "tracker-preferences.c"
			GtkTreeIter iter = {0};
			GFile* f = NULL;
			GtkFileChooserDialog* _tmp5_ = NULL;
			GFile* _tmp6_ = NULL;
			GFile* _tmp7_ = NULL;
			gchar* path = NULL;
			GFile* _tmp8_ = NULL;
			gchar* _tmp9_ = NULL;
			GtkListStore* _tmp10_ = NULL;
			const gchar* _tmp11_ = NULL;
			gboolean _tmp12_ = FALSE;
			gchar* dir = NULL;
			GFile* _tmp18_ = NULL;
			gchar* _tmp19_ = NULL;
			GUserDirectory* matches = NULL;
			const gchar* _tmp20_ = NULL;
			gint _tmp21_ = 0;
			GUserDirectory* _tmp22_ = NULL;
			gint matches_length1 = 0;
			gint _matches_size_ = 0;
			GtkListStore* _tmp23_ = NULL;
			GtkTreeIter _tmp24_ = {0};
			GValue v = {0};
			GValue _tmp25_ = {0};
			const gchar* _tmp26_ = NULL;
			GtkListStore* _tmp27_ = NULL;
			GtkTreeIter _tmp28_ = {0};
			GValue _tmp29_ = {0};
			GUserDirectory* _tmp30_ = NULL;
			gint _tmp30__length1 = 0;
			const gchar* _tmp31_ = NULL;
			const gchar* _tmp32_ = NULL;
#line 557 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp5_ = dialog;
#line 557 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp6_ = gtk_file_chooser_get_file ((GtkFileChooser*) _tmp5_);
#line 557 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp7_ = _g_object_ref0 (_tmp6_);
#line 557 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_object_unref0 (f);
#line 557 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			f = _tmp7_;
#line 558 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp8_ = f;
#line 558 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp9_ = g_file_get_path (_tmp8_);
#line 558 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			path = _tmp9_;
#line 560 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp10_ = store;
#line 560 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp11_ = path;
#line 560 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp12_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp10_, _tmp11_);
#line 560 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (_tmp12_) {
#line 2746 "tracker-preferences.c"
				GtkMessageDialog* md = NULL;
				GtkFileChooserDialog* _tmp13_ = NULL;
				const gchar* _tmp14_ = NULL;
				GtkMessageDialog* _tmp15_ = NULL;
				GtkMessageDialog* _tmp16_ = NULL;
				GtkMessageDialog* _tmp17_ = NULL;
#line 561 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp13_ = dialog;
#line 561 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp14_ = _ ("That directory is already selected as a location to index");
#line 561 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp15_ = (GtkMessageDialog*) gtk_message_dialog_new ((GtkWindow*) _tmp13_, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _tmp14_, NULL);
#line 561 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				g_object_ref_sink (_tmp15_);
#line 561 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				md = _tmp15_;
#line 567 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp16_ = md;
#line 567 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_dialog_run ((GtkDialog*) _tmp16_);
#line 568 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp17_ = md;
#line 568 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_widget_destroy ((GtkWidget*) _tmp17_);
#line 569 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_object_unref0 (md);
#line 569 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (path);
#line 569 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_object_unref0 (f);
#line 569 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				continue;
#line 2779 "tracker-preferences.c"
			}
#line 572 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp18_ = f;
#line 572 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp19_ = g_file_get_path (_tmp18_);
#line 572 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			dir = _tmp19_;
#line 575 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp20_ = dir;
#line 575 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp22_ = tracker_preferences_dir_match_user_directories (self, _tmp20_, &_tmp21_);
#line 575 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			matches = _tmp22_;
#line 575 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			matches_length1 = _tmp21_;
#line 575 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_matches_size_ = matches_length1;
#line 578 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp23_ = store;
#line 578 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_list_store_append (_tmp23_, &_tmp24_);
#line 578 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			iter = _tmp24_;
#line 579 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_value_init (&_tmp25_, G_TYPE_STRING);
#line 579 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			v = _tmp25_;
#line 580 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp26_ = dir;
#line 580 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_value_set_string (&v, _tmp26_);
#line 581 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp27_ = store;
#line 581 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp28_ = iter;
#line 581 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp29_ = v;
#line 581 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_list_store_set_value (_tmp27_, &_tmp28_, 0, &_tmp29_);
#line 583 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp30_ = matches;
#line 583 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp30__length1 = matches_length1;
#line 583 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			tracker_preferences_toggles_update (self, _tmp30_, _tmp30__length1, TRUE);
#line 585 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp31_ = dir;
#line 585 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp32_ = self->priv->HOME_STRING_EVALUATED;
#line 585 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (g_strcmp0 (_tmp31_, _tmp32_) == 0) {
#line 2831 "tracker-preferences.c"
				GtkToggleButton* _tmp33_ = NULL;
#line 586 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp33_ = self->priv->togglebutton_home;
#line 586 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_toggle_button_set_active (_tmp33_, TRUE);
#line 2837 "tracker-preferences.c"
			}
#line 553 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&v) ? (g_value_unset (&v), NULL) : NULL;
#line 553 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			matches = (g_free (matches), NULL);
#line 553 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_free0 (dir);
#line 553 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_free0 (path);
#line 553 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_object_unref0 (f);
#line 2849 "tracker-preferences.c"
		}
#line 590 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		break;
#line 2853 "tracker-preferences.c"
	}
#line 593 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp34_ = dialog;
#line 593 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_destroy ((GtkWidget*) _tmp34_);
#line 543 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (dialog);
#line 2861 "tracker-preferences.c"
}


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


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


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


static void tracker_preferences_store_del_dir (TrackerPreferences* self, GtkTreeView* view) {
	GList* list = NULL;
	GtkListStore* store = NULL;
	GtkTreeModel* model = NULL;
	GtkTreeSelection* selection = NULL;
	GtkTreeView* _tmp0_ = NULL;
	GtkTreeSelection* _tmp1_ = NULL;
	GtkTreeSelection* _tmp2_ = NULL;
	GtkTreeSelection* _tmp3_ = NULL;
	GtkTreeModel* _tmp4_ = NULL;
	GList* _tmp5_ = NULL;
	GtkTreeModel* _tmp6_ = NULL;
	GtkTreeModel* _tmp7_ = NULL;
	GtkListStore* _tmp8_ = NULL;
	GList* _tmp9_ = NULL;
#line 596 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 596 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (view != NULL);
#line 601 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = view;
#line 601 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = gtk_tree_view_get_selection (_tmp0_);
#line 601 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 601 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	selection = _tmp2_;
#line 602 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = selection;
#line 602 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = gtk_tree_selection_get_selected_rows (_tmp3_, &_tmp4_);
#line 602 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (model);
#line 602 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = _g_object_ref0 (_tmp4_);
#line 602 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	model = _tmp6_;
#line 602 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	__g_list_free__gtk_tree_path_free0_0 (list);
#line 602 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	list = _tmp5_;
#line 604 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = model;
#line 604 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp8_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GTK_TYPE_LIST_STORE, GtkListStore));
#line 604 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (store);
#line 604 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	store = _tmp8_;
#line 606 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp9_ = list;
#line 2939 "tracker-preferences.c"
	{
		GList* path_collection = NULL;
		GList* path_it = NULL;
#line 606 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		path_collection = _tmp9_;
#line 606 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		for (path_it = path_collection; path_it != NULL; path_it = path_it->next) {
#line 2947 "tracker-preferences.c"
			GtkTreePath* _tmp10_ = NULL;
			GtkTreePath* path = NULL;
#line 606 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp10_ = _gtk_tree_path_copy0 ((GtkTreePath*) path_it->data);
#line 606 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			path = _tmp10_;
#line 2954 "tracker-preferences.c"
			{
				GtkTreeIter iter = {0};
				GtkTreeModel* _tmp11_ = NULL;
				GtkTreePath* _tmp12_ = NULL;
				GtkTreeIter _tmp13_ = {0};
				gboolean _tmp14_ = FALSE;
				GValue value = {0};
				GtkTreeModel* _tmp15_ = NULL;
				GtkTreeIter _tmp16_ = {0};
				GValue _tmp17_ = {0};
				gchar* dir = NULL;
				const gchar* _tmp18_ = NULL;
				gchar* _tmp19_ = NULL;
				GUserDirectory* matches = NULL;
				const gchar* _tmp20_ = NULL;
				gint _tmp21_ = 0;
				GUserDirectory* _tmp22_ = NULL;
				gint matches_length1 = 0;
				gint _matches_size_ = 0;
				GtkListStore* _tmp23_ = NULL;
				GtkTreeIter _tmp24_ = {0};
				GUserDirectory* _tmp25_ = NULL;
				gint _tmp25__length1 = 0;
				const gchar* _tmp26_ = NULL;
				const gchar* _tmp27_ = NULL;
#line 609 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp11_ = model;
#line 609 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp12_ = path;
#line 609 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp14_ = gtk_tree_model_get_iter (_tmp11_, &_tmp13_, _tmp12_);
#line 609 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				iter = _tmp13_;
#line 609 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (!_tmp14_) {
#line 610 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_gtk_tree_path_free0 (path);
#line 610 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					continue;
#line 2994 "tracker-preferences.c"
				}
#line 615 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp15_ = model;
#line 615 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp16_ = iter;
#line 615 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_tree_model_get_value (_tmp15_, &_tmp16_, 0, &_tmp17_);
#line 615 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 615 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				value = _tmp17_;
#line 616 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp18_ = g_value_get_string (&value);
#line 616 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp19_ = g_strdup (_tmp18_);
#line 616 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				dir = _tmp19_;
#line 619 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp20_ = dir;
#line 619 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp22_ = tracker_preferences_dir_match_user_directories (self, _tmp20_, &_tmp21_);
#line 619 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				matches = _tmp22_;
#line 619 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				matches_length1 = _tmp21_;
#line 619 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_matches_size_ = matches_length1;
#line 621 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp23_ = store;
#line 621 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp24_ = iter;
#line 621 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_list_store_remove (_tmp23_, &_tmp24_);
#line 624 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp25_ = matches;
#line 624 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp25__length1 = matches_length1;
#line 624 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				tracker_preferences_toggles_update (self, _tmp25_, _tmp25__length1, FALSE);
#line 626 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp26_ = dir;
#line 626 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp27_ = self->priv->HOME_STRING_EVALUATED;
#line 626 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (g_strcmp0 (_tmp26_, _tmp27_) == 0) {
#line 3040 "tracker-preferences.c"
					GtkToggleButton* _tmp28_ = NULL;
#line 627 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp28_ = self->priv->togglebutton_home;
#line 627 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					gtk_toggle_button_set_active (_tmp28_, FALSE);
#line 3046 "tracker-preferences.c"
				}
#line 606 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				matches = (g_free (matches), NULL);
#line 606 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (dir);
#line 606 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 606 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_gtk_tree_path_free0 (path);
#line 3056 "tracker-preferences.c"
			}
		}
	}
#line 596 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (selection);
#line 596 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (model);
#line 596 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (store);
#line 596 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	__g_list_free__gtk_tree_path_free0_0 (list);
#line 3068 "tracker-preferences.c"
}


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


static GUserDirectory* tracker_preferences_dir_match_user_directories (TrackerPreferences* self, const gchar* input, int* result_length1) {
	GUserDirectory* result = NULL;
	GUserDirectory* matches = NULL;
	GUserDirectory* _tmp0_ = NULL;
	gint matches_length1 = 0;
	gint _matches_size_ = 0;
	gint i = 0;
	GUserDirectory* _tmp11_ = NULL;
	gint _tmp11__length1 = 0;
#line 631 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 631 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (input != NULL, NULL);
#line 632 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = g_new0 (GUserDirectory, 0);
#line 632 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	matches = _tmp0_;
#line 632 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	matches_length1 = 0;
#line 632 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_matches_size_ = matches_length1;
#line 3108 "tracker-preferences.c"
	{
		gboolean _tmp1_ = FALSE;
#line 635 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		i = 0;
#line 635 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp1_ = TRUE;
#line 635 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		while (TRUE) {
#line 3117 "tracker-preferences.c"
			gint _tmp3_ = 0;
			GUserDirectory ud = 0;
			gint _tmp4_ = 0;
			const gchar* dir = NULL;
			GUserDirectory _tmp5_ = 0;
			const gchar* _tmp6_ = NULL;
			const gchar* _tmp7_ = NULL;
			const gchar* _tmp8_ = NULL;
#line 635 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!_tmp1_) {
#line 3128 "tracker-preferences.c"
				gint _tmp2_ = 0;
#line 635 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp2_ = i;
#line 635 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				i = _tmp2_ + 1;
#line 3134 "tracker-preferences.c"
			}
#line 635 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp1_ = FALSE;
#line 635 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp3_ = i;
#line 635 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!(_tmp3_ < ((gint) G_USER_N_DIRECTORIES))) {
#line 635 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				break;
#line 3144 "tracker-preferences.c"
			}
#line 636 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp4_ = i;
#line 636 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			ud = (GUserDirectory) _tmp4_;
#line 637 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			dir = NULL;
#line 639 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp5_ = ud;
#line 639 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp6_ = g_get_user_special_dir (_tmp5_);
#line 639 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			dir = _tmp6_;
#line 640 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp7_ = input;
#line 640 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp8_ = dir;
#line 640 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (g_strcmp0 (_tmp7_, _tmp8_) == 0) {
#line 3164 "tracker-preferences.c"
				GUserDirectory* _tmp9_ = NULL;
				gint _tmp9__length1 = 0;
				GUserDirectory _tmp10_ = 0;
#line 641 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp9_ = matches;
#line 641 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp9__length1 = matches_length1;
#line 641 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp10_ = ud;
#line 641 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_vala_array_add1 (&matches, &matches_length1, &_matches_size_, _tmp10_);
#line 3176 "tracker-preferences.c"
			}
		}
	}
#line 645 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp11_ = matches;
#line 645 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp11__length1 = matches_length1;
#line 645 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (result_length1) {
#line 645 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		*result_length1 = _tmp11__length1;
#line 3188 "tracker-preferences.c"
	}
#line 645 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = _tmp11_;
#line 645 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 3194 "tracker-preferences.c"
}


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


static glong string_strnlen (gchar* str, glong maxlen) {
	glong result = 0L;
	gchar* end = NULL;
	gchar* _tmp0_ = NULL;
	glong _tmp1_ = 0L;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
#line 1197 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp0_ = str;
#line 1197 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp1_ = maxlen;
#line 1197 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
#line 1197 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	end = _tmp2_;
#line 1198 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp3_ = end;
#line 1198 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	if (_tmp3_ == NULL) {
#line 3264 "tracker-preferences.c"
		glong _tmp4_ = 0L;
#line 1199 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp4_ = maxlen;
#line 1199 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		result = _tmp4_;
#line 1199 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		return result;
#line 3272 "tracker-preferences.c"
	} else {
		gchar* _tmp5_ = NULL;
		gchar* _tmp6_ = NULL;
#line 1201 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp5_ = end;
#line 1201 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp6_ = str;
#line 1201 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		result = (glong) (_tmp5_ - _tmp6_);
#line 1201 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		return result;
#line 3284 "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_ = 0L;
	glong _tmp8_ = 0L;
	glong _tmp14_ = 0L;
	glong _tmp17_ = 0L;
	glong _tmp18_ = 0L;
	glong _tmp19_ = 0L;
	glong _tmp20_ = 0L;
	glong _tmp21_ = 0L;
	gchar* _tmp22_ = NULL;
#line 1208 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1210 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp1_ = offset;
#line 1210 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	if (_tmp1_ >= ((glong) 0)) {
#line 3308 "tracker-preferences.c"
		glong _tmp2_ = 0L;
#line 1210 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp2_ = len;
#line 1210 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp0_ = _tmp2_ >= ((glong) 0);
#line 3314 "tracker-preferences.c"
	} else {
#line 1210 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp0_ = FALSE;
#line 3318 "tracker-preferences.c"
	}
#line 1210 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	if (_tmp0_) {
#line 3322 "tracker-preferences.c"
		glong _tmp3_ = 0L;
		glong _tmp4_ = 0L;
		glong _tmp5_ = 0L;
#line 1212 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp3_ = offset;
#line 1212 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp4_ = len;
#line 1212 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
#line 1212 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		string_length = _tmp5_;
#line 3334 "tracker-preferences.c"
	} else {
		gint _tmp6_ = 0;
		gint _tmp7_ = 0;
#line 1214 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp6_ = strlen (self);
#line 1214 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp7_ = _tmp6_;
#line 1214 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		string_length = (glong) _tmp7_;
#line 3344 "tracker-preferences.c"
	}
#line 1217 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp8_ = offset;
#line 1217 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	if (_tmp8_ < ((glong) 0)) {
#line 3350 "tracker-preferences.c"
		glong _tmp9_ = 0L;
		glong _tmp10_ = 0L;
		glong _tmp11_ = 0L;
#line 1218 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp9_ = string_length;
#line 1218 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp10_ = offset;
#line 1218 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		offset = _tmp9_ + _tmp10_;
#line 1219 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp11_ = offset;
#line 1219 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 3364 "tracker-preferences.c"
	} else {
		glong _tmp12_ = 0L;
		glong _tmp13_ = 0L;
#line 1221 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp12_ = offset;
#line 1221 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp13_ = string_length;
#line 1221 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 3374 "tracker-preferences.c"
	}
#line 1223 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp14_ = len;
#line 1223 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	if (_tmp14_ < ((glong) 0)) {
#line 3380 "tracker-preferences.c"
		glong _tmp15_ = 0L;
		glong _tmp16_ = 0L;
#line 1224 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp15_ = string_length;
#line 1224 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp16_ = offset;
#line 1224 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		len = _tmp15_ - _tmp16_;
#line 3389 "tracker-preferences.c"
	}
#line 1226 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp17_ = offset;
#line 1226 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp18_ = len;
#line 1226 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp19_ = string_length;
#line 1226 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
#line 1227 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp20_ = offset;
#line 1227 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp21_ = len;
#line 1227 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
#line 1227 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	result = _tmp22_;
#line 1227 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	return result;
#line 3409 "tracker-preferences.c"
}


static gint string_last_index_of_char (const gchar* self, gunichar c, gint start_index) {
	gint result = 0;
	gchar* _result_ = NULL;
	gint _tmp0_ = 0;
	gunichar _tmp1_ = 0U;
	gchar* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
#line 930 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, 0);
#line 931 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp0_ = start_index;
#line 931 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp1_ = c;
#line 931 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp2_ = g_utf8_strrchr (((gchar*) self) + _tmp0_, (gssize) (-1), _tmp1_);
#line 931 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	_result_ = _tmp2_;
#line 933 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp3_ = _result_;
#line 933 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	if (_tmp3_ != NULL) {
#line 3434 "tracker-preferences.c"
		gchar* _tmp4_ = NULL;
#line 934 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp4_ = _result_;
#line 934 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		result = (gint) (_tmp4_ - ((gchar*) self));
#line 934 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		return result;
#line 3442 "tracker-preferences.c"
	} else {
#line 936 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		result = -1;
#line 936 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		return result;
#line 3448 "tracker-preferences.c"
	}
}


static gchar* tracker_preferences_dir_to_config (TrackerPreferences* self, const gchar* input) {
	gchar* result = NULL;
	gchar* output = NULL;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	const gchar* _tmp3_ = NULL;
#line 648 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 648 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (input != NULL, NULL);
#line 649 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = input;
#line 649 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 649 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	output = _tmp1_;
#line 651 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = self->priv->HOME_STRING_EVALUATED;
#line 651 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp3_ != NULL) {
#line 3474 "tracker-preferences.c"
		const gchar* _tmp4_ = NULL;
		const gchar* _tmp5_ = NULL;
#line 651 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = self->priv->HOME_STRING_EVALUATED;
#line 651 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = input;
#line 651 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = g_strcmp0 (_tmp4_, _tmp5_) == 0;
#line 3483 "tracker-preferences.c"
	} else {
#line 651 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = FALSE;
#line 3487 "tracker-preferences.c"
	}
#line 651 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp2_) {
#line 3491 "tracker-preferences.c"
		gchar* _tmp6_ = NULL;
#line 652 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp6_ = g_strdup (TRACKER_PREFERENCES_HOME_STRING);
#line 652 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		result = _tmp6_;
#line 652 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (output);
#line 652 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		return result;
#line 3501 "tracker-preferences.c"
	}
	{
		gint i = 0;
#line 655 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		i = 0;
#line 3507 "tracker-preferences.c"
		{
			gboolean _tmp7_ = FALSE;
#line 655 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp7_ = TRUE;
#line 655 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			while (TRUE) {
#line 3514 "tracker-preferences.c"
				gint _tmp9_ = 0;
				GUserDirectory ud = 0;
				gint _tmp10_ = 0;
				const gchar* dir = NULL;
				GUserDirectory _tmp11_ = 0;
				const gchar* _tmp12_ = NULL;
				const gchar* _tmp13_ = NULL;
				const gchar* _tmp14_ = NULL;
#line 655 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (!_tmp7_) {
#line 3525 "tracker-preferences.c"
					gint _tmp8_ = 0;
#line 655 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp8_ = i;
#line 655 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					i = _tmp8_ + 1;
#line 3531 "tracker-preferences.c"
				}
#line 655 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp7_ = FALSE;
#line 655 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp9_ = i;
#line 655 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (!(_tmp9_ < ((gint) G_USER_N_DIRECTORIES))) {
#line 655 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					break;
#line 3541 "tracker-preferences.c"
				}
#line 656 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp10_ = i;
#line 656 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				ud = (GUserDirectory) _tmp10_;
#line 657 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				dir = NULL;
#line 659 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp11_ = ud;
#line 659 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp12_ = g_get_user_special_dir (_tmp11_);
#line 659 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				dir = _tmp12_;
#line 660 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp13_ = input;
#line 660 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp14_ = dir;
#line 660 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (g_strcmp0 (_tmp13_, _tmp14_) == 0) {
#line 3561 "tracker-preferences.c"
					gchar* ud_string = NULL;
					GUserDirectory _tmp15_ = 0;
					const gchar* _tmp16_ = NULL;
					gchar* _tmp17_ = NULL;
					const gchar* _tmp18_ = NULL;
					const gchar* _tmp19_ = NULL;
					gint _tmp20_ = 0;
					gchar* _tmp21_ = NULL;
					gchar* _tmp22_ = NULL;
					gchar* _tmp23_ = NULL;
#line 662 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp15_ = ud;
#line 662 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp16_ = _g_user_directory_to_string (_tmp15_);
#line 662 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp17_ = g_strdup (_tmp16_);
#line 662 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					ud_string = _tmp17_;
#line 663 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp18_ = ud_string;
#line 663 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp19_ = ud_string;
#line 663 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp20_ = string_last_index_of_char (_tmp19_, (gunichar) '_', 0);
#line 663 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp21_ = string_substring (_tmp18_, (glong) (_tmp20_ + 1), (glong) (-1));
#line 663 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp22_ = _tmp21_;
#line 663 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp23_ = g_strdup_printf ("&%s", _tmp22_);
#line 663 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (output);
#line 663 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					output = _tmp23_;
#line 663 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (_tmp22_);
#line 660 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (ud_string);
#line 3600 "tracker-preferences.c"
				}
			}
		}
	}
#line 667 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = output;
#line 667 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 3609 "tracker-preferences.c"
}


static gchar* tracker_preferences_dir_from_config (TrackerPreferences* self, const gchar* input) {
	gchar* result = NULL;
	gchar* output = NULL;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	gboolean _tmp3_ = FALSE;
#line 670 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 670 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (input != NULL, NULL);
#line 671 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = input;
#line 671 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 671 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	output = _tmp1_;
#line 673 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = input;
#line 673 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = g_str_has_prefix (_tmp2_, "&");
#line 673 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp3_) {
#line 3636 "tracker-preferences.c"
		const gchar* dir = NULL;
		gchar* ud_input = NULL;
		const gchar* _tmp4_ = NULL;
		const gchar* _tmp5_ = NULL;
		gchar* _tmp6_ = NULL;
		const gchar* _tmp18_ = NULL;
#line 674 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		dir = NULL;
#line 677 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = input;
#line 677 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = g_utf8_next_char (_tmp4_);
#line 677 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp6_ = g_strdup_printf ("G_USER_DIRECTORY_%s", _tmp5_);
#line 677 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		ud_input = _tmp6_;
#line 3653 "tracker-preferences.c"
		{
			gint i = 0;
#line 679 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			i = 0;
#line 3658 "tracker-preferences.c"
			{
				gboolean _tmp7_ = FALSE;
#line 679 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp7_ = TRUE;
#line 679 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				while (TRUE) {
#line 3665 "tracker-preferences.c"
					gboolean _tmp9_ = FALSE;
					gint _tmp10_ = 0;
					GUserDirectory ud = 0;
					gint _tmp12_ = 0;
					const gchar* _tmp13_ = NULL;
					GUserDirectory _tmp14_ = 0;
					const gchar* _tmp15_ = NULL;
#line 679 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					if (!_tmp7_) {
#line 3675 "tracker-preferences.c"
						gint _tmp8_ = 0;
#line 679 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp8_ = i;
#line 679 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						i = _tmp8_ + 1;
#line 3681 "tracker-preferences.c"
					}
#line 679 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp7_ = FALSE;
#line 679 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp10_ = i;
#line 679 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					if (_tmp10_ < ((gint) G_USER_N_DIRECTORIES)) {
#line 3689 "tracker-preferences.c"
						const gchar* _tmp11_ = NULL;
#line 679 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp11_ = dir;
#line 679 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp9_ = _tmp11_ == NULL;
#line 3695 "tracker-preferences.c"
					} else {
#line 679 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp9_ = FALSE;
#line 3699 "tracker-preferences.c"
					}
#line 679 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					if (!_tmp9_) {
#line 679 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 3705 "tracker-preferences.c"
					}
#line 680 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp12_ = i;
#line 680 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					ud = (GUserDirectory) _tmp12_;
#line 682 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp13_ = ud_input;
#line 682 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp14_ = ud;
#line 682 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp15_ = _g_user_directory_to_string (_tmp14_);
#line 682 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					if (g_strcmp0 (_tmp13_, _tmp15_) == 0) {
#line 3719 "tracker-preferences.c"
						GUserDirectory _tmp16_ = 0;
						const gchar* _tmp17_ = NULL;
#line 683 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp16_ = ud;
#line 683 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp17_ = g_get_user_special_dir (_tmp16_);
#line 683 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						dir = _tmp17_;
#line 3728 "tracker-preferences.c"
					}
				}
			}
		}
#line 689 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp18_ = dir;
#line 689 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_tmp18_ != NULL) {
#line 3737 "tracker-preferences.c"
			const gchar* _tmp19_ = NULL;
			gchar* _tmp20_ = NULL;
#line 690 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp19_ = dir;
#line 690 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp20_ = g_strdup (_tmp19_);
#line 690 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_free0 (output);
#line 690 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			output = _tmp20_;
#line 3748 "tracker-preferences.c"
		}
#line 673 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (ud_input);
#line 3752 "tracker-preferences.c"
	} else {
		const gchar* _tmp21_ = NULL;
		gboolean _tmp22_ = FALSE;
#line 691 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp21_ = input;
#line 691 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp22_ = g_str_has_prefix (_tmp21_, "$");
#line 691 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_tmp22_) {
#line 3762 "tracker-preferences.c"
			const gchar* env = NULL;
			const gchar* _tmp23_ = NULL;
			gchar* _tmp24_ = NULL;
			gchar* _tmp25_ = NULL;
			const gchar* _tmp26_ = NULL;
			const gchar* _tmp27_ = NULL;
			const gchar* _tmp28_ = NULL;
#line 692 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp23_ = input;
#line 692 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp24_ = string_substring (_tmp23_, (glong) 1, (glong) (-1));
#line 692 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp25_ = _tmp24_;
#line 692 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp26_ = g_getenv (_tmp25_);
#line 692 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp27_ = _tmp26_;
#line 692 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_free0 (_tmp25_);
#line 692 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			env = _tmp27_;
#line 696 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp28_ = env;
#line 696 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (_tmp28_ != NULL) {
#line 3788 "tracker-preferences.c"
				const gchar* _tmp29_ = NULL;
				gchar* _tmp30_ = NULL;
#line 697 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp29_ = env;
#line 697 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp30_ = g_strdup (_tmp29_);
#line 697 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (output);
#line 697 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				output = _tmp30_;
#line 3799 "tracker-preferences.c"
			}
		}
	}
#line 700 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = output;
#line 700 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 3807 "tracker-preferences.c"
}


static void _vala_array_add2 (gchar*** array, int* length, int* size, gchar* value) {
#line 727 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if ((*length) == (*size)) {
#line 727 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 727 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		*array = g_renew (gchar*, *array, (*size) + 1);
#line 3818 "tracker-preferences.c"
	}
#line 727 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	(*array)[(*length)++] = value;
#line 727 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	(*array)[*length] = NULL;
#line 3824 "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** list = NULL;
	gchar** _tmp0_ = NULL;
	gint list_length1 = 0;
	gint _list_size_ = 0;
	GtkTreeIter iter = {0};
	gboolean valid = FALSE;
	gchar** _tmp22_ = NULL;
	gint _tmp22__length1 = 0;
#line 703 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 703 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (model != NULL, NULL);
#line 704 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = g_new0 (gchar*, 0 + 1);
#line 704 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	list = _tmp0_;
#line 704 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	list_length1 = 0;
#line 704 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_list_size_ = list_length1;
#line 3850 "tracker-preferences.c"
	{
		GtkListStore* _tmp1_ = NULL;
		GtkTreeIter _tmp2_ = {0};
		gboolean _tmp3_ = FALSE;
		gboolean _tmp4_ = FALSE;
#line 708 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp1_ = model;
#line 708 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp3_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp1_, &_tmp2_);
#line 708 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		iter = _tmp2_;
#line 708 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		valid = _tmp3_;
#line 708 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = TRUE;
#line 708 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		while (TRUE) {
#line 3868 "tracker-preferences.c"
			gboolean _tmp7_ = FALSE;
			GValue value = {0};
			GtkListStore* _tmp8_ = NULL;
			GtkTreeIter _tmp9_ = {0};
			GValue _tmp10_ = {0};
			gboolean _tmp11_ = FALSE;
			gchar* dir = NULL;
			const gchar* _tmp17_ = NULL;
			gchar* _tmp18_ = NULL;
			gchar** _tmp19_ = NULL;
			gint _tmp19__length1 = 0;
			const gchar* _tmp20_ = NULL;
			gchar* _tmp21_ = NULL;
#line 708 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!_tmp4_) {
#line 3884 "tracker-preferences.c"
				GtkListStore* _tmp5_ = NULL;
				gboolean _tmp6_ = FALSE;
#line 710 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp5_ = model;
#line 710 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp6_ = gtk_tree_model_iter_next ((GtkTreeModel*) _tmp5_, &iter);
#line 710 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				valid = _tmp6_;
#line 3893 "tracker-preferences.c"
			}
#line 708 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp4_ = FALSE;
#line 709 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp7_ = valid;
#line 709 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!_tmp7_) {
#line 709 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				break;
#line 3903 "tracker-preferences.c"
			}
#line 713 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp8_ = model;
#line 713 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp9_ = iter;
#line 713 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_tree_model_get_value ((GtkTreeModel*) _tmp8_, &_tmp9_, 0, &_tmp10_);
#line 713 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 713 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			value = _tmp10_;
#line 715 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp11_ = recurse_required;
#line 715 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (_tmp11_) {
#line 3919 "tracker-preferences.c"
				GValue recurse = {0};
				GtkListStore* _tmp12_ = NULL;
				GtkTreeIter _tmp13_ = {0};
				GValue _tmp14_ = {0};
				gboolean _tmp15_ = FALSE;
				gboolean _tmp16_ = FALSE;
#line 718 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp12_ = model;
#line 718 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp13_ = iter;
#line 718 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_tree_model_get_value ((GtkTreeModel*) _tmp12_, &_tmp13_, 1, &_tmp14_);
#line 718 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				G_IS_VALUE (&recurse) ? (g_value_unset (&recurse), NULL) : NULL;
#line 718 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				recurse = _tmp14_;
#line 720 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp15_ = recurse_value;
#line 720 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp16_ = g_value_get_boolean (&recurse);
#line 720 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (_tmp15_ != _tmp16_) {
#line 721 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					G_IS_VALUE (&recurse) ? (g_value_unset (&recurse), NULL) : NULL;
#line 721 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 721 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					continue;
#line 3948 "tracker-preferences.c"
				}
#line 715 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				G_IS_VALUE (&recurse) ? (g_value_unset (&recurse), NULL) : NULL;
#line 3952 "tracker-preferences.c"
			}
#line 726 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp17_ = g_value_get_string (&value);
#line 726 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp18_ = tracker_preferences_dir_to_config (self, _tmp17_);
#line 726 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			dir = _tmp18_;
#line 727 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp19_ = list;
#line 727 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp19__length1 = list_length1;
#line 727 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp20_ = dir;
#line 727 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp21_ = g_strdup (_tmp20_);
#line 727 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_vala_array_add2 (&list, &list_length1, &_list_size_, _tmp21_);
#line 708 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_free0 (dir);
#line 708 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 3974 "tracker-preferences.c"
		}
	}
#line 730 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp22_ = list;
#line 730 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp22__length1 = list_length1;
#line 730 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (result_length1) {
#line 730 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		*result_length1 = _tmp22__length1;
#line 3985 "tracker-preferences.c"
	}
#line 730 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = _tmp22_;
#line 730 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 3991 "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_ = NULL;
	gchar* _tmp1_ = NULL;
#line 733 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 733 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (model != NULL, FALSE);
#line 733 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (needle != NULL, FALSE);
#line 738 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = needle;
#line 738 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = tracker_preferences_dir_from_config (self, _tmp0_);
#line 738 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_free0 (needle_evaluated);
#line 738 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	needle_evaluated = _tmp1_;
#line 4016 "tracker-preferences.c"
	{
		GtkTreeModel* _tmp2_ = NULL;
		GtkTreeIter _tmp3_ = {0};
		gboolean _tmp4_ = FALSE;
		gboolean _tmp5_ = FALSE;
#line 740 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = model;
#line 740 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = gtk_tree_model_get_iter_first (_tmp2_, &_tmp3_);
#line 740 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		iter = _tmp3_;
#line 740 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		valid = _tmp4_;
#line 740 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = TRUE;
#line 740 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		while (TRUE) {
#line 4034 "tracker-preferences.c"
			gboolean _tmp8_ = FALSE;
			GValue value = {0};
			GtkTreeModel* _tmp9_ = NULL;
			GtkTreeIter _tmp10_ = {0};
			GValue _tmp11_ = {0};
			const gchar* _tmp12_ = NULL;
			const gchar* _tmp13_ = NULL;
#line 740 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!_tmp5_) {
#line 4044 "tracker-preferences.c"
				GtkTreeModel* _tmp6_ = NULL;
				gboolean _tmp7_ = FALSE;
#line 742 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp6_ = model;
#line 742 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp7_ = gtk_tree_model_iter_next (_tmp6_, &iter);
#line 742 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				valid = _tmp7_;
#line 4053 "tracker-preferences.c"
			}
#line 740 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp5_ = FALSE;
#line 741 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp8_ = valid;
#line 741 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!_tmp8_) {
#line 741 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				break;
#line 4063 "tracker-preferences.c"
			}
#line 745 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp9_ = model;
#line 745 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp10_ = iter;
#line 745 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_tree_model_get_value (_tmp9_, &_tmp10_, 0, &_tmp11_);
#line 745 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 745 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			value = _tmp11_;
#line 747 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp12_ = g_value_get_string (&value);
#line 747 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp13_ = needle_evaluated;
#line 747 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (g_strcmp0 (_tmp12_, _tmp13_) == 0) {
#line 748 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				result = TRUE;
#line 748 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 748 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (needle_evaluated);
#line 748 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				return result;
#line 4089 "tracker-preferences.c"
			}
#line 740 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 4093 "tracker-preferences.c"
		}
	}
#line 752 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = FALSE;
#line 752 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_free0 (needle_evaluated);
#line 752 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 4102 "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 = 0;
	gchar** _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
	GError * _inner_error_ = NULL;
#line 755 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 755 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (model != NULL);
#line 756 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	position = 0;
#line 758 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = list;
#line 758 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0__length1 = list_length1;
#line 4121 "tracker-preferences.c"
	{
		gchar** s_collection = NULL;
		gint s_collection_length1 = 0;
		gint _s_collection_size_ = 0;
		gint s_it = 0;
#line 758 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		s_collection = _tmp0_;
#line 758 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		s_collection_length1 = _tmp0__length1;
#line 758 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		for (s_it = 0; s_it < _tmp0__length1; s_it = s_it + 1) {
#line 4133 "tracker-preferences.c"
			gchar* _tmp1_ = NULL;
			gchar* s = NULL;
#line 758 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp1_ = g_strdup (s_collection[s_it]);
#line 758 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			s = _tmp1_;
#line 4140 "tracker-preferences.c"
			{
				gboolean ignore = FALSE;
				GUserDirectory* _tmp2_ = NULL;
				gint _tmp2__length1 = 0;
				gboolean _tmp15_ = FALSE;
				gchar* str = NULL;
				const gchar* _tmp17_ = NULL;
				gchar* _tmp18_ = NULL;
#line 760 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				ignore = FALSE;
#line 763 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp2_ = self->priv->ignored_user_directories;
#line 763 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp2__length1 = self->priv->ignored_user_directories_length1;
#line 4155 "tracker-preferences.c"
				{
					GUserDirectory* ud_collection = NULL;
					gint ud_collection_length1 = 0;
					gint _ud_collection_size_ = 0;
					gint ud_it = 0;
#line 763 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					ud_collection = _tmp2_;
#line 763 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					ud_collection_length1 = _tmp2__length1;
#line 763 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					for (ud_it = 0; ud_it < _tmp2__length1; ud_it = ud_it + 1) {
#line 4167 "tracker-preferences.c"
						GUserDirectory ud = 0;
#line 763 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						ud = ud_collection[ud_it];
#line 4171 "tracker-preferences.c"
						{
							gchar* ud_string = NULL;
							GUserDirectory _tmp3_ = 0;
							const gchar* _tmp4_ = NULL;
							gchar* _tmp5_ = NULL;
							gchar* output = NULL;
							const gchar* _tmp6_ = NULL;
							const gchar* _tmp7_ = NULL;
							gint _tmp8_ = 0;
							gchar* _tmp9_ = NULL;
							gchar* _tmp10_ = NULL;
							gchar* _tmp11_ = NULL;
							gchar* _tmp12_ = NULL;
							const gchar* _tmp13_ = NULL;
							const gchar* _tmp14_ = NULL;
#line 764 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp3_ = ud;
#line 764 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp4_ = _g_user_directory_to_string (_tmp3_);
#line 764 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp5_ = g_strdup (_tmp4_);
#line 764 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							ud_string = _tmp5_;
#line 765 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp6_ = ud_string;
#line 765 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp7_ = ud_string;
#line 765 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp8_ = string_last_index_of_char (_tmp7_, (gunichar) '_', 0);
#line 765 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp9_ = string_substring (_tmp6_, (glong) (_tmp8_ + 1), (glong) (-1));
#line 765 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp10_ = _tmp9_;
#line 765 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp11_ = g_strdup_printf ("&%s", _tmp10_);
#line 765 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp12_ = _tmp11_;
#line 765 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_g_free0 (_tmp10_);
#line 765 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							output = _tmp12_;
#line 767 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp13_ = s;
#line 767 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp14_ = output;
#line 767 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							if (g_strcmp0 (_tmp13_, _tmp14_) == 0) {
#line 768 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
								ignore = TRUE;
#line 769 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
								_g_free0 (output);
#line 769 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
								_g_free0 (ud_string);
#line 769 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
								break;
#line 4227 "tracker-preferences.c"
							}
#line 763 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_g_free0 (output);
#line 763 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_g_free0 (ud_string);
#line 4233 "tracker-preferences.c"
						}
					}
				}
#line 773 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp15_ = ignore;
#line 773 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (_tmp15_) {
#line 4241 "tracker-preferences.c"
					const gchar* _tmp16_ = NULL;
#line 774 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp16_ = s;
#line 774 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					g_debug ("tracker-preferences.vala:774: Ignoring '%s' (duplicates other entries " \
"in config)", _tmp16_);
#line 775 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (s);
#line 775 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					continue;
#line 4251 "tracker-preferences.c"
				}
#line 778 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp17_ = s;
#line 778 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp18_ = tracker_preferences_dir_from_config (self, _tmp17_);
#line 778 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				str = _tmp18_;
#line 4259 "tracker-preferences.c"
				{
					gboolean _tmp19_ = FALSE;
#line 781 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp19_ = have_recurse;
#line 781 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					if (_tmp19_) {
#line 4266 "tracker-preferences.c"
						gchar* _tmp20_ = NULL;
						const gchar* _tmp21_ = NULL;
						gchar* _tmp22_ = NULL;
						GtkListStore* _tmp23_ = NULL;
						gint _tmp24_ = 0;
						gchar* _tmp25_ = NULL;
						gboolean _tmp26_ = FALSE;
#line 785 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp21_ = str;
#line 785 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp22_ = g_filename_to_utf8 (_tmp21_, (gssize) (-1), NULL, NULL, &_inner_error_);
#line 785 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp20_ = _tmp22_;
#line 785 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						if (_inner_error_ != NULL) {
#line 785 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							if (_inner_error_->domain == G_CONVERT_ERROR) {
#line 4284 "tracker-preferences.c"
								goto __catch3_g_convert_error;
							}
#line 785 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_g_free0 (str);
#line 785 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_g_free0 (s);
#line 785 "/home/martyn/Source/checkout/gnome/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 785 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							g_clear_error (&_inner_error_);
#line 785 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							return;
#line 4297 "tracker-preferences.c"
						}
#line 782 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp23_ = model;
#line 782 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp24_ = position;
#line 782 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						position = _tmp24_ + 1;
#line 782 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp25_ = _tmp20_;
#line 782 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp20_ = NULL;
#line 782 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp26_ = recurse;
#line 782 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_list_store_insert_with_values (_tmp23_, NULL, _tmp24_, 0, _tmp25_, 1, _tmp26_, -1, -1);
#line 781 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_g_free0 (_tmp20_);
#line 4315 "tracker-preferences.c"
					} else {
						gchar* _tmp27_ = NULL;
						const gchar* _tmp28_ = NULL;
						gchar* _tmp29_ = NULL;
						GtkListStore* _tmp30_ = NULL;
						gint _tmp31_ = 0;
						gchar* _tmp32_ = NULL;
#line 796 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp28_ = str;
#line 796 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp29_ = g_filename_to_utf8 (_tmp28_, (gssize) (-1), NULL, NULL, &_inner_error_);
#line 796 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp27_ = _tmp29_;
#line 796 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						if (_inner_error_ != NULL) {
#line 796 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							if (_inner_error_->domain == G_CONVERT_ERROR) {
#line 4333 "tracker-preferences.c"
								goto __catch3_g_convert_error;
							}
#line 796 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_g_free0 (str);
#line 796 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_g_free0 (s);
#line 796 "/home/martyn/Source/checkout/gnome/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 796 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							g_clear_error (&_inner_error_);
#line 796 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							return;
#line 4346 "tracker-preferences.c"
						}
#line 793 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp30_ = model;
#line 793 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp31_ = position;
#line 793 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						position = _tmp31_ + 1;
#line 793 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp32_ = _tmp27_;
#line 793 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp27_ = NULL;
#line 793 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_list_store_insert_with_values (_tmp30_, NULL, _tmp31_, 0, _tmp32_, -1, -1);
#line 781 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_g_free0 (_tmp27_);
#line 4362 "tracker-preferences.c"
					}
				}
				goto __finally3;
				__catch3_g_convert_error:
				{
					GError* e = NULL;
					GError* _tmp33_ = NULL;
					const gchar* _tmp34_ = NULL;
#line 780 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					e = _inner_error_;
#line 780 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_inner_error_ = NULL;
#line 802 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp33_ = e;
#line 802 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp34_ = _tmp33_->message;
#line 802 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					g_print ("Could not convert filename to UTF8: %s", _tmp34_);
#line 780 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_error_free0 (e);
#line 4383 "tracker-preferences.c"
				}
				__finally3:
#line 780 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (_inner_error_ != NULL) {
#line 780 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (str);
#line 780 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (s);
#line 780 "/home/martyn/Source/checkout/gnome/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 780 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					g_clear_error (&_inner_error_);
#line 780 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					return;
#line 4398 "tracker-preferences.c"
				}
#line 758 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (str);
#line 758 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (s);
#line 4404 "tracker-preferences.c"
			}
		}
	}
}


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


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


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


static void ____lambda5__gtk_cell_renderer_toggle_toggled (GtkCellRendererToggle* _sender, const gchar* path, gpointer self) {
#line 835 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	___lambda5_ (self, _sender, path);
#line 4492 "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;
	GList* columns = NULL;
	GtkTreeView* _tmp0_ = NULL;
	GList* _tmp1_ = NULL;
	GList* _tmp2_ = NULL;
	const gchar* _tmp6_ = NULL;
	GtkCellRendererText* _tmp7_ = NULL;
	GtkCellRendererText* _tmp8_ = NULL;
	GtkTreeViewColumn* _tmp9_ = NULL;
	GtkTreeViewColumn* _tmp10_ = NULL;
	GtkTreeView* _tmp11_ = NULL;
	GtkTreeViewColumn* _tmp12_ = NULL;
	gboolean _tmp13_ = FALSE;
	gboolean _tmp26_ = FALSE;
#line 807 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 807 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (view != NULL);
#line 807 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (title != NULL);
#line 809 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = view;
#line 809 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = gtk_tree_view_get_columns (_tmp0_);
#line 809 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	columns = _tmp1_;
#line 812 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = columns;
#line 4525 "tracker-preferences.c"
	{
		GList* c_collection = NULL;
		GList* c_it = NULL;
#line 812 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		c_collection = _tmp2_;
#line 812 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		for (c_it = c_collection; c_it != NULL; c_it = c_it->next) {
#line 4533 "tracker-preferences.c"
			GtkTreeViewColumn* _tmp3_ = NULL;
			GtkTreeViewColumn* c = NULL;
#line 812 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp3_ = _g_object_ref0 ((GtkTreeViewColumn*) c_it->data);
#line 812 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			c = _tmp3_;
#line 4540 "tracker-preferences.c"
			{
				GtkTreeView* _tmp4_ = NULL;
				GtkTreeViewColumn* _tmp5_ = NULL;
#line 813 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp4_ = view;
#line 813 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp5_ = c;
#line 813 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_tree_view_remove_column (_tmp4_, _tmp5_);
#line 812 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_object_unref0 (c);
#line 4552 "tracker-preferences.c"
			}
		}
	}
#line 816 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = title;
#line 816 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = (GtkCellRendererText*) gtk_cell_renderer_text_new ();
#line 816 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_object_ref_sink (_tmp7_);
#line 816 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp8_ = _tmp7_;
#line 816 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp9_ = gtk_tree_view_column_new_with_attributes (_tmp6_, (GtkCellRenderer*) _tmp8_, "text", 0, NULL, NULL);
#line 816 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_object_ref_sink (_tmp9_);
#line 816 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (column);
#line 816 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	column = _tmp9_;
#line 816 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (_tmp8_);
#line 820 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp10_ = column;
#line 820 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_tree_view_column_set_expand (_tmp10_, TRUE);
#line 821 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp11_ = view;
#line 821 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp12_ = column;
#line 821 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_tree_view_append_column (_tmp11_, _tmp12_);
#line 823 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp13_ = show_recurse_column;
#line 823 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp13_) {
#line 4588 "tracker-preferences.c"
		Block1Data* _data1_;
		GtkTreeView* _tmp14_ = NULL;
		GtkTreeModel* _tmp15_ = NULL;
		GtkListStore* _tmp16_ = NULL;
		GtkCellRendererToggle* cell = NULL;
		GtkCellRendererToggle* _tmp17_ = NULL;
		const gchar* _tmp18_ = NULL;
		GtkCellRendererToggle* _tmp19_ = NULL;
		GtkTreeViewColumn* _tmp20_ = NULL;
		GtkTreeViewColumn* _tmp21_ = NULL;
		GtkTreeViewColumn* _tmp22_ = NULL;
		GtkTreeView* _tmp23_ = NULL;
		GtkTreeViewColumn* _tmp24_ = NULL;
		GtkCellRendererToggle* _tmp25_ = NULL;
#line 823 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_data1_ = g_slice_new0 (Block1Data);
#line 823 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_data1_->_ref_count_ = 1;
#line 823 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_data1_->self = tracker_preferences_ref (self);
#line 824 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp14_ = view;
#line 824 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp15_ = gtk_tree_view_get_model (_tmp14_);
#line 824 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp16_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp15_, GTK_TYPE_LIST_STORE) ? ((GtkListStore*) _tmp15_) : NULL);
#line 824 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_data1_->store = _tmp16_;
#line 825 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp17_ = (GtkCellRendererToggle*) gtk_cell_renderer_toggle_new ();
#line 825 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_object_ref_sink (_tmp17_);
#line 825 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		cell = _tmp17_;
#line 827 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp18_ = _ ("Recurse");
#line 827 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp19_ = cell;
#line 827 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp20_ = gtk_tree_view_column_new_with_attributes (_tmp18_, (GtkCellRenderer*) _tmp19_, "active", 1, NULL, NULL);
#line 827 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_object_ref_sink (_tmp20_);
#line 827 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (column);
#line 827 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		column = _tmp20_;
#line 831 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp21_ = column;
#line 831 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_tree_view_column_set_expand (_tmp21_, FALSE);
#line 832 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp22_ = column;
#line 832 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_tree_view_column_set_fixed_width (_tmp22_, 50);
#line 833 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp23_ = view;
#line 833 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp24_ = column;
#line 833 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_tree_view_append_column (_tmp23_, _tmp24_);
#line 835 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp25_ = cell;
#line 835 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_signal_connect_data (_tmp25_, "toggled", (GCallback) ____lambda5__gtk_cell_renderer_toggle_toggled, block1_data_ref (_data1_), (GClosureNotify) block1_data_unref, 0);
#line 823 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (cell);
#line 823 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		block1_data_unref (_data1_);
#line 823 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_data1_ = NULL;
#line 4659 "tracker-preferences.c"
	}
#line 844 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp26_ = sort;
#line 844 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp26_) {
#line 4665 "tracker-preferences.c"
		GtkTreeSortable* sortable = NULL;
		GtkTreeView* _tmp27_ = NULL;
		GtkTreeModel* _tmp28_ = NULL;
		GtkTreeSortable* _tmp29_ = NULL;
		GtkTreeSortable* _tmp30_ = NULL;
#line 845 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp27_ = view;
#line 845 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp28_ = gtk_tree_view_get_model (_tmp27_);
#line 845 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp29_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp28_, GTK_TYPE_TREE_SORTABLE) ? ((GtkTreeSortable*) _tmp28_) : NULL);
#line 845 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		sortable = _tmp29_;
#line 846 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp30_ = sortable;
#line 846 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_tree_sortable_set_sort_column_id (_tmp30_, 0, GTK_SORT_ASCENDING);
#line 844 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (sortable);
#line 4685 "tracker-preferences.c"
	}
#line 807 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_list_free0 (columns);
#line 807 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (column);
#line 4691 "tracker-preferences.c"
}


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


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


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


static void tracker_preferences_sanitize_user_dirs (TrackerPreferences* self) {
	gchar** all_dirs = NULL;
	gint all_dirs_length1 = 0;
	gint _all_dirs_size_ = 0;
	gchar** _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
	const gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	GUserDirectory* _tmp23_ = NULL;
	gint _tmp23__length1 = 0;
#line 850 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 851 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	all_dirs = NULL;
#line 851 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	all_dirs_length1 = 0;
#line 851 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_all_dirs_size_ = all_dirs_length1;
#line 853 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = all_dirs;
#line 853 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0__length1 = all_dirs_length1;
#line 853 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->HOME_STRING_EVALUATED;
#line 853 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 853 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_vala_array_add3 (&all_dirs, &all_dirs_length1, &_all_dirs_size_, _tmp2_);
#line 4772 "tracker-preferences.c"
	{
		gint i = 0;
#line 855 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		i = 0;
#line 4777 "tracker-preferences.c"
		{
			gboolean _tmp3_ = FALSE;
#line 855 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp3_ = TRUE;
#line 855 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			while (TRUE) {
#line 4784 "tracker-preferences.c"
				gint _tmp5_ = 0;
				GUserDirectory ud = 0;
				gint _tmp6_ = 0;
				gchar* dir = NULL;
				GUserDirectory _tmp7_ = 0;
				const gchar* _tmp8_ = NULL;
				gchar* _tmp9_ = NULL;
				const gchar* _tmp10_ = NULL;
				gchar** _tmp11_ = NULL;
				gint _tmp11__length1 = 0;
				gchar** _tmp20_ = NULL;
				gint _tmp20__length1 = 0;
				const gchar* _tmp21_ = NULL;
				gchar* _tmp22_ = NULL;
#line 855 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (!_tmp3_) {
#line 4801 "tracker-preferences.c"
					gint _tmp4_ = 0;
#line 855 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp4_ = i;
#line 855 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					i = _tmp4_ + 1;
#line 4807 "tracker-preferences.c"
				}
#line 855 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp3_ = FALSE;
#line 855 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp5_ = i;
#line 855 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (!(_tmp5_ < ((gint) G_USER_N_DIRECTORIES))) {
#line 855 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					break;
#line 4817 "tracker-preferences.c"
				}
#line 856 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp6_ = i;
#line 856 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				ud = (GUserDirectory) _tmp6_;
#line 858 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp7_ = ud;
#line 858 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp8_ = g_get_user_special_dir (_tmp7_);
#line 858 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp9_ = g_strdup (_tmp8_);
#line 858 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				dir = _tmp9_;
#line 859 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp10_ = dir;
#line 859 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (_tmp10_ == NULL) {
#line 860 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (dir);
#line 860 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					continue;
#line 4839 "tracker-preferences.c"
				}
#line 863 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp11_ = all_dirs;
#line 863 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp11__length1 = all_dirs_length1;
#line 4845 "tracker-preferences.c"
				{
					gchar** d_collection = NULL;
					gint d_collection_length1 = 0;
					gint _d_collection_size_ = 0;
					gint d_it = 0;
#line 863 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					d_collection = _tmp11_;
#line 863 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					d_collection_length1 = _tmp11__length1;
#line 863 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					for (d_it = 0; d_it < _tmp11__length1; d_it = d_it + 1) {
#line 4857 "tracker-preferences.c"
						gchar* _tmp12_ = NULL;
						gchar* d = NULL;
#line 863 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp12_ = g_strdup (d_collection[d_it]);
#line 863 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						d = _tmp12_;
#line 4864 "tracker-preferences.c"
						{
							const gchar* _tmp13_ = NULL;
							const gchar* _tmp14_ = NULL;
#line 864 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp13_ = d;
#line 864 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp14_ = dir;
#line 864 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							if (g_strcmp0 (_tmp13_, _tmp14_) == 0) {
#line 4874 "tracker-preferences.c"
								const gchar* _tmp15_ = NULL;
								GUserDirectory _tmp16_ = 0;
								GUserDirectory _tmp17_ = 0;
#line 865 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
								_tmp15_ = d;
#line 865 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
								_tmp16_ = ud;
#line 865 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
								g_debug ("tracker-preferences.vala:865: Directory '%s' duplicated in XDG dir %d", _tmp15_, (gint) _tmp16_);
#line 867 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
								_tmp17_ = ud;
#line 867 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
								switch (_tmp17_) {
#line 867 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
									case G_USER_DIRECTORY_DESKTOP:
#line 867 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
									case G_USER_DIRECTORY_DOCUMENTS:
#line 867 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
									case G_USER_DIRECTORY_DOWNLOAD:
#line 867 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
									case G_USER_DIRECTORY_MUSIC:
#line 867 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
									case G_USER_DIRECTORY_PICTURES:
#line 867 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
									case G_USER_DIRECTORY_VIDEOS:
#line 4900 "tracker-preferences.c"
									{
										GUserDirectory* _tmp18_ = NULL;
										gint _tmp18__length1 = 0;
										GUserDirectory _tmp19_ = 0;
#line 874 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
										_tmp18_ = self->priv->ignored_user_directories;
#line 874 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
										_tmp18__length1 = self->priv->ignored_user_directories_length1;
#line 874 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
										_tmp19_ = ud;
#line 874 "/home/martyn/Source/checkout/gnome/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_, _tmp19_);
#line 875 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
										break;
#line 4915 "tracker-preferences.c"
									}
									default:
									{
#line 880 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
										break;
#line 4921 "tracker-preferences.c"
									}
								}
#line 883 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
								_g_free0 (d);
#line 883 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
								break;
#line 4928 "tracker-preferences.c"
							}
#line 863 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_g_free0 (d);
#line 4932 "tracker-preferences.c"
						}
					}
				}
#line 889 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp20_ = all_dirs;
#line 889 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp20__length1 = all_dirs_length1;
#line 889 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp21_ = dir;
#line 889 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp22_ = g_strdup (_tmp21_);
#line 889 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_vala_array_add5 (&all_dirs, &all_dirs_length1, &_all_dirs_size_, _tmp22_);
#line 855 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (dir);
#line 4948 "tracker-preferences.c"
			}
		}
	}
#line 892 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp23_ = self->priv->ignored_user_directories;
#line 892 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp23__length1 = self->priv->ignored_user_directories_length1;
#line 4956 "tracker-preferences.c"
	{
		GUserDirectory* ud_collection = NULL;
		gint ud_collection_length1 = 0;
		gint _ud_collection_size_ = 0;
		gint ud_it = 0;
#line 892 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		ud_collection = _tmp23_;
#line 892 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		ud_collection_length1 = _tmp23__length1;
#line 892 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		for (ud_it = 0; ud_it < _tmp23__length1; ud_it = ud_it + 1) {
#line 4968 "tracker-preferences.c"
			GUserDirectory ud = 0;
#line 892 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			ud = ud_collection[ud_it];
#line 4972 "tracker-preferences.c"
			{
				GUserDirectory _tmp24_ = 0;
#line 893 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp24_ = ud;
#line 893 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				switch (_tmp24_) {
#line 893 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_DESKTOP:
#line 4981 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp25_ = NULL;
#line 895 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp25_ = self->priv->togglebutton_desktop;
#line 895 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_widget_set_sensitive ((GtkWidget*) _tmp25_, FALSE);
#line 896 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 4990 "tracker-preferences.c"
					}
#line 893 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_DOCUMENTS:
#line 4994 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp26_ = NULL;
#line 898 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp26_ = self->priv->togglebutton_documents;
#line 898 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_widget_set_sensitive ((GtkWidget*) _tmp26_, FALSE);
#line 899 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 5003 "tracker-preferences.c"
					}
#line 893 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_DOWNLOAD:
#line 5007 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp27_ = NULL;
#line 901 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp27_ = self->priv->togglebutton_download;
#line 901 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_widget_set_sensitive ((GtkWidget*) _tmp27_, FALSE);
#line 902 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 5016 "tracker-preferences.c"
					}
#line 893 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_MUSIC:
#line 5020 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp28_ = NULL;
#line 904 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp28_ = self->priv->togglebutton_music;
#line 904 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_widget_set_sensitive ((GtkWidget*) _tmp28_, FALSE);
#line 905 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 5029 "tracker-preferences.c"
					}
#line 893 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_PICTURES:
#line 5033 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp29_ = NULL;
#line 907 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp29_ = self->priv->togglebutton_pictures;
#line 907 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_widget_set_sensitive ((GtkWidget*) _tmp29_, FALSE);
#line 908 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 5042 "tracker-preferences.c"
					}
#line 893 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_VIDEOS:
#line 5046 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp30_ = NULL;
#line 910 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp30_ = self->priv->togglebutton_videos;
#line 910 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_widget_set_sensitive ((GtkWidget*) _tmp30_, FALSE);
#line 911 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 5055 "tracker-preferences.c"
					}
					default:
					{
#line 913 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 5061 "tracker-preferences.c"
					}
				}
			}
		}
	}
#line 850 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	all_dirs = (_vala_array_free (all_dirs, all_dirs_length1, (GDestroyNotify) g_free), NULL);
#line 5069 "tracker-preferences.c"
}


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


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


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


static gpointer tracker_value_preferences_peek_pointer (const GValue* value) {
#line 31 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return value->data[0].v_pointer;
#line 5107 "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/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (collect_values[0].v_pointer) {
#line 5114 "tracker-preferences.c"
		TrackerPreferences* object;
		object = collect_values[0].v_pointer;
#line 31 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (object->parent_instance.g_class == NULL) {
#line 31 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 5121 "tracker-preferences.c"
		} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 31 "/home/martyn/Source/checkout/gnome/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 5125 "tracker-preferences.c"
		}
#line 31 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		value->data[0].v_pointer = tracker_preferences_ref (object);
#line 5129 "tracker-preferences.c"
	} else {
#line 31 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		value->data[0].v_pointer = NULL;
#line 5133 "tracker-preferences.c"
	}
#line 31 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return NULL;
#line 5137 "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/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (!object_p) {
#line 31 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
#line 5148 "tracker-preferences.c"
	}
#line 31 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (!value->data[0].v_pointer) {
#line 31 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		*object_p = NULL;
#line 5154 "tracker-preferences.c"
	} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 31 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		*object_p = value->data[0].v_pointer;
#line 5158 "tracker-preferences.c"
	} else {
#line 31 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		*object_p = tracker_preferences_ref (value->data[0].v_pointer);
#line 5162 "tracker-preferences.c"
	}
#line 31 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return NULL;
#line 5166 "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/checkout/gnome/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/checkout/gnome/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/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	G_PARAM_SPEC (spec)->value_type = object_type;
#line 31 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return G_PARAM_SPEC (spec);
#line 5180 "tracker-preferences.c"
}


gpointer tracker_value_get_preferences (const GValue* value) {
#line 31 "/home/martyn/Source/checkout/gnome/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/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return value->data[0].v_pointer;
#line 5189 "tracker-preferences.c"
}


void tracker_value_set_preferences (GValue* value, gpointer v_object) {
	TrackerPreferences* old;
#line 31 "/home/martyn/Source/checkout/gnome/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/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	old = value->data[0].v_pointer;
#line 31 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (v_object) {
#line 31 "/home/martyn/Source/checkout/gnome/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/checkout/gnome/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/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		value->data[0].v_pointer = v_object;
#line 31 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		tracker_preferences_ref (value->data[0].v_pointer);
#line 5209 "tracker-preferences.c"
	} else {
#line 31 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		value->data[0].v_pointer = NULL;
#line 5213 "tracker-preferences.c"
	}
#line 31 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (old) {
#line 31 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		tracker_preferences_unref (old);
#line 5219 "tracker-preferences.c"
	}
}


void tracker_value_take_preferences (GValue* value, gpointer v_object) {
	TrackerPreferences* old;
#line 31 "/home/martyn/Source/checkout/gnome/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/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	old = value->data[0].v_pointer;
#line 31 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (v_object) {
#line 31 "/home/martyn/Source/checkout/gnome/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/checkout/gnome/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/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		value->data[0].v_pointer = v_object;
#line 5238 "tracker-preferences.c"
	} else {
#line 31 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		value->data[0].v_pointer = NULL;
#line 5242 "tracker-preferences.c"
	}
#line 31 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (old) {
#line 31 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		tracker_preferences_unref (old);
#line 5248 "tracker-preferences.c"
	}
}


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


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


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


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


gint _vala_main (gchar** args, int args_length1) {
	gint result = 0;
	GOptionContext* context = NULL;
	const gchar* _tmp0_ = NULL;
	GOptionContext* _tmp1_ = NULL;
	gboolean _tmp14_ = FALSE;
	TrackerPreferences* p = NULL;
	TrackerPreferences* _tmp39_ = NULL;
	TrackerPreferences* _tmp40_ = NULL;
	GError * _inner_error_ = NULL;
#line 933 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = _ ("Desktop Search preferences");
#line 933 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = g_option_context_new (_tmp0_);
#line 933 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	context = _tmp1_;
#line 5418 "tracker-preferences.c"
	{
		GOptionContext* _tmp2_ = NULL;
		GOptionContext* _tmp3_ = NULL;
		GOptionContext* _tmp4_ = NULL;
		GOptionGroup* _tmp5_ = NULL;
		GOptionContext* _tmp6_ = NULL;
#line 936 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = context;
#line 936 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_option_context_set_help_enabled (_tmp2_, TRUE);
#line 937 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp3_ = context;
#line 937 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_option_context_add_main_entries (_tmp3_, options, NULL);
#line 938 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = context;
#line 938 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = gtk_get_option_group (TRUE);
#line 938 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_option_context_add_group (_tmp4_, _tmp5_);
#line 939 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp6_ = context;
#line 939 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_option_context_parse (_tmp6_, &args_length1, &args, &_inner_error_);
#line 939 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_inner_error_ != NULL) {
#line 5445 "tracker-preferences.c"
			goto __catch4_g_error;
		}
	}
	goto __finally4;
	__catch4_g_error:
	{
		GError* e = NULL;
		GError* _tmp7_ = NULL;
		const gchar* _tmp8_ = NULL;
		gchar* _tmp9_ = NULL;
		gchar* _tmp10_ = NULL;
		GOptionContext* _tmp11_ = NULL;
		gchar* _tmp12_ = NULL;
		gchar* _tmp13_ = NULL;
#line 935 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		e = _inner_error_;
#line 935 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_inner_error_ = NULL;
#line 941 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp7_ = e;
#line 941 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp8_ = _tmp7_->message;
#line 941 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp9_ = g_strconcat (_tmp8_, "\n\n", NULL);
#line 941 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp10_ = _tmp9_;
#line 941 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_printerr ("%s", _tmp10_);
#line 941 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (_tmp10_);
#line 942 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp11_ = context;
#line 942 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp12_ = g_option_context_get_help (_tmp11_, TRUE, NULL);
#line 942 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp13_ = _tmp12_;
#line 942 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_printerr ("%s", _tmp13_);
#line 942 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (_tmp13_);
#line 943 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		result = 1;
#line 943 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_error_free0 (e);
#line 943 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_option_context_free0 (context);
#line 943 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		return result;
#line 5494 "tracker-preferences.c"
	}
	__finally4:
#line 935 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_inner_error_ != NULL) {
#line 935 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_option_context_free0 (context);
#line 935 "/home/martyn/Source/checkout/gnome/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 935 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_clear_error (&_inner_error_);
#line 935 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		return 0;
#line 5507 "tracker-preferences.c"
	}
#line 946 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp14_ = print_version;
#line 946 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp14_) {
#line 5513 "tracker-preferences.c"
		gchar* about = NULL;
		gchar* _tmp15_ = NULL;
		gchar* license = NULL;
		gchar* _tmp16_ = NULL;
		const gchar* _tmp17_ = NULL;
		gchar* _tmp18_ = NULL;
		const gchar* _tmp19_ = NULL;
		gchar* _tmp20_ = NULL;
		const gchar* _tmp21_ = NULL;
		gchar* _tmp22_ = NULL;
		const gchar* _tmp23_ = NULL;
		gchar* _tmp24_ = NULL;
		const gchar* _tmp25_ = NULL;
		gchar* _tmp26_ = NULL;
		const gchar* _tmp27_ = NULL;
		gchar* _tmp28_ = NULL;
		const gchar* _tmp29_ = NULL;
		gchar* _tmp30_ = NULL;
		gchar* _tmp31_ = NULL;
		gchar* _tmp32_ = NULL;
		gchar* _tmp33_ = NULL;
		const gchar* _tmp34_ = NULL;
		gchar* _tmp35_ = NULL;
		gchar* _tmp36_ = NULL;
		gchar* _tmp37_ = NULL;
		gchar* _tmp38_ = NULL;
#line 947 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp15_ = g_strdup ("");
#line 947 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		about = _tmp15_;
#line 948 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp16_ = g_strdup ("");
#line 948 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		license = _tmp16_;
#line 950 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp17_ = about;
#line 950 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp18_ = g_strconcat (_tmp17_, "Tracker " PACKAGE_VERSION "\n", NULL);
#line 950 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (about);
#line 950 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		about = _tmp18_;
#line 952 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp19_ = license;
#line 952 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp20_ = g_strconcat (_tmp19_, "This program is free software and comes without any warranty.\n", NULL);
#line 952 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (license);
#line 952 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		license = _tmp20_;
#line 953 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp21_ = license;
#line 953 "/home/martyn/Source/checkout/gnome/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 953 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (license);
#line 953 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		license = _tmp22_;
#line 954 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp23_ = license;
#line 954 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp24_ = g_strconcat (_tmp23_, "License which can be viewed at:\n", NULL);
#line 954 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (license);
#line 954 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		license = _tmp24_;
#line 955 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp25_ = license;
#line 955 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp26_ = g_strconcat (_tmp25_, "\n", NULL);
#line 955 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (license);
#line 955 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		license = _tmp26_;
#line 956 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp27_ = license;
#line 956 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp28_ = g_strconcat (_tmp27_, "  http://www.gnu.org/licenses/gpl.txt\n", NULL);
#line 956 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (license);
#line 956 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		license = _tmp28_;
#line 958 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp29_ = about;
#line 958 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp30_ = g_strconcat ("\n", _tmp29_, NULL);
#line 958 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp31_ = _tmp30_;
#line 958 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp32_ = g_strconcat (_tmp31_, "\n", NULL);
#line 958 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp33_ = _tmp32_;
#line 958 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp34_ = license;
#line 958 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp35_ = g_strconcat (_tmp33_, _tmp34_, NULL);
#line 958 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp36_ = _tmp35_;
#line 958 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp37_ = g_strconcat (_tmp36_, "\n", NULL);
#line 958 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp38_ = _tmp37_;
#line 958 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_print ("%s", _tmp38_);
#line 958 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (_tmp38_);
#line 958 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (_tmp36_);
#line 958 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (_tmp33_);
#line 958 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (_tmp31_);
#line 959 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		result = 0;
#line 959 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (license);
#line 959 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (about);
#line 959 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_option_context_free0 (context);
#line 959 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		return result;
#line 5636 "tracker-preferences.c"
	}
#line 962 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_init (&args_length1, &args);
#line 964 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
#line 965 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
#line 966 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	textdomain (GETTEXT_PACKAGE);
#line 968 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp39_ = tracker_preferences_new ();
#line 968 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	p = _tmp39_;
#line 969 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp40_ = p;
#line 969 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_show (_tmp40_);
#line 971 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_main ();
#line 973 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = 0;
#line 973 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tracker_preferences_unref0 (p);
#line 973 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_option_context_free0 (context);
#line 973 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 5664 "tracker-preferences.c"
}


int main (int argc, char ** argv) {
#if !GLIB_CHECK_VERSION (2,35,0)
	g_type_init ();
#endif
#line 932 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return _vala_main (argv, argc);
#line 5674 "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;
}



