/* tracker-preferences.c generated by valac 0.24.0.131-42e78, 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 <stdio.h>
#include <gmodule.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_fts;
	GSettings* settings_miner_fs;
	GSettings* settings_extract;
	gboolean suggest_reindex;
	gboolean suggest_restart;
	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;
	GtkCheckButton* checkbutton_index_file_content;
	GtkCheckButton* checkbutton_index_numbers;
	GtkBox* 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 __lambda4_ (TrackerPreferences* self, const gchar* key);
static void ___lambda4__g_settings_changed (GSettings* _sender, const gchar* key, gpointer self);
static void __lambda5_ (TrackerPreferences* self, const gchar* key);
static void ___lambda5__g_settings_changed (GSettings* _sender, const gchar* key, gpointer self);
static void __lambda6_ (TrackerPreferences* self, const gchar* key);
static void ___lambda6__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);
static void tracker_preferences_reindex (TrackerPreferences* self);
static void tracker_preferences_restart (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_checkbutton_index_file_content_toggled_cb (GtkCheckButton* source, TrackerPreferences* self);
void tracker_preferences_checkbutton_index_numbers_toggled_cb (GtkCheckButton* 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 ___lambda7_ (Block1Data* _data1_, GtkCellRendererToggle* toggle, const gchar* path);
static void ____lambda7__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 __lambda4_ (TrackerPreferences* self, const gchar* key) {
	const gchar* _tmp0_ = NULL;
#line 95 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (key != NULL);
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = key;
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_print ("tracker-fts: Key '%s' changed\n", _tmp0_);
#line 231 "tracker-preferences.c"
}


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


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


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


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


static void ___lambda6__g_settings_changed (GSettings* _sender, const gchar* key, gpointer self) {
#line 103 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	__lambda6_ ((TrackerPreferences*) self, key);
#line 276 "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;
	GSettings* _tmp5_ = NULL;
	GSettings* _tmp6_ = NULL;
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self = (TrackerPreferences*) g_type_create_instance (object_type);
#line 81 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_debug ("tracker-preferences.vala:81: Getting current settings");
#line 83 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = tracker_preferences_dir_from_config (self, TRACKER_PREFERENCES_HOME_STRING);
#line 83 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_free0 (self->priv->HOME_STRING_EVALUATED);
#line 83 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->HOME_STRING_EVALUATED = _tmp0_;
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = g_settings_new ("org.freedesktop.Tracker.FTS");
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->settings_fts);
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->settings_fts = _tmp1_;
#line 88 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = g_settings_new ("org.freedesktop.Tracker.Miner.Files");
#line 88 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->settings_miner_fs);
#line 88 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->settings_miner_fs = _tmp2_;
#line 91 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = g_settings_new ("org.freedesktop.Tracker.Extract");
#line 91 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->settings_extract);
#line 91 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->settings_extract = _tmp3_;
#line 95 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = self->priv->settings_fts;
#line 95 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_signal_connect (_tmp4_, "changed", (GCallback) ___lambda4__g_settings_changed, self);
#line 99 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = self->priv->settings_miner_fs;
#line 99 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_signal_connect (_tmp5_, "changed", (GCallback) ___lambda5__g_settings_changed, self);
#line 103 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = self->priv->settings_extract;
#line 103 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_signal_connect (_tmp6_, "changed", (GCallback) ___lambda6__g_settings_changed, self);
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return self;
#line 331 "tracker-preferences.c"
}


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


static gpointer _g_object_ref0 (gpointer self) {
#line 132 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return self ? g_object_ref (self) : NULL;
#line 345 "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 237 "/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 352 "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;
	GtkCheckButton* _tmp50_ = NULL;
	GObject* _tmp51_ = NULL;
	GtkCheckButton* _tmp52_ = NULL;
	GObject* _tmp53_ = NULL;
	GtkBox* _tmp54_ = NULL;
	GObject* _tmp55_ = NULL;
	GtkButton* _tmp56_ = NULL;
	GObject* _tmp57_ = NULL;
	GtkTreeView* _tmp58_ = NULL;
	GObject* _tmp59_ = NULL;
	GtkTreeViewColumn* _tmp60_ = NULL;
	GObject* _tmp61_ = NULL;
	GtkTreeViewColumn* _tmp62_ = NULL;
	GObject* _tmp63_ = NULL;
	GtkTreeView* _tmp64_ = NULL;
	GObject* _tmp65_ = NULL;
	GtkTreeView* _tmp66_ = NULL;
	GObject* _tmp67_ = NULL;
	GtkTreeView* _tmp68_ = NULL;
	GtkTreeView* _tmp69_ = NULL;
	const gchar* _tmp70_ = NULL;
	GtkTreeView* _tmp71_ = NULL;
	const gchar* _tmp72_ = NULL;
	GtkTreeView* _tmp73_ = NULL;
	const gchar* _tmp74_ = NULL;
	GtkTreeView* _tmp75_ = NULL;
	const gchar* _tmp76_ = NULL;
	GObject* _tmp77_ = NULL;
	GtkListStore* _tmp78_ = NULL;
	GtkListStore* _tmp79_ = NULL;
	GObject* _tmp80_ = NULL;
	GtkListStore* _tmp81_ = NULL;
	GObject* _tmp82_ = NULL;
	GtkListStore* _tmp83_ = NULL;
	GObject* _tmp84_ = NULL;
	GtkListStore* _tmp85_ = NULL;
	GtkCheckButton* _tmp86_ = NULL;
	GSettings* _tmp87_ = NULL;
	gboolean _tmp88_ = FALSE;
	GtkCheckButton* _tmp89_ = NULL;
	GtkCheckButton* _tmp90_ = NULL;
	gboolean _tmp91_ = FALSE;
	gboolean _tmp92_ = FALSE;
	GtkCheckButton* _tmp93_ = NULL;
	GSettings* _tmp94_ = NULL;
	gboolean _tmp95_ = FALSE;
	GtkSpinButton* _tmp96_ = NULL;
	GtkSpinButton* _tmp97_ = NULL;
	GSettings* _tmp98_ = NULL;
	gint _tmp99_ = 0;
	GtkCheckButton* _tmp100_ = NULL;
	GSettings* _tmp101_ = NULL;
	gboolean _tmp102_ = FALSE;
	GtkCheckButton* _tmp103_ = NULL;
	GSettings* _tmp104_ = NULL;
	gboolean _tmp105_ = FALSE;
	GtkCheckButton* _tmp106_ = NULL;
	GtkCheckButton* _tmp107_ = NULL;
	gboolean _tmp108_ = FALSE;
	gboolean _tmp109_ = FALSE;
	GtkCheckButton* _tmp110_ = NULL;
	GSettings* _tmp111_ = NULL;
	gboolean _tmp112_ = FALSE;
	GtkScale* _tmp113_ = NULL;
	GSettings* _tmp114_ = NULL;
	gint _tmp115_ = 0;
	GtkScale* _tmp116_ = NULL;
	GSettings* _tmp117_ = NULL;
	gint _tmp118_ = 0;
	gint sched_idle = 0;
	GSettings* _tmp119_ = NULL;
	gint _tmp120_ = 0;
	gint _tmp121_ = 0;
	GtkListStore* _tmp128_ = NULL;
	GSettings* _tmp129_ = NULL;
	gchar** _tmp130_ = NULL;
	gchar** _tmp131_ = NULL;
	gchar** _tmp132_ = NULL;
	gint _tmp132__length1 = 0;
	GtkListStore* _tmp133_ = NULL;
	GSettings* _tmp134_ = NULL;
	gchar** _tmp135_ = NULL;
	gchar** _tmp136_ = NULL;
	gchar** _tmp137_ = NULL;
	gint _tmp137__length1 = 0;
	GtkListStore* _tmp138_ = NULL;
	GSettings* _tmp139_ = NULL;
	gchar** _tmp140_ = NULL;
	gchar** _tmp141_ = NULL;
	gchar** _tmp142_ = NULL;
	gint _tmp142__length1 = 0;
	GtkListStore* _tmp143_ = NULL;
	GSettings* _tmp144_ = NULL;
	gchar** _tmp145_ = NULL;
	gchar** _tmp146_ = NULL;
	gchar** _tmp147_ = NULL;
	gint _tmp147__length1 = 0;
	GtkListStore* _tmp148_ = NULL;
	GSettings* _tmp149_ = NULL;
	gchar** _tmp150_ = NULL;
	gchar** _tmp151_ = NULL;
	gchar** _tmp152_ = NULL;
	gint _tmp152__length1 = 0;
	GUserDirectory* _tmp153_ = NULL;
	gint _tmp153__length1 = 0;
	GtkToggleButton* _tmp156_ = NULL;
	GtkListStore* _tmp157_ = NULL;
	const gchar* _tmp158_ = NULL;
	gboolean _tmp159_ = FALSE;
	GtkToggleButton* _tmp160_ = NULL;
	GtkListStore* _tmp161_ = NULL;
	gboolean _tmp162_ = FALSE;
	GtkToggleButton* _tmp163_ = NULL;
	GtkListStore* _tmp164_ = NULL;
	gboolean _tmp165_ = FALSE;
	GtkToggleButton* _tmp166_ = NULL;
	GtkListStore* _tmp167_ = NULL;
	gboolean _tmp168_ = FALSE;
	GtkToggleButton* _tmp169_ = NULL;
	GtkListStore* _tmp170_ = NULL;
	gboolean _tmp171_ = FALSE;
	GtkToggleButton* _tmp172_ = NULL;
	GtkListStore* _tmp173_ = NULL;
	gboolean _tmp174_ = FALSE;
	GtkToggleButton* _tmp175_ = NULL;
	GtkListStore* _tmp176_ = NULL;
	gboolean _tmp177_ = FALSE;
	GtkCheckButton* _tmp178_ = NULL;
	GSettings* _tmp179_ = NULL;
	gint _tmp180_ = 0;
	GtkCheckButton* _tmp181_ = NULL;
	GSettings* _tmp182_ = NULL;
	gboolean _tmp183_ = FALSE;
	GError * _inner_error_ = NULL;
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = gtk_builder_new ();
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	builder = _tmp0_;
#line 544 "tracker-preferences.c"
	{
#line 112 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_debug ("tracker-preferences.vala:112: Trying to use UI file:'%s'", SRCDIR TRACKER_PREFERENCES_UI_FILE);
#line 113 "/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 113 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 552 "tracker-preferences.c"
			goto __catch0_g_error;
		}
	}
	goto __finally0;
	__catch0_g_error:
	{
		GError* e = NULL;
#line 111 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		e = _inner_error_;
#line 111 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_inner_error_ = NULL;
#line 564 "tracker-preferences.c"
		{
#line 117 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_debug ("tracker-preferences.vala:117: Trying to use UI file:'%s'", TRACKER_UI_DIR TRACKER_PREFERENCES_UI_FILE);
#line 118 "/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 118 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 572 "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 116 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			e = _inner_error_;
#line 116 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_inner_error_ = NULL;
#line 120 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp1_ = e;
#line 120 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp2_ = _tmp1_->message;
#line 120 "/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 120 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_object_ref_sink (_tmp3_);
#line 120 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			msg = _tmp3_;
#line 126 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp4_ = msg;
#line 126 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_dialog_run ((GtkDialog*) _tmp4_);
#line 127 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_main_quit ();
#line 116 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_object_unref0 (msg);
#line 116 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_error_free0 (e);
#line 609 "tracker-preferences.c"
		}
		__finally1:
#line 116 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 116 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_error_free0 (e);
#line 116 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_error_free0 (e);
#line 116 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_object_unref0 (builder);
#line 116 "/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 116 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_clear_error (&_inner_error_);
#line 116 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			return;
#line 626 "tracker-preferences.c"
		}
#line 111 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_error_free0 (e);
#line 630 "tracker-preferences.c"
	}
	__finally0:
#line 111 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 111 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (builder);
#line 111 "/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 111 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_clear_error (&_inner_error_);
#line 111 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		return;
#line 643 "tracker-preferences.c"
	}
#line 132 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = gtk_builder_get_object (builder, "tracker-preferences");
#line 132 "/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 132 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->window);
#line 132 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->window = _tmp6_;
#line 133 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = gtk_builder_get_object (builder, "notebook");
#line 133 "/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 133 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->notebook);
#line 133 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->notebook = _tmp8_;
#line 135 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp9_ = gtk_builder_get_object (builder, "checkbutton_enable_monitoring");
#line 135 "/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 135 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_enable_monitoring);
#line 135 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->checkbutton_enable_monitoring = _tmp10_;
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp11_ = gtk_builder_get_object (builder, "checkbutton_enable_index_on_battery");
#line 136 "/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 136 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_enable_index_on_battery);
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->checkbutton_enable_index_on_battery = _tmp12_;
#line 137 "/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 137 "/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 137 "/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 137 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->checkbutton_enable_index_on_battery_first_time = _tmp14_;
#line 138 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp15_ = gtk_builder_get_object (builder, "spinbutton_delay");
#line 138 "/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 138 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->spinbutton_delay);
#line 138 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->spinbutton_delay = _tmp16_;
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp17_ = gtk_builder_get_object (builder, "checkbutton_index_removable_media");
#line 139 "/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 139 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_index_removable_media);
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->checkbutton_index_removable_media = _tmp18_;
#line 140 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp19_ = gtk_builder_get_object (builder, "checkbutton_index_optical_discs");
#line 140 "/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 140 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_index_optical_discs);
#line 140 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->checkbutton_index_optical_discs = _tmp20_;
#line 141 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp21_ = self->priv->checkbutton_index_optical_discs;
#line 141 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp22_ = self->priv->checkbutton_index_removable_media;
#line 141 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp23_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp22_);
#line 141 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp24_ = _tmp23_;
#line 141 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp21_, _tmp24_);
#line 142 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp25_ = gtk_builder_get_object (builder, "hscale_disk_space_limit");
#line 142 "/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 142 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->hscale_disk_space_limit);
#line 142 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->hscale_disk_space_limit = _tmp26_;
#line 143 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp27_ = gtk_builder_get_object (builder, "radiobutton_sched_idle_always");
#line 143 "/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 143 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->radiobutton_sched_idle_always);
#line 143 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->radiobutton_sched_idle_always = _tmp28_;
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp29_ = gtk_builder_get_object (builder, "radiobutton_sched_idle_first_index");
#line 144 "/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 144 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->radiobutton_sched_idle_first_index);
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->radiobutton_sched_idle_first_index = _tmp30_;
#line 145 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp31_ = gtk_builder_get_object (builder, "radiobutton_sched_idle_never");
#line 145 "/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 145 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->radiobutton_sched_idle_never);
#line 145 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->radiobutton_sched_idle_never = _tmp32_;
#line 146 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp33_ = gtk_builder_get_object (builder, "hscale_drop_device_threshold");
#line 146 "/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 146 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->hscale_drop_device_threshold);
#line 146 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->hscale_drop_device_threshold = _tmp34_;
#line 147 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp35_ = gtk_builder_get_object (builder, "togglebutton_home");
#line 147 "/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 147 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_home);
#line 147 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_home = _tmp36_;
#line 148 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp37_ = gtk_builder_get_object (builder, "togglebutton_desktop");
#line 148 "/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 148 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_desktop);
#line 148 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_desktop = _tmp38_;
#line 149 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp39_ = gtk_builder_get_object (builder, "togglebutton_documents");
#line 149 "/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 149 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_documents);
#line 149 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_documents = _tmp40_;
#line 150 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp41_ = gtk_builder_get_object (builder, "togglebutton_music");
#line 150 "/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 150 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_music);
#line 150 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_music = _tmp42_;
#line 151 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp43_ = gtk_builder_get_object (builder, "togglebutton_pictures");
#line 151 "/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 151 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_pictures);
#line 151 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_pictures = _tmp44_;
#line 152 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp45_ = gtk_builder_get_object (builder, "togglebutton_videos");
#line 152 "/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 152 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_videos);
#line 152 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_videos = _tmp46_;
#line 153 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp47_ = gtk_builder_get_object (builder, "togglebutton_download");
#line 153 "/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 153 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_download);
#line 153 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->togglebutton_download = _tmp48_;
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp49_ = gtk_builder_get_object (builder, "checkbutton_index_file_content");
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp50_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp49_, GTK_TYPE_CHECK_BUTTON) ? ((GtkCheckButton*) _tmp49_) : NULL);
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_index_file_content);
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->checkbutton_index_file_content = _tmp50_;
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp51_ = gtk_builder_get_object (builder, "checkbutton_index_numbers");
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp52_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp51_, GTK_TYPE_CHECK_BUTTON) ? ((GtkCheckButton*) _tmp51_) : NULL);
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_index_numbers);
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->checkbutton_index_numbers = _tmp52_;
#line 156 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp53_ = gtk_builder_get_object (builder, "hbox_duplicate_warning");
#line 156 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp54_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp53_, GTK_TYPE_BOX) ? ((GtkBox*) _tmp53_) : NULL);
#line 156 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->hbox_duplicate_warning);
#line 156 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->hbox_duplicate_warning = _tmp54_;
#line 158 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp55_ = gtk_builder_get_object (builder, "button_reindex");
#line 158 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp56_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp55_, GTK_TYPE_BUTTON) ? ((GtkButton*) _tmp55_) : NULL);
#line 158 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->button_reindex);
#line 158 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->button_reindex = _tmp56_;
#line 160 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp57_ = gtk_builder_get_object (builder, "treeview_index");
#line 160 "/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) ? ((GtkTreeView*) _tmp57_) : NULL);
#line 160 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_index);
#line 160 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->treeview_index = _tmp58_;
#line 161 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp59_ = gtk_builder_get_object (builder, "treeviewcolumn_index1");
#line 161 "/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_COLUMN) ? ((GtkTreeViewColumn*) _tmp59_) : NULL);
#line 161 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeviewcolumn_index1);
#line 161 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->treeviewcolumn_index1 = _tmp60_;
#line 162 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp61_ = gtk_builder_get_object (builder, "treeviewcolumn_index1");
#line 162 "/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_COLUMN) ? ((GtkTreeViewColumn*) _tmp61_) : NULL);
#line 162 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeviewcolumn_index2);
#line 162 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->treeviewcolumn_index2 = _tmp62_;
#line 163 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp63_ = gtk_builder_get_object (builder, "treeview_ignored_directories");
#line 163 "/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 163 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_ignored_directories);
#line 163 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->treeview_ignored_directories = _tmp64_;
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp65_ = gtk_builder_get_object (builder, "treeview_ignored_directories_with_content");
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp66_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp65_, GTK_TYPE_TREE_VIEW) ? ((GtkTreeView*) _tmp65_) : NULL);
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_ignored_directories_with_content);
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->treeview_ignored_directories_with_content = _tmp66_;
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp67_ = gtk_builder_get_object (builder, "treeview_ignored_files");
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp68_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp67_, GTK_TYPE_TREE_VIEW) ? ((GtkTreeView*) _tmp67_) : NULL);
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_ignored_files);
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->treeview_ignored_files = _tmp68_;
#line 167 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp69_ = self->priv->treeview_index;
#line 167 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp70_ = _ ("Directory");
#line 167 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_treeview_setup (self, _tmp69_, _tmp70_, TRUE, FALSE);
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp71_ = self->priv->treeview_ignored_directories;
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp72_ = _ ("Directory");
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_treeview_setup (self, _tmp71_, _tmp72_, FALSE, TRUE);
#line 169 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp73_ = self->priv->treeview_ignored_directories_with_content;
#line 169 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp74_ = _ ("Directory");
#line 169 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_treeview_setup (self, _tmp73_, _tmp74_, FALSE, TRUE);
#line 170 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp75_ = self->priv->treeview_ignored_files;
#line 170 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp76_ = _ ("File");
#line 170 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_treeview_setup (self, _tmp75_, _tmp76_, FALSE, TRUE);
#line 172 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp77_ = gtk_builder_get_object (builder, "liststore_index");
#line 172 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp78_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp77_, GTK_TYPE_LIST_STORE) ? ((GtkListStore*) _tmp77_) : NULL);
#line 172 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_index);
#line 172 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->liststore_index = _tmp78_;
#line 173 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp79_ = self->priv->liststore_index;
#line 173 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_tree_sortable_set_sort_column_id ((GtkTreeSortable*) _tmp79_, 0, GTK_SORT_ASCENDING);
#line 174 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp80_ = gtk_builder_get_object (builder, "liststore_ignored_directories");
#line 174 "/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 174 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_ignored_directories);
#line 174 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->liststore_ignored_directories = _tmp81_;
#line 175 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp82_ = gtk_builder_get_object (builder, "liststore_ignored_files");
#line 175 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp83_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp82_, GTK_TYPE_LIST_STORE) ? ((GtkListStore*) _tmp82_) : NULL);
#line 175 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_ignored_files);
#line 175 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->liststore_ignored_files = _tmp83_;
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp84_ = gtk_builder_get_object (builder, "liststore_ignored_directories_with_content");
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp85_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp84_, GTK_TYPE_LIST_STORE) ? ((GtkListStore*) _tmp84_) : NULL);
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_ignored_directories_with_content);
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->liststore_ignored_directories_with_content = _tmp85_;
#line 179 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp86_ = self->priv->checkbutton_enable_index_on_battery;
#line 179 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp87_ = self->priv->settings_miner_fs;
#line 179 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp88_ = g_settings_get_boolean (_tmp87_, "index-on-battery");
#line 179 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp86_, _tmp88_);
#line 180 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp89_ = self->priv->checkbutton_enable_index_on_battery_first_time;
#line 180 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp90_ = self->priv->checkbutton_enable_index_on_battery;
#line 180 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp91_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp90_);
#line 180 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp92_ = _tmp91_;
#line 180 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp89_, !_tmp92_);
#line 181 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp93_ = self->priv->checkbutton_enable_index_on_battery_first_time;
#line 181 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp94_ = self->priv->settings_miner_fs;
#line 181 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp95_ = g_settings_get_boolean (_tmp94_, "index-on-battery-first-time");
#line 181 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp93_, _tmp95_);
#line 182 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp96_ = self->priv->spinbutton_delay;
#line 182 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_spin_button_set_increments (_tmp96_, (gdouble) 1, (gdouble) 1);
#line 183 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp97_ = self->priv->spinbutton_delay;
#line 183 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp98_ = self->priv->settings_miner_fs;
#line 183 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp99_ = g_settings_get_int (_tmp98_, "initial-sleep");
#line 183 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_spin_button_set_value (_tmp97_, (gdouble) _tmp99_);
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp100_ = self->priv->checkbutton_enable_monitoring;
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp101_ = self->priv->settings_miner_fs;
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp102_ = g_settings_get_boolean (_tmp101_, "enable-monitors");
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp100_, _tmp102_);
#line 185 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp103_ = self->priv->checkbutton_index_removable_media;
#line 185 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp104_ = self->priv->settings_miner_fs;
#line 185 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp105_ = g_settings_get_boolean (_tmp104_, "index-removable-devices");
#line 185 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp103_, _tmp105_);
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp106_ = self->priv->checkbutton_index_optical_discs;
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp107_ = self->priv->checkbutton_index_removable_media;
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp108_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp107_);
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp109_ = _tmp108_;
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp106_, _tmp109_);
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp110_ = self->priv->checkbutton_index_optical_discs;
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp111_ = self->priv->settings_miner_fs;
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp112_ = g_settings_get_boolean (_tmp111_, "index-optical-discs");
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp110_, _tmp112_);
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp113_ = self->priv->hscale_disk_space_limit;
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp114_ = self->priv->settings_miner_fs;
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp115_ = g_settings_get_int (_tmp114_, "low-disk-space-limit");
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_range_set_value ((GtkRange*) _tmp113_, (gdouble) _tmp115_);
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp116_ = self->priv->hscale_drop_device_threshold;
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp117_ = self->priv->settings_miner_fs;
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp118_ = g_settings_get_int (_tmp117_, "removable-days-threshold");
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_range_set_value ((GtkRange*) _tmp116_, (gdouble) _tmp118_);
#line 195 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp119_ = self->priv->settings_miner_fs;
#line 195 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp120_ = g_settings_get_enum (_tmp119_, "sched-idle");
#line 195 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	sched_idle = _tmp120_;
#line 197 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp121_ = sched_idle;
#line 197 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp121_ == 0) {
#line 1053 "tracker-preferences.c"
		GtkRadioButton* _tmp122_ = NULL;
#line 198 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp122_ = self->priv->radiobutton_sched_idle_always;
#line 198 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_toggle_button_set_active ((GtkToggleButton*) _tmp122_, TRUE);
#line 1059 "tracker-preferences.c"
	} else {
		gint _tmp123_ = 0;
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp123_ = sched_idle;
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_tmp123_ == 1) {
#line 1066 "tracker-preferences.c"
			GtkRadioButton* _tmp124_ = NULL;
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp124_ = self->priv->radiobutton_sched_idle_first_index;
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_toggle_button_set_active ((GtkToggleButton*) _tmp124_, TRUE);
#line 1072 "tracker-preferences.c"
		} else {
			gint _tmp125_ = 0;
#line 201 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp125_ = sched_idle;
#line 201 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (_tmp125_ == 2) {
#line 1079 "tracker-preferences.c"
				GtkRadioButton* _tmp126_ = NULL;
#line 202 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp126_ = self->priv->radiobutton_sched_idle_never;
#line 202 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_toggle_button_set_active ((GtkToggleButton*) _tmp126_, TRUE);
#line 1085 "tracker-preferences.c"
			} else {
				GtkRadioButton* _tmp127_ = NULL;
#line 205 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp127_ = self->priv->radiobutton_sched_idle_first_index;
#line 205 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_toggle_button_set_active ((GtkToggleButton*) _tmp127_, TRUE);
#line 1092 "tracker-preferences.c"
			}
		}
	}
#line 209 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_sanitize_user_dirs (self);
#line 212 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp128_ = self->priv->liststore_index;
#line 212 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp129_ = self->priv->settings_miner_fs;
#line 212 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp131_ = _tmp130_ = g_settings_get_strv (_tmp129_, "index-recursive-directories");
#line 212 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp132_ = _tmp131_;
#line 212 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp132__length1 = _vala_array_length (_tmp130_);
#line 212 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_model_populate (self, _tmp128_, _tmp132_, _vala_array_length (_tmp130_), TRUE, TRUE);
#line 212 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp132_ = (_vala_array_free (_tmp132_, _tmp132__length1, (GDestroyNotify) g_free), NULL);
#line 213 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp133_ = self->priv->liststore_index;
#line 213 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp134_ = self->priv->settings_miner_fs;
#line 213 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp136_ = _tmp135_ = g_settings_get_strv (_tmp134_, "index-single-directories");
#line 213 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp137_ = _tmp136_;
#line 213 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp137__length1 = _vala_array_length (_tmp135_);
#line 213 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_model_populate (self, _tmp133_, _tmp137_, _vala_array_length (_tmp135_), TRUE, FALSE);
#line 213 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp137_ = (_vala_array_free (_tmp137_, _tmp137__length1, (GDestroyNotify) g_free), NULL);
#line 214 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp138_ = self->priv->liststore_ignored_directories;
#line 214 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp139_ = self->priv->settings_miner_fs;
#line 214 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp141_ = _tmp140_ = g_settings_get_strv (_tmp139_, "ignored-directories");
#line 214 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp142_ = _tmp141_;
#line 214 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp142__length1 = _vala_array_length (_tmp140_);
#line 214 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_model_populate (self, _tmp138_, _tmp142_, _vala_array_length (_tmp140_), FALSE, FALSE);
#line 214 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp142_ = (_vala_array_free (_tmp142_, _tmp142__length1, (GDestroyNotify) g_free), NULL);
#line 215 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp143_ = self->priv->liststore_ignored_files;
#line 215 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp144_ = self->priv->settings_miner_fs;
#line 215 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp146_ = _tmp145_ = g_settings_get_strv (_tmp144_, "ignored-files");
#line 215 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp147_ = _tmp146_;
#line 215 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp147__length1 = _vala_array_length (_tmp145_);
#line 215 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_model_populate (self, _tmp143_, _tmp147_, _vala_array_length (_tmp145_), FALSE, FALSE);
#line 215 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp147_ = (_vala_array_free (_tmp147_, _tmp147__length1, (GDestroyNotify) g_free), NULL);
#line 216 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp148_ = self->priv->liststore_ignored_directories_with_content;
#line 216 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp149_ = self->priv->settings_miner_fs;
#line 216 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp151_ = _tmp150_ = g_settings_get_strv (_tmp149_, "ignored-directories-with-content");
#line 216 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp152_ = _tmp151_;
#line 216 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp152__length1 = _vala_array_length (_tmp150_);
#line 216 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_model_populate (self, _tmp148_, _tmp152_, _vala_array_length (_tmp150_), FALSE, FALSE);
#line 216 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp152_ = (_vala_array_free (_tmp152_, _tmp152__length1, (GDestroyNotify) g_free), NULL);
#line 218 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp153_ = self->priv->ignored_user_directories;
#line 218 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp153__length1 = self->priv->ignored_user_directories_length1;
#line 218 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp153__length1 > 0) {
#line 1174 "tracker-preferences.c"
		GtkBox* _tmp154_ = NULL;
#line 219 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp154_ = self->priv->hbox_duplicate_warning;
#line 219 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_widget_show ((GtkWidget*) _tmp154_);
#line 1180 "tracker-preferences.c"
	} else {
		GtkBox* _tmp155_ = NULL;
#line 221 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp155_ = self->priv->hbox_duplicate_warning;
#line 221 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_widget_hide ((GtkWidget*) _tmp155_);
#line 1187 "tracker-preferences.c"
	}
#line 224 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp156_ = self->priv->togglebutton_home;
#line 224 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp157_ = self->priv->liststore_index;
#line 224 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp158_ = self->priv->HOME_STRING_EVALUATED;
#line 224 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp159_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp157_, _tmp158_);
#line 224 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp156_, _tmp159_);
#line 225 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp160_ = self->priv->togglebutton_desktop;
#line 225 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp161_ = self->priv->liststore_index;
#line 225 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp162_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp161_, "&DESKTOP");
#line 225 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp160_, _tmp162_);
#line 226 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp163_ = self->priv->togglebutton_documents;
#line 226 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp164_ = self->priv->liststore_index;
#line 226 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp165_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp164_, "&DOCUMENTS");
#line 226 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp163_, _tmp165_);
#line 227 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp166_ = self->priv->togglebutton_music;
#line 227 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp167_ = self->priv->liststore_index;
#line 227 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp168_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp167_, "&MUSIC");
#line 227 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp166_, _tmp168_);
#line 228 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp169_ = self->priv->togglebutton_pictures;
#line 228 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp170_ = self->priv->liststore_index;
#line 228 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp171_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp170_, "&PICTURES");
#line 228 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp169_, _tmp171_);
#line 229 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp172_ = self->priv->togglebutton_videos;
#line 229 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp173_ = self->priv->liststore_index;
#line 229 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp174_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp173_, "&VIDEOS");
#line 229 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp172_, _tmp174_);
#line 230 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp175_ = self->priv->togglebutton_download;
#line 230 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp176_ = self->priv->liststore_index;
#line 230 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp177_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp176_, "&DOWNLOAD");
#line 230 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active (_tmp175_, _tmp177_);
#line 232 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp178_ = self->priv->checkbutton_index_file_content;
#line 232 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp179_ = self->priv->settings_fts;
#line 232 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp180_ = g_settings_get_int (_tmp179_, "max-words-to-index");
#line 232 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp178_, _tmp180_ > 0);
#line 233 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp181_ = self->priv->checkbutton_index_numbers;
#line 233 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp182_ = self->priv->settings_fts;
#line 233 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp183_ = g_settings_get_boolean (_tmp182_, "ignore-numbers");
#line 233 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_toggle_button_set_active ((GtkToggleButton*) _tmp181_, _tmp183_ != TRUE);
#line 237 "/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 108 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (builder);
#line 1267 "tracker-preferences.c"
}


void tracker_preferences_show (TrackerPreferences* self) {
	GtkWindow* _tmp0_ = NULL;
#line 240 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 241 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_setup_ui (self);
#line 243 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->window;
#line 243 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_show ((GtkWidget*) _tmp0_);
#line 1281 "tracker-preferences.c"
}


static void tracker_preferences_reindex (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 246 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = stdout;
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	fprintf (_tmp0_, "Reindexing...\n");
#line 1299 "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 253 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp1_ = g_strdup ("tracker-control");
#line 253 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = g_strdup ("--hard-reset");
#line 253 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp3_ = g_strdup ("--start");
#line 253 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = g_new0 (gchar*, 3 + 1);
#line 253 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_[0] = _tmp1_;
#line 253 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_[1] = _tmp2_;
#line 253 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_[2] = _tmp3_;
#line 253 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = _tmp4_;
#line 253 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5__length1 = 3;
#line 253 "/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 253 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (output);
#line 253 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		output = _tmp6_;
#line 253 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (errors);
#line 253 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		errors = _tmp7_;
#line 253 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		status = _tmp8_;
#line 253 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = (_vala_array_free (_tmp5_, _tmp5__length1, (GDestroyNotify) g_free), NULL);
#line 253 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1344 "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 252 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		e = _inner_error_;
#line 252 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_inner_error_ = NULL;
#line 262 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp9_ = stderr;
#line 262 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp10_ = e;
#line 262 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp11_ = _tmp10_->message;
#line 262 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		fprintf (_tmp9_, "Could not reindex: %s", _tmp11_);
#line 252 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_error_free0 (e);
#line 1369 "tracker-preferences.c"
	}
	__finally2:
#line 252 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 252 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (errors);
#line 252 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (output);
#line 252 "/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 252 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_clear_error (&_inner_error_);
#line 252 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		return;
#line 1384 "tracker-preferences.c"
	}
#line 264 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp12_ = stdout;
#line 264 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	fprintf (_tmp12_, "%s\n", output);
#line 265 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp13_ = stdout;
#line 265 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	fprintf (_tmp13_, "Finishing...\n");
#line 246 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_free0 (errors);
#line 246 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_free0 (output);
#line 1398 "tracker-preferences.c"
}


static void tracker_preferences_restart (TrackerPreferences* self) {
	FILE* _tmp0_ = NULL;
	gchar* output = NULL;
	gchar* errors = NULL;
	gint status = 0;
	FILE* _tmp13_ = NULL;
	FILE* _tmp14_ = NULL;
	GError * _inner_error_ = NULL;
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 269 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = stdout;
#line 269 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	fprintf (_tmp0_, "Restarting...\n");
#line 1416 "tracker-preferences.c"
	{
		gchar* _tmp1_ = NULL;
		gchar* _tmp2_ = NULL;
		gchar* _tmp3_ = NULL;
		gchar* _tmp4_ = NULL;
		gchar** _tmp5_ = NULL;
		gchar** _tmp6_ = NULL;
		gint _tmp6__length1 = 0;
		gchar* _tmp7_ = NULL;
		gchar* _tmp8_ = NULL;
		gint _tmp9_ = 0;
#line 275 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp1_ = g_strdup ("tracker-control");
#line 275 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = g_strdup ("--terminate=miners");
#line 275 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp3_ = g_strdup ("--terminate=store");
#line 275 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = g_strdup ("--start");
#line 275 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = g_new0 (gchar*, 4 + 1);
#line 275 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_[0] = _tmp1_;
#line 275 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_[1] = _tmp2_;
#line 275 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_[2] = _tmp3_;
#line 275 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_[3] = _tmp4_;
#line 275 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp6_ = _tmp5_;
#line 275 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp6__length1 = 4;
#line 275 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_spawn_sync (NULL, _tmp6_, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, &_tmp7_, &_tmp8_, &_tmp9_, &_inner_error_);
#line 275 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (output);
#line 275 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		output = _tmp7_;
#line 275 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (errors);
#line 275 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		errors = _tmp8_;
#line 275 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		status = _tmp9_;
#line 275 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp6_ = (_vala_array_free (_tmp6_, _tmp6__length1, (GDestroyNotify) g_free), NULL);
#line 275 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1466 "tracker-preferences.c"
			goto __catch3_g_error;
		}
	}
	goto __finally3;
	__catch3_g_error:
	{
		GError* e = NULL;
		FILE* _tmp10_ = NULL;
		GError* _tmp11_ = NULL;
		const gchar* _tmp12_ = NULL;
#line 274 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		e = _inner_error_;
#line 274 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_inner_error_ = NULL;
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp10_ = stderr;
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp11_ = e;
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp12_ = _tmp11_->message;
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		fprintf (_tmp10_, "Could not restart: %s", _tmp12_);
#line 274 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_error_free0 (e);
#line 1491 "tracker-preferences.c"
	}
	__finally3:
#line 274 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 274 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (errors);
#line 274 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (output);
#line 274 "/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 274 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_clear_error (&_inner_error_);
#line 274 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		return;
#line 1506 "tracker-preferences.c"
	}
#line 286 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp13_ = stdout;
#line 286 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	fprintf (_tmp13_, "%s\n", output);
#line 287 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp14_ = stdout;
#line 287 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	fprintf (_tmp14_, "Finishing...\n");
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_free0 (errors);
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_free0 (output);
#line 1520 "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 293 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 293 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (builder != NULL);
#line 293 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (object != NULL);
#line 293 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (signal_name != NULL);
#line 293 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (handler_name != NULL);
#line 297 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = g_module_open (NULL, G_MODULE_BIND_LAZY);
#line 297 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	module = _tmp0_;
#line 300 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = module;
#line 300 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = handler_name;
#line 300 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = g_module_symbol (_tmp1_, _tmp2_, &_tmp3_);
#line 300 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	sym = _tmp3_;
#line 300 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (!_tmp4_) {
#line 1556 "tracker-preferences.c"
		FILE* _tmp5_ = NULL;
		const gchar* _tmp6_ = NULL;
#line 301 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = stdout;
#line 301 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp6_ = handler_name;
#line 301 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		fprintf (_tmp5_, "Symbol not found! %s\n", _tmp6_);
#line 1565 "tracker-preferences.c"
	} else {
		GObject* _tmp7_ = NULL;
		const gchar* _tmp8_ = NULL;
		void* _tmp9_ = NULL;
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp7_ = object;
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp8_ = signal_name;
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp9_ = sym;
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_signal_connect (_tmp7_, _tmp8_, (GCallback) _tmp9_, self);
#line 1578 "tracker-preferences.c"
	}
#line 293 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_module_close0 (module);
#line 1582 "tracker-preferences.c"
}


void tracker_preferences_response_cb (GtkDialog* source, gint response_id, TrackerPreferences* self) {
	gint _tmp0_ = 0;
	gint _tmp1_ = 0;
#line 308 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 308 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 309 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = response_id;
#line 309 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_debug ("tracker-preferences.vala:309: Got response id %d (apply:%d, close:%d)", _tmp0_, (gint) GTK_RESPONSE_APPLY, (gint) GTK_RESPONSE_CLOSE);
#line 311 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = response_id;
#line 311 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	switch (_tmp1_) {
#line 311 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		case GTK_RESPONSE_APPLY:
#line 1603 "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;
			GSettings* _tmp48_ = NULL;
			gboolean _tmp49_ = FALSE;
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_debug ("tracker-preferences.vala:313: Converting directories for storage");
#line 315 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp2_ = self->priv->settings_miner_fs;
#line 315 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp3_ = self->priv->liststore_index;
#line 315 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp5_ = tracker_preferences_model_to_strv (self, _tmp3_, TRUE, FALSE, &_tmp4_);
#line 315 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp6_ = _tmp5_;
#line 315 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp6__length1 = _tmp4_;
#line 315 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_strv (_tmp2_, "index-single-directories", _tmp6_);
#line 315 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp6_ = (_vala_array_free (_tmp6_, _tmp6__length1, (GDestroyNotify) g_free), NULL);
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp7_ = self->priv->settings_miner_fs;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp8_ = self->priv->liststore_index;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp10_ = tracker_preferences_model_to_strv (self, _tmp8_, TRUE, TRUE, &_tmp9_);
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp11_ = _tmp10_;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp11__length1 = _tmp9_;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_strv (_tmp7_, "index-recursive-directories", _tmp11_);
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp11_ = (_vala_array_free (_tmp11_, _tmp11__length1, (GDestroyNotify) g_free), NULL);
#line 317 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp12_ = self->priv->settings_miner_fs;
#line 317 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp13_ = self->priv->liststore_ignored_directories;
#line 317 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp15_ = tracker_preferences_model_to_strv (self, _tmp13_, FALSE, FALSE, &_tmp14_);
#line 317 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp16_ = _tmp15_;
#line 317 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp16__length1 = _tmp14_;
#line 317 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_strv (_tmp12_, "ignored-directories", _tmp16_);
#line 317 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp16_ = (_vala_array_free (_tmp16_, _tmp16__length1, (GDestroyNotify) g_free), NULL);
#line 318 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp17_ = self->priv->settings_miner_fs;
#line 318 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp18_ = self->priv->liststore_ignored_files;
#line 318 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp20_ = tracker_preferences_model_to_strv (self, _tmp18_, FALSE, FALSE, &_tmp19_);
#line 318 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp21_ = _tmp20_;
#line 318 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp21__length1 = _tmp19_;
#line 318 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_strv (_tmp17_, "ignored-files", _tmp21_);
#line 318 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp21_ = (_vala_array_free (_tmp21_, _tmp21__length1, (GDestroyNotify) g_free), NULL);
#line 319 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp22_ = self->priv->settings_miner_fs;
#line 319 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp23_ = self->priv->liststore_ignored_directories_with_content;
#line 319 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp25_ = tracker_preferences_model_to_strv (self, _tmp23_, FALSE, FALSE, &_tmp24_);
#line 319 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp26_ = _tmp25_;
#line 319 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp26__length1 = _tmp24_;
#line 319 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_strv (_tmp22_, "ignored-directories-with-content", _tmp26_);
#line 319 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp26_ = (_vala_array_free (_tmp26_, _tmp26__length1, (GDestroyNotify) g_free), NULL);
#line 321 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp27_ = self->priv->settings_miner_fs;
#line 321 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp28_ = self->priv->hscale_disk_space_limit;
#line 321 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp29_ = gtk_range_get_value ((GtkRange*) _tmp28_);
#line 321 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_int (_tmp27_, "low-disk-space-limit", (gint) _tmp29_);
#line 322 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp30_ = self->priv->settings_miner_fs;
#line 322 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp31_ = self->priv->hscale_drop_device_threshold;
#line 322 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp32_ = gtk_range_get_value ((GtkRange*) _tmp31_);
#line 322 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_int (_tmp30_, "removable-days-threshold", (gint) _tmp32_);
#line 326 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp33_ = self->priv->radiobutton_sched_idle_always;
#line 326 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp34_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp33_);
#line 326 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp35_ = _tmp34_;
#line 326 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (_tmp35_) {
#line 327 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				sched_idle = 0;
#line 1751 "tracker-preferences.c"
			} else {
				GtkRadioButton* _tmp36_ = NULL;
				gboolean _tmp37_ = FALSE;
				gboolean _tmp38_ = FALSE;
#line 328 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp36_ = self->priv->radiobutton_sched_idle_first_index;
#line 328 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp37_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp36_);
#line 328 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp38_ = _tmp37_;
#line 328 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (_tmp38_) {
#line 329 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					sched_idle = 1;
#line 1766 "tracker-preferences.c"
				} else {
					GtkRadioButton* _tmp39_ = NULL;
					gboolean _tmp40_ = FALSE;
					gboolean _tmp41_ = FALSE;
#line 330 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp39_ = self->priv->radiobutton_sched_idle_never;
#line 330 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp40_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp39_);
#line 330 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp41_ = _tmp40_;
#line 330 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					if (_tmp41_) {
#line 331 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						sched_idle = 2;
#line 1781 "tracker-preferences.c"
					} else {
#line 333 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						g_assert_not_reached ();
#line 1785 "tracker-preferences.c"
					}
				}
			}
#line 340 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp42_ = self->priv->settings_miner_fs;
#line 340 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp43_ = sched_idle;
#line 340 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_enum (_tmp42_, "sched-idle", _tmp43_);
#line 341 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp44_ = self->priv->settings_extract;
#line 341 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp45_ = sched_idle;
#line 341 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_set_enum (_tmp44_, "sched-idle", _tmp45_);
#line 343 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_debug ("tracker-preferences.vala:343: Saving settings...");
#line 344 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp46_ = self->priv->settings_fts;
#line 344 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_apply (_tmp46_);
#line 345 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_debug ("tracker-preferences.vala:345:   tracker-fts: Done");
#line 346 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp47_ = self->priv->settings_miner_fs;
#line 346 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_apply (_tmp47_);
#line 347 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_debug ("tracker-preferences.vala:347:   tracker-miner-fs: Done");
#line 348 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp48_ = self->priv->settings_extract;
#line 348 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_settings_apply (_tmp48_);
#line 349 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_debug ("tracker-preferences.vala:349:   tracker-extract: Done");
#line 351 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp49_ = self->priv->suggest_reindex;
#line 351 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (_tmp49_) {
#line 1825 "tracker-preferences.c"
				GtkDialog* dialog = NULL;
				GtkWindow* _tmp50_ = NULL;
				const gchar* _tmp51_ = NULL;
				const gchar* _tmp52_ = NULL;
				const gchar* _tmp53_ = NULL;
				GtkMessageDialog* _tmp54_ = NULL;
				GtkDialog* _tmp55_ = NULL;
				const gchar* _tmp56_ = NULL;
				const gchar* _tmp57_ = NULL;
				GtkDialog* _tmp58_ = NULL;
				GtkDialog* _tmp59_ = NULL;
				gint _tmp60_ = 0;
				GtkDialog* _tmp61_ = NULL;
#line 352 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp50_ = self->priv->window;
#line 352 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp51_ = _ ("The changes you have made to your preferences here require a reindex t" \
"o ensure all your data is correctly indexed as you have requested.");
#line 352 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp52_ = _ ("This will close this dialog!");
#line 352 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp53_ = _ ("Would you like to reindex now?");
#line 352 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp54_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp50_, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, "%s\n\n%s\n\n%s", _tmp51_, _tmp52_, _tmp53_, NULL);
#line 352 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				g_object_ref_sink (_tmp54_);
#line 352 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				dialog = (GtkDialog*) _tmp54_;
#line 361 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp55_ = dialog;
#line 361 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp56_ = _ ("Reindex");
#line 361 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp57_ = _ ("Do nothing");
#line 361 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_dialog_add_buttons (_tmp55_, _tmp56_, GTK_RESPONSE_YES, _tmp57_, GTK_RESPONSE_NO, NULL, NULL);
#line 365 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp58_ = dialog;
#line 365 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_dialog_set_default_response (_tmp58_, (gint) GTK_RESPONSE_NO);
#line 367 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp59_ = dialog;
#line 367 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp60_ = gtk_dialog_run (_tmp59_);
#line 367 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (_tmp60_ == ((gint) GTK_RESPONSE_YES)) {
#line 368 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					tracker_preferences_reindex (self);
#line 1873 "tracker-preferences.c"
				} else {
#line 371 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					self->priv->suggest_reindex = FALSE;
#line 1877 "tracker-preferences.c"
				}
#line 374 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp61_ = dialog;
#line 374 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_widget_destroy ((GtkWidget*) _tmp61_);
#line 351 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_object_unref0 (dialog);
#line 1885 "tracker-preferences.c"
			} else {
				gboolean _tmp62_ = FALSE;
#line 375 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp62_ = self->priv->suggest_restart;
#line 375 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (_tmp62_) {
#line 1892 "tracker-preferences.c"
					GtkDialog* dialog = NULL;
					GtkWindow* _tmp63_ = NULL;
					const gchar* _tmp64_ = NULL;
					const gchar* _tmp65_ = NULL;
					GtkMessageDialog* _tmp66_ = NULL;
					GtkDialog* _tmp67_ = NULL;
					const gchar* _tmp68_ = NULL;
					const gchar* _tmp69_ = NULL;
					GtkDialog* _tmp70_ = NULL;
					GtkDialog* _tmp71_ = NULL;
					gint _tmp72_ = 0;
					GtkDialog* _tmp73_ = NULL;
#line 376 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp63_ = self->priv->window;
#line 376 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp64_ = _ ("The changes you have made to your preferences require restarting track" \
"er processes.");
#line 376 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp65_ = _ ("Would you like to restart now?");
#line 376 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp66_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp63_, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, "%s\n\n%s", _tmp64_, _tmp65_, NULL);
#line 376 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					g_object_ref_sink (_tmp66_);
#line 376 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					dialog = (GtkDialog*) _tmp66_;
#line 384 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp67_ = dialog;
#line 384 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp68_ = _ ("Restart Tracker");
#line 384 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp69_ = _ ("Do nothing");
#line 384 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					gtk_dialog_add_buttons (_tmp67_, _tmp68_, GTK_RESPONSE_YES, _tmp69_, GTK_RESPONSE_NO, NULL, NULL);
#line 388 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp70_ = dialog;
#line 388 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					gtk_dialog_set_default_response (_tmp70_, (gint) GTK_RESPONSE_NO);
#line 390 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp71_ = dialog;
#line 390 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp72_ = gtk_dialog_run (_tmp71_);
#line 390 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					if (_tmp72_ == ((gint) GTK_RESPONSE_YES)) {
#line 391 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						tracker_preferences_restart (self);
#line 1937 "tracker-preferences.c"
					} else {
#line 394 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						self->priv->suggest_restart = FALSE;
#line 1941 "tracker-preferences.c"
					}
#line 397 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp73_ = dialog;
#line 397 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					gtk_widget_destroy ((GtkWidget*) _tmp73_);
#line 375 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_object_unref0 (dialog);
#line 1949 "tracker-preferences.c"
				}
			}
#line 400 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			return;
#line 1954 "tracker-preferences.c"
		}
		default:
		{
#line 403 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			break;
#line 1960 "tracker-preferences.c"
		}
	}
#line 406 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_main_quit ();
#line 1965 "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 410 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 410 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 411 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->settings_miner_fs;
#line 411 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 411 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_spin_button_get_value_as_int (_tmp1_);
#line 411 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_settings_set_int (_tmp0_, "initial-sleep", _tmp2_);
#line 1985 "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 415 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 415 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 416 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->settings_miner_fs;
#line 416 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 416 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
#line 416 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 416 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_settings_set_boolean (_tmp0_, "enable-monitors", _tmp3_);
#line 417 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->suggest_restart = TRUE;
#line 2010 "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 421 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 421 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 422 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->settings_miner_fs;
#line 422 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 422 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
#line 422 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 422 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_settings_set_boolean (_tmp0_, "index-on-battery", _tmp3_);
#line 423 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = self->priv->checkbutton_enable_index_on_battery_first_time;
#line 423 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = source;
#line 423 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp5_);
#line 423 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = _tmp6_;
#line 423 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp4_, !_tmp7_);
#line 424 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->suggest_restart = TRUE;
#line 2049 "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 428 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 428 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 429 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->settings_miner_fs;
#line 429 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 429 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
#line 429 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 429 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_settings_set_boolean (_tmp0_, "index-on-battery-first-time", _tmp3_);
#line 430 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->suggest_restart = TRUE;
#line 2074 "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 434 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 434 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 435 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->settings_miner_fs;
#line 435 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 435 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
#line 435 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 435 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_settings_set_boolean (_tmp0_, "index-removable-devices", _tmp3_);
#line 436 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = self->priv->checkbutton_index_optical_discs;
#line 436 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = source;
#line 436 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp5_);
#line 436 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = _tmp6_;
#line 436 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _tmp4_, _tmp7_);
#line 2111 "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 440 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 440 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 441 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->settings_miner_fs;
#line 441 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 441 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
#line 441 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 441 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_settings_set_boolean (_tmp0_, "index-optical-discs", _tmp3_);
#line 2134 "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 445 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 445 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (source != NULL, NULL);
#line 446 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = value;
#line 446 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (((gint) _tmp0_) == (-1)) {
#line 2151 "tracker-preferences.c"
		const gchar* _tmp1_ = NULL;
		gchar* _tmp2_ = NULL;
#line 450 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp1_ = _ ("Disabled");
#line 450 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = g_strdup (_tmp1_);
#line 450 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		result = _tmp2_;
#line 450 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		return result;
#line 2162 "tracker-preferences.c"
	}
#line 453 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = value;
#line 453 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = g_strdup_printf ("%d%%", (gint) _tmp3_);
#line 453 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = _tmp4_;
#line 453 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 2172 "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 457 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 457 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (source != NULL, NULL);
#line 458 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = value;
#line 458 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (((gint) _tmp0_) == 0) {
#line 2189 "tracker-preferences.c"
		const gchar* _tmp1_ = NULL;
		gchar* _tmp2_ = NULL;
#line 463 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp1_ = _ ("Disabled");
#line 463 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = g_strdup (_tmp1_);
#line 463 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		result = _tmp2_;
#line 463 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		return result;
#line 2200 "tracker-preferences.c"
	}
#line 466 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = value;
#line 466 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = g_strdup_printf ("%d", (gint) _tmp3_);
#line 466 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = _tmp4_;
#line 466 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 2210 "tracker-preferences.c"
}


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


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


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


void tracker_preferences_button_ignored_directories_add_clicked_cb (GtkButton* source, TrackerPreferences* self) {
	GtkListStore* _tmp0_ = NULL;
#line 486 "/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"
	g_return_if_fail (source != NULL);
#line 487 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->liststore_ignored_directories;
#line 487 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_store_add_dir (self, _tmp0_);
#line 488 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->suggest_reindex = TRUE;
#line 2270 "tracker-preferences.c"
}


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


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


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


void tracker_preferences_button_ignored_files_add_clicked_cb (GtkButton* source, TrackerPreferences* self) {
	GtkListStore* _tmp0_ = 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 (source != NULL);
#line 511 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->liststore_ignored_files;
#line 511 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_store_add_value_dialog (self, _tmp0_);
#line 512 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->suggest_reindex = TRUE;
#line 2334 "tracker-preferences.c"
}


void tracker_preferences_button_ignored_files_remove_clicked_cb (GtkButton* source, TrackerPreferences* self) {
	GtkTreeView* _tmp0_ = NULL;
#line 516 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 516 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 517 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->treeview_ignored_files;
#line 517 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_store_del_dir (self, _tmp0_);
#line 518 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->suggest_reindex = TRUE;
#line 2350 "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 521 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 521 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 521 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (store != NULL);
#line 521 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (to_check != NULL);
#line 522 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 522 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_toggle_button_get_active (_tmp1_);
#line 522 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 522 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp3_) {
#line 2379 "tracker-preferences.c"
		GtkListStore* _tmp4_ = NULL;
		const gchar* _tmp5_ = NULL;
		gboolean _tmp6_ = FALSE;
#line 522 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = store;
#line 522 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = to_check;
#line 522 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp6_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp4_, _tmp5_);
#line 522 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp0_ = !_tmp6_;
#line 2391 "tracker-preferences.c"
	} else {
#line 522 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp0_ = FALSE;
#line 2395 "tracker-preferences.c"
	}
#line 522 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp0_) {
#line 2399 "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 524 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp7_ = self->priv->liststore_index;
#line 524 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_list_store_append (_tmp7_, &_tmp8_);
#line 524 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		iter = _tmp8_;
#line 525 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_value_init (&_tmp9_, G_TYPE_STRING);
#line 525 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		v = _tmp9_;
#line 526 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp10_ = to_check;
#line 526 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_value_set_string (&v, _tmp10_);
#line 528 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp11_ = to_check;
#line 528 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp12_ = self->priv->HOME_STRING_EVALUATED;
#line 528 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		recurse = g_strcmp0 (_tmp11_, _tmp12_) != 0;
#line 529 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp13_ = self->priv->liststore_index;
#line 529 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp14_ = iter;
#line 529 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp15_ = v;
#line 529 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_list_store_set_value (_tmp13_, &_tmp14_, 0, &_tmp15_);
#line 530 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp16_ = self->priv->liststore_index;
#line 530 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp17_ = iter;
#line 530 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp18_ = recurse;
#line 530 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_value_init (&_tmp19_, G_TYPE_BOOLEAN);
#line 530 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_value_set_boolean (&_tmp19_, _tmp18_);
#line 530 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_list_store_set_value (_tmp16_, &_tmp17_, 1, &_tmp19_);
#line 530 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		G_IS_VALUE (&_tmp19_) ? (g_value_unset (&_tmp19_), NULL) : NULL;
#line 522 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		G_IS_VALUE (&v) ? (g_value_unset (&v), NULL) : NULL;
#line 2460 "tracker-preferences.c"
	}
#line 533 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp21_ = source;
#line 533 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp22_ = gtk_toggle_button_get_active (_tmp21_);
#line 533 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp23_ = _tmp22_;
#line 533 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (!_tmp23_) {
#line 2470 "tracker-preferences.c"
		GtkListStore* _tmp24_ = NULL;
		const gchar* _tmp25_ = NULL;
		gboolean _tmp26_ = FALSE;
#line 533 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp24_ = store;
#line 533 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp25_ = to_check;
#line 533 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp26_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp24_, _tmp25_);
#line 533 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp20_ = _tmp26_;
#line 2482 "tracker-preferences.c"
	} else {
#line 533 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp20_ = FALSE;
#line 2486 "tracker-preferences.c"
	}
#line 533 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp20_) {
#line 2490 "tracker-preferences.c"
		gboolean valid = FALSE;
		GtkTreeIter iter = {0};
		GtkListStore* _tmp27_ = NULL;
		GtkTreeIter _tmp28_ = {0};
		gboolean _tmp29_ = FALSE;
#line 537 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp27_ = store;
#line 537 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp29_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp27_, &_tmp28_);
#line 537 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		iter = _tmp28_;
#line 537 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		valid = _tmp29_;
#line 538 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		while (TRUE) {
#line 2506 "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 538 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp30_ = valid;
#line 538 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!_tmp30_) {
#line 538 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				break;
#line 2520 "tracker-preferences.c"
			}
#line 540 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp31_ = store;
#line 540 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp32_ = iter;
#line 540 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_tree_model_get_value ((GtkTreeModel*) _tmp31_, &_tmp32_, 0, &_tmp33_);
#line 540 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 540 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			value = _tmp33_;
#line 541 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp34_ = g_value_get_string (&value);
#line 541 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp35_ = to_check;
#line 541 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (g_strcmp0 (_tmp34_, _tmp35_) == 0) {
#line 2538 "tracker-preferences.c"
				GtkListStore* _tmp36_ = NULL;
				GtkTreeIter _tmp37_ = {0};
				GtkListStore* _tmp38_ = NULL;
				GtkTreeIter _tmp39_ = {0};
				gboolean _tmp40_ = FALSE;
#line 542 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp36_ = store;
#line 542 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp37_ = iter;
#line 542 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_list_store_remove (_tmp36_, &_tmp37_);
#line 543 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp38_ = store;
#line 543 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp40_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp38_, &_tmp39_);
#line 543 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				iter = _tmp39_;
#line 543 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				valid = _tmp40_;
#line 2558 "tracker-preferences.c"
			} else {
				GtkListStore* _tmp41_ = NULL;
				gboolean _tmp42_ = FALSE;
#line 545 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp41_ = store;
#line 545 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp42_ = gtk_tree_model_iter_next ((GtkTreeModel*) _tmp41_, &iter);
#line 545 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				valid = _tmp42_;
#line 2568 "tracker-preferences.c"
			}
#line 538 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 2572 "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 552 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 552 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 553 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = source;
#line 553 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->liststore_index;
#line 553 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = self->priv->HOME_STRING_EVALUATED;
#line 553 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_togglebutton_directory_update_model (self, _tmp0_, _tmp1_, _tmp2_);
#line 2594 "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 557 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 557 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 558 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = source;
#line 558 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->liststore_index;
#line 558 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = g_get_user_special_dir (G_USER_DIRECTORY_DESKTOP);
#line 558 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_togglebutton_directory_update_model (self, _tmp0_, _tmp1_, _tmp2_);
#line 2614 "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 562 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 562 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 563 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = source;
#line 563 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->liststore_index;
#line 563 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = g_get_user_special_dir (G_USER_DIRECTORY_DOCUMENTS);
#line 563 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_togglebutton_directory_update_model (self, _tmp0_, _tmp1_, _tmp2_);
#line 2634 "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 567 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 567 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 568 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = source;
#line 568 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->liststore_index;
#line 568 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = g_get_user_special_dir (G_USER_DIRECTORY_MUSIC);
#line 568 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_togglebutton_directory_update_model (self, _tmp0_, _tmp1_, _tmp2_);
#line 2654 "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 572 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 572 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 573 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = source;
#line 573 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->liststore_index;
#line 573 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = g_get_user_special_dir (G_USER_DIRECTORY_PICTURES);
#line 573 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_togglebutton_directory_update_model (self, _tmp0_, _tmp1_, _tmp2_);
#line 2674 "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 577 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 577 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 578 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = source;
#line 578 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->liststore_index;
#line 578 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = g_get_user_special_dir (G_USER_DIRECTORY_VIDEOS);
#line 578 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_togglebutton_directory_update_model (self, _tmp0_, _tmp1_, _tmp2_);
#line 2694 "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 582 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 582 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 583 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = source;
#line 583 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->liststore_index;
#line 583 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = g_get_user_special_dir (G_USER_DIRECTORY_DOWNLOAD);
#line 583 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_togglebutton_directory_update_model (self, _tmp0_, _tmp1_, _tmp2_);
#line 2714 "tracker-preferences.c"
}


void tracker_preferences_checkbutton_index_file_content_toggled_cb (GtkCheckButton* source, TrackerPreferences* self) {
	GtkCheckButton* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
#line 587 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 587 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 589 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = source;
#line 589 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp0_);
#line 589 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = _tmp1_;
#line 589 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp2_) {
#line 2734 "tracker-preferences.c"
		GSettings* _tmp3_ = NULL;
#line 590 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp3_ = self->priv->settings_fts;
#line 590 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_settings_reset (_tmp3_, "max-words-to-index");
#line 2740 "tracker-preferences.c"
	} else {
		GSettings* _tmp4_ = NULL;
#line 592 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = self->priv->settings_fts;
#line 592 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_settings_set_int (_tmp4_, "max-words-to-index", 0);
#line 2747 "tracker-preferences.c"
	}
#line 595 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->suggest_reindex = TRUE;
#line 2751 "tracker-preferences.c"
}


void tracker_preferences_checkbutton_index_numbers_toggled_cb (GtkCheckButton* source, TrackerPreferences* self) {
	GSettings* _tmp0_ = NULL;
	GtkCheckButton* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	gboolean _tmp3_ = FALSE;
#line 599 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 599 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 600 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = self->priv->settings_fts;
#line 600 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = source;
#line 600 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = gtk_toggle_button_get_active ((GtkToggleButton*) _tmp1_);
#line 600 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _tmp2_;
#line 600 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_settings_set_boolean (_tmp0_, "ignore-numbers", !_tmp3_);
#line 601 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->suggest_reindex = TRUE;
#line 2776 "tracker-preferences.c"
}


void tracker_preferences_button_reindex_clicked_cb (GtkButton* source, TrackerPreferences* self) {
#line 605 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 605 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (source != NULL);
#line 606 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_reindex (self);
#line 2787 "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 609 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 611 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = matches;
#line 611 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0__length1 = matches_length1;
#line 2800 "tracker-preferences.c"
	{
		GUserDirectory* ud_collection = NULL;
		gint ud_collection_length1 = 0;
		gint _ud_collection_size_ = 0;
		gint ud_it = 0;
#line 611 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		ud_collection = _tmp0_;
#line 611 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		ud_collection_length1 = _tmp0__length1;
#line 611 "/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 2812 "tracker-preferences.c"
			GUserDirectory ud = 0;
#line 611 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			ud = ud_collection[ud_it];
#line 2816 "tracker-preferences.c"
			{
				GUserDirectory _tmp1_ = 0;
#line 612 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp1_ = ud;
#line 612 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				switch (_tmp1_) {
#line 612 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_DESKTOP:
#line 2825 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp2_ = NULL;
						gboolean _tmp3_ = FALSE;
#line 614 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp2_ = self->priv->togglebutton_desktop;
#line 614 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp3_ = active;
#line 614 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_toggle_button_set_active (_tmp2_, _tmp3_);
#line 615 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 2837 "tracker-preferences.c"
					}
#line 612 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_DOCUMENTS:
#line 2841 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp4_ = NULL;
						gboolean _tmp5_ = FALSE;
#line 617 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp4_ = self->priv->togglebutton_documents;
#line 617 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp5_ = active;
#line 617 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_toggle_button_set_active (_tmp4_, _tmp5_);
#line 618 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 2853 "tracker-preferences.c"
					}
#line 612 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_DOWNLOAD:
#line 2857 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp6_ = NULL;
						gboolean _tmp7_ = FALSE;
#line 620 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp6_ = self->priv->togglebutton_download;
#line 620 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp7_ = active;
#line 620 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_toggle_button_set_active (_tmp6_, _tmp7_);
#line 621 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 2869 "tracker-preferences.c"
					}
#line 612 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_MUSIC:
#line 2873 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp8_ = NULL;
						gboolean _tmp9_ = FALSE;
#line 623 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp8_ = self->priv->togglebutton_music;
#line 623 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp9_ = active;
#line 623 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_toggle_button_set_active (_tmp8_, _tmp9_);
#line 624 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 2885 "tracker-preferences.c"
					}
#line 612 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_PICTURES:
#line 2889 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp10_ = NULL;
						gboolean _tmp11_ = FALSE;
#line 626 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp10_ = self->priv->togglebutton_pictures;
#line 626 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp11_ = active;
#line 626 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_toggle_button_set_active (_tmp10_, _tmp11_);
#line 627 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 2901 "tracker-preferences.c"
					}
#line 612 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_VIDEOS:
#line 2905 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp12_ = NULL;
						gboolean _tmp13_ = FALSE;
#line 629 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp12_ = self->priv->togglebutton_videos;
#line 629 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp13_ = active;
#line 629 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_toggle_button_set_active (_tmp12_, _tmp13_);
#line 630 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 2917 "tracker-preferences.c"
					}
					default:
#line 612 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					break;
#line 2922 "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;
	const gchar* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	GtkDialog* _tmp4_ = NULL;
	GtkDialog* _tmp5_ = NULL;
	GtkDialog* _tmp6_ = NULL;
	GtkBox* _tmp7_ = NULL;
	GtkContainer* _tmp8_ = NULL;
	GtkEntry* _tmp9_ = NULL;
	GtkEntry* _tmp10_ = NULL;
	GtkEntry* _tmp11_ = NULL;
	GtkContainer* _tmp12_ = NULL;
	GtkEntry* _tmp13_ = NULL;
	GtkDialog* _tmp14_ = NULL;
	gint _tmp15_ = 0;
	GtkDialog* _tmp29_ = NULL;
#line 635 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 635 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (store != NULL);
#line 640 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = _ ("Enter value");
#line 640 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->window;
#line 640 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = _ ("_Cancel");
#line 640 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _ ("_OK");
#line 640 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = (GtkDialog*) gtk_dialog_new_with_buttons (_tmp0_, _tmp1_, GTK_DIALOG_DESTROY_WITH_PARENT, _tmp2_, GTK_RESPONSE_CANCEL, _tmp3_, GTK_RESPONSE_ACCEPT, NULL);
#line 640 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_object_ref_sink (_tmp4_);
#line 640 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (dialog);
#line 640 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	dialog = _tmp4_;
#line 646 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = dialog;
#line 646 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_dialog_set_default_response (_tmp5_, (gint) GTK_RESPONSE_ACCEPT);
#line 647 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = dialog;
#line 647 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = (GtkBox*) gtk_dialog_get_content_area (_tmp6_);
#line 647 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp8_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GTK_TYPE_CONTAINER, GtkContainer));
#line 647 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (content_area);
#line 647 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	content_area = _tmp8_;
#line 648 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp9_ = (GtkEntry*) gtk_entry_new ();
#line 648 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_object_ref_sink (_tmp9_);
#line 648 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (entry);
#line 648 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	entry = _tmp9_;
#line 649 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp10_ = entry;
#line 649 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_entry_set_activates_default (_tmp10_, TRUE);
#line 650 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp11_ = entry;
#line 650 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_show ((GtkWidget*) _tmp11_);
#line 651 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp12_ = content_area;
#line 651 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp13_ = entry;
#line 651 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_container_add (_tmp12_, (GtkWidget*) _tmp13_);
#line 653 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp14_ = dialog;
#line 653 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp15_ = gtk_dialog_run (_tmp14_);
#line 653 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp15_ == ((gint) GTK_RESPONSE_ACCEPT)) {
#line 3013 "tracker-preferences.c"
		gchar* text = NULL;
		GtkEntry* _tmp16_ = NULL;
		const gchar* _tmp17_ = NULL;
		gchar* _tmp18_ = NULL;
		gboolean _tmp19_ = FALSE;
		const gchar* _tmp20_ = NULL;
#line 654 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp16_ = entry;
#line 654 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp17_ = gtk_entry_get_text (_tmp16_);
#line 654 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp18_ = g_strdup (_tmp17_);
#line 654 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		text = _tmp18_;
#line 656 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp20_ = text;
#line 656 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_tmp20_ != NULL) {
#line 3032 "tracker-preferences.c"
			const gchar* _tmp21_ = NULL;
#line 656 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp21_ = text;
#line 656 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp19_ = g_strcmp0 (_tmp21_, "") != 0;
#line 3038 "tracker-preferences.c"
		} else {
#line 656 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp19_ = FALSE;
#line 3042 "tracker-preferences.c"
		}
#line 656 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_tmp19_) {
#line 3046 "tracker-preferences.c"
			GtkTreeIter iter = {0};
			GtkListStore* _tmp22_ = NULL;
			GtkTreeIter _tmp23_ = {0};
			GValue v = {0};
			GValue _tmp24_ = {0};
			const gchar* _tmp25_ = NULL;
			GtkListStore* _tmp26_ = NULL;
			GtkTreeIter _tmp27_ = {0};
			GValue _tmp28_ = {0};
#line 658 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp22_ = store;
#line 658 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_list_store_append (_tmp22_, &_tmp23_);
#line 658 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			iter = _tmp23_;
#line 659 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_value_init (&_tmp24_, G_TYPE_STRING);
#line 659 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			v = _tmp24_;
#line 660 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp25_ = text;
#line 660 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_value_set_string (&v, _tmp25_);
#line 661 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp26_ = store;
#line 661 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp27_ = iter;
#line 661 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp28_ = v;
#line 661 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_list_store_set_value (_tmp26_, &_tmp27_, 0, &_tmp28_);
#line 656 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&v) ? (g_value_unset (&v), NULL) : NULL;
#line 3080 "tracker-preferences.c"
		}
#line 653 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (text);
#line 3084 "tracker-preferences.c"
	}
#line 665 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp29_ = dialog;
#line 665 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_destroy ((GtkWidget*) _tmp29_);
#line 635 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (content_area);
#line 635 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (entry);
#line 635 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (dialog);
#line 3096 "tracker-preferences.c"
}


static void tracker_preferences_store_add_dir (TrackerPreferences* self, GtkListStore* store) {
	GtkFileChooserDialog* dialog = NULL;
	const gchar* _tmp0_ = NULL;
	GtkWindow* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
	GtkFileChooserDialog* _tmp4_ = NULL;
	GtkFileChooserDialog* _tmp36_ = NULL;
#line 668 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 668 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (store != NULL);
#line 669 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = _ ("Select directory");
#line 669 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->window;
#line 669 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = _ ("_Cancel");
#line 669 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = _ ("_OK");
#line 669 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = (GtkFileChooserDialog*) gtk_file_chooser_dialog_new (_tmp0_, _tmp1_, GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, _tmp2_, GTK_RESPONSE_CANCEL, _tmp3_, GTK_RESPONSE_ACCEPT, NULL);
#line 669 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_object_ref_sink (_tmp4_);
#line 669 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	dialog = _tmp4_;
#line 677 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	while (TRUE) {
#line 3128 "tracker-preferences.c"
		GtkFileChooserDialog* _tmp5_ = NULL;
		gint _tmp6_ = 0;
#line 678 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = dialog;
#line 678 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp6_ = gtk_dialog_run ((GtkDialog*) _tmp5_);
#line 678 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_tmp6_ == ((gint) GTK_RESPONSE_ACCEPT)) {
#line 3137 "tracker-preferences.c"
			GtkTreeIter iter = {0};
			GFile* f = NULL;
			GtkFileChooserDialog* _tmp7_ = NULL;
			GFile* _tmp8_ = NULL;
			GFile* _tmp9_ = NULL;
			gchar* path = NULL;
			GFile* _tmp10_ = NULL;
			gchar* _tmp11_ = NULL;
			GtkListStore* _tmp12_ = NULL;
			const gchar* _tmp13_ = NULL;
			gboolean _tmp14_ = FALSE;
			gchar* dir = NULL;
			GFile* _tmp20_ = NULL;
			gchar* _tmp21_ = NULL;
			GUserDirectory* matches = NULL;
			const gchar* _tmp22_ = NULL;
			gint _tmp23_ = 0;
			GUserDirectory* _tmp24_ = NULL;
			gint matches_length1 = 0;
			gint _matches_size_ = 0;
			GtkListStore* _tmp25_ = NULL;
			GtkTreeIter _tmp26_ = {0};
			GValue v = {0};
			GValue _tmp27_ = {0};
			const gchar* _tmp28_ = NULL;
			GtkListStore* _tmp29_ = NULL;
			GtkTreeIter _tmp30_ = {0};
			GValue _tmp31_ = {0};
			GUserDirectory* _tmp32_ = NULL;
			gint _tmp32__length1 = 0;
			const gchar* _tmp33_ = NULL;
			const gchar* _tmp34_ = NULL;
#line 682 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp7_ = dialog;
#line 682 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp8_ = gtk_file_chooser_get_file ((GtkFileChooser*) _tmp7_);
#line 682 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp9_ = _g_object_ref0 (_tmp8_);
#line 682 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_object_unref0 (f);
#line 682 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			f = _tmp9_;
#line 683 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp10_ = f;
#line 683 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp11_ = g_file_get_path (_tmp10_);
#line 683 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			path = _tmp11_;
#line 685 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp12_ = store;
#line 685 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp13_ = path;
#line 685 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp14_ = tracker_preferences_model_contains (self, (GtkTreeModel*) _tmp12_, _tmp13_);
#line 685 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (_tmp14_) {
#line 3194 "tracker-preferences.c"
				GtkMessageDialog* md = NULL;
				GtkFileChooserDialog* _tmp15_ = NULL;
				const gchar* _tmp16_ = NULL;
				GtkMessageDialog* _tmp17_ = NULL;
				GtkMessageDialog* _tmp18_ = NULL;
				GtkMessageDialog* _tmp19_ = NULL;
#line 686 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp15_ = dialog;
#line 686 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp16_ = _ ("That directory is already selected as a location to index");
#line 686 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp17_ = (GtkMessageDialog*) gtk_message_dialog_new ((GtkWindow*) _tmp15_, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _tmp16_, NULL);
#line 686 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				g_object_ref_sink (_tmp17_);
#line 686 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				md = _tmp17_;
#line 692 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp18_ = md;
#line 692 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_dialog_run ((GtkDialog*) _tmp18_);
#line 693 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp19_ = md;
#line 693 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_widget_destroy ((GtkWidget*) _tmp19_);
#line 694 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_object_unref0 (md);
#line 694 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (path);
#line 694 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_object_unref0 (f);
#line 694 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				continue;
#line 3227 "tracker-preferences.c"
			}
#line 697 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp20_ = f;
#line 697 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp21_ = g_file_get_path (_tmp20_);
#line 697 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			dir = _tmp21_;
#line 700 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp22_ = dir;
#line 700 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp24_ = tracker_preferences_dir_match_user_directories (self, _tmp22_, &_tmp23_);
#line 700 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			matches = _tmp24_;
#line 700 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			matches_length1 = _tmp23_;
#line 700 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_matches_size_ = matches_length1;
#line 703 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp25_ = store;
#line 703 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_list_store_append (_tmp25_, &_tmp26_);
#line 703 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			iter = _tmp26_;
#line 704 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_value_init (&_tmp27_, G_TYPE_STRING);
#line 704 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			v = _tmp27_;
#line 705 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp28_ = dir;
#line 705 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			g_value_set_string (&v, _tmp28_);
#line 706 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp29_ = store;
#line 706 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp30_ = iter;
#line 706 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp31_ = v;
#line 706 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_list_store_set_value (_tmp29_, &_tmp30_, 0, &_tmp31_);
#line 708 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp32_ = matches;
#line 708 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp32__length1 = matches_length1;
#line 708 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			tracker_preferences_toggles_update (self, _tmp32_, _tmp32__length1, TRUE);
#line 710 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp33_ = dir;
#line 710 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp34_ = self->priv->HOME_STRING_EVALUATED;
#line 710 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (g_strcmp0 (_tmp33_, _tmp34_) == 0) {
#line 3279 "tracker-preferences.c"
				GtkToggleButton* _tmp35_ = NULL;
#line 711 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp35_ = self->priv->togglebutton_home;
#line 711 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_toggle_button_set_active (_tmp35_, TRUE);
#line 3285 "tracker-preferences.c"
			}
#line 678 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&v) ? (g_value_unset (&v), NULL) : NULL;
#line 678 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			matches = (g_free (matches), NULL);
#line 678 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_free0 (dir);
#line 678 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_free0 (path);
#line 678 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_object_unref0 (f);
#line 3297 "tracker-preferences.c"
		}
#line 715 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		break;
#line 3301 "tracker-preferences.c"
	}
#line 718 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp36_ = dialog;
#line 718 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_widget_destroy ((GtkWidget*) _tmp36_);
#line 668 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (dialog);
#line 3309 "tracker-preferences.c"
}


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


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


static gpointer _gtk_tree_path_copy0 (gpointer self) {
#line 731 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return self ? gtk_tree_path_copy (self) : NULL;
#line 3332 "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 721 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 721 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (view != NULL);
#line 726 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = view;
#line 726 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = gtk_tree_view_get_selection (_tmp0_);
#line 726 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 726 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	selection = _tmp2_;
#line 727 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = selection;
#line 727 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = gtk_tree_selection_get_selected_rows (_tmp3_, &_tmp4_);
#line 727 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (model);
#line 727 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = _g_object_ref0 (_tmp4_);
#line 727 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	model = _tmp6_;
#line 727 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	__g_list_free__gtk_tree_path_free0_0 (list);
#line 727 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	list = _tmp5_;
#line 729 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = model;
#line 729 "/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 729 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (store);
#line 729 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	store = _tmp8_;
#line 731 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp9_ = list;
#line 3387 "tracker-preferences.c"
	{
		GList* path_collection = NULL;
		GList* path_it = NULL;
#line 731 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		path_collection = _tmp9_;
#line 731 "/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 3395 "tracker-preferences.c"
			GtkTreePath* _tmp10_ = NULL;
			GtkTreePath* path = NULL;
#line 731 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp10_ = _gtk_tree_path_copy0 ((GtkTreePath*) path_it->data);
#line 731 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			path = _tmp10_;
#line 3402 "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 734 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp11_ = model;
#line 734 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp12_ = path;
#line 734 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp14_ = gtk_tree_model_get_iter (_tmp11_, &_tmp13_, _tmp12_);
#line 734 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				iter = _tmp13_;
#line 734 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (!_tmp14_) {
#line 735 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_gtk_tree_path_free0 (path);
#line 735 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					continue;
#line 3442 "tracker-preferences.c"
				}
#line 740 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp15_ = model;
#line 740 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp16_ = iter;
#line 740 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_tree_model_get_value (_tmp15_, &_tmp16_, 0, &_tmp17_);
#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 740 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				value = _tmp17_;
#line 741 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp18_ = g_value_get_string (&value);
#line 741 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp19_ = g_strdup (_tmp18_);
#line 741 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				dir = _tmp19_;
#line 744 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp20_ = dir;
#line 744 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp22_ = tracker_preferences_dir_match_user_directories (self, _tmp20_, &_tmp21_);
#line 744 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				matches = _tmp22_;
#line 744 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				matches_length1 = _tmp21_;
#line 744 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_matches_size_ = matches_length1;
#line 746 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp23_ = store;
#line 746 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp24_ = iter;
#line 746 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_list_store_remove (_tmp23_, &_tmp24_);
#line 749 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp25_ = matches;
#line 749 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp25__length1 = matches_length1;
#line 749 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				tracker_preferences_toggles_update (self, _tmp25_, _tmp25__length1, FALSE);
#line 751 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp26_ = dir;
#line 751 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp27_ = self->priv->HOME_STRING_EVALUATED;
#line 751 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (g_strcmp0 (_tmp26_, _tmp27_) == 0) {
#line 3488 "tracker-preferences.c"
					GtkToggleButton* _tmp28_ = NULL;
#line 752 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp28_ = self->priv->togglebutton_home;
#line 752 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					gtk_toggle_button_set_active (_tmp28_, FALSE);
#line 3494 "tracker-preferences.c"
				}
#line 731 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				matches = (g_free (matches), NULL);
#line 731 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (dir);
#line 731 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 731 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_gtk_tree_path_free0 (path);
#line 3504 "tracker-preferences.c"
			}
		}
	}
#line 721 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (selection);
#line 721 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (model);
#line 721 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (store);
#line 721 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	__g_list_free__gtk_tree_path_free0_0 (list);
#line 3516 "tracker-preferences.c"
}


static void _vala_array_add1 (GUserDirectory** array, int* length, int* size, GUserDirectory value) {
#line 766 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if ((*length) == (*size)) {
#line 766 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 766 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		*array = g_renew (GUserDirectory, *array, *size);
#line 3527 "tracker-preferences.c"
	}
#line 766 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	(*array)[(*length)++] = value;
#line 3531 "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 756 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 756 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (input != NULL, NULL);
#line 757 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = g_new0 (GUserDirectory, 0);
#line 757 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	matches = _tmp0_;
#line 757 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	matches_length1 = 0;
#line 757 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_matches_size_ = matches_length1;
#line 3556 "tracker-preferences.c"
	{
		gboolean _tmp1_ = FALSE;
#line 760 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		i = 0;
#line 760 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp1_ = TRUE;
#line 760 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		while (TRUE) {
#line 3565 "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 760 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!_tmp1_) {
#line 3576 "tracker-preferences.c"
				gint _tmp2_ = 0;
#line 760 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp2_ = i;
#line 760 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				i = _tmp2_ + 1;
#line 3582 "tracker-preferences.c"
			}
#line 760 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp1_ = FALSE;
#line 760 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp3_ = i;
#line 760 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!(_tmp3_ < ((gint) G_USER_N_DIRECTORIES))) {
#line 760 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				break;
#line 3592 "tracker-preferences.c"
			}
#line 761 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp4_ = i;
#line 761 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			ud = (GUserDirectory) _tmp4_;
#line 762 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			dir = NULL;
#line 764 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp5_ = ud;
#line 764 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp6_ = g_get_user_special_dir (_tmp5_);
#line 764 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			dir = _tmp6_;
#line 765 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp7_ = input;
#line 765 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp8_ = dir;
#line 765 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (g_strcmp0 (_tmp7_, _tmp8_) == 0) {
#line 3612 "tracker-preferences.c"
				GUserDirectory* _tmp9_ = NULL;
				gint _tmp9__length1 = 0;
				GUserDirectory _tmp10_ = 0;
#line 766 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp9_ = matches;
#line 766 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp9__length1 = matches_length1;
#line 766 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp10_ = ud;
#line 766 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_vala_array_add1 (&matches, &matches_length1, &_matches_size_, _tmp10_);
#line 3624 "tracker-preferences.c"
			}
		}
	}
#line 770 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp11_ = matches;
#line 770 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp11__length1 = matches_length1;
#line 770 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (result_length1) {
#line 770 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		*result_length1 = _tmp11__length1;
#line 3636 "tracker-preferences.c"
	}
#line 770 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = _tmp11_;
#line 770 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 3642 "tracker-preferences.c"
}


static const char* _g_user_directory_to_string (GUserDirectory value) {
#line 787 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	switch (value) {
#line 787 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_DIRECTORY_DESKTOP:
#line 787 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_DIRECTORY_DESKTOP";
#line 787 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_DIRECTORY_DOCUMENTS:
#line 787 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_DIRECTORY_DOCUMENTS";
#line 787 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_DIRECTORY_DOWNLOAD:
#line 787 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_DIRECTORY_DOWNLOAD";
#line 787 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_DIRECTORY_MUSIC:
#line 787 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_DIRECTORY_MUSIC";
#line 787 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_DIRECTORY_PICTURES:
#line 787 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_DIRECTORY_PICTURES";
#line 787 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_DIRECTORY_PUBLIC_SHARE:
#line 787 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_DIRECTORY_PUBLIC_SHARE";
#line 787 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_DIRECTORY_TEMPLATES:
#line 787 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_DIRECTORY_TEMPLATES";
#line 787 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_DIRECTORY_VIDEOS:
#line 787 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_DIRECTORY_VIDEOS";
#line 787 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		case G_USER_N_DIRECTORIES:
#line 787 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		return "G_USER_N_DIRECTORIES";
#line 3685 "tracker-preferences.c"
	}
#line 787 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return NULL;
#line 3689 "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 3712 "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 3720 "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 3732 "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 3756 "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 3762 "tracker-preferences.c"
	} else {
#line 1210 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
		_tmp0_ = FALSE;
#line 3766 "tracker-preferences.c"
	}
#line 1210 "/opt/gnome/share/vala-0.26/vapi/glib-2.0.vapi"
	if (_tmp0_) {
#line 3770 "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 3782 "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 3792 "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 3798 "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 3812 "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 3822 "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 3828 "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 3837 "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 3857 "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 3882 "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 3890 "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 3896 "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 773 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 773 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (input != NULL, NULL);
#line 774 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = input;
#line 774 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 774 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	output = _tmp1_;
#line 776 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = self->priv->HOME_STRING_EVALUATED;
#line 776 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp3_ != NULL) {
#line 3922 "tracker-preferences.c"
		const gchar* _tmp4_ = NULL;
		const gchar* _tmp5_ = NULL;
#line 776 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = self->priv->HOME_STRING_EVALUATED;
#line 776 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = input;
#line 776 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = g_strcmp0 (_tmp4_, _tmp5_) == 0;
#line 3931 "tracker-preferences.c"
	} else {
#line 776 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = FALSE;
#line 3935 "tracker-preferences.c"
	}
#line 776 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp2_) {
#line 3939 "tracker-preferences.c"
		gchar* _tmp6_ = NULL;
#line 777 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp6_ = g_strdup (TRACKER_PREFERENCES_HOME_STRING);
#line 777 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		result = _tmp6_;
#line 777 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (output);
#line 777 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		return result;
#line 3949 "tracker-preferences.c"
	}
	{
		gint i = 0;
#line 780 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		i = 0;
#line 3955 "tracker-preferences.c"
		{
			gboolean _tmp7_ = FALSE;
#line 780 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp7_ = TRUE;
#line 780 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			while (TRUE) {
#line 3962 "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 780 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (!_tmp7_) {
#line 3973 "tracker-preferences.c"
					gint _tmp8_ = 0;
#line 780 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp8_ = i;
#line 780 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					i = _tmp8_ + 1;
#line 3979 "tracker-preferences.c"
				}
#line 780 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp7_ = FALSE;
#line 780 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp9_ = i;
#line 780 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (!(_tmp9_ < ((gint) G_USER_N_DIRECTORIES))) {
#line 780 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					break;
#line 3989 "tracker-preferences.c"
				}
#line 781 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp10_ = i;
#line 781 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				ud = (GUserDirectory) _tmp10_;
#line 782 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				dir = NULL;
#line 784 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp11_ = ud;
#line 784 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp12_ = g_get_user_special_dir (_tmp11_);
#line 784 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				dir = _tmp12_;
#line 785 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp13_ = input;
#line 785 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp14_ = dir;
#line 785 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (g_strcmp0 (_tmp13_, _tmp14_) == 0) {
#line 4009 "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 787 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp15_ = ud;
#line 787 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp16_ = _g_user_directory_to_string (_tmp15_);
#line 787 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp17_ = g_strdup (_tmp16_);
#line 787 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					ud_string = _tmp17_;
#line 788 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp18_ = ud_string;
#line 788 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp19_ = ud_string;
#line 788 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp20_ = string_last_index_of_char (_tmp19_, (gunichar) '_', 0);
#line 788 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp21_ = string_substring (_tmp18_, (glong) (_tmp20_ + 1), (glong) (-1));
#line 788 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp22_ = _tmp21_;
#line 788 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp23_ = g_strdup_printf ("&%s", _tmp22_);
#line 788 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (output);
#line 788 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					output = _tmp23_;
#line 788 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (_tmp22_);
#line 785 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (ud_string);
#line 4048 "tracker-preferences.c"
				}
			}
		}
	}
#line 792 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = output;
#line 792 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 4057 "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 795 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 795 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (input != NULL, NULL);
#line 796 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = input;
#line 796 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 796 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	output = _tmp1_;
#line 798 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = input;
#line 798 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp3_ = g_str_has_prefix (_tmp2_, "&");
#line 798 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp3_) {
#line 4084 "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 799 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		dir = NULL;
#line 802 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = input;
#line 802 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = g_utf8_next_char (_tmp4_);
#line 802 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp6_ = g_strdup_printf ("G_USER_DIRECTORY_%s", _tmp5_);
#line 802 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		ud_input = _tmp6_;
#line 4101 "tracker-preferences.c"
		{
			gint i = 0;
#line 804 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			i = 0;
#line 4106 "tracker-preferences.c"
			{
				gboolean _tmp7_ = FALSE;
#line 804 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp7_ = TRUE;
#line 804 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				while (TRUE) {
#line 4113 "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 804 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					if (!_tmp7_) {
#line 4123 "tracker-preferences.c"
						gint _tmp8_ = 0;
#line 804 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp8_ = i;
#line 804 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						i = _tmp8_ + 1;
#line 4129 "tracker-preferences.c"
					}
#line 804 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp7_ = FALSE;
#line 804 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp10_ = i;
#line 804 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					if (_tmp10_ < ((gint) G_USER_N_DIRECTORIES)) {
#line 4137 "tracker-preferences.c"
						const gchar* _tmp11_ = NULL;
#line 804 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp11_ = dir;
#line 804 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp9_ = _tmp11_ == NULL;
#line 4143 "tracker-preferences.c"
					} else {
#line 804 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp9_ = FALSE;
#line 4147 "tracker-preferences.c"
					}
#line 804 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					if (!_tmp9_) {
#line 804 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 4153 "tracker-preferences.c"
					}
#line 805 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp12_ = i;
#line 805 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					ud = (GUserDirectory) _tmp12_;
#line 807 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp13_ = ud_input;
#line 807 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp14_ = ud;
#line 807 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp15_ = _g_user_directory_to_string (_tmp14_);
#line 807 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					if (g_strcmp0 (_tmp13_, _tmp15_) == 0) {
#line 4167 "tracker-preferences.c"
						GUserDirectory _tmp16_ = 0;
						const gchar* _tmp17_ = NULL;
#line 808 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp16_ = ud;
#line 808 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp17_ = g_get_user_special_dir (_tmp16_);
#line 808 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						dir = _tmp17_;
#line 4176 "tracker-preferences.c"
					}
				}
			}
		}
#line 814 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp18_ = dir;
#line 814 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_tmp18_ != NULL) {
#line 4185 "tracker-preferences.c"
			const gchar* _tmp19_ = NULL;
			gchar* _tmp20_ = NULL;
#line 815 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp19_ = dir;
#line 815 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp20_ = g_strdup (_tmp19_);
#line 815 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_free0 (output);
#line 815 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			output = _tmp20_;
#line 4196 "tracker-preferences.c"
		}
#line 798 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (ud_input);
#line 4200 "tracker-preferences.c"
	} else {
		const gchar* _tmp21_ = NULL;
		gboolean _tmp22_ = FALSE;
#line 816 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp21_ = input;
#line 816 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp22_ = g_str_has_prefix (_tmp21_, "$");
#line 816 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (_tmp22_) {
#line 4210 "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 817 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp23_ = input;
#line 817 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp24_ = string_substring (_tmp23_, (glong) 1, (glong) (-1));
#line 817 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp25_ = _tmp24_;
#line 817 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp26_ = g_getenv (_tmp25_);
#line 817 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp27_ = _tmp26_;
#line 817 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_free0 (_tmp25_);
#line 817 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			env = _tmp27_;
#line 821 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp28_ = env;
#line 821 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (_tmp28_ != NULL) {
#line 4236 "tracker-preferences.c"
				const gchar* _tmp29_ = NULL;
				gchar* _tmp30_ = NULL;
#line 822 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp29_ = env;
#line 822 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp30_ = g_strdup (_tmp29_);
#line 822 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (output);
#line 822 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				output = _tmp30_;
#line 4247 "tracker-preferences.c"
			}
		}
	}
#line 825 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = output;
#line 825 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 4255 "tracker-preferences.c"
}


static void _vala_array_add2 (gchar*** array, int* length, int* size, gchar* value) {
#line 852 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if ((*length) == (*size)) {
#line 852 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 852 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		*array = g_renew (gchar*, *array, (*size) + 1);
#line 4266 "tracker-preferences.c"
	}
#line 852 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	(*array)[(*length)++] = value;
#line 852 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	(*array)[*length] = NULL;
#line 4272 "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 828 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 828 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (model != NULL, NULL);
#line 829 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = g_new0 (gchar*, 0 + 1);
#line 829 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	list = _tmp0_;
#line 829 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	list_length1 = 0;
#line 829 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_list_size_ = list_length1;
#line 4298 "tracker-preferences.c"
	{
		GtkListStore* _tmp1_ = NULL;
		GtkTreeIter _tmp2_ = {0};
		gboolean _tmp3_ = FALSE;
		gboolean _tmp4_ = FALSE;
#line 833 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp1_ = model;
#line 833 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp3_ = gtk_tree_model_get_iter_first ((GtkTreeModel*) _tmp1_, &_tmp2_);
#line 833 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		iter = _tmp2_;
#line 833 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		valid = _tmp3_;
#line 833 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = TRUE;
#line 833 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		while (TRUE) {
#line 4316 "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 833 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!_tmp4_) {
#line 4332 "tracker-preferences.c"
				GtkListStore* _tmp5_ = NULL;
				gboolean _tmp6_ = FALSE;
#line 835 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp5_ = model;
#line 835 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp6_ = gtk_tree_model_iter_next ((GtkTreeModel*) _tmp5_, &iter);
#line 835 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				valid = _tmp6_;
#line 4341 "tracker-preferences.c"
			}
#line 833 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp4_ = FALSE;
#line 834 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp7_ = valid;
#line 834 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!_tmp7_) {
#line 834 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				break;
#line 4351 "tracker-preferences.c"
			}
#line 838 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp8_ = model;
#line 838 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp9_ = iter;
#line 838 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_tree_model_get_value ((GtkTreeModel*) _tmp8_, &_tmp9_, 0, &_tmp10_);
#line 838 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 838 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			value = _tmp10_;
#line 840 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp11_ = recurse_required;
#line 840 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (_tmp11_) {
#line 4367 "tracker-preferences.c"
				GValue recurse = {0};
				GtkListStore* _tmp12_ = NULL;
				GtkTreeIter _tmp13_ = {0};
				GValue _tmp14_ = {0};
				gboolean _tmp15_ = FALSE;
				gboolean _tmp16_ = FALSE;
#line 843 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp12_ = model;
#line 843 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp13_ = iter;
#line 843 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_tree_model_get_value ((GtkTreeModel*) _tmp12_, &_tmp13_, 1, &_tmp14_);
#line 843 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				G_IS_VALUE (&recurse) ? (g_value_unset (&recurse), NULL) : NULL;
#line 843 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				recurse = _tmp14_;
#line 845 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp15_ = recurse_value;
#line 845 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp16_ = g_value_get_boolean (&recurse);
#line 845 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (_tmp15_ != _tmp16_) {
#line 846 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					G_IS_VALUE (&recurse) ? (g_value_unset (&recurse), NULL) : NULL;
#line 846 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 846 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					continue;
#line 4396 "tracker-preferences.c"
				}
#line 840 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				G_IS_VALUE (&recurse) ? (g_value_unset (&recurse), NULL) : NULL;
#line 4400 "tracker-preferences.c"
			}
#line 851 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp17_ = g_value_get_string (&value);
#line 851 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp18_ = tracker_preferences_dir_to_config (self, _tmp17_);
#line 851 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			dir = _tmp18_;
#line 852 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp19_ = list;
#line 852 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp19__length1 = list_length1;
#line 852 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp20_ = dir;
#line 852 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp21_ = g_strdup (_tmp20_);
#line 852 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_vala_array_add2 (&list, &list_length1, &_list_size_, _tmp21_);
#line 833 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_g_free0 (dir);
#line 833 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 4422 "tracker-preferences.c"
		}
	}
#line 855 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp22_ = list;
#line 855 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp22__length1 = list_length1;
#line 855 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (result_length1) {
#line 855 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		*result_length1 = _tmp22__length1;
#line 4433 "tracker-preferences.c"
	}
#line 855 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = _tmp22_;
#line 855 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 4439 "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 858 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 858 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (model != NULL, FALSE);
#line 858 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_val_if_fail (needle != NULL, FALSE);
#line 863 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = needle;
#line 863 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = tracker_preferences_dir_from_config (self, _tmp0_);
#line 863 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_free0 (needle_evaluated);
#line 863 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	needle_evaluated = _tmp1_;
#line 4464 "tracker-preferences.c"
	{
		GtkTreeModel* _tmp2_ = NULL;
		GtkTreeIter _tmp3_ = {0};
		gboolean _tmp4_ = FALSE;
		gboolean _tmp5_ = FALSE;
#line 865 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = model;
#line 865 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = gtk_tree_model_get_iter_first (_tmp2_, &_tmp3_);
#line 865 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		iter = _tmp3_;
#line 865 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		valid = _tmp4_;
#line 865 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = TRUE;
#line 865 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		while (TRUE) {
#line 4482 "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 865 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!_tmp5_) {
#line 4492 "tracker-preferences.c"
				GtkTreeModel* _tmp6_ = NULL;
				gboolean _tmp7_ = FALSE;
#line 867 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp6_ = model;
#line 867 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp7_ = gtk_tree_model_iter_next (_tmp6_, &iter);
#line 867 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				valid = _tmp7_;
#line 4501 "tracker-preferences.c"
			}
#line 865 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp5_ = FALSE;
#line 866 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp8_ = valid;
#line 866 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (!_tmp8_) {
#line 866 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				break;
#line 4511 "tracker-preferences.c"
			}
#line 870 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp9_ = model;
#line 870 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp10_ = iter;
#line 870 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			gtk_tree_model_get_value (_tmp9_, &_tmp10_, 0, &_tmp11_);
#line 870 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 870 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			value = _tmp11_;
#line 872 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp12_ = g_value_get_string (&value);
#line 872 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp13_ = needle_evaluated;
#line 872 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			if (g_strcmp0 (_tmp12_, _tmp13_) == 0) {
#line 873 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				result = TRUE;
#line 873 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 873 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (needle_evaluated);
#line 873 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				return result;
#line 4537 "tracker-preferences.c"
			}
#line 865 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			G_IS_VALUE (&value) ? (g_value_unset (&value), NULL) : NULL;
#line 4541 "tracker-preferences.c"
		}
	}
#line 877 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = FALSE;
#line 877 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_free0 (needle_evaluated);
#line 877 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 4550 "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 880 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 880 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (model != NULL);
#line 881 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	position = 0;
#line 883 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = list;
#line 883 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0__length1 = list_length1;
#line 4569 "tracker-preferences.c"
	{
		gchar** s_collection = NULL;
		gint s_collection_length1 = 0;
		gint _s_collection_size_ = 0;
		gint s_it = 0;
#line 883 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		s_collection = _tmp0_;
#line 883 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		s_collection_length1 = _tmp0__length1;
#line 883 "/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 4581 "tracker-preferences.c"
			gchar* _tmp1_ = NULL;
			gchar* s = NULL;
#line 883 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp1_ = g_strdup (s_collection[s_it]);
#line 883 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			s = _tmp1_;
#line 4588 "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 885 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				ignore = FALSE;
#line 888 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp2_ = self->priv->ignored_user_directories;
#line 888 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp2__length1 = self->priv->ignored_user_directories_length1;
#line 4603 "tracker-preferences.c"
				{
					GUserDirectory* ud_collection = NULL;
					gint ud_collection_length1 = 0;
					gint _ud_collection_size_ = 0;
					gint ud_it = 0;
#line 888 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					ud_collection = _tmp2_;
#line 888 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					ud_collection_length1 = _tmp2__length1;
#line 888 "/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 4615 "tracker-preferences.c"
						GUserDirectory ud = 0;
#line 888 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						ud = ud_collection[ud_it];
#line 4619 "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 889 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp3_ = ud;
#line 889 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp4_ = _g_user_directory_to_string (_tmp3_);
#line 889 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp5_ = g_strdup (_tmp4_);
#line 889 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							ud_string = _tmp5_;
#line 890 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp6_ = ud_string;
#line 890 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp7_ = ud_string;
#line 890 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp8_ = string_last_index_of_char (_tmp7_, (gunichar) '_', 0);
#line 890 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp9_ = string_substring (_tmp6_, (glong) (_tmp8_ + 1), (glong) (-1));
#line 890 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp10_ = _tmp9_;
#line 890 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp11_ = g_strdup_printf ("&%s", _tmp10_);
#line 890 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp12_ = _tmp11_;
#line 890 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_g_free0 (_tmp10_);
#line 890 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							output = _tmp12_;
#line 892 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp13_ = s;
#line 892 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp14_ = output;
#line 892 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							if (g_strcmp0 (_tmp13_, _tmp14_) == 0) {
#line 893 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
								ignore = TRUE;
#line 894 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
								_g_free0 (output);
#line 894 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
								_g_free0 (ud_string);
#line 894 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
								break;
#line 4675 "tracker-preferences.c"
							}
#line 888 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_g_free0 (output);
#line 888 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_g_free0 (ud_string);
#line 4681 "tracker-preferences.c"
						}
					}
				}
#line 898 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp15_ = ignore;
#line 898 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (_tmp15_) {
#line 4689 "tracker-preferences.c"
					const gchar* _tmp16_ = NULL;
#line 899 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp16_ = s;
#line 899 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					g_debug ("tracker-preferences.vala:899: Ignoring '%s' (duplicates other entries " \
"in config)", _tmp16_);
#line 900 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (s);
#line 900 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					continue;
#line 4699 "tracker-preferences.c"
				}
#line 903 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp17_ = s;
#line 903 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp18_ = tracker_preferences_dir_from_config (self, _tmp17_);
#line 903 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				str = _tmp18_;
#line 4707 "tracker-preferences.c"
				{
					gboolean _tmp19_ = FALSE;
#line 906 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp19_ = have_recurse;
#line 906 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					if (_tmp19_) {
#line 4714 "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 910 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp21_ = str;
#line 910 "/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 910 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp20_ = _tmp22_;
#line 910 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 910 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							if (_inner_error_->domain == G_CONVERT_ERROR) {
#line 4732 "tracker-preferences.c"
								goto __catch4_g_convert_error;
							}
#line 910 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_g_free0 (str);
#line 910 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_g_free0 (s);
#line 910 "/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 910 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							g_clear_error (&_inner_error_);
#line 910 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							return;
#line 4745 "tracker-preferences.c"
						}
#line 907 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp23_ = model;
#line 907 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp24_ = position;
#line 907 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						position = _tmp24_ + 1;
#line 907 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp25_ = _tmp20_;
#line 907 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp20_ = NULL;
#line 907 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp26_ = recurse;
#line 907 "/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 906 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_g_free0 (_tmp20_);
#line 4763 "tracker-preferences.c"
					} else {
						gchar* _tmp27_ = NULL;
						const gchar* _tmp28_ = NULL;
						gchar* _tmp29_ = NULL;
						GtkListStore* _tmp30_ = NULL;
						gint _tmp31_ = 0;
						gchar* _tmp32_ = NULL;
#line 921 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp28_ = str;
#line 921 "/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 921 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp27_ = _tmp29_;
#line 921 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 921 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							if (_inner_error_->domain == G_CONVERT_ERROR) {
#line 4781 "tracker-preferences.c"
								goto __catch4_g_convert_error;
							}
#line 921 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_g_free0 (str);
#line 921 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_g_free0 (s);
#line 921 "/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 921 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							g_clear_error (&_inner_error_);
#line 921 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							return;
#line 4794 "tracker-preferences.c"
						}
#line 918 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp30_ = model;
#line 918 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp31_ = position;
#line 918 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						position = _tmp31_ + 1;
#line 918 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp32_ = _tmp27_;
#line 918 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp27_ = NULL;
#line 918 "/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 906 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_g_free0 (_tmp27_);
#line 4810 "tracker-preferences.c"
					}
				}
				goto __finally4;
				__catch4_g_convert_error:
				{
					GError* e = NULL;
					GError* _tmp33_ = NULL;
					const gchar* _tmp34_ = NULL;
#line 905 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					e = _inner_error_;
#line 905 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_inner_error_ = NULL;
#line 927 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp33_ = e;
#line 927 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp34_ = _tmp33_->message;
#line 927 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					g_print ("Could not convert filename to UTF8: %s", _tmp34_);
#line 905 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_error_free0 (e);
#line 4831 "tracker-preferences.c"
				}
				__finally4:
#line 905 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 905 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (str);
#line 905 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (s);
#line 905 "/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 905 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					g_clear_error (&_inner_error_);
#line 905 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					return;
#line 4846 "tracker-preferences.c"
				}
#line 883 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (str);
#line 883 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (s);
#line 4852 "tracker-preferences.c"
			}
		}
	}
}


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


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


static void ___lambda7_ (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 959 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self = _data1_->self;
#line 959 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (toggle != NULL);
#line 959 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (path != NULL);
#line 960 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = path;
#line 960 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = gtk_tree_path_new_from_string (_tmp0_);
#line 960 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tree_path = _tmp1_;
#line 963 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = _data1_->store;
#line 963 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_tree_model_get_iter ((GtkTreeModel*) _tmp2_, &_tmp3_, tree_path);
#line 963 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	iter = _tmp3_;
#line 964 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp4_ = _data1_->store;
#line 964 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp5_ = iter;
#line 964 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = toggle;
#line 964 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = gtk_cell_renderer_toggle_get_active (_tmp6_);
#line 964 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp8_ = _tmp7_;
#line 964 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_list_store_set (_tmp4_, &_tmp5_, 1, !_tmp8_, -1);
#line 959 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_gtk_tree_path_free0 (tree_path);
#line 4933 "tracker-preferences.c"
}


static void ____lambda7__gtk_cell_renderer_toggle_toggled (GtkCellRendererToggle* _sender, const gchar* path, gpointer self) {
#line 959 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	___lambda7_ (self, _sender, path);
#line 4940 "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 _tmp25_ = FALSE;
#line 932 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 932 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (view != NULL);
#line 932 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (title != NULL);
#line 934 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = view;
#line 934 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = gtk_tree_view_get_columns (_tmp0_);
#line 934 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	columns = _tmp1_;
#line 937 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = columns;
#line 4973 "tracker-preferences.c"
	{
		GList* c_collection = NULL;
		GList* c_it = NULL;
#line 937 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		c_collection = _tmp2_;
#line 937 "/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 4981 "tracker-preferences.c"
			GtkTreeViewColumn* _tmp3_ = NULL;
			GtkTreeViewColumn* c = NULL;
#line 937 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp3_ = _g_object_ref0 ((GtkTreeViewColumn*) c_it->data);
#line 937 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			c = _tmp3_;
#line 4988 "tracker-preferences.c"
			{
				GtkTreeView* _tmp4_ = NULL;
				GtkTreeViewColumn* _tmp5_ = NULL;
#line 938 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp4_ = view;
#line 938 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp5_ = c;
#line 938 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				gtk_tree_view_remove_column (_tmp4_, _tmp5_);
#line 937 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_object_unref0 (c);
#line 5000 "tracker-preferences.c"
			}
		}
	}
#line 941 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp6_ = title;
#line 941 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp7_ = (GtkCellRendererText*) gtk_cell_renderer_text_new ();
#line 941 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_object_ref_sink (_tmp7_);
#line 941 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp8_ = _tmp7_;
#line 941 "/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 941 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_object_ref_sink (_tmp9_);
#line 941 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (column);
#line 941 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	column = _tmp9_;
#line 941 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (_tmp8_);
#line 945 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp10_ = column;
#line 945 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_tree_view_column_set_expand (_tmp10_, TRUE);
#line 946 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp11_ = view;
#line 946 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp12_ = column;
#line 946 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_tree_view_append_column (_tmp11_, _tmp12_);
#line 948 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp13_ = show_recurse_column;
#line 948 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp13_) {
#line 5036 "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;
		GtkTreeView* _tmp22_ = NULL;
		GtkTreeViewColumn* _tmp23_ = NULL;
		GtkCellRendererToggle* _tmp24_ = NULL;
#line 948 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_data1_ = g_slice_new0 (Block1Data);
#line 948 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_data1_->_ref_count_ = 1;
#line 948 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_data1_->self = tracker_preferences_ref (self);
#line 949 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp14_ = view;
#line 949 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp15_ = gtk_tree_view_get_model (_tmp14_);
#line 949 "/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 949 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_data1_->store = _tmp16_;
#line 950 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp17_ = (GtkCellRendererToggle*) gtk_cell_renderer_toggle_new ();
#line 950 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_object_ref_sink (_tmp17_);
#line 950 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		cell = _tmp17_;
#line 952 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp18_ = _ ("Recurse");
#line 952 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp19_ = cell;
#line 952 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp20_ = gtk_tree_view_column_new_with_attributes (_tmp18_, (GtkCellRenderer*) _tmp19_, "active", TRUE, NULL, NULL);
#line 952 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_object_ref_sink (_tmp20_);
#line 952 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (column);
#line 952 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		column = _tmp20_;
#line 956 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp21_ = column;
#line 956 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_tree_view_column_set_expand (_tmp21_, FALSE);
#line 957 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp22_ = view;
#line 957 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp23_ = column;
#line 957 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_tree_view_append_column (_tmp22_, _tmp23_);
#line 959 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp24_ = cell;
#line 959 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_signal_connect_data (_tmp24_, "toggled", (GCallback) ____lambda7__gtk_cell_renderer_toggle_toggled, block1_data_ref (_data1_), (GClosureNotify) block1_data_unref, 0);
#line 948 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (cell);
#line 948 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		block1_data_unref (_data1_);
#line 948 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_data1_ = NULL;
#line 5102 "tracker-preferences.c"
	}
#line 968 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp25_ = sort;
#line 968 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp25_) {
#line 5108 "tracker-preferences.c"
		GtkTreeSortable* sortable = NULL;
		GtkTreeView* _tmp26_ = NULL;
		GtkTreeModel* _tmp27_ = NULL;
		GtkTreeSortable* _tmp28_ = NULL;
		GtkTreeSortable* _tmp29_ = NULL;
#line 969 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp26_ = view;
#line 969 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp27_ = gtk_tree_view_get_model (_tmp26_);
#line 969 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp28_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp27_, GTK_TYPE_TREE_SORTABLE) ? ((GtkTreeSortable*) _tmp27_) : NULL);
#line 969 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		sortable = _tmp28_;
#line 970 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp29_ = sortable;
#line 970 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		gtk_tree_sortable_set_sort_column_id (_tmp29_, 0, GTK_SORT_ASCENDING);
#line 968 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_object_unref0 (sortable);
#line 5128 "tracker-preferences.c"
	}
#line 932 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_list_free0 (columns);
#line 932 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (column);
#line 5134 "tracker-preferences.c"
}


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


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


static void _vala_array_add5 (gchar*** array, int* length, int* size, gchar* value) {
#line 1013 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if ((*length) == (*size)) {
#line 1013 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 1013 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		*array = g_renew (gchar*, *array, (*size) + 1);
#line 5177 "tracker-preferences.c"
	}
#line 1013 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	(*array)[(*length)++] = value;
#line 1013 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	(*array)[*length] = NULL;
#line 5183 "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 974 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_return_if_fail (self != NULL);
#line 975 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	all_dirs = NULL;
#line 975 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	all_dirs_length1 = 0;
#line 975 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_all_dirs_size_ = all_dirs_length1;
#line 977 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = all_dirs;
#line 977 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0__length1 = all_dirs_length1;
#line 977 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = self->priv->HOME_STRING_EVALUATED;
#line 977 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 977 "/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 5215 "tracker-preferences.c"
	{
		gint i = 0;
#line 979 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		i = 0;
#line 5220 "tracker-preferences.c"
		{
			gboolean _tmp3_ = FALSE;
#line 979 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			_tmp3_ = TRUE;
#line 979 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			while (TRUE) {
#line 5227 "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 979 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (!_tmp3_) {
#line 5244 "tracker-preferences.c"
					gint _tmp4_ = 0;
#line 979 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_tmp4_ = i;
#line 979 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					i = _tmp4_ + 1;
#line 5250 "tracker-preferences.c"
				}
#line 979 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp3_ = FALSE;
#line 979 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp5_ = i;
#line 979 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (!(_tmp5_ < ((gint) G_USER_N_DIRECTORIES))) {
#line 979 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					break;
#line 5260 "tracker-preferences.c"
				}
#line 980 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp6_ = i;
#line 980 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				ud = (GUserDirectory) _tmp6_;
#line 982 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp7_ = ud;
#line 982 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp8_ = g_get_user_special_dir (_tmp7_);
#line 982 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp9_ = g_strdup (_tmp8_);
#line 982 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				dir = _tmp9_;
#line 983 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp10_ = dir;
#line 983 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				if (_tmp10_ == NULL) {
#line 984 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					_g_free0 (dir);
#line 984 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					continue;
#line 5282 "tracker-preferences.c"
				}
#line 987 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp11_ = all_dirs;
#line 987 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp11__length1 = all_dirs_length1;
#line 5288 "tracker-preferences.c"
				{
					gchar** d_collection = NULL;
					gint d_collection_length1 = 0;
					gint _d_collection_size_ = 0;
					gint d_it = 0;
#line 987 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					d_collection = _tmp11_;
#line 987 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					d_collection_length1 = _tmp11__length1;
#line 987 "/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 5300 "tracker-preferences.c"
						gchar* _tmp12_ = NULL;
						gchar* d = NULL;
#line 987 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp12_ = g_strdup (d_collection[d_it]);
#line 987 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						d = _tmp12_;
#line 5307 "tracker-preferences.c"
						{
							const gchar* _tmp13_ = NULL;
							const gchar* _tmp14_ = NULL;
#line 988 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp13_ = d;
#line 988 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_tmp14_ = dir;
#line 988 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							if (g_strcmp0 (_tmp13_, _tmp14_) == 0) {
#line 5317 "tracker-preferences.c"
								const gchar* _tmp15_ = NULL;
								GUserDirectory _tmp16_ = 0;
								GUserDirectory _tmp17_ = 0;
#line 989 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
								_tmp15_ = d;
#line 989 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
								_tmp16_ = ud;
#line 989 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
								g_debug ("tracker-preferences.vala:989: Directory '%s' duplicated in XDG dir %d", _tmp15_, (gint) _tmp16_);
#line 991 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
								_tmp17_ = ud;
#line 991 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
								switch (_tmp17_) {
#line 991 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
									case G_USER_DIRECTORY_DESKTOP:
#line 991 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
									case G_USER_DIRECTORY_DOCUMENTS:
#line 991 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
									case G_USER_DIRECTORY_DOWNLOAD:
#line 991 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
									case G_USER_DIRECTORY_MUSIC:
#line 991 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
									case G_USER_DIRECTORY_PICTURES:
#line 991 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
									case G_USER_DIRECTORY_VIDEOS:
#line 5343 "tracker-preferences.c"
									{
										GUserDirectory* _tmp18_ = NULL;
										gint _tmp18__length1 = 0;
										GUserDirectory _tmp19_ = 0;
#line 998 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
										_tmp18_ = self->priv->ignored_user_directories;
#line 998 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
										_tmp18__length1 = self->priv->ignored_user_directories_length1;
#line 998 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
										_tmp19_ = ud;
#line 998 "/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 999 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
										break;
#line 5358 "tracker-preferences.c"
									}
									default:
									{
#line 1004 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
										break;
#line 5364 "tracker-preferences.c"
									}
								}
#line 1007 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
								_g_free0 (d);
#line 1007 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
								break;
#line 5371 "tracker-preferences.c"
							}
#line 987 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
							_g_free0 (d);
#line 5375 "tracker-preferences.c"
						}
					}
				}
#line 1013 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp20_ = all_dirs;
#line 1013 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp20__length1 = all_dirs_length1;
#line 1013 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp21_ = dir;
#line 1013 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp22_ = g_strdup (_tmp21_);
#line 1013 "/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 979 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_g_free0 (dir);
#line 5391 "tracker-preferences.c"
			}
		}
	}
#line 1016 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp23_ = self->priv->ignored_user_directories;
#line 1016 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp23__length1 = self->priv->ignored_user_directories_length1;
#line 5399 "tracker-preferences.c"
	{
		GUserDirectory* ud_collection = NULL;
		gint ud_collection_length1 = 0;
		gint _ud_collection_size_ = 0;
		gint ud_it = 0;
#line 1016 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		ud_collection = _tmp23_;
#line 1016 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		ud_collection_length1 = _tmp23__length1;
#line 1016 "/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 5411 "tracker-preferences.c"
			GUserDirectory ud = 0;
#line 1016 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
			ud = ud_collection[ud_it];
#line 5415 "tracker-preferences.c"
			{
				GUserDirectory _tmp24_ = 0;
#line 1017 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				_tmp24_ = ud;
#line 1017 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
				switch (_tmp24_) {
#line 1017 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_DESKTOP:
#line 5424 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp25_ = NULL;
#line 1019 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp25_ = self->priv->togglebutton_desktop;
#line 1019 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_widget_set_sensitive ((GtkWidget*) _tmp25_, FALSE);
#line 1020 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 5433 "tracker-preferences.c"
					}
#line 1017 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_DOCUMENTS:
#line 5437 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp26_ = NULL;
#line 1022 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp26_ = self->priv->togglebutton_documents;
#line 1022 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_widget_set_sensitive ((GtkWidget*) _tmp26_, FALSE);
#line 1023 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 5446 "tracker-preferences.c"
					}
#line 1017 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_DOWNLOAD:
#line 5450 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp27_ = NULL;
#line 1025 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp27_ = self->priv->togglebutton_download;
#line 1025 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_widget_set_sensitive ((GtkWidget*) _tmp27_, FALSE);
#line 1026 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 5459 "tracker-preferences.c"
					}
#line 1017 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_MUSIC:
#line 5463 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp28_ = NULL;
#line 1028 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp28_ = self->priv->togglebutton_music;
#line 1028 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_widget_set_sensitive ((GtkWidget*) _tmp28_, FALSE);
#line 1029 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 5472 "tracker-preferences.c"
					}
#line 1017 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_PICTURES:
#line 5476 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp29_ = NULL;
#line 1031 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp29_ = self->priv->togglebutton_pictures;
#line 1031 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_widget_set_sensitive ((GtkWidget*) _tmp29_, FALSE);
#line 1032 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 5485 "tracker-preferences.c"
					}
#line 1017 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
					case G_USER_DIRECTORY_VIDEOS:
#line 5489 "tracker-preferences.c"
					{
						GtkToggleButton* _tmp30_ = NULL;
#line 1034 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						_tmp30_ = self->priv->togglebutton_videos;
#line 1034 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						gtk_widget_set_sensitive ((GtkWidget*) _tmp30_, FALSE);
#line 1035 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 5498 "tracker-preferences.c"
					}
					default:
					{
#line 1037 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
						break;
#line 5504 "tracker-preferences.c"
					}
				}
			}
		}
	}
#line 974 "/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 5512 "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 5519 "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 5528 "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 5538 "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 5542 "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 5550 "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 5557 "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 5564 "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 5568 "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 5572 "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 5576 "tracker-preferences.c"
	}
#line 31 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return NULL;
#line 5580 "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 5591 "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 5597 "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 5601 "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 5605 "tracker-preferences.c"
	}
#line 31 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return NULL;
#line 5609 "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 5623 "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 5632 "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 5652 "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 5656 "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 5662 "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 5681 "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 5685 "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 5691 "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"
	((TrackerPreferencesClass *) 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 5703 "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_fts = NULL;
#line 33 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->settings_miner_fs = NULL;
#line 34 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->settings_extract = NULL;
#line 36 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->suggest_reindex = FALSE;
#line 37 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->suggest_restart = FALSE;
#line 43 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->ignored_user_directories = NULL;
#line 43 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	self->priv->ignored_user_directories_length1 = 0;
#line 43 "/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 5728 "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 31 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	g_signal_handlers_destroy (self);
#line 32 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->settings_fts);
#line 33 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->settings_miner_fs);
#line 34 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->settings_extract);
#line 41 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_free0 (self->priv->HOME_STRING_EVALUATED);
#line 43 "/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 45 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->window);
#line 46 "/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 47 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_enable_index_on_battery);
#line 48 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->spinbutton_delay);
#line 49 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_enable_monitoring);
#line 50 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_index_removable_media);
#line 51 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_index_optical_discs);
#line 52 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->hscale_disk_space_limit);
#line 53 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->radiobutton_sched_idle_always);
#line 54 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->radiobutton_sched_idle_first_index);
#line 55 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->radiobutton_sched_idle_never);
#line 56 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->hscale_drop_device_threshold);
#line 57 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_index);
#line 58 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_ignored_directories);
#line 59 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_ignored_files);
#line 60 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->liststore_ignored_directories_with_content);
#line 61 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_index);
#line 62 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_ignored_directories);
#line 63 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_ignored_directories_with_content);
#line 64 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeview_ignored_files);
#line 65 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeviewcolumn_index1);
#line 66 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->treeviewcolumn_index2);
#line 67 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_home);
#line 68 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_desktop);
#line 69 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_documents);
#line 70 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_music);
#line 71 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_pictures);
#line 72 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_videos);
#line 73 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->togglebutton_download);
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_index_file_content);
#line 75 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->checkbutton_index_numbers);
#line 76 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->hbox_duplicate_warning);
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->button_reindex);
#line 78 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_object_unref0 (self->priv->notebook);
#line 5816 "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 5841 "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 5854 "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 1057 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp0_ = _ ("Desktop Search preferences");
#line 1057 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp1_ = g_option_context_new (_tmp0_);
#line 1057 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	context = _tmp1_;
#line 5875 "tracker-preferences.c"
	{
		GOptionContext* _tmp2_ = NULL;
		GOptionContext* _tmp3_ = NULL;
		GOptionContext* _tmp4_ = NULL;
		GOptionGroup* _tmp5_ = NULL;
		GOptionContext* _tmp6_ = NULL;
#line 1060 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp2_ = context;
#line 1060 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_option_context_set_help_enabled (_tmp2_, TRUE);
#line 1061 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp3_ = context;
#line 1061 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_option_context_add_main_entries (_tmp3_, options, NULL);
#line 1062 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp4_ = context;
#line 1062 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp5_ = gtk_get_option_group (TRUE);
#line 1062 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_option_context_add_group (_tmp4_, _tmp5_);
#line 1063 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp6_ = context;
#line 1063 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_option_context_parse (_tmp6_, &args_length1, &args, &_inner_error_);
#line 1063 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 5902 "tracker-preferences.c"
			goto __catch5_g_error;
		}
	}
	goto __finally5;
	__catch5_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 1059 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		e = _inner_error_;
#line 1059 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_inner_error_ = NULL;
#line 1065 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp7_ = e;
#line 1065 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp8_ = _tmp7_->message;
#line 1065 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp9_ = g_strconcat (_tmp8_, "\n\n", NULL);
#line 1065 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp10_ = _tmp9_;
#line 1065 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_printerr ("%s", _tmp10_);
#line 1065 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (_tmp10_);
#line 1066 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp11_ = context;
#line 1066 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp12_ = g_option_context_get_help (_tmp11_, TRUE, NULL);
#line 1066 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp13_ = _tmp12_;
#line 1066 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_printerr ("%s", _tmp13_);
#line 1066 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (_tmp13_);
#line 1067 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		result = 1;
#line 1067 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_error_free0 (e);
#line 1067 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_option_context_free0 (context);
#line 1067 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		return result;
#line 5951 "tracker-preferences.c"
	}
	__finally5:
#line 1059 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1059 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_option_context_free0 (context);
#line 1059 "/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 1059 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_clear_error (&_inner_error_);
#line 1059 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		return 0;
#line 5964 "tracker-preferences.c"
	}
#line 1070 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp14_ = print_version;
#line 1070 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	if (_tmp14_) {
#line 5970 "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 1071 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp15_ = g_strdup ("");
#line 1071 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		about = _tmp15_;
#line 1072 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp16_ = g_strdup ("");
#line 1072 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		license = _tmp16_;
#line 1074 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp17_ = about;
#line 1074 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp18_ = g_strconcat (_tmp17_, "Tracker " PACKAGE_VERSION "\n", NULL);
#line 1074 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (about);
#line 1074 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		about = _tmp18_;
#line 1076 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp19_ = license;
#line 1076 "/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 1076 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (license);
#line 1076 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		license = _tmp20_;
#line 1077 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp21_ = license;
#line 1077 "/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 1077 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (license);
#line 1077 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		license = _tmp22_;
#line 1078 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp23_ = license;
#line 1078 "/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 1078 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (license);
#line 1078 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		license = _tmp24_;
#line 1079 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp25_ = license;
#line 1079 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp26_ = g_strconcat (_tmp25_, "\n", NULL);
#line 1079 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (license);
#line 1079 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		license = _tmp26_;
#line 1080 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp27_ = license;
#line 1080 "/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 1080 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (license);
#line 1080 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		license = _tmp28_;
#line 1082 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp29_ = about;
#line 1082 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp30_ = g_strconcat ("\n", _tmp29_, NULL);
#line 1082 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp31_ = _tmp30_;
#line 1082 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp32_ = g_strconcat (_tmp31_, "\n", NULL);
#line 1082 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp33_ = _tmp32_;
#line 1082 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp34_ = license;
#line 1082 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp35_ = g_strconcat (_tmp33_, _tmp34_, NULL);
#line 1082 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp36_ = _tmp35_;
#line 1082 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp37_ = g_strconcat (_tmp36_, "\n", NULL);
#line 1082 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_tmp38_ = _tmp37_;
#line 1082 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		g_print ("%s", _tmp38_);
#line 1082 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (_tmp38_);
#line 1082 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (_tmp36_);
#line 1082 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (_tmp33_);
#line 1082 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (_tmp31_);
#line 1083 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		result = 0;
#line 1083 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (license);
#line 1083 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_free0 (about);
#line 1083 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		_g_option_context_free0 (context);
#line 1083 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
		return result;
#line 6093 "tracker-preferences.c"
	}
#line 1086 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_init (&args_length1, &args);
#line 1088 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
#line 1089 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
#line 1090 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	textdomain (GETTEXT_PACKAGE);
#line 1092 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp39_ = tracker_preferences_new ();
#line 1092 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	p = _tmp39_;
#line 1093 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tmp40_ = p;
#line 1093 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	tracker_preferences_show (_tmp40_);
#line 1095 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	gtk_main ();
#line 1097 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	result = 0;
#line 1097 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_tracker_preferences_unref0 (p);
#line 1097 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	_g_option_context_free0 (context);
#line 1097 "/home/martyn/Source/checkout/gnome/tracker/src/tracker-preferences/tracker-preferences.vala"
	return result;
#line 6121 "tracker-preferences.c"
}


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



