/* tracker-result-store.c generated by valac 0.34.4, the Vala compiler
 * generated from tracker-result-store.vala, do not modify */

/**/
/* Copyright 2010, Carlos Garnacho <carlos@lanedo.com>*/
/**/
/* This program 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 program 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 program; 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 <gtk/gtk.h>
#include <gio/gio.h>
#include <stdlib.h>
#include <string.h>
#include "libtracker-sparql/tracker-sparql.h"
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gdk/gdk.h>
#include <stdarg.h>
#include <gobject/gvaluecollector.h>


#define TRACKER_TYPE_RESULT_STORE (tracker_result_store_get_type ())
#define TRACKER_RESULT_STORE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_TYPE_RESULT_STORE, TrackerResultStore))
#define TRACKER_RESULT_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_TYPE_RESULT_STORE, TrackerResultStoreClass))
#define TRACKER_IS_RESULT_STORE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_TYPE_RESULT_STORE))
#define TRACKER_IS_RESULT_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_TYPE_RESULT_STORE))
#define TRACKER_RESULT_STORE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_TYPE_RESULT_STORE, TrackerResultStoreClass))

typedef struct _TrackerResultStore TrackerResultStore;
typedef struct _TrackerResultStoreClass TrackerResultStoreClass;
typedef struct _TrackerResultStorePrivate TrackerResultStorePrivate;

#define TRACKER_RESULT_STORE_TYPE_QUERY_DATA (tracker_result_store_query_data_get_type ())

#define TRACKER_QUERY_TYPE_TYPE (tracker_query_type_get_type ())

#define TRACKER_QUERY_TYPE_MATCH (tracker_query_match_get_type ())
typedef struct _TrackerResultStoreQueryData TrackerResultStoreQueryData;

#define TRACKER_RESULT_STORE_TYPE_CATEGORY_NODE (tracker_result_store_category_node_get_type ())
#define TRACKER_RESULT_STORE_CATEGORY_NODE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_RESULT_STORE_TYPE_CATEGORY_NODE, TrackerResultStoreCategoryNode))
#define TRACKER_RESULT_STORE_CATEGORY_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_RESULT_STORE_TYPE_CATEGORY_NODE, TrackerResultStoreCategoryNodeClass))
#define TRACKER_RESULT_STORE_IS_CATEGORY_NODE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_RESULT_STORE_TYPE_CATEGORY_NODE))
#define TRACKER_RESULT_STORE_IS_CATEGORY_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_RESULT_STORE_TYPE_CATEGORY_NODE))
#define TRACKER_RESULT_STORE_CATEGORY_NODE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_RESULT_STORE_TYPE_CATEGORY_NODE, TrackerResultStoreCategoryNodeClass))

typedef struct _TrackerResultStoreCategoryNode TrackerResultStoreCategoryNode;
typedef struct _TrackerResultStoreCategoryNodeClass TrackerResultStoreCategoryNodeClass;

#define TRACKER_RESULT_STORE_TYPE_OPERATION (tracker_result_store_operation_get_type ())
#define TRACKER_RESULT_STORE_OPERATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_RESULT_STORE_TYPE_OPERATION, TrackerResultStoreOperation))
#define TRACKER_RESULT_STORE_OPERATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_RESULT_STORE_TYPE_OPERATION, TrackerResultStoreOperationClass))
#define TRACKER_RESULT_STORE_IS_OPERATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_RESULT_STORE_TYPE_OPERATION))
#define TRACKER_RESULT_STORE_IS_OPERATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_RESULT_STORE_TYPE_OPERATION))
#define TRACKER_RESULT_STORE_OPERATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_RESULT_STORE_TYPE_OPERATION, TrackerResultStoreOperationClass))

typedef struct _TrackerResultStoreOperation TrackerResultStoreOperation;
typedef struct _TrackerResultStoreOperationClass TrackerResultStoreOperationClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_ptr_array_unref0(var) ((var == NULL) ? NULL : (var = (g_ptr_array_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
typedef struct _TrackerResultStoreOperationPrivate TrackerResultStoreOperationPrivate;

#define TRACKER_TYPE_QUERY (tracker_query_get_type ())
#define TRACKER_QUERY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_TYPE_QUERY, TrackerQuery))
#define TRACKER_QUERY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_TYPE_QUERY, TrackerQueryClass))
#define TRACKER_IS_QUERY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_TYPE_QUERY))
#define TRACKER_IS_QUERY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_TYPE_QUERY))
#define TRACKER_QUERY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_TYPE_QUERY, TrackerQueryClass))

typedef struct _TrackerQuery TrackerQuery;
typedef struct _TrackerQueryClass TrackerQueryClass;
#define _tracker_query_unref0(var) ((var == NULL) ? NULL : (var = (tracker_query_unref (var), NULL)))
typedef struct _TrackerResultStoreCategoryNodePrivate TrackerResultStoreCategoryNodePrivate;

#define TRACKER_RESULT_STORE_TYPE_RESULT_NODE (tracker_result_store_result_node_get_type ())
typedef struct _TrackerResultStoreResultNode TrackerResultStoreResultNode;
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define _gtk_tree_path_free0(var) ((var == NULL) ? NULL : (var = (gtk_tree_path_free (var), NULL)))
typedef struct _TrackerResultStoreLoadOperationData TrackerResultStoreLoadOperationData;
#define _tracker_result_store_category_node_unref0(var) ((var == NULL) ? NULL : (var = (tracker_result_store_category_node_unref (var), NULL)))
typedef struct _TrackerResultStoreLoadCategoryData TrackerResultStoreLoadCategoryData;
#define _gtk_icon_info_free0(var) ((var == NULL) ? NULL : (var = (gtk_icon_info_free (var), NULL)))
typedef struct _TrackerResultStoreFetchThumbnailData TrackerResultStoreFetchThumbnailData;
typedef struct _TrackerResultStoreParamSpecCategoryNode TrackerResultStoreParamSpecCategoryNode;

struct _TrackerResultStore {
	GObject parent_instance;
	TrackerResultStorePrivate * priv;
};

struct _TrackerResultStoreClass {
	GObjectClass parent_class;
};

typedef enum  {
	TRACKER_QUERY_TYPE_ALL,
	TRACKER_QUERY_TYPE_CONTACTS,
	TRACKER_QUERY_TYPE_APPLICATIONS,
	TRACKER_QUERY_TYPE_MUSIC,
	TRACKER_QUERY_TYPE_IMAGES,
	TRACKER_QUERY_TYPE_VIDEOS,
	TRACKER_QUERY_TYPE_DOCUMENTS,
	TRACKER_QUERY_TYPE_MAIL,
	TRACKER_QUERY_TYPE_CALENDAR,
	TRACKER_QUERY_TYPE_FOLDERS,
	TRACKER_QUERY_TYPE_BOOKMARKS
} TrackerQueryType;

typedef enum  {
	TRACKER_QUERY_MATCH_NONE,
	TRACKER_QUERY_MATCH_FTS,
	TRACKER_QUERY_MATCH_FTS_INDIRECT,
	TRACKER_QUERY_MATCH_TITLES,
	TRACKER_QUERY_MATCH_TITLES_INDIRECT,
	TRACKER_QUERY_MATCH_TAGS_ONLY,
	TRACKER_QUERY_MATCH_TAGS_ONLY_INDIRECT
} TrackerQueryMatch;

struct _TrackerResultStoreQueryData {
	TrackerQueryType type;
	TrackerQueryMatch match;
	gchar** args;
	gint args_length1;
	gint _args_size_;
};

struct _TrackerResultStorePrivate {
	GCancellable* cancellable;
	TrackerResultStoreQueryData* queries;
	gint queries_length1;
	gint _queries_size_;
	GPtrArray* categories;
	GPtrArray* running_operations;
	GPtrArray* delayed_operations;
	gint n_extra_columns;
	gint n_columns;
	gint timestamp;
	gint _icon_size;
	guint _limit;
	gchar* _search_term;
	GPtrArray* _search_tags;
	gboolean _active;
};

struct _TrackerResultStoreOperation {
	GObject parent_instance;
	TrackerResultStoreOperationPrivate * priv;
	TrackerResultStoreCategoryNode* node;
	gint offset;
};

struct _TrackerResultStoreOperationClass {
	GObjectClass parent_class;
};

struct _TrackerResultStoreResultNode {
	gchar** values;
	gint values_length1;
	gint _values_size_;
	GdkPixbuf* pixbuf;
};

struct _TrackerResultStoreCategoryNode {
	GTypeInstance parent_instance;
	volatile int ref_count;
	TrackerResultStoreCategoryNodePrivate * priv;
	TrackerQueryType type;
	TrackerResultStoreQueryData* query;
	TrackerResultStoreResultNode* results;
	gint results_length1;
	gint _results_size_;
	GdkPixbuf* pixbuf;
	gint count;
};

struct _TrackerResultStoreCategoryNodeClass {
	GTypeClass parent_class;
	void (*finalize) (TrackerResultStoreCategoryNode *self);
};

struct _TrackerResultStoreLoadOperationData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	TrackerResultStore* self;
	TrackerResultStoreOperation* op;
	GCancellable* cancellable;
	TrackerQuery* query;
	TrackerSparqlCursor* cursor;
	gint i;
	GCancellable* _tmp0_;
	TrackerQuery* _tmp1_;
	TrackerQuery* _tmp2_;
	const gchar* _tmp3_;
	TrackerQuery* _tmp4_;
	GPtrArray* _tmp5_;
	TrackerQuery* _tmp6_;
	guint _tmp7_;
	TrackerQuery* _tmp8_;
	TrackerResultStoreOperation* _tmp9_;
	gint _tmp10_;
	TrackerSparqlCursor* _tmp11_;
	TrackerQuery* _tmp12_;
	TrackerResultStoreOperation* _tmp13_;
	TrackerResultStoreCategoryNode* _tmp14_;
	TrackerResultStoreQueryData* _tmp15_;
	TrackerQueryType _tmp16_;
	TrackerResultStoreOperation* _tmp17_;
	TrackerResultStoreCategoryNode* _tmp18_;
	TrackerResultStoreQueryData* _tmp19_;
	TrackerQueryMatch _tmp20_;
	TrackerResultStoreOperation* _tmp21_;
	TrackerResultStoreCategoryNode* _tmp22_;
	TrackerResultStoreQueryData* _tmp23_;
	gchar** _tmp24_;
	gint _tmp24__length1;
	GCancellable* _tmp25_;
	TrackerSparqlCursor* _tmp26_;
	TrackerSparqlCursor* _tmp27_;
	GCancellable* _tmp28_;
	TrackerSparqlCursor* _tmp29_;
	TrackerResultStoreOperation* _tmp30_;
	gint _tmp31_;
	gboolean _tmp32_;
	gint _tmp33_;
	gint _tmp34_;
	TrackerResultStoreOperation* _tmp35_;
	gint _tmp36_;
	TrackerResultStoreResultNode* _result_;
	GtkTreeIter iter;
	GtkTreePath* path;
	gboolean b;
	gint j;
	gboolean _tmp37_;
	TrackerSparqlCursor* _tmp38_;
	GCancellable* _tmp39_;
	gboolean _tmp40_;
	GError* ge;
	GCancellable* _tmp41_;
	gboolean _tmp42_;
	GError* _tmp43_;
	const gchar* _tmp44_;
	gboolean _tmp45_;
	TrackerResultStoreOperation* _tmp46_;
	TrackerResultStoreCategoryNode* _tmp47_;
	TrackerResultStoreResultNode* _tmp48_;
	gint _tmp48__length1;
	gint _tmp49_;
	gboolean _tmp50_;
	gint _tmp51_;
	gint _tmp52_;
	gint _tmp53_;
	gint _tmp54_;
	gint _tmp55_;
	gchar* s;
	TrackerSparqlCursor* _tmp56_;
	gint _tmp57_;
	const gchar* _tmp58_;
	gchar* _tmp59_;
	const gchar* _tmp60_;
	TrackerResultStoreResultNode* _tmp61_;
	gchar** _tmp62_;
	gint _tmp62__length1;
	gint _tmp63_;
	const gchar* _tmp64_;
	gchar* _tmp65_;
	gchar* _tmp66_;
	TrackerResultStoreResultNode* _tmp67_;
	gchar** _tmp68_;
	gint _tmp68__length1;
	gint _tmp69_;
	gchar* _tmp70_;
	TrackerResultStoreResultNode* _tmp71_;
	gchar** _tmp72_;
	gint _tmp72__length1;
	gint _tmp73_;
	TrackerSparqlCursor* _tmp74_;
	gint _tmp75_;
	const gchar* _tmp76_;
	gchar* _tmp77_;
	gchar* _tmp78_;
	gint _tmp79_;
	TrackerResultStoreOperation* _tmp80_;
	TrackerResultStoreCategoryNode* _tmp81_;
	TrackerResultStoreResultNode* _tmp82_;
	gint _tmp83_;
	void* _tmp84_;
	GtkTreeIter _tmp85_;
	GtkTreePath* _tmp86_;
	GtkTreePath* _tmp87_;
	GtkTreeIter _tmp88_;
	GPtrArray* _tmp89_;
	TrackerResultStoreOperation* _tmp90_;
	GError* ie;
	GCancellable* _tmp91_;
	gboolean _tmp92_;
	GError* _tmp93_;
	const gchar* _tmp94_;
	GPtrArray* _tmp95_;
	gint _tmp96_;
	gint _tmp97_;
	TrackerResultStoreOperation* next_to_start;
	GPtrArray* _tmp98_;
	GPtrArray* _tmp99_;
	gint _tmp100_;
	gint _tmp101_;
	gconstpointer _tmp102_;
	TrackerResultStoreOperation* _tmp103_;
	GPtrArray* _tmp104_;
	TrackerResultStoreOperation* _tmp105_;
	GPtrArray* _tmp106_;
	TrackerResultStoreOperation* _tmp107_;
	TrackerResultStoreOperation* _tmp108_;
	TrackerResultStoreOperation* _tmp109_;
	GCancellable* _tmp110_;
	GPtrArray* _tmp111_;
	gint _tmp112_;
	gint _tmp113_;
	GError * _inner_error_;
};

struct _TrackerResultStoreLoadCategoryData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	TrackerResultStore* self;
	TrackerResultStoreQueryData* query_data;
	GCancellable* cancellable;
	guint count;
	GCancellable* _tmp0_;
	TrackerQuery* query;
	TrackerQuery* _tmp1_;
	TrackerQuery* _tmp2_;
	const gchar* _tmp3_;
	TrackerQuery* _tmp4_;
	GPtrArray* _tmp5_;
	guint _tmp6_;
	TrackerQuery* _tmp7_;
	TrackerResultStoreQueryData* _tmp8_;
	TrackerQueryType _tmp9_;
	TrackerResultStoreQueryData* _tmp10_;
	TrackerQueryMatch _tmp11_;
	GCancellable* _tmp12_;
	guint _tmp13_;
	GCancellable* _tmp14_;
	GError* ie;
	GCancellable* _tmp15_;
	gboolean _tmp16_;
	GError* _tmp17_;
	const gchar* _tmp18_;
	guint _tmp19_;
	TrackerResultStoreCategoryNode* cat;
	TrackerResultStoreResultNode* res;
	gint i;
	guint _tmp20_;
	guint _tmp21_;
	guint _tmp22_;
	GtkTreeIter iter;
	GtkTreePath* path;
	TrackerResultStoreCategoryNode* _tmp23_;
	TrackerResultStoreCategoryNode* _tmp24_;
	TrackerResultStoreQueryData* _tmp25_;
	TrackerQueryType _tmp26_;
	TrackerResultStoreCategoryNode* _tmp27_;
	TrackerResultStoreQueryData* _tmp28_;
	TrackerResultStoreCategoryNode* _tmp29_;
	guint _tmp30_;
	gint _tmp31_;
	GPtrArray* _tmp32_;
	TrackerResultStoreCategoryNode* _tmp33_;
	TrackerResultStoreCategoryNode* _tmp34_;
	gint _tmp35_;
	TrackerResultStoreCategoryNode* _tmp36_;
	TrackerResultStoreQueryData* _tmp37_;
	gint _tmp37__length1;
	GtkTreeIter _tmp38_;
	GtkTreePath* _tmp39_;
	GtkTreePath* _tmp40_;
	GtkTreeIter _tmp41_;
	gboolean _tmp42_;
	gint _tmp43_;
	gint _tmp44_;
	guint _tmp45_;
	TrackerResultStoreCategoryNode* _tmp46_;
	TrackerResultStoreResultNode* _tmp47_;
	gint _tmp47__length1;
	gint _tmp48_;
	gint _tmp49_;
	gchar** _tmp50_;
	TrackerResultStoreResultNode* _tmp51_;
	gint _tmp52_;
	void* _tmp53_;
	GtkTreeIter _tmp54_;
	GtkTreePath* _tmp55_;
	TrackerResultStoreCategoryNode* _tmp56_;
	gint _tmp57_;
	GtkTreePath* _tmp58_;
	GtkTreeIter _tmp59_;
	TrackerResultStoreQueryData* _tmp60_;
	gint _tmp60__length1;
	GtkTreeIter _tmp61_;
	GtkTreePath* _tmp62_;
	GtkTreePath* _tmp63_;
	GtkTreeIter _tmp64_;
	GPtrArray* _tmp65_;
	gint _tmp66_;
	gint _tmp67_;
	GError * _inner_error_;
};

struct _TrackerResultStoreFetchThumbnailData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	TrackerResultStore* self;
	GtkTreeIter iter;
	GFile* file;
	GFileInfo* info;
	TrackerResultStoreResultNode* _result_;
	gchar* thumb_path;
	GdkPixbuf* pixbuf;
	GtkTreeIter _tmp0_;
	void* _tmp1_;
	TrackerResultStoreResultNode* _tmp2_;
	gchar** _tmp3_;
	gint _tmp3__length1;
	const gchar* _tmp4_;
	GFile* _tmp5_;
	GFileInfo* _tmp6_;
	GFile* _tmp7_;
	GCancellable* _tmp8_;
	GFileInfo* _tmp9_;
	GFileInfo* _tmp10_;
	GError* ie;
	GCancellable* _tmp11_;
	gboolean _tmp12_;
	GError* _tmp13_;
	const gchar* _tmp14_;
	GFileInfo* _tmp15_;
	const gchar* _tmp16_;
	gchar* _tmp17_;
	const gchar* _tmp18_;
	GdkPixbuf* _tmp19_;
	const gchar* _tmp20_;
	gint _tmp21_;
	gint _tmp22_;
	GdkPixbuf* _tmp23_;
	GdkPixbuf* _tmp24_;
	GIcon* icon;
	GtkIconInfo* icon_info;
	GFileInfo* _tmp25_;
	GObject* _tmp26_;
	GIcon* _tmp27_;
	GIcon* _tmp28_;
	GtkIconTheme* theme;
	GdkScreen* _tmp29_;
	GtkIconTheme* _tmp30_;
	GtkIconTheme* _tmp31_;
	GtkIconTheme* _tmp32_;
	GIcon* _tmp33_;
	gint _tmp34_;
	GtkIconInfo* _tmp35_;
	GtkIconInfo* _tmp36_;
	GdkPixbuf* _tmp37_;
	GtkIconInfo* _tmp38_;
	GdkPixbuf* _tmp39_;
	GdkPixbuf* _tmp40_;
	GError* e;
	GError* _tmp41_;
	const gchar* _tmp42_;
	GdkPixbuf* _tmp43_;
	GtkTreePath* path;
	GdkPixbuf* _tmp44_;
	GdkPixbuf* _tmp45_;
	GtkTreeIter _tmp46_;
	GtkTreePath* _tmp47_;
	GtkTreePath* _tmp48_;
	GtkTreeIter _tmp49_;
	GError * _inner_error_;
};

struct _TrackerResultStoreParamSpecCategoryNode {
	GParamSpec parent_instance;
};


static gpointer tracker_result_store_parent_class = NULL;
static gpointer tracker_result_store_category_node_parent_class = NULL;
static gpointer tracker_result_store_operation_parent_class = NULL;
static GtkTreeModelIface* tracker_result_store_gtk_tree_model_parent_iface = NULL;

GType tracker_result_store_get_type (void) G_GNUC_CONST;
static GType tracker_result_store_query_data_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
GType tracker_query_type_get_type (void) G_GNUC_CONST;
GType tracker_query_match_get_type (void) G_GNUC_CONST;
static TrackerResultStoreQueryData* tracker_result_store_query_data_dup (const TrackerResultStoreQueryData* self);
static void tracker_result_store_query_data_free (TrackerResultStoreQueryData* self);
static void tracker_result_store_query_data_copy (const TrackerResultStoreQueryData* self, TrackerResultStoreQueryData* dest);
static void tracker_result_store_query_data_destroy (TrackerResultStoreQueryData* self);
static gpointer tracker_result_store_category_node_ref (gpointer instance);
static void tracker_result_store_category_node_unref (gpointer instance);
static GParamSpec* tracker_result_store_param_spec_category_node (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) G_GNUC_UNUSED;
static void tracker_result_store_value_set_category_node (GValue* value, gpointer v_object) G_GNUC_UNUSED;
static void tracker_result_store_value_take_category_node (GValue* value, gpointer v_object) G_GNUC_UNUSED;
static gpointer tracker_result_store_value_get_category_node (const GValue* value) G_GNUC_UNUSED;
static GType tracker_result_store_category_node_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
static GType tracker_result_store_operation_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
#define TRACKER_RESULT_STORE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TRACKER_TYPE_RESULT_STORE, TrackerResultStorePrivate))
enum  {
	TRACKER_RESULT_STORE_DUMMY_PROPERTY,
	TRACKER_RESULT_STORE_ICON_SIZE,
	TRACKER_RESULT_STORE_LIMIT,
	TRACKER_RESULT_STORE_SEARCH_TERM,
	TRACKER_RESULT_STORE_SEARCH_TAGS,
	TRACKER_RESULT_STORE_ACTIVE
};
static void _vala_TrackerResultStoreQueryData_array_free (TrackerResultStoreQueryData* array, gint array_length);
static TrackerResultStoreOperation* tracker_result_store_find_operation (TrackerResultStore* self, GPtrArray* array, TrackerResultStoreCategoryNode* node, gint offset);
static void tracker_result_store_load_operation_data_free (gpointer _data);
static void tracker_result_store_load_operation (TrackerResultStore* self, TrackerResultStoreOperation* op, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void tracker_result_store_load_operation_finish (TrackerResultStore* self, GAsyncResult* _res_);
static gboolean tracker_result_store_load_operation_co (TrackerResultStoreLoadOperationData* _data_);
gpointer tracker_query_ref (gpointer instance);
void tracker_query_unref (gpointer instance);
GParamSpec* tracker_param_spec_query (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void tracker_value_set_query (GValue* value, gpointer v_object);
void tracker_value_take_query (GValue* value, gpointer v_object);
gpointer tracker_value_get_query (const GValue* value);
GType tracker_query_get_type (void) G_GNUC_CONST;
TrackerQuery* tracker_query_new (void);
TrackerQuery* tracker_query_construct (GType object_type);
void tracker_query_set_criteria (TrackerQuery* self, const gchar* value);
GPtrArray* tracker_result_store_get_search_tags (TrackerResultStore* self);
void tracker_query_set_tags (TrackerQuery* self, GPtrArray* value);
guint tracker_result_store_get_limit (TrackerResultStore* self);
void tracker_query_set_limit (TrackerQuery* self, guint value);
void tracker_query_set_offset (TrackerQuery* self, guint value);
void tracker_query_perform_async (TrackerQuery* self, TrackerQueryType query_type, TrackerQueryMatch match_type, gchar** args, int args_length1, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
TrackerSparqlCursor* tracker_query_perform_finish (TrackerQuery* self, GAsyncResult* _res_, GError** error);
static GType tracker_result_store_result_node_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
static TrackerResultStoreResultNode* tracker_result_store_result_node_dup (const TrackerResultStoreResultNode* self);
static void tracker_result_store_result_node_free (TrackerResultStoreResultNode* self);
static void tracker_result_store_result_node_copy (const TrackerResultStoreResultNode* self, TrackerResultStoreResultNode* dest);
static void tracker_result_store_result_node_destroy (TrackerResultStoreResultNode* self);
static void tracker_result_store_load_operation_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static void tracker_result_store_set_active (TrackerResultStore* self, gboolean value);
static void tracker_result_store_add_operation (TrackerResultStore* self, TrackerResultStoreCategoryNode* cat, gint offset);
static TrackerResultStoreOperation* tracker_result_store_operation_new (void);
static TrackerResultStoreOperation* tracker_result_store_operation_construct (GType object_type);
static void tracker_result_store_load_category_data_free (gpointer _data);
static void tracker_result_store_load_category (TrackerResultStore* self, TrackerResultStoreQueryData* query_data, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void tracker_result_store_load_category_finish (TrackerResultStore* self, GAsyncResult* _res_);
static gboolean tracker_result_store_load_category_co (TrackerResultStoreLoadCategoryData* _data_);
void tracker_query_get_count_async (TrackerQuery* self, TrackerQueryType query_type, TrackerQueryMatch match_type, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
guint tracker_query_get_count_finish (TrackerQuery* self, GAsyncResult* _res_, GError** error);
static void tracker_result_store_load_category_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static TrackerResultStoreCategoryNode* tracker_result_store_category_node_new (void);
static TrackerResultStoreCategoryNode* tracker_result_store_category_node_construct (GType object_type);
static void tracker_result_store_clear_results (TrackerResultStore* self);
static gint tracker_result_store_find_nth_category_index (TrackerResultStore* self, TrackerResultStoreCategoryNode* node, gint n);
static gint tracker_result_store_filled_categories_count (TrackerResultStore* self);
static GType tracker_result_store_real_get_column_type (GtkTreeModel* base, gint index_);
static GtkTreeModelFlags tracker_result_store_real_get_flags (GtkTreeModel* base);
static gboolean tracker_result_store_real_get_iter (GtkTreeModel* base, GtkTreeIter* iter, GtkTreePath* path);
static gint tracker_result_store_real_get_n_columns (GtkTreeModel* base);
static GtkTreePath* tracker_result_store_real_get_path (GtkTreeModel* base, GtkTreeIter* iter);
static void tracker_result_store_fetch_thumbnail_data_free (gpointer _data);
static void tracker_result_store_fetch_thumbnail (TrackerResultStore* self, GtkTreeIter* iter, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void tracker_result_store_fetch_thumbnail_finish (TrackerResultStore* self, GAsyncResult* _res_);
static gboolean tracker_result_store_fetch_thumbnail_co (TrackerResultStoreFetchThumbnailData* _data_);
static void tracker_result_store_fetch_thumbnail_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
gint tracker_result_store_get_icon_size (TrackerResultStore* self);
static void tracker_result_store_real_get_value (GtkTreeModel* base, GtkTreeIter* iter, gint column, GValue* value);
GdkPixbuf* tracker_pixbuf_new_from_name (GtkIconTheme* theme, const gchar* name, gint size);
static gboolean tracker_result_store_real_iter_children (GtkTreeModel* base, GtkTreeIter* iter, GtkTreeIter* parent);
static gboolean tracker_result_store_real_iter_has_child (GtkTreeModel* base, GtkTreeIter* iter);
static gint tracker_result_store_real_iter_n_children (GtkTreeModel* base, GtkTreeIter* iter);
static gboolean tracker_result_store_real_iter_next (GtkTreeModel* base, GtkTreeIter* iter);
static gboolean tracker_result_store_real_iter_nth_child (GtkTreeModel* base, GtkTreeIter* iter, GtkTreeIter* parent, gint n);
static gboolean tracker_result_store_real_iter_parent (GtkTreeModel* base, GtkTreeIter* iter, GtkTreeIter* child);
static void tracker_result_store_real_ref_node (GtkTreeModel* base, GtkTreeIter* iter);
static void tracker_result_store_real_unref_node (GtkTreeModel* base, GtkTreeIter* iter);
static void tracker_result_store_theme_changed (TrackerResultStore* self, GtkIconTheme* theme);
TrackerResultStore* tracker_result_store_new (gint _n_columns);
TrackerResultStore* tracker_result_store_construct (GType object_type, gint _n_columns);
static void _tracker_result_store_category_node_unref0_ (gpointer var);
static void _g_object_unref0_ (gpointer var);
void tracker_result_store_set_icon_size (TrackerResultStore* self, gint value);
static void _tracker_result_store_theme_changed_gtk_icon_theme_changed (GtkIconTheme* _sender, gpointer self);
void tracker_result_store_add_query (TrackerResultStore* self, TrackerQueryType type, TrackerQueryMatch match, ...);
static void _vala_array_add2 (gchar*** array, int* length, int* size, gchar* value);
static gchar** _vala_array_dup2 (gchar** self, int length);
static void _vala_array_add3 (TrackerResultStoreQueryData** array, int* length, int* size, const TrackerResultStoreQueryData* value);
gboolean tracker_result_store_has_results (TrackerResultStore* self);
void tracker_result_store_cancel_search (TrackerResultStore* self);
void tracker_result_store_set_limit (TrackerResultStore* self, guint value);
const gchar* tracker_result_store_get_search_term (TrackerResultStore* self);
void tracker_result_store_set_search_term (TrackerResultStore* self, const gchar* value);
void tracker_result_store_set_search_tags (TrackerResultStore* self, GPtrArray* value);
gboolean tracker_result_store_get_active (TrackerResultStore* self);
enum  {
	TRACKER_RESULT_STORE_CATEGORY_NODE_DUMMY_PROPERTY
};
static void _vala_TrackerResultStoreResultNode_array_free (TrackerResultStoreResultNode* array, gint array_length);
static void tracker_result_store_category_node_finalize (TrackerResultStoreCategoryNode* obj);
enum  {
	TRACKER_RESULT_STORE_OPERATION_DUMMY_PROPERTY
};
static void tracker_result_store_operation_finalize (GObject* obj);
static gchar** _vala_array_dup3 (gchar** self, int length);
static gchar** _vala_array_dup4 (gchar** self, int length);
static void tracker_result_store_finalize (GObject* obj);
static void _vala_tracker_result_store_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_tracker_result_store_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);
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 void _vala_TrackerResultStoreQueryData_array_free (TrackerResultStoreQueryData* array, gint array_length) {
#line 44 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (array != NULL) {
#line 641 "tracker-result-store.c"
		int i;
#line 44 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		for (i = 0; i < array_length; i = i + 1) {
#line 44 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			tracker_result_store_query_data_destroy (&array[i]);
#line 647 "tracker-result-store.c"
		}
	}
#line 44 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_free (array);
#line 652 "tracker-result-store.c"
}


static gint g_ptr_array_get_length (GPtrArray* self) {
	gint result;
	guint _tmp0_ = 0U;
#line 4858 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, 0);
#line 4858 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	_tmp0_ = self->len;
#line 4858 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	result = (gint) _tmp0_;
#line 4858 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	return result;
#line 667 "tracker-result-store.c"
}


static void g_ptr_array_set_length (GPtrArray* self, gint value) {
	gint _tmp0_ = 0;
#line 4859 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	g_return_if_fail (self != NULL);
#line 4859 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	_tmp0_ = value;
#line 4859 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
	g_ptr_array_set_size (self, _tmp0_);
#line 679 "tracker-result-store.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 76 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return self ? g_object_ref (self) : NULL;
#line 686 "tracker-result-store.c"
}


static TrackerResultStoreOperation* tracker_result_store_find_operation (TrackerResultStore* self, GPtrArray* array, TrackerResultStoreCategoryNode* node, gint offset) {
	TrackerResultStoreOperation* result = NULL;
	TrackerResultStoreOperation* op = NULL;
	gint i = 0;
#line 71 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 71 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_val_if_fail (array != NULL, NULL);
#line 71 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_val_if_fail (node != NULL, NULL);
#line 700 "tracker-result-store.c"
	{
		gboolean _tmp0_ = FALSE;
#line 75 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		i = 0;
#line 75 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp0_ = TRUE;
#line 75 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		while (TRUE) {
#line 709 "tracker-result-store.c"
			gint _tmp2_ = 0;
			GPtrArray* _tmp3_ = NULL;
			gint _tmp4_ = 0;
			gint _tmp5_ = 0;
			GPtrArray* _tmp6_ = NULL;
			gint _tmp7_ = 0;
			gconstpointer _tmp8_ = NULL;
			TrackerResultStoreOperation* _tmp9_ = NULL;
			gboolean _tmp10_ = FALSE;
			TrackerResultStoreOperation* _tmp11_ = NULL;
			TrackerResultStoreCategoryNode* _tmp12_ = NULL;
			TrackerResultStoreCategoryNode* _tmp13_ = NULL;
#line 75 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (!_tmp0_) {
#line 724 "tracker-result-store.c"
				gint _tmp1_ = 0;
#line 75 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp1_ = i;
#line 75 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				i = _tmp1_ + 1;
#line 730 "tracker-result-store.c"
			}
#line 75 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp0_ = FALSE;
#line 75 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp2_ = i;
#line 75 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp3_ = array;
#line 75 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp4_ = g_ptr_array_get_length (_tmp3_);
#line 75 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp5_ = _tmp4_;
#line 75 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (!(_tmp2_ < _tmp5_)) {
#line 75 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				break;
#line 746 "tracker-result-store.c"
			}
#line 76 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp6_ = array;
#line 76 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp7_ = i;
#line 76 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp8_ = g_ptr_array_index (_tmp6_, (guint) _tmp7_);
#line 76 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp9_ = _g_object_ref0 ((TrackerResultStoreOperation*) _tmp8_);
#line 76 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_g_object_unref0 (op);
#line 76 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			op = _tmp9_;
#line 78 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp11_ = op;
#line 78 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp12_ = _tmp11_->node;
#line 78 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp13_ = node;
#line 78 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (_tmp12_ == _tmp13_) {
#line 768 "tracker-result-store.c"
				TrackerResultStoreOperation* _tmp14_ = NULL;
				gint _tmp15_ = 0;
				gint _tmp16_ = 0;
#line 79 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp14_ = op;
#line 79 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp15_ = _tmp14_->offset;
#line 79 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp16_ = offset;
#line 79 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp10_ = _tmp15_ == _tmp16_;
#line 780 "tracker-result-store.c"
			} else {
#line 78 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp10_ = FALSE;
#line 784 "tracker-result-store.c"
			}
#line 78 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (_tmp10_) {
#line 80 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				result = op;
#line 80 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				return result;
#line 792 "tracker-result-store.c"
			}
		}
	}
#line 84 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	result = NULL;
#line 84 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_object_unref0 (op);
#line 84 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return result;
#line 802 "tracker-result-store.c"
}


static void tracker_result_store_load_operation_data_free (gpointer _data) {
	TrackerResultStoreLoadOperationData* _data_;
	_data_ = _data;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_object_unref0 (_data_->op);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_object_unref0 (_data_->cancellable);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_slice_free (TrackerResultStoreLoadOperationData, _data_);
#line 817 "tracker-result-store.c"
}


static void tracker_result_store_load_operation (TrackerResultStore* self, TrackerResultStoreOperation* op, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	TrackerResultStoreLoadOperationData* _data_;
	TrackerResultStore* _tmp0_ = NULL;
	TrackerResultStoreOperation* _tmp1_ = NULL;
	TrackerResultStoreOperation* _tmp2_ = NULL;
	GCancellable* _tmp3_ = NULL;
	GCancellable* _tmp4_ = NULL;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_ = g_slice_new0 (TrackerResultStoreLoadOperationData);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, tracker_result_store_load_operation);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, tracker_result_store_load_operation_data_free);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->self = _tmp0_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp1_ = op;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_object_unref0 (_data_->op);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->op = _tmp2_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp3_ = cancellable;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_object_unref0 (_data_->cancellable);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->cancellable = _tmp4_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	tracker_result_store_load_operation_co (_data_);
#line 856 "tracker-result-store.c"
}


static void tracker_result_store_load_operation_finish (TrackerResultStore* self, GAsyncResult* _res_) {
	TrackerResultStoreLoadOperationData* _data_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 864 "tracker-result-store.c"
}


static void tracker_result_store_load_operation_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	TrackerResultStoreLoadOperationData* _data_;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_ = _user_data_;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_source_object_ = source_object;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_res_ = _res_;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	tracker_result_store_load_operation_co (_data_);
#line 878 "tracker-result-store.c"
}


static gboolean tracker_result_store_load_operation_co (TrackerResultStoreLoadOperationData* _data_) {
#line 87 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	switch (_data_->_state_) {
#line 87 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		case 0:
#line 887 "tracker-result-store.c"
		goto _state_0;
#line 87 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		case 1:
#line 891 "tracker-result-store.c"
		goto _state_1;
#line 87 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		case 2:
#line 895 "tracker-result-store.c"
		goto _state_2;
		default:
#line 87 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_assert_not_reached ();
#line 900 "tracker-result-store.c"
	}
	_state_0:
#line 89 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->cursor = NULL;
#line 905 "tracker-result-store.c"
	{
#line 93 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp0_ = NULL;
#line 93 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp0_ = _data_->cancellable;
#line 93 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_cancellable_set_error_if_cancelled (_data_->_tmp0_, &_data_->_inner_error_);
#line 93 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 93 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (_data_->_inner_error_->domain == G_IO_ERROR) {
#line 917 "tracker-result-store.c"
				goto __catch6_g_io_error;
			}
#line 93 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_g_object_unref0 (_data_->cursor);
#line 93 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tracker_query_unref0 (_data_->query);
#line 93 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 93 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			g_clear_error (&_data_->_inner_error_);
#line 93 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			return FALSE;
#line 930 "tracker-result-store.c"
		}
#line 95 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp1_ = NULL;
#line 95 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp1_ = tracker_query_new ();
#line 95 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tracker_query_unref0 (_data_->query);
#line 95 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->query = _data_->_tmp1_;
#line 96 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp2_ = NULL;
#line 96 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp2_ = _data_->query;
#line 96 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp3_ = NULL;
#line 96 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp3_ = _data_->self->priv->_search_term;
#line 96 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		tracker_query_set_criteria (_data_->_tmp2_, _data_->_tmp3_);
#line 97 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp4_ = NULL;
#line 97 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp4_ = _data_->query;
#line 97 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp5_ = NULL;
#line 97 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp5_ = _data_->self->priv->_search_tags;
#line 97 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		tracker_query_set_tags (_data_->_tmp4_, _data_->_tmp5_);
#line 98 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp6_ = NULL;
#line 98 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp6_ = _data_->query;
#line 98 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp7_ = 0U;
#line 98 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp7_ = _data_->self->priv->_limit;
#line 98 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		tracker_query_set_limit (_data_->_tmp6_, _data_->_tmp7_);
#line 99 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp8_ = NULL;
#line 99 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp8_ = _data_->query;
#line 99 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp9_ = NULL;
#line 99 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp9_ = _data_->op;
#line 99 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp10_ = 0;
#line 99 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp10_ = _data_->_tmp9_->offset;
#line 99 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		tracker_query_set_offset (_data_->_tmp8_, (guint) _data_->_tmp10_);
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp12_ = NULL;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp12_ = _data_->query;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp13_ = NULL;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp13_ = _data_->op;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp14_ = NULL;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp14_ = _data_->_tmp13_->node;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp15_ = NULL;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp15_ = _data_->_tmp14_->query;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp16_ = 0;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp16_ = (*_data_->_tmp15_).type;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp17_ = NULL;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp17_ = _data_->op;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp18_ = NULL;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp18_ = _data_->_tmp17_->node;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp19_ = NULL;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp19_ = _data_->_tmp18_->query;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp20_ = 0;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp20_ = (*_data_->_tmp19_).match;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp21_ = NULL;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp21_ = _data_->op;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp22_ = NULL;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp22_ = _data_->_tmp21_->node;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp23_ = NULL;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp23_ = _data_->_tmp22_->query;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp24_ = NULL;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp24__length1 = 0;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp24_ = (*_data_->_tmp23_).args;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp24__length1 = (*_data_->_tmp23_).args_length1;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp25_ = NULL;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp25_ = _data_->cancellable;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_state_ = 1;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		tracker_query_perform_async (_data_->_tmp12_, _data_->_tmp16_, _data_->_tmp20_, _data_->_tmp24_, _data_->_tmp24__length1, _data_->_tmp25_, tracker_result_store_load_operation_ready, _data_);
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		return FALSE;
#line 1050 "tracker-result-store.c"
		_state_1:
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp26_ = NULL;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp26_ = tracker_query_perform_finish (_data_->_tmp12_, _data_->_res_, &_data_->_inner_error_);
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp11_ = _data_->_tmp26_;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (_data_->_inner_error_->domain == G_IO_ERROR) {
#line 1062 "tracker-result-store.c"
				goto __catch6_g_io_error;
			}
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_g_object_unref0 (_data_->cursor);
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tracker_query_unref0 (_data_->query);
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			g_clear_error (&_data_->_inner_error_);
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			return FALSE;
#line 1075 "tracker-result-store.c"
		}
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp27_ = NULL;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp27_ = _data_->_tmp11_;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp11_ = NULL;
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_object_unref0 (_data_->cursor);
#line 101 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->cursor = _data_->_tmp27_;
#line 103 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp28_ = NULL;
#line 103 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp28_ = _data_->cancellable;
#line 103 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_cancellable_set_error_if_cancelled (_data_->_tmp28_, &_data_->_inner_error_);
#line 103 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 103 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_g_object_unref0 (_data_->_tmp11_);
#line 103 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (_data_->_inner_error_->domain == G_IO_ERROR) {
#line 1099 "tracker-result-store.c"
				goto __catch6_g_io_error;
			}
#line 103 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_g_object_unref0 (_data_->_tmp11_);
#line 103 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_g_object_unref0 (_data_->cursor);
#line 103 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tracker_query_unref0 (_data_->query);
#line 103 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 103 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			g_clear_error (&_data_->_inner_error_);
#line 103 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			return FALSE;
#line 1114 "tracker-result-store.c"
		}
#line 105 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp29_ = NULL;
#line 105 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp29_ = _data_->cursor;
#line 105 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (_data_->_tmp29_ != NULL) {
#line 1122 "tracker-result-store.c"
			{
#line 106 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp30_ = NULL;
#line 106 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp30_ = _data_->op;
#line 106 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp31_ = 0;
#line 106 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp31_ = _data_->_tmp30_->offset;
#line 106 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->i = _data_->_tmp31_;
#line 106 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp32_ = TRUE;
#line 106 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				while (TRUE) {
#line 106 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					if (!_data_->_tmp32_) {
#line 106 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_data_->_tmp33_ = 0;
#line 106 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_data_->_tmp33_ = _data_->i;
#line 106 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_data_->i = _data_->_tmp33_ + 1;
#line 1146 "tracker-result-store.c"
					}
#line 106 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp32_ = FALSE;
#line 106 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp34_ = 0;
#line 106 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp34_ = _data_->i;
#line 106 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp35_ = NULL;
#line 106 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp35_ = _data_->op;
#line 106 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp36_ = 0;
#line 106 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp36_ = _data_->_tmp35_->offset;
#line 106 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					if (!(_data_->_tmp34_ < (_data_->_tmp36_ + 100))) {
#line 106 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						break;
#line 1166 "tracker-result-store.c"
					}
#line 110 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->b = FALSE;
#line 1170 "tracker-result-store.c"
					{
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_data_->_tmp38_ = NULL;
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_data_->_tmp38_ = _data_->cursor;
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_data_->_tmp39_ = NULL;
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_data_->_tmp39_ = _data_->cancellable;
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_data_->_state_ = 2;
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						tracker_sparql_cursor_next_async (_data_->_tmp38_, _data_->_tmp39_, tracker_result_store_load_operation_ready, _data_);
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						return FALSE;
#line 1186 "tracker-result-store.c"
						_state_2:
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_data_->_tmp40_ = FALSE;
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_data_->_tmp40_ = tracker_sparql_cursor_next_finish (_data_->_tmp38_, _data_->_res_, &_data_->_inner_error_);
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_data_->_tmp37_ = _data_->_tmp40_;
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1196 "tracker-result-store.c"
							goto __catch7_g_error;
						}
#line 114 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_data_->b = _data_->_tmp37_;
#line 1201 "tracker-result-store.c"
					}
					goto __finally7;
					__catch7_g_error:
					{
#line 113 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_data_->ge = _data_->_inner_error_;
#line 113 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_data_->_inner_error_ = NULL;
#line 116 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_data_->_tmp41_ = NULL;
#line 116 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_data_->_tmp41_ = _data_->cancellable;
#line 116 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_data_->_tmp42_ = FALSE;
#line 116 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_data_->_tmp42_ = g_cancellable_is_cancelled (_data_->_tmp41_);
#line 116 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						if (!_data_->_tmp42_) {
#line 117 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
							_data_->_tmp43_ = NULL;
#line 117 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
							_data_->_tmp43_ = _data_->ge;
#line 117 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
							_data_->_tmp44_ = NULL;
#line 117 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
							_data_->_tmp44_ = _data_->_tmp43_->message;
#line 117 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
							g_warning ("tracker-result-store.vala:117: Could not fetch row: %s\n", _data_->_tmp44_);
#line 1230 "tracker-result-store.c"
						}
#line 113 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_g_error_free0 (_data_->ge);
#line 1234 "tracker-result-store.c"
					}
					__finally7:
#line 113 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 113 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_gtk_tree_path_free0 (_data_->path);
#line 113 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_g_object_unref0 (_data_->_tmp11_);
#line 113 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						if (_data_->_inner_error_->domain == G_IO_ERROR) {
#line 1245 "tracker-result-store.c"
							goto __catch6_g_io_error;
						}
#line 113 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_gtk_tree_path_free0 (_data_->path);
#line 113 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_g_object_unref0 (_data_->_tmp11_);
#line 113 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_g_object_unref0 (_data_->cursor);
#line 113 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tracker_query_unref0 (_data_->query);
#line 113 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 113 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						g_clear_error (&_data_->_inner_error_);
#line 113 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						return FALSE;
#line 1262 "tracker-result-store.c"
					}
#line 121 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp45_ = FALSE;
#line 121 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp45_ = _data_->b;
#line 121 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					if (!_data_->_tmp45_) {
#line 122 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_gtk_tree_path_free0 (_data_->path);
#line 122 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						break;
#line 1274 "tracker-result-store.c"
					}
#line 125 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp46_ = NULL;
#line 125 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp46_ = _data_->op;
#line 125 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp47_ = NULL;
#line 125 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp47_ = _data_->_tmp46_->node;
#line 125 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp48_ = NULL;
#line 125 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp48__length1 = 0;
#line 125 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp48_ = _data_->_tmp47_->results;
#line 125 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp48__length1 = _data_->_tmp47_->results_length1;
#line 125 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp49_ = 0;
#line 125 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp49_ = _data_->i;
#line 125 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_result_ = &_data_->_tmp48_[_data_->_tmp49_];
#line 1298 "tracker-result-store.c"
					{
#line 127 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_data_->j = 0;
#line 127 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_data_->_tmp50_ = TRUE;
#line 127 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						while (TRUE) {
#line 127 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
							if (!_data_->_tmp50_) {
#line 127 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp51_ = 0;
#line 127 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp51_ = _data_->j;
#line 127 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->j = _data_->_tmp51_ + 1;
#line 1314 "tracker-result-store.c"
							}
#line 127 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
							_data_->_tmp50_ = FALSE;
#line 127 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
							_data_->_tmp52_ = 0;
#line 127 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
							_data_->_tmp52_ = _data_->j;
#line 127 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
							_data_->_tmp53_ = 0;
#line 127 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
							_data_->_tmp53_ = _data_->self->priv->n_columns;
#line 127 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
							if (!(_data_->_tmp52_ < _data_->_tmp53_)) {
#line 127 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								break;
#line 1330 "tracker-result-store.c"
							}
#line 128 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
							_data_->_tmp54_ = 0;
#line 128 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
							_data_->_tmp54_ = _data_->j;
#line 128 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
							_data_->_tmp55_ = 0;
#line 128 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
							_data_->_tmp55_ = _data_->self->priv->n_columns;
#line 128 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
							if (_data_->_tmp54_ == (_data_->_tmp55_ - 1)) {
#line 130 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp56_ = NULL;
#line 130 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp56_ = _data_->cursor;
#line 130 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp57_ = 0;
#line 130 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp57_ = _data_->j;
#line 130 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp58_ = NULL;
#line 130 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp58_ = tracker_sparql_cursor_get_string (_data_->_tmp56_, _data_->_tmp57_, NULL);
#line 130 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp59_ = NULL;
#line 130 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp59_ = g_strdup (_data_->_tmp58_);
#line 130 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->s = _data_->_tmp59_;
#line 132 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp60_ = NULL;
#line 132 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp60_ = _data_->s;
#line 132 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								if (_data_->_tmp60_ != NULL) {
#line 133 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_data_->_tmp61_ = NULL;
#line 133 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_data_->_tmp61_ = _data_->_result_;
#line 133 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_data_->_tmp62_ = NULL;
#line 133 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_data_->_tmp62__length1 = 0;
#line 133 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_data_->_tmp62_ = (*_data_->_tmp61_).values;
#line 133 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_data_->_tmp62__length1 = (*_data_->_tmp61_).values_length1;
#line 133 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_data_->_tmp63_ = 0;
#line 133 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_data_->_tmp63_ = _data_->j;
#line 133 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_data_->_tmp64_ = NULL;
#line 133 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_data_->_tmp64_ = _data_->s;
#line 133 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_data_->_tmp65_ = NULL;
#line 133 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_data_->_tmp65_ = g_markup_escape_text (_data_->_tmp64_, (gssize) -1);
#line 133 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_g_free0 (_data_->_tmp62_[_data_->_tmp63_]);
#line 133 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_data_->_tmp62_[_data_->_tmp63_] = _data_->_tmp65_;
#line 133 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_data_->_tmp66_ = NULL;
#line 133 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_data_->_tmp66_ = _data_->_tmp62_[_data_->_tmp63_];
#line 1398 "tracker-result-store.c"
								} else {
#line 135 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_data_->_tmp67_ = NULL;
#line 135 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_data_->_tmp67_ = _data_->_result_;
#line 135 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_data_->_tmp68_ = NULL;
#line 135 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_data_->_tmp68__length1 = 0;
#line 135 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_data_->_tmp68_ = (*_data_->_tmp67_).values;
#line 135 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_data_->_tmp68__length1 = (*_data_->_tmp67_).values_length1;
#line 135 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_data_->_tmp69_ = 0;
#line 135 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_data_->_tmp69_ = _data_->j;
#line 135 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_g_free0 (_data_->_tmp68_[_data_->_tmp69_]);
#line 135 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_data_->_tmp68_[_data_->_tmp69_] = NULL;
#line 135 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_data_->_tmp70_ = NULL;
#line 135 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
									_data_->_tmp70_ = _data_->_tmp68_[_data_->_tmp69_];
#line 1424 "tracker-result-store.c"
								}
#line 128 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_g_free0 (_data_->s);
#line 1428 "tracker-result-store.c"
							} else {
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp71_ = NULL;
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp71_ = _data_->_result_;
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp72_ = NULL;
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp72__length1 = 0;
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp72_ = (*_data_->_tmp71_).values;
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp72__length1 = (*_data_->_tmp71_).values_length1;
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp73_ = 0;
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp73_ = _data_->j;
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp74_ = NULL;
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp74_ = _data_->cursor;
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp75_ = 0;
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp75_ = _data_->j;
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp76_ = NULL;
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp76_ = tracker_sparql_cursor_get_string (_data_->_tmp74_, _data_->_tmp75_, NULL);
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp77_ = NULL;
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp77_ = g_strdup (_data_->_tmp76_);
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_g_free0 (_data_->_tmp72_[_data_->_tmp73_]);
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp72_[_data_->_tmp73_] = _data_->_tmp77_;
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp78_ = NULL;
#line 137 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
								_data_->_tmp78_ = _data_->_tmp72_[_data_->_tmp73_];
#line 1470 "tracker-result-store.c"
							}
						}
					}
#line 142 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					memset (&_data_->iter, 0, sizeof (GtkTreeIter));
#line 143 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp79_ = 0;
#line 143 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp79_ = _data_->self->priv->timestamp;
#line 143 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->iter.stamp = _data_->_tmp79_;
#line 144 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp80_ = NULL;
#line 144 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp80_ = _data_->op;
#line 144 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp81_ = NULL;
#line 144 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp81_ = _data_->_tmp80_->node;
#line 144 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->iter.user_data = _data_->_tmp81_;
#line 145 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp82_ = NULL;
#line 145 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp82_ = _data_->_result_;
#line 145 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->iter.user_data2 = _data_->_tmp82_;
#line 146 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp83_ = 0;
#line 146 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp83_ = _data_->i;
#line 146 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp84_ = NULL;
#line 146 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp84_ = GINT_TO_POINTER (_data_->_tmp83_);
#line 146 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->iter.user_data3 = _data_->_tmp84_;
#line 148 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					memset (&_data_->_tmp85_, 0, sizeof (GtkTreeIter));
#line 148 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp85_ = _data_->iter;
#line 148 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp86_ = NULL;
#line 148 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp86_ = gtk_tree_model_get_path ((GtkTreeModel*) _data_->self, &_data_->_tmp85_);
#line 148 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_gtk_tree_path_free0 (_data_->path);
#line 148 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->path = _data_->_tmp86_;
#line 149 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp87_ = NULL;
#line 149 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp87_ = _data_->path;
#line 149 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					memset (&_data_->_tmp88_, 0, sizeof (GtkTreeIter));
#line 149 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp88_ = _data_->iter;
#line 149 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					gtk_tree_model_row_changed ((GtkTreeModel*) _data_->self, _data_->_tmp87_, &_data_->_tmp88_);
#line 106 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_gtk_tree_path_free0 (_data_->path);
#line 1532 "tracker-result-store.c"
				}
			}
		}
#line 153 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp89_ = NULL;
#line 153 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp89_ = _data_->self->priv->running_operations;
#line 153 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp90_ = NULL;
#line 153 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp90_ = _data_->op;
#line 153 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_ptr_array_remove (_data_->_tmp89_, _data_->_tmp90_);
#line 92 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_object_unref0 (_data_->_tmp11_);
#line 1548 "tracker-result-store.c"
	}
	goto __finally6;
	__catch6_g_io_error:
	{
#line 92 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->ie = _data_->_inner_error_;
#line 92 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_inner_error_ = NULL;
#line 155 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp91_ = NULL;
#line 155 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp91_ = _data_->cancellable;
#line 155 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp92_ = FALSE;
#line 155 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp92_ = g_cancellable_is_cancelled (_data_->_tmp91_);
#line 155 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (!_data_->_tmp92_) {
#line 156 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp93_ = NULL;
#line 156 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp93_ = _data_->ie;
#line 156 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp94_ = NULL;
#line 156 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp94_ = _data_->_tmp93_->message;
#line 156 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			g_warning ("tracker-result-store.vala:156: Could not load items: %s\n", _data_->_tmp94_);
#line 1577 "tracker-result-store.c"
		}
#line 158 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_error_free0 (_data_->ie);
#line 158 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_object_unref0 (_data_->cursor);
#line 158 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tracker_query_unref0 (_data_->query);
#line 158 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (_data_->_state_ == 0) {
#line 158 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1589 "tracker-result-store.c"
		} else {
#line 158 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 1593 "tracker-result-store.c"
		}
#line 158 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_object_unref (_data_->_async_result);
#line 158 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		return FALSE;
#line 1599 "tracker-result-store.c"
	}
	__finally6:
#line 92 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 92 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_object_unref0 (_data_->cursor);
#line 92 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tracker_query_unref0 (_data_->query);
#line 92 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 92 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_clear_error (&_data_->_inner_error_);
#line 92 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		return FALSE;
#line 1614 "tracker-result-store.c"
	}
#line 161 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp95_ = NULL;
#line 161 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp95_ = _data_->self->priv->delayed_operations;
#line 161 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp96_ = 0;
#line 161 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp96_ = g_ptr_array_get_length (_data_->_tmp95_);
#line 161 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp97_ = 0;
#line 161 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp97_ = _data_->_tmp96_;
#line 161 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_data_->_tmp97_ > 0) {
#line 165 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp98_ = NULL;
#line 165 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp98_ = _data_->self->priv->delayed_operations;
#line 165 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp99_ = NULL;
#line 165 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp99_ = _data_->self->priv->delayed_operations;
#line 165 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp100_ = 0;
#line 165 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp100_ = g_ptr_array_get_length (_data_->_tmp99_);
#line 165 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp101_ = 0;
#line 165 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp101_ = _data_->_tmp100_;
#line 165 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp102_ = NULL;
#line 165 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp102_ = g_ptr_array_index (_data_->_tmp98_, (guint) (_data_->_tmp101_ - 1));
#line 165 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp103_ = NULL;
#line 165 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp103_ = _g_object_ref0 ((TrackerResultStoreOperation*) _data_->_tmp102_);
#line 165 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_object_unref0 (_data_->next_to_start);
#line 165 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->next_to_start = _data_->_tmp103_;
#line 166 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp104_ = NULL;
#line 166 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp104_ = _data_->self->priv->delayed_operations;
#line 166 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp105_ = NULL;
#line 166 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp105_ = _data_->next_to_start;
#line 166 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_ptr_array_remove (_data_->_tmp104_, _data_->_tmp105_);
#line 167 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp106_ = NULL;
#line 167 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp106_ = _data_->self->priv->running_operations;
#line 167 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp107_ = NULL;
#line 167 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp107_ = _data_->next_to_start;
#line 167 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp108_ = NULL;
#line 167 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp108_ = _g_object_ref0 (_data_->_tmp107_);
#line 167 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_ptr_array_add (_data_->_tmp106_, _data_->_tmp108_);
#line 169 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp109_ = NULL;
#line 169 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp109_ = _data_->next_to_start;
#line 169 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp110_ = NULL;
#line 169 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp110_ = _data_->cancellable;
#line 169 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		tracker_result_store_load_operation (_data_->self, _data_->_tmp109_, _data_->_tmp110_, NULL, NULL);
#line 161 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_object_unref0 (_data_->next_to_start);
#line 1694 "tracker-result-store.c"
	} else {
#line 170 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp111_ = NULL;
#line 170 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp111_ = _data_->self->priv->running_operations;
#line 170 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp112_ = 0;
#line 170 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp112_ = g_ptr_array_get_length (_data_->_tmp111_);
#line 170 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp113_ = 0;
#line 170 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp113_ = _data_->_tmp112_;
#line 170 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (_data_->_tmp113_ == 0) {
#line 172 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			tracker_result_store_set_active (_data_->self, FALSE);
#line 1712 "tracker-result-store.c"
		}
	}
#line 87 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_object_unref0 (_data_->cursor);
#line 87 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tracker_query_unref0 (_data_->query);
#line 87 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_data_->_state_ == 0) {
#line 87 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1723 "tracker-result-store.c"
	} else {
#line 87 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1727 "tracker-result-store.c"
	}
#line 87 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_object_unref (_data_->_async_result);
#line 87 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return FALSE;
#line 1733 "tracker-result-store.c"
}


static gpointer _tracker_result_store_category_node_ref0 (gpointer self) {
#line 180 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return self ? tracker_result_store_category_node_ref (self) : NULL;
#line 1740 "tracker-result-store.c"
}


static void tracker_result_store_add_operation (TrackerResultStore* self, TrackerResultStoreCategoryNode* cat, gint offset) {
	TrackerResultStoreOperation* op = NULL;
	TrackerResultStoreOperation* _tmp0_ = NULL;
	TrackerResultStoreOperation* old = NULL;
	TrackerResultStoreOperation* _tmp1_ = NULL;
	TrackerResultStoreCategoryNode* _tmp2_ = NULL;
	TrackerResultStoreCategoryNode* _tmp3_ = NULL;
	TrackerResultStoreOperation* _tmp4_ = NULL;
	gint _tmp5_ = 0;
	GPtrArray* _tmp6_ = NULL;
	TrackerResultStoreCategoryNode* _tmp7_ = NULL;
	gint _tmp8_ = 0;
	TrackerResultStoreOperation* _tmp9_ = NULL;
	TrackerResultStoreOperation* _tmp10_ = NULL;
	gboolean _tmp11_ = FALSE;
	GPtrArray* _tmp12_ = NULL;
	TrackerResultStoreCategoryNode* _tmp13_ = NULL;
	gint _tmp14_ = 0;
	TrackerResultStoreOperation* _tmp15_ = NULL;
	TrackerResultStoreOperation* _tmp16_ = NULL;
	GPtrArray* _tmp19_ = NULL;
	gint _tmp20_ = 0;
	gint _tmp21_ = 0;
#line 176 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_if_fail (self != NULL);
#line 176 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_if_fail (cat != NULL);
#line 177 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = tracker_result_store_operation_new ();
#line 177 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	op = _tmp0_;
#line 180 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp1_ = op;
#line 180 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp2_ = cat;
#line 180 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp3_ = _tracker_result_store_category_node_ref0 (_tmp2_);
#line 180 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tracker_result_store_category_node_unref0 (_tmp1_->node);
#line 180 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp1_->node = _tmp3_;
#line 181 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp4_ = op;
#line 181 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp5_ = offset;
#line 181 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp4_->offset = _tmp5_;
#line 183 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp6_ = self->priv->running_operations;
#line 183 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp7_ = cat;
#line 183 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp8_ = offset;
#line 183 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp9_ = tracker_result_store_find_operation (self, _tmp6_, _tmp7_, _tmp8_);
#line 183 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp10_ = _tmp9_;
#line 183 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp11_ = _tmp10_ != NULL;
#line 183 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_object_unref0 (_tmp10_);
#line 183 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_tmp11_) {
#line 185 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_object_unref0 (old);
#line 185 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_object_unref0 (op);
#line 185 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		return;
#line 1813 "tracker-result-store.c"
	}
#line 191 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp12_ = self->priv->delayed_operations;
#line 191 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp13_ = cat;
#line 191 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp14_ = offset;
#line 191 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp15_ = tracker_result_store_find_operation (self, _tmp12_, _tmp13_, _tmp14_);
#line 191 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_object_unref0 (old);
#line 191 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	old = _tmp15_;
#line 193 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp16_ = old;
#line 193 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_tmp16_ != NULL) {
#line 1831 "tracker-result-store.c"
		GPtrArray* _tmp17_ = NULL;
		TrackerResultStoreOperation* _tmp18_ = NULL;
#line 194 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp17_ = self->priv->delayed_operations;
#line 194 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp18_ = old;
#line 194 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_ptr_array_remove (_tmp17_, _tmp18_);
#line 1840 "tracker-result-store.c"
	}
#line 197 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	tracker_result_store_set_active (self, TRUE);
#line 201 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp19_ = self->priv->running_operations;
#line 201 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp20_ = g_ptr_array_get_length (_tmp19_);
#line 201 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp21_ = _tmp20_;
#line 201 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_tmp21_ < 2) {
#line 1852 "tracker-result-store.c"
		GPtrArray* _tmp22_ = NULL;
		TrackerResultStoreOperation* _tmp23_ = NULL;
		TrackerResultStoreOperation* _tmp24_ = NULL;
		TrackerResultStoreOperation* _tmp25_ = NULL;
		GCancellable* _tmp26_ = NULL;
#line 202 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp22_ = self->priv->running_operations;
#line 202 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp23_ = op;
#line 202 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp24_ = _g_object_ref0 (_tmp23_);
#line 202 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_ptr_array_add (_tmp22_, _tmp24_);
#line 205 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp25_ = op;
#line 205 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp26_ = self->priv->cancellable;
#line 205 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		tracker_result_store_load_operation (self, _tmp25_, _tmp26_, NULL, NULL);
#line 1872 "tracker-result-store.c"
	} else {
		GPtrArray* _tmp27_ = NULL;
		TrackerResultStoreOperation* _tmp28_ = NULL;
		TrackerResultStoreOperation* _tmp29_ = NULL;
#line 208 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp27_ = self->priv->delayed_operations;
#line 208 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp28_ = op;
#line 208 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp29_ = _g_object_ref0 (_tmp28_);
#line 208 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_ptr_array_add (_tmp27_, _tmp29_);
#line 1885 "tracker-result-store.c"
	}
#line 176 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_object_unref0 (old);
#line 176 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_object_unref0 (op);
#line 1891 "tracker-result-store.c"
}


static void tracker_result_store_load_category_data_free (gpointer _data) {
	TrackerResultStoreLoadCategoryData* _data_;
	_data_ = _data;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_object_unref0 (_data_->cancellable);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_slice_free (TrackerResultStoreLoadCategoryData, _data_);
#line 1904 "tracker-result-store.c"
}


static void tracker_result_store_load_category (TrackerResultStore* self, TrackerResultStoreQueryData* query_data, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	TrackerResultStoreLoadCategoryData* _data_;
	TrackerResultStore* _tmp0_ = NULL;
	TrackerResultStoreQueryData* _tmp1_ = NULL;
	GCancellable* _tmp2_ = NULL;
	GCancellable* _tmp3_ = NULL;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_ = g_slice_new0 (TrackerResultStoreLoadCategoryData);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, tracker_result_store_load_category);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, tracker_result_store_load_category_data_free);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->self = _tmp0_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp1_ = query_data;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->query_data = _tmp1_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp2_ = cancellable;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_object_unref0 (_data_->cancellable);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->cancellable = _tmp3_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	tracker_result_store_load_category_co (_data_);
#line 1938 "tracker-result-store.c"
}


static void tracker_result_store_load_category_finish (TrackerResultStore* self, GAsyncResult* _res_) {
	TrackerResultStoreLoadCategoryData* _data_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 1946 "tracker-result-store.c"
}


static void tracker_result_store_load_category_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	TrackerResultStoreLoadCategoryData* _data_;
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_ = _user_data_;
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_source_object_ = source_object;
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_res_ = _res_;
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	tracker_result_store_load_category_co (_data_);
#line 1960 "tracker-result-store.c"
}


static gboolean tracker_result_store_load_category_co (TrackerResultStoreLoadCategoryData* _data_) {
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	switch (_data_->_state_) {
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		case 0:
#line 1969 "tracker-result-store.c"
		goto _state_0;
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		case 1:
#line 1973 "tracker-result-store.c"
		goto _state_1;
		default:
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_assert_not_reached ();
#line 1978 "tracker-result-store.c"
	}
	_state_0:
#line 213 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->count = (guint) 0;
#line 1983 "tracker-result-store.c"
	{
#line 216 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp0_ = NULL;
#line 216 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp0_ = _data_->cancellable;
#line 216 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_cancellable_set_error_if_cancelled (_data_->_tmp0_, &_data_->_inner_error_);
#line 216 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 216 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (_data_->_inner_error_->domain == G_IO_ERROR) {
#line 1995 "tracker-result-store.c"
				goto __catch8_g_io_error;
			}
#line 216 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 216 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			g_clear_error (&_data_->_inner_error_);
#line 216 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			return FALSE;
#line 2004 "tracker-result-store.c"
		}
#line 218 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp1_ = NULL;
#line 218 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp1_ = tracker_query_new ();
#line 218 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->query = _data_->_tmp1_;
#line 219 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp2_ = NULL;
#line 219 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp2_ = _data_->query;
#line 219 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp3_ = NULL;
#line 219 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp3_ = _data_->self->priv->_search_term;
#line 219 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		tracker_query_set_criteria (_data_->_tmp2_, _data_->_tmp3_);
#line 220 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp4_ = NULL;
#line 220 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp4_ = _data_->query;
#line 220 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp5_ = NULL;
#line 220 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp5_ = _data_->self->priv->_search_tags;
#line 220 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		tracker_query_set_tags (_data_->_tmp4_, _data_->_tmp5_);
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp7_ = NULL;
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp7_ = _data_->query;
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp8_ = NULL;
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp8_ = _data_->query_data;
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp9_ = 0;
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp9_ = (*_data_->_tmp8_).type;
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp10_ = NULL;
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp10_ = _data_->query_data;
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp11_ = 0;
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp11_ = (*_data_->_tmp10_).match;
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp12_ = NULL;
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp12_ = _data_->cancellable;
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_state_ = 1;
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		tracker_query_get_count_async (_data_->_tmp7_, _data_->_tmp9_, _data_->_tmp11_, _data_->_tmp12_, tracker_result_store_load_category_ready, _data_);
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		return FALSE;
#line 2062 "tracker-result-store.c"
		_state_1:
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp13_ = 0U;
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp13_ = tracker_query_get_count_finish (_data_->_tmp7_, _data_->_res_, &_data_->_inner_error_);
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp6_ = _data_->_tmp13_;
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tracker_query_unref0 (_data_->query);
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (_data_->_inner_error_->domain == G_IO_ERROR) {
#line 2076 "tracker-result-store.c"
				goto __catch8_g_io_error;
			}
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tracker_query_unref0 (_data_->query);
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			g_clear_error (&_data_->_inner_error_);
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			return FALSE;
#line 2087 "tracker-result-store.c"
		}
#line 222 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->count = _data_->_tmp6_;
#line 223 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp14_ = NULL;
#line 223 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp14_ = _data_->cancellable;
#line 223 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_cancellable_set_error_if_cancelled (_data_->_tmp14_, &_data_->_inner_error_);
#line 223 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 223 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tracker_query_unref0 (_data_->query);
#line 223 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (_data_->_inner_error_->domain == G_IO_ERROR) {
#line 2103 "tracker-result-store.c"
				goto __catch8_g_io_error;
			}
#line 223 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tracker_query_unref0 (_data_->query);
#line 223 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 223 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			g_clear_error (&_data_->_inner_error_);
#line 223 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			return FALSE;
#line 2114 "tracker-result-store.c"
		}
#line 215 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tracker_query_unref0 (_data_->query);
#line 2118 "tracker-result-store.c"
	}
	goto __finally8;
	__catch8_g_io_error:
	{
#line 215 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->ie = _data_->_inner_error_;
#line 215 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_inner_error_ = NULL;
#line 225 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp15_ = NULL;
#line 225 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp15_ = _data_->cancellable;
#line 225 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp16_ = FALSE;
#line 225 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp16_ = g_cancellable_is_cancelled (_data_->_tmp15_);
#line 225 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (!_data_->_tmp16_) {
#line 226 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp17_ = NULL;
#line 226 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp17_ = _data_->ie;
#line 226 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp18_ = NULL;
#line 226 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp18_ = _data_->_tmp17_->message;
#line 226 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			g_warning ("tracker-result-store.vala:226: Could not get count: %s\n", _data_->_tmp18_);
#line 2147 "tracker-result-store.c"
		}
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_error_free0 (_data_->ie);
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (_data_->_state_ == 0) {
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2155 "tracker-result-store.c"
		} else {
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 2159 "tracker-result-store.c"
		}
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_object_unref (_data_->_async_result);
#line 228 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		return FALSE;
#line 2165 "tracker-result-store.c"
	}
	__finally8:
#line 215 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 215 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 215 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_clear_error (&_data_->_inner_error_);
#line 215 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		return FALSE;
#line 2176 "tracker-result-store.c"
	}
#line 231 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp19_ = 0U;
#line 231 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp19_ = _data_->count;
#line 231 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_data_->_tmp19_ != ((guint) 0)) {
#line 236 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp20_ = 0U;
#line 236 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp20_ = _data_->count;
#line 236 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp21_ = 0U;
#line 236 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp21_ = _data_->self->priv->_limit;
#line 236 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (_data_->_tmp20_ > _data_->_tmp21_) {
#line 237 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			g_signal_emit_by_name (_data_->self, "result-overflow");
#line 238 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp22_ = 0U;
#line 238 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp22_ = _data_->self->priv->_limit;
#line 238 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->count = _data_->_tmp22_;
#line 2202 "tracker-result-store.c"
		}
#line 244 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp23_ = NULL;
#line 244 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp23_ = tracker_result_store_category_node_new ();
#line 244 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tracker_result_store_category_node_unref0 (_data_->cat);
#line 244 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->cat = _data_->_tmp23_;
#line 245 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp24_ = NULL;
#line 245 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp24_ = _data_->cat;
#line 245 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp25_ = NULL;
#line 245 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp25_ = _data_->query_data;
#line 245 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp26_ = 0;
#line 245 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp26_ = (*_data_->_tmp25_).type;
#line 245 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp24_->type = _data_->_tmp26_;
#line 246 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp27_ = NULL;
#line 246 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp27_ = _data_->cat;
#line 246 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp28_ = NULL;
#line 246 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp28_ = _data_->query_data;
#line 246 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp27_->query = _data_->_tmp28_;
#line 247 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp29_ = NULL;
#line 247 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp29_ = _data_->cat;
#line 247 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp30_ = 0U;
#line 247 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp30_ = _data_->count;
#line 247 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp31_ = 0;
#line 247 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp31_ = (gint) _data_->_tmp30_;
#line 247 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp29_->results = g_renew (TrackerResultStoreResultNode, _data_->_tmp29_->results, (gint) _data_->_tmp30_);
#line 247 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		(_data_->_tmp31_ > _data_->_tmp29_->results_length1) ? memset (_data_->_tmp29_->results + _data_->_tmp29_->results_length1, 0, sizeof (TrackerResultStoreResultNode) * (_data_->_tmp31_ - _data_->_tmp29_->results_length1)) : NULL;
#line 247 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp29_->results_length1 = _data_->_tmp31_;
#line 247 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp29_->_results_size_ = _data_->_tmp31_;
#line 248 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp32_ = NULL;
#line 248 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp32_ = _data_->self->priv->categories;
#line 248 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp33_ = NULL;
#line 248 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp33_ = _data_->cat;
#line 248 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp34_ = NULL;
#line 248 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp34_ = _tracker_result_store_category_node_ref0 (_data_->_tmp33_);
#line 248 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_ptr_array_add (_data_->_tmp32_, _data_->_tmp34_);
#line 250 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		memset (&_data_->iter, 0, sizeof (GtkTreeIter));
#line 251 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp35_ = 0;
#line 251 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp35_ = _data_->self->priv->timestamp;
#line 251 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->iter.stamp = _data_->_tmp35_;
#line 252 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp36_ = NULL;
#line 252 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp36_ = _data_->cat;
#line 252 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->iter.user_data = _data_->_tmp36_;
#line 254 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp37_ = NULL;
#line 254 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp37__length1 = 0;
#line 254 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp37_ = _data_->self->priv->queries;
#line 254 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp37__length1 = _data_->self->priv->queries_length1;
#line 254 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (_data_->_tmp37__length1 > 1) {
#line 255 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			memset (&_data_->_tmp38_, 0, sizeof (GtkTreeIter));
#line 255 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp38_ = _data_->iter;
#line 255 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp39_ = NULL;
#line 255 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp39_ = gtk_tree_model_get_path ((GtkTreeModel*) _data_->self, &_data_->_tmp38_);
#line 255 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_gtk_tree_path_free0 (_data_->path);
#line 255 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->path = _data_->_tmp39_;
#line 256 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp40_ = NULL;
#line 256 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp40_ = _data_->path;
#line 256 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			memset (&_data_->_tmp41_, 0, sizeof (GtkTreeIter));
#line 256 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp41_ = _data_->iter;
#line 256 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			gtk_tree_model_row_inserted ((GtkTreeModel*) _data_->self, _data_->_tmp40_, &_data_->_tmp41_);
#line 2316 "tracker-result-store.c"
		}
		{
#line 259 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->i = 0;
#line 259 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp42_ = TRUE;
#line 259 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			while (TRUE) {
#line 259 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				if (!_data_->_tmp42_) {
#line 259 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp43_ = 0;
#line 259 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->_tmp43_ = _data_->i;
#line 259 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_data_->i = _data_->_tmp43_ + 1;
#line 2333 "tracker-result-store.c"
				}
#line 259 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp42_ = FALSE;
#line 259 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp44_ = 0;
#line 259 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp44_ = _data_->i;
#line 259 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp45_ = 0U;
#line 259 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp45_ = _data_->count;
#line 259 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				if (!(((guint) _data_->_tmp44_) < _data_->_tmp45_)) {
#line 259 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					break;
#line 2349 "tracker-result-store.c"
				}
#line 260 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp46_ = NULL;
#line 260 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp46_ = _data_->cat;
#line 260 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp47_ = NULL;
#line 260 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp47__length1 = 0;
#line 260 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp47_ = _data_->_tmp46_->results;
#line 260 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp47__length1 = _data_->_tmp46_->results_length1;
#line 260 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp48_ = 0;
#line 260 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp48_ = _data_->i;
#line 260 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->res = &_data_->_tmp47_[_data_->_tmp48_];
#line 261 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp49_ = 0;
#line 261 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp49_ = _data_->self->priv->n_columns;
#line 261 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp50_ = NULL;
#line 261 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp50_ = g_new0 (gchar*, _data_->_tmp49_ + 1);
#line 261 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				(*_data_->res).values = (_vala_array_free ((*_data_->res).values, (*_data_->res).values_length1, (GDestroyNotify) g_free), NULL);
#line 261 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				(*_data_->res).values = _data_->_tmp50_;
#line 261 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				(*_data_->res).values_length1 = _data_->_tmp49_;
#line 261 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				(*_data_->res)._values_size_ = (*_data_->res).values_length1;
#line 263 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp51_ = NULL;
#line 263 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp51_ = _data_->res;
#line 263 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->iter.user_data2 = _data_->_tmp51_;
#line 264 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp52_ = 0;
#line 264 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp52_ = _data_->i;
#line 264 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp53_ = NULL;
#line 264 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp53_ = GINT_TO_POINTER (_data_->_tmp52_);
#line 264 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->iter.user_data3 = _data_->_tmp53_;
#line 265 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				memset (&_data_->_tmp54_, 0, sizeof (GtkTreeIter));
#line 265 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp54_ = _data_->iter;
#line 265 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp55_ = NULL;
#line 265 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp55_ = gtk_tree_model_get_path ((GtkTreeModel*) _data_->self, &_data_->_tmp54_);
#line 265 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_gtk_tree_path_free0 (_data_->path);
#line 265 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->path = _data_->_tmp55_;
#line 267 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp56_ = NULL;
#line 267 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp56_ = _data_->cat;
#line 267 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp57_ = 0;
#line 267 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp57_ = _data_->_tmp56_->count;
#line 267 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp56_->count = _data_->_tmp57_ + 1;
#line 268 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp58_ = NULL;
#line 268 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp58_ = _data_->path;
#line 268 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				memset (&_data_->_tmp59_, 0, sizeof (GtkTreeIter));
#line 268 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_data_->_tmp59_ = _data_->iter;
#line 268 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				gtk_tree_model_row_inserted ((GtkTreeModel*) _data_->self, _data_->_tmp58_, &_data_->_tmp59_);
#line 2433 "tracker-result-store.c"
			}
		}
#line 271 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp60_ = NULL;
#line 271 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp60__length1 = 0;
#line 271 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp60_ = _data_->self->priv->queries;
#line 271 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp60__length1 = _data_->self->priv->queries_length1;
#line 271 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (_data_->_tmp60__length1 > 1) {
#line 272 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->iter.user_data2 = NULL;
#line 273 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->iter.user_data3 = NULL;
#line 274 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			memset (&_data_->_tmp61_, 0, sizeof (GtkTreeIter));
#line 274 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp61_ = _data_->iter;
#line 274 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp62_ = NULL;
#line 274 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp62_ = gtk_tree_model_get_path ((GtkTreeModel*) _data_->self, &_data_->_tmp61_);
#line 274 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_gtk_tree_path_free0 (_data_->path);
#line 274 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->path = _data_->_tmp62_;
#line 276 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp63_ = NULL;
#line 276 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp63_ = _data_->path;
#line 276 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			memset (&_data_->_tmp64_, 0, sizeof (GtkTreeIter));
#line 276 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp64_ = _data_->iter;
#line 276 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			gtk_tree_model_row_changed ((GtkTreeModel*) _data_->self, _data_->_tmp63_, &_data_->_tmp64_);
#line 2472 "tracker-result-store.c"
		}
#line 231 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_gtk_tree_path_free0 (_data_->path);
#line 231 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tracker_result_store_category_node_unref0 (_data_->cat);
#line 2478 "tracker-result-store.c"
	}
#line 280 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp65_ = NULL;
#line 280 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp65_ = _data_->self->priv->running_operations;
#line 280 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp66_ = 0;
#line 280 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp66_ = g_ptr_array_get_length (_data_->_tmp65_);
#line 280 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp67_ = 0;
#line 280 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp67_ = _data_->_tmp66_;
#line 280 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_data_->_tmp67_ == 0) {
#line 281 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		tracker_result_store_set_active (_data_->self, FALSE);
#line 2496 "tracker-result-store.c"
	}
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_data_->_state_ == 0) {
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2502 "tracker-result-store.c"
	} else {
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2506 "tracker-result-store.c"
	}
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_object_unref (_data_->_async_result);
#line 212 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return FALSE;
#line 2512 "tracker-result-store.c"
}


static void tracker_result_store_clear_results (TrackerResultStore* self) {
	gint j = 0;
#line 285 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_if_fail (self != NULL);
#line 288 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	while (TRUE) {
#line 2522 "tracker-result-store.c"
		GPtrArray* _tmp0_ = NULL;
		gint _tmp1_ = 0;
		gint _tmp2_ = 0;
		TrackerResultStoreCategoryNode* cat = NULL;
		GPtrArray* _tmp3_ = NULL;
		gconstpointer _tmp4_ = NULL;
		TrackerResultStoreCategoryNode* _tmp5_ = NULL;
		GtkTreeIter iter = {0};
		GtkTreePath* path = NULL;
		TrackerResultStoreCategoryNode* _tmp6_ = NULL;
		TrackerResultStoreResultNode* _tmp7_ = NULL;
		gint _tmp7__length1 = 0;
		gint _tmp8_ = 0;
		TrackerResultStoreCategoryNode* _tmp9_ = NULL;
		TrackerResultStoreQueryData* _tmp25_ = NULL;
		gint _tmp25__length1 = 0;
		GPtrArray* _tmp29_ = NULL;
		TrackerResultStoreCategoryNode* _tmp30_ = NULL;
#line 288 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp0_ = self->priv->categories;
#line 288 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp1_ = g_ptr_array_get_length (_tmp0_);
#line 288 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp2_ = _tmp1_;
#line 288 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (!(_tmp2_ > 0)) {
#line 288 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			break;
#line 2551 "tracker-result-store.c"
		}
#line 289 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp3_ = self->priv->categories;
#line 289 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp4_ = g_ptr_array_index (_tmp3_, (guint) 0);
#line 289 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp5_ = _tracker_result_store_category_node_ref0 ((TrackerResultStoreCategoryNode*) _tmp4_);
#line 289 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		cat = _tmp5_;
#line 293 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp6_ = cat;
#line 293 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp7_ = _tmp6_->results;
#line 293 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp7__length1 = _tmp6_->results_length1;
#line 293 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (_tmp7__length1 == 0) {
#line 294 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_gtk_tree_path_free0 (path);
#line 294 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tracker_result_store_category_node_unref0 (cat);
#line 294 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			continue;
#line 2575 "tracker-result-store.c"
		}
#line 297 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		memset (&iter, 0, sizeof (GtkTreeIter));
#line 298 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp8_ = self->priv->timestamp;
#line 298 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		iter.stamp = _tmp8_;
#line 299 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp9_ = cat;
#line 299 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		iter.user_data = _tmp9_;
#line 2587 "tracker-result-store.c"
		{
			TrackerResultStoreCategoryNode* _tmp10_ = NULL;
			gint _tmp11_ = 0;
			gboolean _tmp12_ = FALSE;
#line 301 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp10_ = cat;
#line 301 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp11_ = _tmp10_->count;
#line 301 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			j = _tmp11_ - 1;
#line 301 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp12_ = TRUE;
#line 301 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			while (TRUE) {
#line 2602 "tracker-result-store.c"
				gint _tmp14_ = 0;
				TrackerResultStoreCategoryNode* _tmp15_ = NULL;
				TrackerResultStoreResultNode* _tmp16_ = NULL;
				gint _tmp16__length1 = 0;
				gint _tmp17_ = 0;
				gint _tmp18_ = 0;
				void* _tmp19_ = NULL;
				GtkTreeIter _tmp20_ = {0};
				GtkTreePath* _tmp21_ = NULL;
				GtkTreePath* _tmp22_ = NULL;
				TrackerResultStoreCategoryNode* _tmp23_ = NULL;
				gint _tmp24_ = 0;
#line 301 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				if (!_tmp12_) {
#line 2617 "tracker-result-store.c"
					gint _tmp13_ = 0;
#line 301 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_tmp13_ = j;
#line 301 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					j = _tmp13_ - 1;
#line 2623 "tracker-result-store.c"
				}
#line 301 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp12_ = FALSE;
#line 301 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp14_ = j;
#line 301 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				if (!(_tmp14_ >= 0)) {
#line 301 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					break;
#line 2633 "tracker-result-store.c"
				}
#line 302 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp15_ = cat;
#line 302 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp16_ = _tmp15_->results;
#line 302 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp16__length1 = _tmp15_->results_length1;
#line 302 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp17_ = j;
#line 302 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				iter.user_data2 = &_tmp16_[_tmp17_];
#line 303 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp18_ = j;
#line 303 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp19_ = GINT_TO_POINTER (_tmp18_);
#line 303 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				iter.user_data3 = _tmp19_;
#line 304 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp20_ = iter;
#line 304 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp21_ = gtk_tree_model_get_path ((GtkTreeModel*) self, &_tmp20_);
#line 304 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_gtk_tree_path_free0 (path);
#line 304 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				path = _tmp21_;
#line 306 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp22_ = path;
#line 306 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				gtk_tree_model_row_deleted ((GtkTreeModel*) self, _tmp22_);
#line 307 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp23_ = cat;
#line 307 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp24_ = _tmp23_->count;
#line 307 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp23_->count = _tmp24_ - 1;
#line 2669 "tracker-result-store.c"
			}
		}
#line 310 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp25_ = self->priv->queries;
#line 310 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp25__length1 = self->priv->queries_length1;
#line 310 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (_tmp25__length1 > 1) {
#line 2678 "tracker-result-store.c"
			GtkTreeIter _tmp26_ = {0};
			GtkTreePath* _tmp27_ = NULL;
			GtkTreePath* _tmp28_ = NULL;
#line 311 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			iter.user_data2 = NULL;
#line 312 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			iter.user_data3 = NULL;
#line 313 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp26_ = iter;
#line 313 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp27_ = gtk_tree_model_get_path ((GtkTreeModel*) self, &_tmp26_);
#line 313 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_gtk_tree_path_free0 (path);
#line 313 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			path = _tmp27_;
#line 315 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp28_ = path;
#line 315 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			gtk_tree_model_row_deleted ((GtkTreeModel*) self, _tmp28_);
#line 2698 "tracker-result-store.c"
		}
#line 318 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp29_ = self->priv->categories;
#line 318 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp30_ = cat;
#line 318 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_ptr_array_remove (_tmp29_, _tmp30_);
#line 288 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_gtk_tree_path_free0 (path);
#line 288 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tracker_result_store_category_node_unref0 (cat);
#line 2710 "tracker-result-store.c"
	}
}


static gint tracker_result_store_find_nth_category_index (TrackerResultStore* self, TrackerResultStoreCategoryNode* node, gint n) {
	gint result = 0;
	gint i = 0;
	TrackerResultStoreCategoryNode* _tmp0_ = NULL;
#line 355 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 358 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = node;
#line 358 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_tmp0_ == NULL) {
#line 2725 "tracker-result-store.c"
		gint _tmp1_ = 0;
#line 360 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp1_ = n;
#line 360 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		result = _tmp1_;
#line 360 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		return result;
#line 2733 "tracker-result-store.c"
	}
	{
		gboolean _tmp2_ = FALSE;
#line 363 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		i = 0;
#line 363 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp2_ = TRUE;
#line 363 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		while (TRUE) {
#line 2743 "tracker-result-store.c"
			gint _tmp4_ = 0;
			GPtrArray* _tmp5_ = NULL;
			gint _tmp6_ = 0;
			gint _tmp7_ = 0;
			TrackerResultStoreCategoryNode* cat = NULL;
			GPtrArray* _tmp8_ = NULL;
			gint _tmp9_ = 0;
			gconstpointer _tmp10_ = NULL;
			TrackerResultStoreCategoryNode* _tmp11_ = NULL;
			TrackerResultStoreCategoryNode* _tmp12_ = NULL;
			TrackerResultStoreCategoryNode* _tmp13_ = NULL;
#line 363 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (!_tmp2_) {
#line 2757 "tracker-result-store.c"
				gint _tmp3_ = 0;
#line 363 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp3_ = i;
#line 363 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				i = _tmp3_ + 1;
#line 2763 "tracker-result-store.c"
			}
#line 363 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp2_ = FALSE;
#line 363 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp4_ = i;
#line 363 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp5_ = self->priv->categories;
#line 363 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp6_ = g_ptr_array_get_length (_tmp5_);
#line 363 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp7_ = _tmp6_;
#line 363 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (!(_tmp4_ < _tmp7_)) {
#line 363 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				break;
#line 2779 "tracker-result-store.c"
			}
#line 366 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp8_ = self->priv->categories;
#line 366 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp9_ = i;
#line 366 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp10_ = g_ptr_array_index (_tmp8_, (guint) _tmp9_);
#line 366 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp11_ = _tracker_result_store_category_node_ref0 ((TrackerResultStoreCategoryNode*) _tmp10_);
#line 366 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tracker_result_store_category_node_unref0 (cat);
#line 366 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			cat = _tmp11_;
#line 368 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp12_ = cat;
#line 368 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp13_ = node;
#line 368 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (_tmp12_ == _tmp13_) {
#line 2799 "tracker-result-store.c"
				gint _tmp14_ = 0;
				gint _tmp15_ = 0;
#line 369 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp14_ = i;
#line 369 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp15_ = n;
#line 369 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				result = _tmp14_ + _tmp15_;
#line 369 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tracker_result_store_category_node_unref0 (cat);
#line 369 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				return result;
#line 2812 "tracker-result-store.c"
			}
#line 363 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tracker_result_store_category_node_unref0 (cat);
#line 2816 "tracker-result-store.c"
		}
	}
#line 373 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	result = -1;
#line 373 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return result;
#line 2823 "tracker-result-store.c"
}


static gint tracker_result_store_filled_categories_count (TrackerResultStore* self) {
	gint result = 0;
	gint i = 0;
	gint n = 0;
#line 376 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 377 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	n = 0;
#line 2835 "tracker-result-store.c"
	{
		gboolean _tmp0_ = FALSE;
#line 379 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		i = 0;
#line 379 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp0_ = TRUE;
#line 379 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		while (TRUE) {
#line 2844 "tracker-result-store.c"
			gint _tmp2_ = 0;
			GPtrArray* _tmp3_ = NULL;
			gint _tmp4_ = 0;
			gint _tmp5_ = 0;
			TrackerResultStoreCategoryNode* cat = NULL;
			GPtrArray* _tmp6_ = NULL;
			gint _tmp7_ = 0;
			gconstpointer _tmp8_ = NULL;
			TrackerResultStoreCategoryNode* _tmp9_ = NULL;
			TrackerResultStoreCategoryNode* _tmp10_ = NULL;
			gint _tmp11_ = 0;
#line 379 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (!_tmp0_) {
#line 2858 "tracker-result-store.c"
				gint _tmp1_ = 0;
#line 379 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp1_ = i;
#line 379 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				i = _tmp1_ + 1;
#line 2864 "tracker-result-store.c"
			}
#line 379 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp0_ = FALSE;
#line 379 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp2_ = i;
#line 379 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp3_ = self->priv->categories;
#line 379 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp4_ = g_ptr_array_get_length (_tmp3_);
#line 379 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp5_ = _tmp4_;
#line 379 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (!(_tmp2_ < _tmp5_)) {
#line 379 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				break;
#line 2880 "tracker-result-store.c"
			}
#line 382 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp6_ = self->priv->categories;
#line 382 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp7_ = i;
#line 382 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp8_ = g_ptr_array_index (_tmp6_, (guint) _tmp7_);
#line 382 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp9_ = _tracker_result_store_category_node_ref0 ((TrackerResultStoreCategoryNode*) _tmp8_);
#line 382 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tracker_result_store_category_node_unref0 (cat);
#line 382 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			cat = _tmp9_;
#line 384 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp10_ = cat;
#line 384 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp11_ = _tmp10_->count;
#line 384 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (_tmp11_ > 0) {
#line 2900 "tracker-result-store.c"
				gint _tmp12_ = 0;
#line 385 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp12_ = n;
#line 385 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				n = _tmp12_ + 1;
#line 2906 "tracker-result-store.c"
			}
#line 379 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tracker_result_store_category_node_unref0 (cat);
#line 2910 "tracker-result-store.c"
		}
	}
#line 389 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	result = n;
#line 389 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return result;
#line 2917 "tracker-result-store.c"
}


static GType tracker_result_store_real_get_column_type (GtkTreeModel* base, gint index_) {
	TrackerResultStore * self;
	GType result = 0UL;
	gint _tmp0_ = 0;
	gint _tmp1_ = 0;
#line 392 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self = (TrackerResultStore*) base;
#line 393 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = index_;
#line 393 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp1_ = self->priv->n_columns;
#line 393 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_tmp0_ == _tmp1_) {
#line 394 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		result = gdk_pixbuf_get_type ();
#line 394 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		return result;
#line 2938 "tracker-result-store.c"
	} else {
		gint _tmp2_ = 0;
		gint _tmp3_ = 0;
#line 395 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp2_ = index_;
#line 395 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp3_ = self->priv->n_columns;
#line 395 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (_tmp2_ == (_tmp3_ + 1)) {
#line 396 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			result = TRACKER_QUERY_TYPE_TYPE;
#line 396 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			return result;
#line 2952 "tracker-result-store.c"
		} else {
#line 398 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			result = G_TYPE_STRING;
#line 398 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			return result;
#line 2958 "tracker-result-store.c"
		}
	}
}


static GtkTreeModelFlags tracker_result_store_real_get_flags (GtkTreeModel* base) {
	TrackerResultStore * self;
	GtkTreeModelFlags result = 0;
	GtkTreeModelFlags flags = 0;
	TrackerResultStoreQueryData* _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
#line 402 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self = (TrackerResultStore*) base;
#line 405 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	flags = GTK_TREE_MODEL_ITERS_PERSIST;
#line 407 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = self->priv->queries;
#line 407 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0__length1 = self->priv->queries_length1;
#line 407 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_tmp0__length1 == 1) {
#line 2980 "tracker-result-store.c"
		GtkTreeModelFlags _tmp1_ = 0;
#line 408 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp1_ = flags;
#line 408 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		flags = _tmp1_ | GTK_TREE_MODEL_LIST_ONLY;
#line 2986 "tracker-result-store.c"
	}
#line 411 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	result = flags;
#line 411 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return result;
#line 2992 "tracker-result-store.c"
}


static gboolean tracker_result_store_real_get_iter (GtkTreeModel* base, GtkTreeIter* iter, GtkTreePath* path) {
	TrackerResultStore * self;
	GtkTreeIter _vala_iter = {0};
	gboolean result = FALSE;
	gint* indices = NULL;
	GtkTreePath* _tmp0_ = NULL;
	gint _tmp1_ = 0;
	gint* _tmp2_ = NULL;
	gint indices_length1 = 0;
	gint _indices_size_ = 0;
	TrackerResultStoreCategoryNode* cat = NULL;
	gint i = 0;
	TrackerResultStoreQueryData* _tmp3_ = NULL;
	gint _tmp3__length1 = 0;
	gint _tmp23_ = 0;
	TrackerResultStoreCategoryNode* _tmp24_ = NULL;
	GtkTreePath* _tmp25_ = NULL;
	gint _tmp26_ = 0;
	gint _tmp27_ = 0;
#line 414 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self = (TrackerResultStore*) base;
#line 414 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_val_if_fail (path != NULL, FALSE);
#line 415 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = path;
#line 415 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp2_ = gtk_tree_path_get_indices_with_depth (_tmp0_, &_tmp1_);
#line 415 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	indices = _tmp2_;
#line 415 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	indices_length1 = _tmp1_;
#line 415 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_indices_size_ = indices_length1;
#line 417 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	i = 0;
#line 419 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	memset (&_vala_iter, 0, sizeof (GtkTreeIter));
#line 421 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp3_ = self->priv->queries;
#line 421 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp3__length1 = self->priv->queries_length1;
#line 421 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_tmp3__length1 > 1) {
#line 3039 "tracker-result-store.c"
		gint* _tmp4_ = NULL;
		gint _tmp4__length1 = 0;
		gint _tmp5_ = 0;
		gint _tmp6_ = 0;
		GPtrArray* _tmp7_ = NULL;
		gint _tmp8_ = 0;
		gint _tmp9_ = 0;
		GPtrArray* _tmp10_ = NULL;
		gint* _tmp11_ = NULL;
		gint _tmp11__length1 = 0;
		gint _tmp12_ = 0;
		gint _tmp13_ = 0;
		gconstpointer _tmp14_ = NULL;
		TrackerResultStoreCategoryNode* _tmp15_ = NULL;
		gint _tmp16_ = 0;
#line 422 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp4_ = indices;
#line 422 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp4__length1 = indices_length1;
#line 422 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp5_ = i;
#line 422 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp6_ = _tmp4_[_tmp5_];
#line 422 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp7_ = self->priv->categories;
#line 422 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp8_ = g_ptr_array_get_length (_tmp7_);
#line 422 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp9_ = _tmp8_;
#line 422 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (_tmp6_ >= _tmp9_) {
#line 423 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_vala_iter.stamp = 0;
#line 424 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			result = FALSE;
#line 424 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tracker_result_store_category_node_unref0 (cat);
#line 424 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (iter) {
#line 424 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				*iter = _vala_iter;
#line 3081 "tracker-result-store.c"
			}
#line 424 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			return result;
#line 3085 "tracker-result-store.c"
		}
#line 427 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp10_ = self->priv->categories;
#line 427 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp11_ = indices;
#line 427 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp11__length1 = indices_length1;
#line 427 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp12_ = i;
#line 427 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp13_ = _tmp11_[_tmp12_];
#line 427 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp14_ = g_ptr_array_index (_tmp10_, (guint) _tmp13_);
#line 427 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp15_ = _tracker_result_store_category_node_ref0 ((TrackerResultStoreCategoryNode*) _tmp14_);
#line 427 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tracker_result_store_category_node_unref0 (cat);
#line 427 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		cat = _tmp15_;
#line 428 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp16_ = i;
#line 428 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		i = _tmp16_ + 1;
#line 3109 "tracker-result-store.c"
	} else {
		GPtrArray* _tmp17_ = NULL;
		gint _tmp18_ = 0;
		gint _tmp19_ = 0;
		GPtrArray* _tmp20_ = NULL;
		gconstpointer _tmp21_ = NULL;
		TrackerResultStoreCategoryNode* _tmp22_ = NULL;
#line 430 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp17_ = self->priv->categories;
#line 430 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp18_ = g_ptr_array_get_length (_tmp17_);
#line 430 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp19_ = _tmp18_;
#line 430 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (_tmp19_ == 0) {
#line 431 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_vala_iter.stamp = 0;
#line 432 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			result = FALSE;
#line 432 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tracker_result_store_category_node_unref0 (cat);
#line 432 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (iter) {
#line 432 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				*iter = _vala_iter;
#line 3135 "tracker-result-store.c"
			}
#line 432 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			return result;
#line 3139 "tracker-result-store.c"
		}
#line 435 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp20_ = self->priv->categories;
#line 435 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp21_ = g_ptr_array_index (_tmp20_, (guint) 0);
#line 435 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp22_ = _tracker_result_store_category_node_ref0 ((TrackerResultStoreCategoryNode*) _tmp21_);
#line 435 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tracker_result_store_category_node_unref0 (cat);
#line 435 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		cat = _tmp22_;
#line 3151 "tracker-result-store.c"
	}
#line 438 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp23_ = self->priv->timestamp;
#line 438 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_vala_iter.stamp = _tmp23_;
#line 439 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp24_ = cat;
#line 439 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_vala_iter.user_data = _tmp24_;
#line 441 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp25_ = path;
#line 441 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp26_ = gtk_tree_path_get_depth (_tmp25_);
#line 441 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp27_ = i;
#line 441 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_tmp26_ == (_tmp27_ + 1)) {
#line 3169 "tracker-result-store.c"
		gint* _tmp28_ = NULL;
		gint _tmp28__length1 = 0;
		gint _tmp29_ = 0;
		gint _tmp30_ = 0;
		TrackerResultStoreCategoryNode* _tmp31_ = NULL;
		gint _tmp32_ = 0;
		TrackerResultStoreCategoryNode* _tmp33_ = NULL;
		TrackerResultStoreResultNode* _tmp34_ = NULL;
		gint _tmp34__length1 = 0;
		gint* _tmp35_ = NULL;
		gint _tmp35__length1 = 0;
		gint _tmp36_ = 0;
		gint _tmp37_ = 0;
		gint* _tmp38_ = NULL;
		gint _tmp38__length1 = 0;
		gint _tmp39_ = 0;
		gint _tmp40_ = 0;
		void* _tmp41_ = NULL;
#line 443 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp28_ = indices;
#line 443 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp28__length1 = indices_length1;
#line 443 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp29_ = i;
#line 443 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp30_ = _tmp28_[_tmp29_];
#line 443 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp31_ = cat;
#line 443 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp32_ = _tmp31_->count;
#line 443 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (_tmp30_ >= _tmp32_) {
#line 444 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_vala_iter.stamp = 0;
#line 445 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			result = FALSE;
#line 445 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tracker_result_store_category_node_unref0 (cat);
#line 445 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (iter) {
#line 445 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				*iter = _vala_iter;
#line 3212 "tracker-result-store.c"
			}
#line 445 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			return result;
#line 3216 "tracker-result-store.c"
		}
#line 448 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp33_ = cat;
#line 448 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp34_ = _tmp33_->results;
#line 448 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp34__length1 = _tmp33_->results_length1;
#line 448 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp35_ = indices;
#line 448 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp35__length1 = indices_length1;
#line 448 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp36_ = i;
#line 448 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp37_ = _tmp35_[_tmp36_];
#line 448 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_vala_iter.user_data2 = &_tmp34_[_tmp37_];
#line 449 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp38_ = indices;
#line 449 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp38__length1 = indices_length1;
#line 449 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp39_ = i;
#line 449 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp40_ = _tmp38_[_tmp39_];
#line 449 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp41_ = GINT_TO_POINTER (_tmp40_);
#line 449 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_vala_iter.user_data3 = _tmp41_;
#line 3246 "tracker-result-store.c"
	}
#line 452 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	result = TRUE;
#line 452 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tracker_result_store_category_node_unref0 (cat);
#line 452 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (iter) {
#line 452 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		*iter = _vala_iter;
#line 3256 "tracker-result-store.c"
	}
#line 452 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return result;
#line 3260 "tracker-result-store.c"
}


static gint tracker_result_store_real_get_n_columns (GtkTreeModel* base) {
	TrackerResultStore * self;
	gint result = 0;
	gint _tmp0_ = 0;
	gint _tmp1_ = 0;
#line 455 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self = (TrackerResultStore*) base;
#line 456 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = self->priv->n_columns;
#line 456 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp1_ = self->priv->n_extra_columns;
#line 456 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	result = _tmp0_ + _tmp1_;
#line 456 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return result;
#line 3279 "tracker-result-store.c"
}


static GtkTreePath* tracker_result_store_real_get_path (GtkTreeModel* base, GtkTreeIter* iter) {
	TrackerResultStore * self;
	GtkTreePath* result = NULL;
	GtkTreePath* path = NULL;
	GtkTreePath* _tmp0_ = NULL;
	TrackerResultStoreCategoryNode* cat = NULL;
	gint i = 0;
	TrackerResultStoreQueryData* _tmp1_ = NULL;
	gint _tmp1__length1 = 0;
	GtkTreeIter _tmp17_ = {0};
	void* _tmp18_ = NULL;
#line 460 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self = (TrackerResultStore*) base;
#line 460 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_val_if_fail (iter != NULL, NULL);
#line 464 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = gtk_tree_path_new ();
#line 464 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	path = _tmp0_;
#line 468 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp1_ = self->priv->queries;
#line 468 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp1__length1 = self->priv->queries_length1;
#line 468 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_tmp1__length1 > 1) {
#line 3308 "tracker-result-store.c"
		{
			gboolean _tmp2_ = FALSE;
#line 469 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			i = 0;
#line 469 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp2_ = TRUE;
#line 469 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			while (TRUE) {
#line 3317 "tracker-result-store.c"
				gint _tmp4_ = 0;
				GPtrArray* _tmp5_ = NULL;
				gint _tmp6_ = 0;
				gint _tmp7_ = 0;
				GPtrArray* _tmp8_ = NULL;
				gint _tmp9_ = 0;
				gconstpointer _tmp10_ = NULL;
				TrackerResultStoreCategoryNode* _tmp11_ = NULL;
				TrackerResultStoreCategoryNode* _tmp12_ = NULL;
				GtkTreeIter _tmp13_ = {0};
				void* _tmp14_ = NULL;
#line 469 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				if (!_tmp2_) {
#line 3331 "tracker-result-store.c"
					gint _tmp3_ = 0;
#line 469 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_tmp3_ = i;
#line 469 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					i = _tmp3_ + 1;
#line 3337 "tracker-result-store.c"
				}
#line 469 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp2_ = FALSE;
#line 469 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp4_ = i;
#line 469 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp5_ = self->priv->categories;
#line 469 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp6_ = g_ptr_array_get_length (_tmp5_);
#line 469 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp7_ = _tmp6_;
#line 469 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				if (!(_tmp4_ < _tmp7_)) {
#line 469 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					break;
#line 3353 "tracker-result-store.c"
				}
#line 470 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp8_ = self->priv->categories;
#line 470 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp9_ = i;
#line 470 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp10_ = g_ptr_array_index (_tmp8_, (guint) _tmp9_);
#line 470 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp11_ = _tracker_result_store_category_node_ref0 ((TrackerResultStoreCategoryNode*) _tmp10_);
#line 470 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tracker_result_store_category_node_unref0 (cat);
#line 470 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				cat = _tmp11_;
#line 472 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp12_ = cat;
#line 472 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp13_ = *iter;
#line 472 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp14_ = _tmp13_.user_data;
#line 472 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				if (_tmp12_ == _tmp14_) {
#line 3375 "tracker-result-store.c"
					GtkTreePath* _tmp15_ = NULL;
					gint _tmp16_ = 0;
#line 473 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_tmp15_ = path;
#line 473 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_tmp16_ = i;
#line 473 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					gtk_tree_path_append_index (_tmp15_, _tmp16_);
#line 474 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					break;
#line 3386 "tracker-result-store.c"
				}
			}
		}
	}
#line 479 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp17_ = *iter;
#line 479 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp18_ = _tmp17_.user_data2;
#line 479 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_tmp18_ != NULL) {
#line 3397 "tracker-result-store.c"
		GtkTreePath* _tmp19_ = NULL;
		GtkTreeIter _tmp20_ = {0};
		void* _tmp21_ = NULL;
#line 480 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp19_ = path;
#line 480 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp20_ = *iter;
#line 480 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp21_ = _tmp20_.user_data3;
#line 480 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		gtk_tree_path_append_index (_tmp19_, (gint) ((glong) _tmp21_));
#line 3409 "tracker-result-store.c"
	}
#line 483 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	result = path;
#line 483 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tracker_result_store_category_node_unref0 (cat);
#line 483 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return result;
#line 3417 "tracker-result-store.c"
}


static void tracker_result_store_fetch_thumbnail_data_free (gpointer _data) {
	TrackerResultStoreFetchThumbnailData* _data_;
	_data_ = _data;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_object_unref0 (_data_->self);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_slice_free (TrackerResultStoreFetchThumbnailData, _data_);
#line 3428 "tracker-result-store.c"
}


static void tracker_result_store_fetch_thumbnail (TrackerResultStore* self, GtkTreeIter* iter, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	TrackerResultStoreFetchThumbnailData* _data_;
	TrackerResultStore* _tmp0_ = NULL;
	GtkTreeIter _tmp1_ = {0};
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_ = g_slice_new0 (TrackerResultStoreFetchThumbnailData);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, tracker_result_store_fetch_thumbnail);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, tracker_result_store_fetch_thumbnail_data_free);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->self = _tmp0_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp1_ = *iter;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->iter = _tmp1_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	tracker_result_store_fetch_thumbnail_co (_data_);
#line 3452 "tracker-result-store.c"
}


static void tracker_result_store_fetch_thumbnail_finish (TrackerResultStore* self, GAsyncResult* _res_) {
	TrackerResultStoreFetchThumbnailData* _data_;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 3460 "tracker-result-store.c"
}


static void tracker_result_store_fetch_thumbnail_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	TrackerResultStoreFetchThumbnailData* _data_;
#line 499 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_ = _user_data_;
#line 499 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_source_object_ = source_object;
#line 499 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_res_ = _res_;
#line 499 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	tracker_result_store_fetch_thumbnail_co (_data_);
#line 3474 "tracker-result-store.c"
}


static gboolean tracker_result_store_fetch_thumbnail_co (TrackerResultStoreFetchThumbnailData* _data_) {
#line 486 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	switch (_data_->_state_) {
#line 486 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		case 0:
#line 3483 "tracker-result-store.c"
		goto _state_0;
#line 486 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		case 1:
#line 3487 "tracker-result-store.c"
		goto _state_1;
		default:
#line 486 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_assert_not_reached ();
#line 3492 "tracker-result-store.c"
	}
	_state_0:
#line 491 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->pixbuf = NULL;
#line 493 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	memset (&_data_->_tmp0_, 0, sizeof (GtkTreeIter));
#line 493 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp0_ = _data_->iter;
#line 493 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp1_ = NULL;
#line 493 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp1_ = _data_->_tmp0_.user_data2;
#line 493 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_result_ = _data_->_tmp1_;
#line 496 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp2_ = NULL;
#line 496 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp2_ = _data_->_result_;
#line 496 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp3_ = NULL;
#line 496 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp3__length1 = 0;
#line 496 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp3_ = (*_data_->_tmp2_).values;
#line 496 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp3__length1 = (*_data_->_tmp2_).values_length1;
#line 496 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp4_ = NULL;
#line 496 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp4_ = _data_->_tmp3_[1];
#line 496 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp5_ = NULL;
#line 496 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp5_ = g_file_new_for_uri (_data_->_tmp4_);
#line 496 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_object_unref0 (_data_->file);
#line 496 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->file = _data_->_tmp5_;
#line 3531 "tracker-result-store.c"
	{
#line 499 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp7_ = NULL;
#line 499 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp7_ = _data_->file;
#line 499 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp8_ = NULL;
#line 499 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp8_ = _data_->self->priv->cancellable;
#line 499 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_state_ = 1;
#line 499 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_file_query_info_async (_data_->_tmp7_, "thumbnail::path,standard::icon", G_FILE_QUERY_INFO_NONE, G_PRIORITY_DEFAULT, _data_->_tmp8_, tracker_result_store_fetch_thumbnail_ready, _data_);
#line 499 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		return FALSE;
#line 3547 "tracker-result-store.c"
		_state_1:
#line 499 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp9_ = NULL;
#line 499 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp9_ = g_file_query_info_finish (_data_->_tmp7_, _data_->_res_, &_data_->_inner_error_);
#line 499 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp6_ = _data_->_tmp9_;
#line 499 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 3557 "tracker-result-store.c"
			goto __catch9_g_error;
		}
#line 499 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp10_ = NULL;
#line 499 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp10_ = _data_->_tmp6_;
#line 499 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp6_ = NULL;
#line 499 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_object_unref0 (_data_->info);
#line 499 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->info = _data_->_tmp10_;
#line 498 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_object_unref0 (_data_->_tmp6_);
#line 3572 "tracker-result-store.c"
	}
	goto __finally9;
	__catch9_g_error:
	{
#line 498 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->ie = _data_->_inner_error_;
#line 498 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_inner_error_ = NULL;
#line 504 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp11_ = NULL;
#line 504 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp11_ = _data_->self->priv->cancellable;
#line 504 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp12_ = FALSE;
#line 504 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp12_ = g_cancellable_is_cancelled (_data_->_tmp11_);
#line 504 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (!_data_->_tmp12_) {
#line 505 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp13_ = NULL;
#line 505 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp13_ = _data_->ie;
#line 505 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp14_ = NULL;
#line 505 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp14_ = _data_->_tmp13_->message;
#line 505 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			g_warning ("tracker-result-store.vala:505: Could not get thumbnail: %s", _data_->_tmp14_);
#line 3601 "tracker-result-store.c"
		}
#line 507 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_error_free0 (_data_->ie);
#line 507 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_object_unref0 (_data_->pixbuf);
#line 507 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_free0 (_data_->thumb_path);
#line 507 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_object_unref0 (_data_->info);
#line 507 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_object_unref0 (_data_->file);
#line 507 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (_data_->_state_ == 0) {
#line 507 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3617 "tracker-result-store.c"
		} else {
#line 507 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 3621 "tracker-result-store.c"
		}
#line 507 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_object_unref (_data_->_async_result);
#line 507 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		return FALSE;
#line 3627 "tracker-result-store.c"
	}
	__finally9:
#line 498 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 498 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_object_unref0 (_data_->pixbuf);
#line 498 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_free0 (_data_->thumb_path);
#line 498 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_object_unref0 (_data_->info);
#line 498 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_object_unref0 (_data_->file);
#line 498 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 498 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_clear_error (&_data_->_inner_error_);
#line 498 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		return FALSE;
#line 3646 "tracker-result-store.c"
	}
#line 510 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp15_ = NULL;
#line 510 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp15_ = _data_->info;
#line 510 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp16_ = NULL;
#line 510 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp16_ = g_file_info_get_attribute_byte_string (_data_->_tmp15_, "thumbnail::path");
#line 510 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp17_ = NULL;
#line 510 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp17_ = g_strdup (_data_->_tmp16_);
#line 510 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_free0 (_data_->thumb_path);
#line 510 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->thumb_path = _data_->_tmp17_;
#line 3664 "tracker-result-store.c"
	{
#line 513 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp18_ = NULL;
#line 513 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp18_ = _data_->thumb_path;
#line 513 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (_data_->_tmp18_ != NULL) {
#line 514 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp20_ = NULL;
#line 514 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp20_ = _data_->thumb_path;
#line 514 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp21_ = 0;
#line 514 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp21_ = _data_->self->priv->_icon_size;
#line 514 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp22_ = 0;
#line 514 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp22_ = _data_->self->priv->_icon_size;
#line 514 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp23_ = NULL;
#line 514 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp23_ = gdk_pixbuf_new_from_file_at_size (_data_->_tmp20_, _data_->_tmp21_, _data_->_tmp22_, &_data_->_inner_error_);
#line 514 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp19_ = _data_->_tmp23_;
#line 514 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 3692 "tracker-result-store.c"
				goto __catch10_g_error;
			}
#line 514 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp24_ = NULL;
#line 514 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp24_ = _data_->_tmp19_;
#line 514 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp19_ = NULL;
#line 514 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_g_object_unref0 (_data_->pixbuf);
#line 514 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->pixbuf = _data_->_tmp24_;
#line 513 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_g_object_unref0 (_data_->_tmp19_);
#line 3707 "tracker-result-store.c"
		} else {
#line 519 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp25_ = NULL;
#line 519 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp25_ = _data_->info;
#line 519 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp26_ = NULL;
#line 519 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp26_ = g_file_info_get_attribute_object (_data_->_tmp25_, "standard::icon");
#line 519 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp27_ = NULL;
#line 519 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp27_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_data_->_tmp26_, g_icon_get_type (), GIcon));
#line 519 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_g_object_unref0 (_data_->icon);
#line 519 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->icon = _data_->_tmp27_;
#line 521 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp28_ = NULL;
#line 521 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp28_ = _data_->icon;
#line 521 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (_data_->_tmp28_ == NULL) {
#line 522 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_gtk_icon_info_free0 (_data_->icon_info);
#line 522 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_g_object_unref0 (_data_->icon);
#line 522 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_g_object_unref0 (_data_->pixbuf);
#line 522 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_g_free0 (_data_->thumb_path);
#line 522 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_g_object_unref0 (_data_->info);
#line 522 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_g_object_unref0 (_data_->file);
#line 522 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				if (_data_->_state_ == 0) {
#line 522 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3747 "tracker-result-store.c"
				} else {
#line 522 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					g_simple_async_result_complete (_data_->_async_result);
#line 3751 "tracker-result-store.c"
				}
#line 522 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				g_object_unref (_data_->_async_result);
#line 522 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				return FALSE;
#line 3757 "tracker-result-store.c"
			}
#line 525 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp29_ = NULL;
#line 525 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp29_ = gdk_screen_get_default ();
#line 525 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp30_ = NULL;
#line 525 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp30_ = gtk_icon_theme_get_for_screen (_data_->_tmp29_);
#line 525 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp31_ = NULL;
#line 525 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp31_ = _g_object_ref0 (_data_->_tmp30_);
#line 525 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->theme = _data_->_tmp31_;
#line 526 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp32_ = NULL;
#line 526 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp32_ = _data_->theme;
#line 526 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp33_ = NULL;
#line 526 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp33_ = _data_->icon;
#line 526 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp34_ = 0;
#line 526 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp34_ = _data_->self->priv->_icon_size;
#line 526 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp35_ = NULL;
#line 526 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp35_ = gtk_icon_theme_lookup_by_gicon (_data_->_tmp32_, _data_->_tmp33_, _data_->_tmp34_, 0);
#line 526 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_gtk_icon_info_free0 (_data_->icon_info);
#line 526 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->icon_info = _data_->_tmp35_;
#line 528 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp36_ = NULL;
#line 528 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp36_ = _data_->icon_info;
#line 528 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (_data_->_tmp36_ == NULL) {
#line 529 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_g_object_unref0 (_data_->theme);
#line 529 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_gtk_icon_info_free0 (_data_->icon_info);
#line 529 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_g_object_unref0 (_data_->icon);
#line 529 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_g_object_unref0 (_data_->pixbuf);
#line 529 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_g_free0 (_data_->thumb_path);
#line 529 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_g_object_unref0 (_data_->info);
#line 529 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_g_object_unref0 (_data_->file);
#line 529 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				if (_data_->_state_ == 0) {
#line 529 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3817 "tracker-result-store.c"
				} else {
#line 529 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					g_simple_async_result_complete (_data_->_async_result);
#line 3821 "tracker-result-store.c"
				}
#line 529 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				g_object_unref (_data_->_async_result);
#line 529 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				return FALSE;
#line 3827 "tracker-result-store.c"
			}
#line 532 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp38_ = NULL;
#line 532 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp38_ = _data_->icon_info;
#line 532 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp39_ = NULL;
#line 532 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp39_ = gtk_icon_info_load_icon (_data_->_tmp38_, &_data_->_inner_error_);
#line 532 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp37_ = _data_->_tmp39_;
#line 532 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 532 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_g_object_unref0 (_data_->theme);
#line 532 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_gtk_icon_info_free0 (_data_->icon_info);
#line 532 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_g_object_unref0 (_data_->icon);
#line 3847 "tracker-result-store.c"
				goto __catch10_g_error;
			}
#line 532 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp40_ = NULL;
#line 532 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp40_ = _data_->_tmp37_;
#line 532 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->_tmp37_ = NULL;
#line 532 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_g_object_unref0 (_data_->pixbuf);
#line 532 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_data_->pixbuf = _data_->_tmp40_;
#line 513 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_g_object_unref0 (_data_->_tmp37_);
#line 513 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_g_object_unref0 (_data_->theme);
#line 513 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_gtk_icon_info_free0 (_data_->icon_info);
#line 513 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_g_object_unref0 (_data_->icon);
#line 3868 "tracker-result-store.c"
		}
	}
	goto __finally10;
	__catch10_g_error:
	{
#line 512 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->e = _data_->_inner_error_;
#line 512 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_inner_error_ = NULL;
#line 535 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp41_ = NULL;
#line 535 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp41_ = _data_->e;
#line 535 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp42_ = NULL;
#line 535 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp42_ = _data_->_tmp41_->message;
#line 535 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_warning ("tracker-result-store.vala:535: Could not get icon pixbuf: %s\n", _data_->_tmp42_);
#line 512 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_error_free0 (_data_->e);
#line 3890 "tracker-result-store.c"
	}
	__finally10:
#line 512 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 512 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_object_unref0 (_data_->pixbuf);
#line 512 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_free0 (_data_->thumb_path);
#line 512 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_object_unref0 (_data_->info);
#line 512 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_object_unref0 (_data_->file);
#line 512 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 512 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_clear_error (&_data_->_inner_error_);
#line 512 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		return FALSE;
#line 3909 "tracker-result-store.c"
	}
#line 538 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp43_ = NULL;
#line 538 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_data_->_tmp43_ = _data_->pixbuf;
#line 538 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_data_->_tmp43_ != NULL) {
#line 541 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp44_ = NULL;
#line 541 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp44_ = _data_->pixbuf;
#line 541 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp45_ = NULL;
#line 541 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp45_ = _g_object_ref0 (_data_->_tmp44_);
#line 541 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_object_unref0 ((*_data_->_result_).pixbuf);
#line 541 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		(*_data_->_result_).pixbuf = _data_->_tmp45_;
#line 542 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		memset (&_data_->_tmp46_, 0, sizeof (GtkTreeIter));
#line 542 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp46_ = _data_->iter;
#line 542 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp47_ = NULL;
#line 542 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp47_ = gtk_tree_model_get_path ((GtkTreeModel*) _data_->self, &_data_->_tmp46_);
#line 542 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_gtk_tree_path_free0 (_data_->path);
#line 542 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->path = _data_->_tmp47_;
#line 543 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp48_ = NULL;
#line 543 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp48_ = _data_->path;
#line 543 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		memset (&_data_->_tmp49_, 0, sizeof (GtkTreeIter));
#line 543 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_data_->_tmp49_ = _data_->iter;
#line 543 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		gtk_tree_model_row_changed ((GtkTreeModel*) _data_->self, _data_->_tmp48_, &_data_->_tmp49_);
#line 538 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_gtk_tree_path_free0 (_data_->path);
#line 3953 "tracker-result-store.c"
	}
#line 486 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_object_unref0 (_data_->pixbuf);
#line 486 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_free0 (_data_->thumb_path);
#line 486 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_object_unref0 (_data_->info);
#line 486 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_object_unref0 (_data_->file);
#line 486 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_data_->_state_ == 0) {
#line 486 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3967 "tracker-result-store.c"
	} else {
#line 486 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3971 "tracker-result-store.c"
	}
#line 486 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_object_unref (_data_->_async_result);
#line 486 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return FALSE;
#line 3977 "tracker-result-store.c"
}


static void tracker_result_store_real_get_value (GtkTreeModel* base, GtkTreeIter* iter, gint column, GValue* value) {
	TrackerResultStore * self;
	GValue _vala_value = {0};
	TrackerResultStoreCategoryNode* cat = NULL;
	gint _tmp0_ = 0;
	GType _tmp1_ = 0UL;
	GValue _tmp2_ = {0};
	GValue _tmp3_ = {0};
	gint _tmp4_ = 0;
	gint _tmp5_ = 0;
	gint _tmp6_ = 0;
	GtkTreeIter _tmp7_ = {0};
	void* _tmp8_ = NULL;
	TrackerResultStoreCategoryNode* _tmp9_ = NULL;
	gint _tmp10_ = 0;
	gint _tmp11_ = 0;
	GtkTreeIter _tmp14_ = {0};
	void* _tmp15_ = NULL;
#line 547 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self = (TrackerResultStore*) base;
#line 547 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_if_fail (iter != NULL);
#line 550 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = column;
#line 550 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp1_ = gtk_tree_model_get_column_type ((GtkTreeModel*) self, _tmp0_);
#line 550 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_value_init (&_tmp2_, _tmp1_);
#line 550 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	G_IS_VALUE (&_vala_value) ? (g_value_unset (&_vala_value), NULL) : NULL;
#line 550 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_vala_value = _tmp2_;
#line 550 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp3_ = _vala_value;
#line 552 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp4_ = column;
#line 552 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp5_ = self->priv->n_columns;
#line 552 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp6_ = self->priv->n_extra_columns;
#line 552 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_tmp4_ >= (_tmp5_ + _tmp6_)) {
#line 553 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tracker_result_store_category_node_unref0 (cat);
#line 553 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (value) {
#line 553 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			*value = _vala_value;
#line 4029 "tracker-result-store.c"
		} else {
#line 553 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			G_IS_VALUE (&_vala_value) ? (g_value_unset (&_vala_value), NULL) : NULL;
#line 4033 "tracker-result-store.c"
		}
#line 553 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		return;
#line 4037 "tracker-result-store.c"
	}
#line 556 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp7_ = *iter;
#line 556 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp8_ = _tmp7_.user_data;
#line 556 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp9_ = _tracker_result_store_category_node_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TRACKER_RESULT_STORE_TYPE_CATEGORY_NODE, TrackerResultStoreCategoryNode));
#line 556 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tracker_result_store_category_node_unref0 (cat);
#line 556 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	cat = _tmp9_;
#line 558 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp10_ = column;
#line 558 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp11_ = self->priv->n_columns;
#line 558 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_tmp10_ == (_tmp11_ + 1)) {
#line 4055 "tracker-result-store.c"
		TrackerResultStoreCategoryNode* _tmp12_ = NULL;
		TrackerQueryType _tmp13_ = 0;
#line 560 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp12_ = cat;
#line 560 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp13_ = _tmp12_->type;
#line 560 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_value_set_enum (&_vala_value, (gint) _tmp13_);
#line 561 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tracker_result_store_category_node_unref0 (cat);
#line 561 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (value) {
#line 561 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			*value = _vala_value;
#line 4070 "tracker-result-store.c"
		} else {
#line 561 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			G_IS_VALUE (&_vala_value) ? (g_value_unset (&_vala_value), NULL) : NULL;
#line 4074 "tracker-result-store.c"
		}
#line 561 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		return;
#line 4078 "tracker-result-store.c"
	}
#line 564 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp14_ = *iter;
#line 564 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp15_ = _tmp14_.user_data2;
#line 564 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_tmp15_ == NULL) {
#line 4086 "tracker-result-store.c"
		gint _tmp16_ = 0;
		gint _tmp17_ = 0;
#line 565 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp16_ = column;
#line 565 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp17_ = self->priv->n_columns;
#line 565 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (_tmp16_ == _tmp17_) {
#line 4095 "tracker-result-store.c"
			GdkPixbuf* pixbuf = NULL;
			TrackerResultStoreCategoryNode* _tmp18_ = NULL;
			GdkPixbuf* _tmp19_ = NULL;
			GdkPixbuf* _tmp20_ = NULL;
			GdkPixbuf* _tmp21_ = NULL;
			GdkPixbuf* _tmp52_ = NULL;
#line 568 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp18_ = cat;
#line 568 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp19_ = _tmp18_->pixbuf;
#line 568 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp20_ = _g_object_ref0 (_tmp19_);
#line 568 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_g_object_unref0 (pixbuf);
#line 568 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			pixbuf = _tmp20_;
#line 570 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp21_ = pixbuf;
#line 570 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (_tmp21_ == NULL) {
#line 4116 "tracker-result-store.c"
				GtkIconTheme* theme = NULL;
				GdkScreen* _tmp22_ = NULL;
				GtkIconTheme* _tmp23_ = NULL;
				GtkIconTheme* _tmp24_ = NULL;
				gint size = 0;
				gint _tmp25_ = 0;
				TrackerResultStoreCategoryNode* _tmp26_ = NULL;
				TrackerQueryType _tmp27_ = 0;
#line 571 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp22_ = gdk_screen_get_default ();
#line 571 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp23_ = gtk_icon_theme_get_for_screen (_tmp22_);
#line 571 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp24_ = _g_object_ref0 (_tmp23_);
#line 571 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				theme = _tmp24_;
#line 572 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp25_ = self->priv->_icon_size;
#line 572 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				size = _tmp25_;
#line 574 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp26_ = cat;
#line 574 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp27_ = _tmp26_->type;
#line 574 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				switch (_tmp27_) {
#line 574 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					case TRACKER_QUERY_TYPE_APPLICATIONS:
#line 4145 "tracker-result-store.c"
					{
						GtkIconTheme* _tmp28_ = NULL;
						gint _tmp29_ = 0;
						GdkPixbuf* _tmp30_ = NULL;
#line 576 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp28_ = theme;
#line 576 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp29_ = size;
#line 576 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp30_ = tracker_pixbuf_new_from_name (_tmp28_, "package-x-generic", _tmp29_);
#line 576 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_g_object_unref0 (pixbuf);
#line 576 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						pixbuf = _tmp30_;
#line 577 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						break;
#line 4162 "tracker-result-store.c"
					}
#line 574 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					case TRACKER_QUERY_TYPE_MUSIC:
#line 4166 "tracker-result-store.c"
					{
						GtkIconTheme* _tmp31_ = NULL;
						gint _tmp32_ = 0;
						GdkPixbuf* _tmp33_ = NULL;
#line 579 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp31_ = theme;
#line 579 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp32_ = size;
#line 579 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp33_ = tracker_pixbuf_new_from_name (_tmp31_, "audio-x-generic", _tmp32_);
#line 579 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_g_object_unref0 (pixbuf);
#line 579 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						pixbuf = _tmp33_;
#line 580 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						break;
#line 4183 "tracker-result-store.c"
					}
#line 574 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					case TRACKER_QUERY_TYPE_IMAGES:
#line 4187 "tracker-result-store.c"
					{
						GtkIconTheme* _tmp34_ = NULL;
						gint _tmp35_ = 0;
						GdkPixbuf* _tmp36_ = NULL;
#line 582 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp34_ = theme;
#line 582 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp35_ = size;
#line 582 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp36_ = tracker_pixbuf_new_from_name (_tmp34_, "image-x-generic", _tmp35_);
#line 582 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_g_object_unref0 (pixbuf);
#line 582 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						pixbuf = _tmp36_;
#line 583 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						break;
#line 4204 "tracker-result-store.c"
					}
#line 574 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					case TRACKER_QUERY_TYPE_VIDEOS:
#line 4208 "tracker-result-store.c"
					{
						GtkIconTheme* _tmp37_ = NULL;
						gint _tmp38_ = 0;
						GdkPixbuf* _tmp39_ = NULL;
#line 585 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp37_ = theme;
#line 585 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp38_ = size;
#line 585 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp39_ = tracker_pixbuf_new_from_name (_tmp37_, "video-x-generic", _tmp38_);
#line 585 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_g_object_unref0 (pixbuf);
#line 585 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						pixbuf = _tmp39_;
#line 586 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						break;
#line 4225 "tracker-result-store.c"
					}
#line 574 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					case TRACKER_QUERY_TYPE_DOCUMENTS:
#line 4229 "tracker-result-store.c"
					{
						GtkIconTheme* _tmp40_ = NULL;
						gint _tmp41_ = 0;
						GdkPixbuf* _tmp42_ = NULL;
#line 588 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp40_ = theme;
#line 588 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp41_ = size;
#line 588 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp42_ = tracker_pixbuf_new_from_name (_tmp40_, "x-office-presentation", _tmp41_);
#line 588 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_g_object_unref0 (pixbuf);
#line 588 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						pixbuf = _tmp42_;
#line 589 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						break;
#line 4246 "tracker-result-store.c"
					}
#line 574 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					case TRACKER_QUERY_TYPE_MAIL:
#line 4250 "tracker-result-store.c"
					{
						GtkIconTheme* _tmp43_ = NULL;
						gint _tmp44_ = 0;
						GdkPixbuf* _tmp45_ = NULL;
#line 591 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp43_ = theme;
#line 591 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp44_ = size;
#line 591 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp45_ = tracker_pixbuf_new_from_name (_tmp43_, "emblem-mail", _tmp44_);
#line 591 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_g_object_unref0 (pixbuf);
#line 591 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						pixbuf = _tmp45_;
#line 592 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						break;
#line 4267 "tracker-result-store.c"
					}
#line 574 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					case TRACKER_QUERY_TYPE_FOLDERS:
#line 4271 "tracker-result-store.c"
					{
						GtkIconTheme* _tmp46_ = NULL;
						gint _tmp47_ = 0;
						GdkPixbuf* _tmp48_ = NULL;
#line 594 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp46_ = theme;
#line 594 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp47_ = size;
#line 594 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp48_ = tracker_pixbuf_new_from_name (_tmp46_, "folder", _tmp47_);
#line 594 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_g_object_unref0 (pixbuf);
#line 594 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						pixbuf = _tmp48_;
#line 595 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						break;
#line 4288 "tracker-result-store.c"
					}
#line 574 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					case TRACKER_QUERY_TYPE_BOOKMARKS:
#line 4292 "tracker-result-store.c"
					{
						GtkIconTheme* _tmp49_ = NULL;
						gint _tmp50_ = 0;
						GdkPixbuf* _tmp51_ = NULL;
#line 597 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp49_ = theme;
#line 597 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp50_ = size;
#line 597 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp51_ = tracker_pixbuf_new_from_name (_tmp49_, "web-browser", _tmp50_);
#line 597 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_g_object_unref0 (pixbuf);
#line 597 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						pixbuf = _tmp51_;
#line 598 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						break;
#line 4309 "tracker-result-store.c"
					}
					default:
#line 574 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					break;
#line 4314 "tracker-result-store.c"
				}
#line 570 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_g_object_unref0 (theme);
#line 4318 "tracker-result-store.c"
			}
#line 602 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp52_ = pixbuf;
#line 602 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			g_value_set_object (&_vala_value, (GObject*) _tmp52_);
#line 565 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_g_object_unref0 (pixbuf);
#line 4326 "tracker-result-store.c"
		}
	} else {
		TrackerResultStoreResultNode* _result_ = NULL;
		gint n_node = 0;
		GtkTreeIter _tmp53_ = {0};
		void* _tmp54_ = NULL;
		GtkTreeIter _tmp55_ = {0};
		void* _tmp56_ = NULL;
		TrackerResultStoreResultNode* _tmp57_ = NULL;
		gchar** _tmp58_ = NULL;
		gint _tmp58__length1 = 0;
		const gchar* _tmp59_ = NULL;
#line 608 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp53_ = *iter;
#line 608 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp54_ = _tmp53_.user_data2;
#line 608 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_result_ = _tmp54_;
#line 609 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp55_ = *iter;
#line 609 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp56_ = _tmp55_.user_data3;
#line 609 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		n_node = (gint) ((glong) _tmp56_);
#line 611 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp57_ = _result_;
#line 611 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp58_ = (*_tmp57_).values;
#line 611 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp58__length1 = (*_tmp57_).values_length1;
#line 611 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp59_ = _tmp58_[0];
#line 611 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (_tmp59_ != NULL) {
#line 4361 "tracker-result-store.c"
			gint _tmp60_ = 0;
			gint _tmp61_ = 0;
#line 612 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp60_ = column;
#line 612 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp61_ = self->priv->n_columns;
#line 612 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (_tmp60_ == _tmp61_) {
#line 4370 "tracker-result-store.c"
				TrackerResultStoreResultNode* _tmp62_ = NULL;
				GdkPixbuf* _tmp63_ = NULL;
#line 613 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp62_ = _result_;
#line 613 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp63_ = (*_tmp62_).pixbuf;
#line 613 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				if (_tmp63_ != NULL) {
#line 4379 "tracker-result-store.c"
					TrackerResultStoreResultNode* _tmp64_ = NULL;
					GdkPixbuf* _tmp65_ = NULL;
#line 614 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_tmp64_ = _result_;
#line 614 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_tmp65_ = (*_tmp64_).pixbuf;
#line 614 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					g_value_set_object (&_vala_value, (GObject*) _tmp65_);
#line 4388 "tracker-result-store.c"
				} else {
					TrackerResultStoreQueryData* _tmp66_ = NULL;
					gint _tmp66__length1 = 0;
#line 615 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_tmp66_ = self->priv->queries;
#line 615 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_tmp66__length1 = self->priv->queries_length1;
#line 615 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					if (_tmp66__length1 == 1) {
#line 4398 "tracker-result-store.c"
						GtkTreeIter _tmp67_ = {0};
#line 616 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp67_ = *iter;
#line 616 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						tracker_result_store_fetch_thumbnail (self, &_tmp67_, NULL, NULL);
#line 4404 "tracker-result-store.c"
					}
				}
			} else {
				TrackerResultStoreResultNode* _tmp68_ = NULL;
				gchar** _tmp69_ = NULL;
				gint _tmp69__length1 = 0;
				gint _tmp70_ = 0;
				const gchar* _tmp71_ = NULL;
#line 619 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp68_ = _result_;
#line 619 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp69_ = (*_tmp68_).values;
#line 619 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp69__length1 = (*_tmp68_).values_length1;
#line 619 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp70_ = column;
#line 619 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp71_ = _tmp69_[_tmp70_];
#line 619 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				g_value_set_string (&_vala_value, _tmp71_);
#line 4425 "tracker-result-store.c"
			}
		} else {
			gint _tmp72_ = 0;
			gint _tmp73_ = 0;
			TrackerResultStoreCategoryNode* _tmp74_ = NULL;
			gint _tmp75_ = 0;
#line 622 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp72_ = n_node;
#line 622 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			n_node = _tmp72_ / 100;
#line 623 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp73_ = n_node;
#line 623 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			n_node = _tmp73_ * 100;
#line 625 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp74_ = cat;
#line 625 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp75_ = n_node;
#line 625 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			tracker_result_store_add_operation (self, _tmp74_, _tmp75_);
#line 4446 "tracker-result-store.c"
		}
	}
#line 547 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tracker_result_store_category_node_unref0 (cat);
#line 547 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (value) {
#line 547 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		*value = _vala_value;
#line 4455 "tracker-result-store.c"
	} else {
#line 547 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		G_IS_VALUE (&_vala_value) ? (g_value_unset (&_vala_value), NULL) : NULL;
#line 4459 "tracker-result-store.c"
	}
}


static gboolean tracker_result_store_real_iter_children (GtkTreeModel* base, GtkTreeIter* iter, GtkTreeIter* parent) {
	TrackerResultStore * self;
	GtkTreeIter _vala_iter = {0};
	gboolean result = FALSE;
	TrackerResultStoreCategoryNode* cat = NULL;
	GtkTreeIter* _tmp0_ = NULL;
	GtkTreeIter* _tmp18_ = NULL;
	void* _tmp19_ = NULL;
	GtkTreeIter* _tmp20_ = NULL;
	void* _tmp21_ = NULL;
	TrackerResultStoreCategoryNode* _tmp22_ = NULL;
	TrackerResultStoreCategoryNode* _tmp23_ = NULL;
	TrackerResultStoreResultNode* _tmp24_ = NULL;
	gint _tmp24__length1 = 0;
	gint _tmp25_ = 0;
	TrackerResultStoreCategoryNode* _tmp26_ = NULL;
	TrackerResultStoreCategoryNode* _tmp27_ = NULL;
	TrackerResultStoreResultNode* _tmp28_ = NULL;
	gint _tmp28__length1 = 0;
	void* _tmp29_ = NULL;
#line 630 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self = (TrackerResultStore*) base;
#line 633 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	memset (&_vala_iter, 0, sizeof (GtkTreeIter));
#line 635 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = parent;
#line 635 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_tmp0_ == NULL) {
#line 4492 "tracker-result-store.c"
		GPtrArray* _tmp1_ = NULL;
		gint _tmp2_ = 0;
		gint _tmp3_ = 0;
		TrackerResultStoreQueryData* _tmp4_ = NULL;
		gint _tmp4__length1 = 0;
#line 636 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp1_ = self->priv->categories;
#line 636 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp2_ = g_ptr_array_get_length (_tmp1_);
#line 636 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp3_ = _tmp2_;
#line 636 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (_tmp3_ == 0) {
#line 637 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_vala_iter.stamp = 0;
#line 638 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			result = FALSE;
#line 638 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tracker_result_store_category_node_unref0 (cat);
#line 638 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (iter) {
#line 638 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				*iter = _vala_iter;
#line 4516 "tracker-result-store.c"
			}
#line 638 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			return result;
#line 4520 "tracker-result-store.c"
		}
#line 641 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp4_ = self->priv->queries;
#line 641 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp4__length1 = self->priv->queries_length1;
#line 641 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (_tmp4__length1 > 1) {
#line 4528 "tracker-result-store.c"
			gint i = 0;
			gint _tmp5_ = 0;
			GPtrArray* _tmp6_ = NULL;
			gint _tmp7_ = 0;
			gconstpointer _tmp8_ = NULL;
			TrackerResultStoreCategoryNode* _tmp9_ = NULL;
			gint _tmp10_ = 0;
			TrackerResultStoreCategoryNode* _tmp11_ = NULL;
#line 644 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp5_ = tracker_result_store_find_nth_category_index (self, NULL, 0);
#line 644 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			i = _tmp5_;
#line 645 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp6_ = self->priv->categories;
#line 645 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp7_ = i;
#line 645 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp8_ = g_ptr_array_index (_tmp6_, (guint) _tmp7_);
#line 645 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp9_ = _tracker_result_store_category_node_ref0 ((TrackerResultStoreCategoryNode*) _tmp8_);
#line 645 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tracker_result_store_category_node_unref0 (cat);
#line 645 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			cat = _tmp9_;
#line 646 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp10_ = self->priv->timestamp;
#line 646 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_vala_iter.stamp = _tmp10_;
#line 647 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp11_ = cat;
#line 647 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_vala_iter.user_data = _tmp11_;
#line 648 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			result = TRUE;
#line 648 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tracker_result_store_category_node_unref0 (cat);
#line 648 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (iter) {
#line 648 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				*iter = _vala_iter;
#line 4569 "tracker-result-store.c"
			}
#line 648 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			return result;
#line 4573 "tracker-result-store.c"
		} else {
			gint _tmp12_ = 0;
			GPtrArray* _tmp13_ = NULL;
			gconstpointer _tmp14_ = NULL;
			TrackerResultStoreCategoryNode* _tmp15_ = NULL;
			TrackerResultStoreResultNode* _tmp16_ = NULL;
			gint _tmp16__length1 = 0;
			void* _tmp17_ = NULL;
#line 650 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp12_ = self->priv->timestamp;
#line 650 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_vala_iter.stamp = _tmp12_;
#line 651 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp13_ = self->priv->categories;
#line 651 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp14_ = g_ptr_array_index (_tmp13_, (guint) 0);
#line 651 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_vala_iter.user_data = (TrackerResultStoreCategoryNode*) _tmp14_;
#line 652 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp15_ = cat;
#line 652 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp16_ = _tmp15_->results;
#line 652 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp16__length1 = _tmp15_->results_length1;
#line 652 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_vala_iter.user_data2 = &_tmp16_[0];
#line 653 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp17_ = GINT_TO_POINTER (0);
#line 653 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_vala_iter.user_data3 = _tmp17_;
#line 654 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			result = TRUE;
#line 654 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tracker_result_store_category_node_unref0 (cat);
#line 654 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (iter) {
#line 654 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				*iter = _vala_iter;
#line 4612 "tracker-result-store.c"
			}
#line 654 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			return result;
#line 4616 "tracker-result-store.c"
		}
	}
#line 658 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp18_ = parent;
#line 658 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp19_ = (*_tmp18_).user_data2;
#line 658 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_tmp19_ != NULL) {
#line 659 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_vala_iter.stamp = 0;
#line 660 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		result = FALSE;
#line 660 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tracker_result_store_category_node_unref0 (cat);
#line 660 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (iter) {
#line 660 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			*iter = _vala_iter;
#line 4635 "tracker-result-store.c"
		}
#line 660 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		return result;
#line 4639 "tracker-result-store.c"
	}
#line 663 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp20_ = parent;
#line 663 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp21_ = (*_tmp20_).user_data;
#line 663 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp22_ = _tracker_result_store_category_node_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, TRACKER_RESULT_STORE_TYPE_CATEGORY_NODE, TrackerResultStoreCategoryNode));
#line 663 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tracker_result_store_category_node_unref0 (cat);
#line 663 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	cat = _tmp22_;
#line 665 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp23_ = cat;
#line 665 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp24_ = _tmp23_->results;
#line 665 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp24__length1 = _tmp23_->results_length1;
#line 665 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_tmp24__length1 <= 0) {
#line 666 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_vala_iter.stamp = 0;
#line 667 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		result = FALSE;
#line 667 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tracker_result_store_category_node_unref0 (cat);
#line 667 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (iter) {
#line 667 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			*iter = _vala_iter;
#line 4669 "tracker-result-store.c"
		}
#line 667 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		return result;
#line 4673 "tracker-result-store.c"
	}
#line 670 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp25_ = self->priv->timestamp;
#line 670 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_vala_iter.stamp = _tmp25_;
#line 671 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp26_ = cat;
#line 671 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_vala_iter.user_data = _tmp26_;
#line 672 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp27_ = cat;
#line 672 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp28_ = _tmp27_->results;
#line 672 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp28__length1 = _tmp27_->results_length1;
#line 672 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_vala_iter.user_data2 = &_tmp28_[0];
#line 673 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp29_ = GINT_TO_POINTER (0);
#line 673 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_vala_iter.user_data3 = _tmp29_;
#line 675 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	result = TRUE;
#line 675 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tracker_result_store_category_node_unref0 (cat);
#line 675 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (iter) {
#line 675 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		*iter = _vala_iter;
#line 4703 "tracker-result-store.c"
	}
#line 675 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return result;
#line 4707 "tracker-result-store.c"
}


static gboolean tracker_result_store_real_iter_has_child (GtkTreeModel* base, GtkTreeIter* iter) {
	TrackerResultStore * self;
	gboolean result = FALSE;
	GtkTreeIter _tmp0_ = {0};
	void* _tmp1_ = NULL;
#line 678 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self = (TrackerResultStore*) base;
#line 678 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_val_if_fail (iter != NULL, FALSE);
#line 679 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = *iter;
#line 679 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp1_ = _tmp0_.user_data2;
#line 679 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_tmp1_ == NULL) {
#line 4726 "tracker-result-store.c"
		TrackerResultStoreCategoryNode* cat = NULL;
		GtkTreeIter _tmp2_ = {0};
		void* _tmp3_ = NULL;
		TrackerResultStoreCategoryNode* _tmp4_ = NULL;
		TrackerResultStoreCategoryNode* _tmp5_ = NULL;
		gint _tmp6_ = 0;
#line 682 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp2_ = *iter;
#line 682 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp3_ = _tmp2_.user_data;
#line 682 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp4_ = _tracker_result_store_category_node_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TRACKER_RESULT_STORE_TYPE_CATEGORY_NODE, TrackerResultStoreCategoryNode));
#line 682 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tracker_result_store_category_node_unref0 (cat);
#line 682 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		cat = _tmp4_;
#line 683 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp5_ = cat;
#line 683 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp6_ = _tmp5_->count;
#line 683 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		result = _tmp6_ > 0;
#line 683 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tracker_result_store_category_node_unref0 (cat);
#line 683 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		return result;
#line 4753 "tracker-result-store.c"
	}
#line 686 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	result = FALSE;
#line 686 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return result;
#line 4759 "tracker-result-store.c"
}


static gint tracker_result_store_real_iter_n_children (GtkTreeModel* base, GtkTreeIter* iter) {
	TrackerResultStore * self;
	gint result = 0;
	GtkTreeIter* _tmp0_ = NULL;
	GtkTreeIter* _tmp11_ = NULL;
	void* _tmp12_ = NULL;
	TrackerResultStoreCategoryNode* cat = NULL;
	GtkTreeIter* _tmp13_ = NULL;
	void* _tmp14_ = NULL;
	TrackerResultStoreCategoryNode* _tmp15_ = NULL;
	TrackerResultStoreCategoryNode* _tmp16_ = NULL;
	gint _tmp17_ = 0;
#line 689 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self = (TrackerResultStore*) base;
#line 690 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = iter;
#line 690 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_tmp0_ == NULL) {
#line 4781 "tracker-result-store.c"
		TrackerResultStoreQueryData* _tmp1_ = NULL;
		gint _tmp1__length1 = 0;
#line 691 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp1_ = self->priv->queries;
#line 691 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp1__length1 = self->priv->queries_length1;
#line 691 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (_tmp1__length1 > 1) {
#line 4790 "tracker-result-store.c"
			GPtrArray* _tmp2_ = NULL;
			gint _tmp3_ = 0;
			gint _tmp4_ = 0;
#line 692 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp2_ = self->priv->categories;
#line 692 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp3_ = g_ptr_array_get_length (_tmp2_);
#line 692 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp4_ = _tmp3_;
#line 692 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			result = _tmp4_ - 1;
#line 692 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			return result;
#line 4804 "tracker-result-store.c"
		} else {
			GPtrArray* _tmp5_ = NULL;
			gint _tmp6_ = 0;
			gint _tmp7_ = 0;
#line 693 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp5_ = self->priv->categories;
#line 693 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp6_ = g_ptr_array_get_length (_tmp5_);
#line 693 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp7_ = _tmp6_;
#line 693 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (_tmp7_ > 0) {
#line 4817 "tracker-result-store.c"
				GPtrArray* _tmp8_ = NULL;
				gconstpointer _tmp9_ = NULL;
				gint _tmp10_ = 0;
#line 694 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp8_ = self->priv->categories;
#line 694 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp9_ = g_ptr_array_index (_tmp8_, (guint) 0);
#line 694 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp10_ = ((TrackerResultStoreCategoryNode*) _tmp9_)->count;
#line 694 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				result = _tmp10_;
#line 694 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				return result;
#line 4831 "tracker-result-store.c"
			} else {
#line 696 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				result = -1;
#line 696 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				return result;
#line 4837 "tracker-result-store.c"
			}
		}
	}
#line 700 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp11_ = iter;
#line 700 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp12_ = (*_tmp11_).user_data2;
#line 700 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_tmp12_ != NULL) {
#line 702 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		result = -1;
#line 702 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		return result;
#line 4851 "tracker-result-store.c"
	}
#line 705 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp13_ = iter;
#line 705 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp14_ = (*_tmp13_).user_data;
#line 705 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp15_ = _tracker_result_store_category_node_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TRACKER_RESULT_STORE_TYPE_CATEGORY_NODE, TrackerResultStoreCategoryNode));
#line 705 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	cat = _tmp15_;
#line 707 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp16_ = cat;
#line 707 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp17_ = _tmp16_->count;
#line 707 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	result = _tmp17_;
#line 707 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tracker_result_store_category_node_unref0 (cat);
#line 707 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return result;
#line 4871 "tracker-result-store.c"
}


static gboolean tracker_result_store_real_iter_next (GtkTreeModel* base, GtkTreeIter* iter) {
	TrackerResultStore * self;
	gboolean result = FALSE;
	TrackerResultStoreCategoryNode* cat = NULL;
	gint i = 0;
	GtkTreeIter _tmp0_ = {0};
	void* _tmp1_ = NULL;
	TrackerResultStoreCategoryNode* _tmp2_ = NULL;
	GtkTreeIter _tmp3_ = {0};
	void* _tmp4_ = NULL;
#line 710 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self = (TrackerResultStore*) base;
#line 710 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_val_if_fail (iter != NULL, FALSE);
#line 714 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = *iter;
#line 714 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp1_ = _tmp0_.user_data;
#line 714 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp2_ = _tracker_result_store_category_node_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TRACKER_RESULT_STORE_TYPE_CATEGORY_NODE, TrackerResultStoreCategoryNode));
#line 714 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tracker_result_store_category_node_unref0 (cat);
#line 714 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	cat = _tmp2_;
#line 716 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp3_ = *iter;
#line 716 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp4_ = _tmp3_.user_data2;
#line 716 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_tmp4_ == NULL) {
#line 4905 "tracker-result-store.c"
		TrackerResultStoreCategoryNode* _tmp5_ = NULL;
		gint _tmp6_ = 0;
		gboolean _tmp7_ = FALSE;
		gint _tmp8_ = 0;
		gint _tmp13_ = 0;
		GPtrArray* _tmp14_ = NULL;
		gint _tmp15_ = 0;
		gconstpointer _tmp16_ = NULL;
#line 717 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp5_ = cat;
#line 717 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp6_ = tracker_result_store_find_nth_category_index (self, _tmp5_, 1);
#line 717 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		i = _tmp6_;
#line 719 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp8_ = i;
#line 719 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (_tmp8_ < 0) {
#line 719 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp7_ = TRUE;
#line 4926 "tracker-result-store.c"
		} else {
			gint _tmp9_ = 0;
			GPtrArray* _tmp10_ = NULL;
			gint _tmp11_ = 0;
			gint _tmp12_ = 0;
#line 719 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp9_ = i;
#line 719 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp10_ = self->priv->categories;
#line 719 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp11_ = g_ptr_array_get_length (_tmp10_);
#line 719 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp12_ = _tmp11_;
#line 719 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp7_ = _tmp9_ >= _tmp12_;
#line 4942 "tracker-result-store.c"
		}
#line 719 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (_tmp7_) {
#line 720 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			(*iter).stamp = 0;
#line 721 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			result = FALSE;
#line 721 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tracker_result_store_category_node_unref0 (cat);
#line 721 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			return result;
#line 4954 "tracker-result-store.c"
		}
#line 724 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp13_ = self->priv->timestamp;
#line 724 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		(*iter).stamp = _tmp13_;
#line 725 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp14_ = self->priv->categories;
#line 725 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp15_ = i;
#line 725 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp16_ = g_ptr_array_index (_tmp14_, (guint) _tmp15_);
#line 725 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		(*iter).user_data = (TrackerResultStoreCategoryNode*) _tmp16_;
#line 727 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		result = TRUE;
#line 727 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tracker_result_store_category_node_unref0 (cat);
#line 727 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		return result;
#line 4974 "tracker-result-store.c"
	} else {
		GtkTreeIter _tmp17_ = {0};
		void* _tmp18_ = NULL;
		gint _tmp19_ = 0;
		gint _tmp20_ = 0;
		TrackerResultStoreCategoryNode* _tmp21_ = NULL;
		gint _tmp22_ = 0;
		TrackerResultStoreCategoryNode* _tmp23_ = NULL;
		TrackerResultStoreResultNode* _tmp24_ = NULL;
		gint _tmp24__length1 = 0;
		gint _tmp25_ = 0;
		gint _tmp26_ = 0;
		void* _tmp27_ = NULL;
#line 730 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp17_ = *iter;
#line 730 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp18_ = _tmp17_.user_data3;
#line 730 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		i = (gint) ((glong) _tmp18_);
#line 731 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp19_ = i;
#line 731 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		i = _tmp19_ + 1;
#line 733 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp20_ = i;
#line 733 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp21_ = cat;
#line 733 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp22_ = _tmp21_->count;
#line 733 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (_tmp20_ >= _tmp22_) {
#line 734 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			(*iter).stamp = 0;
#line 735 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			result = FALSE;
#line 735 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tracker_result_store_category_node_unref0 (cat);
#line 735 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			return result;
#line 5014 "tracker-result-store.c"
		}
#line 738 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp23_ = cat;
#line 738 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp24_ = _tmp23_->results;
#line 738 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp24__length1 = _tmp23_->results_length1;
#line 738 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp25_ = i;
#line 738 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		(*iter).user_data2 = &_tmp24_[_tmp25_];
#line 739 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp26_ = i;
#line 739 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp27_ = GINT_TO_POINTER (_tmp26_);
#line 739 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		(*iter).user_data3 = _tmp27_;
#line 741 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		result = TRUE;
#line 741 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tracker_result_store_category_node_unref0 (cat);
#line 741 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		return result;
#line 5038 "tracker-result-store.c"
	}
#line 710 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tracker_result_store_category_node_unref0 (cat);
#line 5042 "tracker-result-store.c"
}


static gboolean tracker_result_store_real_iter_nth_child (GtkTreeModel* base, GtkTreeIter* iter, GtkTreeIter* parent, gint n) {
	TrackerResultStore * self;
	GtkTreeIter _vala_iter = {0};
	gboolean result = FALSE;
	TrackerResultStoreCategoryNode* cat = NULL;
	GtkTreeIter* _tmp0_ = NULL;
#line 745 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self = (TrackerResultStore*) base;
#line 748 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	memset (&_vala_iter, 0, sizeof (GtkTreeIter));
#line 750 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = parent;
#line 750 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_tmp0_ != NULL) {
#line 5060 "tracker-result-store.c"
		GtkTreeIter* _tmp1_ = NULL;
		void* _tmp2_ = NULL;
		TrackerResultStoreCategoryNode* _tmp3_ = NULL;
		gint _tmp4_ = 0;
		TrackerResultStoreCategoryNode* _tmp5_ = NULL;
		gint _tmp6_ = 0;
		gint _tmp7_ = 0;
		TrackerResultStoreCategoryNode* _tmp8_ = NULL;
		TrackerResultStoreCategoryNode* _tmp9_ = NULL;
		TrackerResultStoreResultNode* _tmp10_ = NULL;
		gint _tmp10__length1 = 0;
		gint _tmp11_ = 0;
		gint _tmp12_ = 0;
		void* _tmp13_ = NULL;
#line 751 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp1_ = parent;
#line 751 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp2_ = (*_tmp1_).user_data;
#line 751 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp3_ = _tracker_result_store_category_node_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TRACKER_RESULT_STORE_TYPE_CATEGORY_NODE, TrackerResultStoreCategoryNode));
#line 751 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tracker_result_store_category_node_unref0 (cat);
#line 751 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		cat = _tmp3_;
#line 753 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp4_ = n;
#line 753 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp5_ = cat;
#line 753 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp6_ = _tmp5_->count;
#line 753 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (_tmp4_ >= _tmp6_) {
#line 754 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_vala_iter.stamp = 0;
#line 755 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			result = FALSE;
#line 755 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tracker_result_store_category_node_unref0 (cat);
#line 755 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (iter) {
#line 755 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				*iter = _vala_iter;
#line 5103 "tracker-result-store.c"
			}
#line 755 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			return result;
#line 5107 "tracker-result-store.c"
		}
#line 758 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp7_ = self->priv->timestamp;
#line 758 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_vala_iter.stamp = _tmp7_;
#line 759 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp8_ = cat;
#line 759 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_vala_iter.user_data = _tmp8_;
#line 760 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp9_ = cat;
#line 760 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp10_ = _tmp9_->results;
#line 760 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp10__length1 = _tmp9_->results_length1;
#line 760 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp11_ = n;
#line 760 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_vala_iter.user_data2 = &_tmp10_[_tmp11_];
#line 761 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp12_ = n;
#line 761 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp13_ = GINT_TO_POINTER (_tmp12_);
#line 761 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_vala_iter.user_data3 = _tmp13_;
#line 762 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		result = TRUE;
#line 762 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tracker_result_store_category_node_unref0 (cat);
#line 762 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (iter) {
#line 762 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			*iter = _vala_iter;
#line 5141 "tracker-result-store.c"
		}
#line 762 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		return result;
#line 5145 "tracker-result-store.c"
	} else {
		gint index = 0;
		TrackerResultStoreQueryData* _tmp14_ = NULL;
		gint _tmp14__length1 = 0;
		GPtrArray* _tmp23_ = NULL;
		gint _tmp24_ = 0;
		gconstpointer _tmp25_ = NULL;
		TrackerResultStoreCategoryNode* _tmp26_ = NULL;
		gint _tmp27_ = 0;
		TrackerResultStoreCategoryNode* _tmp28_ = NULL;
		TrackerResultStoreQueryData* _tmp29_ = NULL;
		gint _tmp29__length1 = 0;
#line 766 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp14_ = self->priv->queries;
#line 766 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp14__length1 = self->priv->queries_length1;
#line 766 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (_tmp14__length1 > 1) {
#line 5164 "tracker-result-store.c"
			gint _tmp15_ = 0;
			gint _tmp16_ = 0;
			gboolean _tmp17_ = FALSE;
			gint _tmp18_ = 0;
#line 767 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp15_ = n;
#line 767 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp16_ = tracker_result_store_find_nth_category_index (self, NULL, _tmp15_);
#line 767 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			index = _tmp16_;
#line 769 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp18_ = index;
#line 769 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (_tmp18_ < 0) {
#line 769 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp17_ = TRUE;
#line 5181 "tracker-result-store.c"
			} else {
				gint _tmp19_ = 0;
				GPtrArray* _tmp20_ = NULL;
				gint _tmp21_ = 0;
				gint _tmp22_ = 0;
#line 769 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp19_ = index;
#line 769 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp20_ = self->priv->categories;
#line 769 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp21_ = g_ptr_array_get_length (_tmp20_);
#line 769 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp22_ = _tmp21_;
#line 769 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp17_ = _tmp19_ >= _tmp22_;
#line 5197 "tracker-result-store.c"
			}
#line 769 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (_tmp17_) {
#line 770 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_vala_iter.stamp = 0;
#line 771 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				result = FALSE;
#line 771 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tracker_result_store_category_node_unref0 (cat);
#line 771 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				if (iter) {
#line 771 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					*iter = _vala_iter;
#line 5211 "tracker-result-store.c"
				}
#line 771 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				return result;
#line 5215 "tracker-result-store.c"
			}
		} else {
#line 774 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			index = 0;
#line 5220 "tracker-result-store.c"
		}
#line 777 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp23_ = self->priv->categories;
#line 777 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp24_ = index;
#line 777 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp25_ = g_ptr_array_index (_tmp23_, (guint) _tmp24_);
#line 777 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp26_ = _tracker_result_store_category_node_ref0 ((TrackerResultStoreCategoryNode*) _tmp25_);
#line 777 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tracker_result_store_category_node_unref0 (cat);
#line 777 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		cat = _tmp26_;
#line 778 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp27_ = self->priv->timestamp;
#line 778 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_vala_iter.stamp = _tmp27_;
#line 779 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp28_ = cat;
#line 779 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_vala_iter.user_data = _tmp28_;
#line 781 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp29_ = self->priv->queries;
#line 781 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp29__length1 = self->priv->queries_length1;
#line 781 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (_tmp29__length1 > 1) {
#line 5248 "tracker-result-store.c"
			TrackerResultStoreCategoryNode* _tmp30_ = NULL;
			TrackerResultStoreResultNode* _tmp31_ = NULL;
			gint _tmp31__length1 = 0;
			void* _tmp32_ = NULL;
#line 782 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp30_ = cat;
#line 782 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp31_ = _tmp30_->results;
#line 782 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp31__length1 = _tmp30_->results_length1;
#line 782 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_vala_iter.user_data2 = &_tmp31_[0];
#line 783 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp32_ = GINT_TO_POINTER (0);
#line 783 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_vala_iter.user_data3 = _tmp32_;
#line 5265 "tracker-result-store.c"
		}
#line 786 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		result = TRUE;
#line 786 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tracker_result_store_category_node_unref0 (cat);
#line 786 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (iter) {
#line 786 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			*iter = _vala_iter;
#line 5275 "tracker-result-store.c"
		}
#line 786 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		return result;
#line 5279 "tracker-result-store.c"
	}
#line 745 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tracker_result_store_category_node_unref0 (cat);
#line 745 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (iter) {
#line 745 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		*iter = _vala_iter;
#line 5287 "tracker-result-store.c"
	}
}


static gboolean tracker_result_store_real_iter_parent (GtkTreeModel* base, GtkTreeIter* iter, GtkTreeIter* child) {
	TrackerResultStore * self;
	GtkTreeIter _vala_iter = {0};
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
	TrackerResultStoreQueryData* _tmp1_ = NULL;
	gint _tmp1__length1 = 0;
#line 790 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self = (TrackerResultStore*) base;
#line 790 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_val_if_fail (child != NULL, FALSE);
#line 791 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	memset (&_vala_iter, 0, sizeof (GtkTreeIter));
#line 793 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp1_ = self->priv->queries;
#line 793 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp1__length1 = self->priv->queries_length1;
#line 793 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_tmp1__length1 > 1) {
#line 5311 "tracker-result-store.c"
		GtkTreeIter _tmp2_ = {0};
		void* _tmp3_ = NULL;
#line 794 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp2_ = *child;
#line 794 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp3_ = _tmp2_.user_data2;
#line 794 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp0_ = _tmp3_ != NULL;
#line 5320 "tracker-result-store.c"
	} else {
#line 793 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp0_ = FALSE;
#line 5324 "tracker-result-store.c"
	}
#line 793 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_tmp0_) {
#line 5328 "tracker-result-store.c"
		gint _tmp4_ = 0;
		GtkTreeIter _tmp5_ = {0};
		void* _tmp6_ = NULL;
#line 796 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp4_ = self->priv->timestamp;
#line 796 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_vala_iter.stamp = _tmp4_;
#line 797 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp5_ = *child;
#line 797 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp6_ = _tmp5_.user_data;
#line 797 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_vala_iter.user_data = _tmp6_;
#line 798 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_vala_iter.user_data2 = NULL;
#line 799 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_vala_iter.user_data3 = NULL;
#line 800 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		result = TRUE;
#line 800 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (iter) {
#line 800 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			*iter = _vala_iter;
#line 5352 "tracker-result-store.c"
		}
#line 800 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		return result;
#line 5356 "tracker-result-store.c"
	}
#line 803 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_vala_iter.stamp = 0;
#line 804 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	result = FALSE;
#line 804 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (iter) {
#line 804 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		*iter = _vala_iter;
#line 5366 "tracker-result-store.c"
	}
#line 804 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return result;
#line 5370 "tracker-result-store.c"
}


static void tracker_result_store_real_ref_node (GtkTreeModel* base, GtkTreeIter* iter) {
	TrackerResultStore * self;
#line 807 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self = (TrackerResultStore*) base;
#line 807 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_if_fail (iter != NULL);
#line 5380 "tracker-result-store.c"
}


static void tracker_result_store_real_unref_node (GtkTreeModel* base, GtkTreeIter* iter) {
	TrackerResultStore * self;
#line 810 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self = (TrackerResultStore*) base;
#line 810 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_if_fail (iter != NULL);
#line 5390 "tracker-result-store.c"
}


static void tracker_result_store_theme_changed (TrackerResultStore* self, GtkIconTheme* theme) {
	GtkTreeIter iter = {0};
	gint i = 0;
	gint j = 0;
	gint _tmp0_ = 0;
#line 813 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_if_fail (self != NULL);
#line 813 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_if_fail (theme != NULL);
#line 817 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	memset (&iter, 0, sizeof (GtkTreeIter));
#line 818 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = self->priv->timestamp;
#line 818 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	iter.stamp = _tmp0_;
#line 5409 "tracker-result-store.c"
	{
		gboolean _tmp1_ = FALSE;
#line 820 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		i = 0;
#line 820 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp1_ = TRUE;
#line 820 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		while (TRUE) {
#line 5418 "tracker-result-store.c"
			gint _tmp3_ = 0;
			GPtrArray* _tmp4_ = NULL;
			gint _tmp5_ = 0;
			gint _tmp6_ = 0;
			TrackerResultStoreCategoryNode* cat = NULL;
			GPtrArray* _tmp7_ = NULL;
			gint _tmp8_ = 0;
			gconstpointer _tmp9_ = NULL;
			TrackerResultStoreCategoryNode* _tmp10_ = NULL;
			TrackerResultStoreCategoryNode* _tmp11_ = NULL;
#line 820 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (!_tmp1_) {
#line 5431 "tracker-result-store.c"
				gint _tmp2_ = 0;
#line 820 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp2_ = i;
#line 820 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				i = _tmp2_ + 1;
#line 5437 "tracker-result-store.c"
			}
#line 820 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp1_ = FALSE;
#line 820 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp3_ = i;
#line 820 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp4_ = self->priv->categories;
#line 820 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp5_ = g_ptr_array_get_length (_tmp4_);
#line 820 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp6_ = _tmp5_;
#line 820 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (!(_tmp3_ < _tmp6_)) {
#line 820 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				break;
#line 5453 "tracker-result-store.c"
			}
#line 821 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp7_ = self->priv->categories;
#line 821 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp8_ = i;
#line 821 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp9_ = g_ptr_array_index (_tmp7_, (guint) _tmp8_);
#line 821 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp10_ = _tracker_result_store_category_node_ref0 ((TrackerResultStoreCategoryNode*) _tmp9_);
#line 821 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			cat = _tmp10_;
#line 823 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp11_ = cat;
#line 823 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			iter.user_data = _tmp11_;
#line 5469 "tracker-result-store.c"
			{
				TrackerResultStoreCategoryNode* _tmp12_ = NULL;
				gint _tmp13_ = 0;
				gboolean _tmp14_ = FALSE;
#line 825 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp12_ = cat;
#line 825 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp13_ = _tmp12_->count;
#line 825 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				j = _tmp13_ - 1;
#line 825 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp14_ = TRUE;
#line 825 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				while (TRUE) {
#line 5484 "tracker-result-store.c"
					gint _tmp16_ = 0;
					TrackerResultStoreResultNode _result_ = {0};
					TrackerResultStoreCategoryNode* _tmp17_ = NULL;
					TrackerResultStoreResultNode* _tmp18_ = NULL;
					gint _tmp18__length1 = 0;
					gint _tmp19_ = 0;
					TrackerResultStoreResultNode _tmp20_ = {0};
					TrackerResultStoreResultNode _tmp21_ = {0};
					TrackerResultStoreCategoryNode* _tmp22_ = NULL;
					TrackerResultStoreResultNode* _tmp23_ = NULL;
					gint _tmp23__length1 = 0;
					gint _tmp24_ = 0;
					gint _tmp25_ = 0;
					void* _tmp26_ = NULL;
					TrackerResultStoreResultNode _tmp27_ = {0};
					GdkPixbuf* _tmp28_ = NULL;
#line 825 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					if (!_tmp14_) {
#line 5503 "tracker-result-store.c"
						gint _tmp15_ = 0;
#line 825 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp15_ = j;
#line 825 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						j = _tmp15_ - 1;
#line 5509 "tracker-result-store.c"
					}
#line 825 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_tmp14_ = FALSE;
#line 825 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_tmp16_ = j;
#line 825 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					if (!(_tmp16_ >= 0)) {
#line 825 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						break;
#line 5519 "tracker-result-store.c"
					}
#line 826 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_tmp17_ = cat;
#line 826 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_tmp18_ = _tmp17_->results;
#line 826 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_tmp18__length1 = _tmp17_->results_length1;
#line 826 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_tmp19_ = j;
#line 826 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_tmp20_ = _tmp18_[_tmp19_];
#line 826 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					tracker_result_store_result_node_copy (&_tmp20_, &_tmp21_);
#line 826 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_result_ = _tmp21_;
#line 828 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_tmp22_ = cat;
#line 828 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_tmp23_ = _tmp22_->results;
#line 828 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_tmp23__length1 = _tmp22_->results_length1;
#line 828 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_tmp24_ = j;
#line 828 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					iter.user_data2 = &_tmp23_[_tmp24_];
#line 829 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_tmp25_ = j;
#line 829 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_tmp26_ = GINT_TO_POINTER (_tmp25_);
#line 829 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					iter.user_data3 = _tmp26_;
#line 831 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_tmp27_ = _result_;
#line 831 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					_tmp28_ = _tmp27_.pixbuf;
#line 831 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					if (_tmp28_ != NULL) {
#line 5557 "tracker-result-store.c"
						GtkTreeIter _tmp29_ = {0};
#line 832 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						_tmp29_ = iter;
#line 832 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
						tracker_result_store_fetch_thumbnail (self, &_tmp29_, NULL, NULL);
#line 5563 "tracker-result-store.c"
					}
#line 825 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					tracker_result_store_result_node_destroy (&_result_);
#line 5567 "tracker-result-store.c"
				}
			}
#line 820 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tracker_result_store_category_node_unref0 (cat);
#line 5572 "tracker-result-store.c"
		}
	}
}


static void _tracker_result_store_category_node_unref0_ (gpointer var) {
#line 839 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	(var == NULL) ? NULL : (var = (tracker_result_store_category_node_unref (var), NULL));
#line 5581 "tracker-result-store.c"
}


static void _g_object_unref0_ (gpointer var) {
#line 840 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	(var == NULL) ? NULL : (var = (g_object_unref (var), NULL));
#line 5588 "tracker-result-store.c"
}


static void _tracker_result_store_theme_changed_gtk_icon_theme_changed (GtkIconTheme* _sender, gpointer self) {
#line 848 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	tracker_result_store_theme_changed ((TrackerResultStore*) self, _sender);
#line 5595 "tracker-result-store.c"
}


TrackerResultStore* tracker_result_store_construct (GType object_type, gint _n_columns) {
	TrackerResultStore * self = NULL;
	GPtrArray* _tmp0_ = NULL;
	GPtrArray* _tmp1_ = NULL;
	GPtrArray* _tmp2_ = NULL;
	gint _tmp3_ = 0;
	GtkIconTheme* theme = NULL;
	GdkScreen* _tmp4_ = NULL;
	GtkIconTheme* _tmp5_ = NULL;
	GtkIconTheme* _tmp6_ = NULL;
#line 838 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self = (TrackerResultStore*) g_object_new (object_type, NULL);
#line 839 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = g_ptr_array_new_full ((guint) 0, _tracker_result_store_category_node_unref0_);
#line 839 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_ptr_array_unref0 (self->priv->categories);
#line 839 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self->priv->categories = _tmp0_;
#line 840 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp1_ = g_ptr_array_new_full ((guint) 0, _g_object_unref0_);
#line 840 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_ptr_array_unref0 (self->priv->running_operations);
#line 840 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self->priv->running_operations = _tmp1_;
#line 841 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp2_ = g_ptr_array_new_full ((guint) 0, _g_object_unref0_);
#line 841 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_ptr_array_unref0 (self->priv->delayed_operations);
#line 841 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self->priv->delayed_operations = _tmp2_;
#line 843 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp3_ = _n_columns;
#line 843 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self->priv->n_columns = _tmp3_;
#line 844 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self->priv->timestamp = 1;
#line 845 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	tracker_result_store_set_icon_size (self, 24);
#line 847 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp4_ = gdk_screen_get_default ();
#line 847 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp5_ = gtk_icon_theme_get_for_screen (_tmp4_);
#line 847 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp6_ = _g_object_ref0 (_tmp5_);
#line 847 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	theme = _tmp6_;
#line 848 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_signal_connect_object (theme, "changed", (GCallback) _tracker_result_store_theme_changed_gtk_icon_theme_changed, self, 0);
#line 838 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_object_unref0 (theme);
#line 838 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return self;
#line 5651 "tracker-result-store.c"
}


TrackerResultStore* tracker_result_store_new (gint _n_columns) {
#line 838 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return tracker_result_store_construct (TRACKER_TYPE_RESULT_STORE, _n_columns);
#line 5658 "tracker-result-store.c"
}


static void _vala_array_add2 (gchar*** array, int* length, int* size, gchar* value) {
#line 861 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if ((*length) == (*size)) {
#line 861 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 861 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		*array = g_renew (gchar*, *array, (*size) + 1);
#line 5669 "tracker-result-store.c"
	}
#line 861 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	(*array)[(*length)++] = value;
#line 861 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	(*array)[*length] = NULL;
#line 5675 "tracker-result-store.c"
}


static gchar** _vala_array_dup2 (gchar** self, int length) {
	gchar** result;
	int i;
#line 873 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	result = g_new0 (gchar*, length + 1);
#line 873 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	for (i = 0; i < length; i++) {
#line 5686 "tracker-result-store.c"
		gchar* _tmp0_ = NULL;
#line 873 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp0_ = g_strdup (self[i]);
#line 873 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		result[i] = _tmp0_;
#line 5692 "tracker-result-store.c"
	}
#line 873 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return result;
#line 5696 "tracker-result-store.c"
}


static void _vala_array_add3 (TrackerResultStoreQueryData** array, int* length, int* size, const TrackerResultStoreQueryData* value) {
#line 875 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if ((*length) == (*size)) {
#line 875 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		*size = (*size) ? (2 * (*size)) : 4;
#line 875 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		*array = g_renew (TrackerResultStoreQueryData, *array, *size);
#line 5707 "tracker-result-store.c"
	}
#line 875 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	(*array)[(*length)++] = *value;
#line 5711 "tracker-result-store.c"
}


void tracker_result_store_add_query (TrackerResultStore* self, TrackerQueryType type, TrackerQueryMatch match, ...) {
	va_list l = {0};
	gchar* str = NULL;
	gchar** args = NULL;
	gint args_length1 = 0;
	gint _args_size_ = 0;
	TrackerResultStoreQueryData query_data = {0};
	gchar** _tmp8_ = NULL;
	gint _tmp8__length1 = 0;
	gint _tmp9_ = 0;
	TrackerQueryType _tmp10_ = 0;
	TrackerQueryMatch _tmp11_ = 0;
	gchar** _tmp12_ = NULL;
	gint _tmp12__length1 = 0;
	gchar** _tmp13_ = NULL;
	gint _tmp13__length1 = 0;
	TrackerResultStoreQueryData* _tmp14_ = NULL;
	gint _tmp14__length1 = 0;
	TrackerResultStoreQueryData _tmp15_ = {0};
	TrackerResultStoreQueryData _tmp16_ = {0};
#line 851 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_if_fail (self != NULL);
#line 852 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	va_start (l, match);
#line 853 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	str = NULL;
#line 854 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	args = NULL;
#line 854 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	args_length1 = 0;
#line 854 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_args_size_ = args_length1;
#line 5747 "tracker-result-store.c"
	{
		gboolean _tmp0_ = FALSE;
#line 857 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp0_ = TRUE;
#line 857 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		while (TRUE) {
#line 5754 "tracker-result-store.c"
			const gchar* _tmp2_ = NULL;
			gchar* _tmp3_ = NULL;
			const gchar* _tmp4_ = NULL;
#line 857 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (!_tmp0_) {
#line 5760 "tracker-result-store.c"
				const gchar* _tmp1_ = NULL;
#line 863 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp1_ = str;
#line 863 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				if (!(_tmp1_ != NULL)) {
#line 863 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
					break;
#line 5768 "tracker-result-store.c"
				}
			}
#line 857 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp0_ = FALSE;
#line 858 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp2_ = va_arg (l, gchar*);
#line 858 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp3_ = g_strdup (_tmp2_);
#line 858 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_g_free0 (str);
#line 858 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			str = _tmp3_;
#line 860 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp4_ = str;
#line 860 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (_tmp4_ != NULL) {
#line 5785 "tracker-result-store.c"
				gchar** _tmp5_ = NULL;
				gint _tmp5__length1 = 0;
				const gchar* _tmp6_ = NULL;
				gchar* _tmp7_ = NULL;
#line 861 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp5_ = args;
#line 861 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp5__length1 = args_length1;
#line 861 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp6_ = str;
#line 861 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp7_ = g_strdup (_tmp6_);
#line 861 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_vala_array_add2 (&args, &args_length1, &_args_size_, _tmp7_);
#line 5800 "tracker-result-store.c"
			}
		}
	}
#line 865 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp8_ = args;
#line 865 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp8__length1 = args_length1;
#line 865 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp9_ = self->priv->n_columns;
#line 865 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_tmp8__length1 != _tmp9_) {
#line 866 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_warning ("tracker-result-store.vala:866: Arguments and number of columns doesn't" \
" match");
#line 867 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		tracker_result_store_query_data_destroy (&query_data);
#line 867 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		args = (_vala_array_free (args, args_length1, (GDestroyNotify) g_free), NULL);
#line 867 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_free0 (str);
#line 867 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		va_end (l);
#line 867 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		return;
#line 5824 "tracker-result-store.c"
	}
#line 870 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	tracker_result_store_query_data_destroy (&query_data);
#line 870 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	memset (&query_data, 0, sizeof (TrackerResultStoreQueryData));
#line 871 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp10_ = type;
#line 871 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	query_data.type = _tmp10_;
#line 872 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp11_ = match;
#line 872 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	query_data.match = _tmp11_;
#line 873 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp12_ = args;
#line 873 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp12__length1 = args_length1;
#line 873 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp13_ = (_tmp12_ != NULL) ? _vala_array_dup2 (_tmp12_, _tmp12__length1) : ((gpointer) _tmp12_);
#line 873 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp13__length1 = _tmp12__length1;
#line 873 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	query_data.args = (_vala_array_free (query_data.args, query_data.args_length1, (GDestroyNotify) g_free), NULL);
#line 873 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	query_data.args = _tmp13_;
#line 873 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	query_data.args_length1 = _tmp13__length1;
#line 873 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	query_data._args_size_ = query_data.args_length1;
#line 875 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp14_ = self->priv->queries;
#line 875 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp14__length1 = self->priv->queries_length1;
#line 875 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp15_ = query_data;
#line 875 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	tracker_result_store_query_data_copy (&_tmp15_, &_tmp16_);
#line 875 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_vala_array_add3 (&self->priv->queries, &self->priv->queries_length1, &self->priv->_queries_size_, &_tmp16_);
#line 851 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	tracker_result_store_query_data_destroy (&query_data);
#line 851 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	args = (_vala_array_free (args, args_length1, (GDestroyNotify) g_free), NULL);
#line 851 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_free0 (str);
#line 851 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	va_end (l);
#line 5872 "tracker-result-store.c"
}


gboolean tracker_result_store_has_results (TrackerResultStore* self) {
	gboolean result = FALSE;
	gint _tmp0_ = 0;
#line 878 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 879 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = tracker_result_store_filled_categories_count (self);
#line 879 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	result = _tmp0_ > 0;
#line 879 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return result;
#line 5887 "tracker-result-store.c"
}


void tracker_result_store_cancel_search (TrackerResultStore* self) {
	GCancellable* _tmp0_ = NULL;
#line 882 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_if_fail (self != NULL);
#line 883 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = self->priv->cancellable;
#line 883 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (_tmp0_ != NULL) {
#line 5899 "tracker-result-store.c"
		GCancellable* _tmp1_ = NULL;
#line 884 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp1_ = self->priv->cancellable;
#line 884 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_cancellable_cancel (_tmp1_);
#line 885 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_g_object_unref0 (self->priv->cancellable);
#line 885 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		self->priv->cancellable = NULL;
#line 5909 "tracker-result-store.c"
	}
#line 888 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	tracker_result_store_clear_results (self);
#line 5913 "tracker-result-store.c"
}


gint tracker_result_store_get_icon_size (TrackerResultStore* self) {
	gint result;
	gint _tmp0_ = 0;
#line 60 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 60 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = self->priv->_icon_size;
#line 60 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	result = _tmp0_;
#line 60 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return result;
#line 5928 "tracker-result-store.c"
}


void tracker_result_store_set_icon_size (TrackerResultStore* self, gint value) {
	gint _tmp0_ = 0;
#line 61 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_if_fail (self != NULL);
#line 61 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = value;
#line 61 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self->priv->_icon_size = _tmp0_;
#line 61 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_object_notify ((GObject *) self, "icon-size");
#line 5942 "tracker-result-store.c"
}


guint tracker_result_store_get_limit (TrackerResultStore* self) {
	guint result;
	guint _tmp0_ = 0U;
#line 65 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_val_if_fail (self != NULL, 0U);
#line 65 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = self->priv->_limit;
#line 65 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	result = _tmp0_;
#line 65 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return result;
#line 5957 "tracker-result-store.c"
}


void tracker_result_store_set_limit (TrackerResultStore* self, guint value) {
	guint _tmp0_ = 0U;
#line 66 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_if_fail (self != NULL);
#line 66 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = value;
#line 66 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self->priv->_limit = _tmp0_;
#line 66 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_object_notify ((GObject *) self, "limit");
#line 5971 "tracker-result-store.c"
}


const gchar* tracker_result_store_get_search_term (TrackerResultStore* self) {
	const gchar* result;
	const gchar* _tmp0_ = NULL;
#line 324 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 325 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = self->priv->_search_term;
#line 325 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	result = _tmp0_;
#line 325 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return result;
#line 5986 "tracker-result-store.c"
}


void tracker_result_store_set_search_term (TrackerResultStore* self, const gchar* value) {
	gint i = 0;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	GCancellable* _tmp2_ = NULL;
	GPtrArray* _tmp3_ = NULL;
	GPtrArray* _tmp4_ = NULL;
	GPtrArray* _tmp5_ = NULL;
	gint _tmp6_ = 0;
#line 327 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_if_fail (self != NULL);
#line 330 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	tracker_result_store_cancel_search (self);
#line 331 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = value;
#line 331 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 331 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_free0 (self->priv->_search_term);
#line 331 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self->priv->_search_term = _tmp1_;
#line 333 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp2_ = g_cancellable_new ();
#line 333 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_object_unref0 (self->priv->cancellable);
#line 333 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self->priv->cancellable = _tmp2_;
#line 335 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	tracker_result_store_set_active (self, TRUE);
#line 337 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp3_ = g_ptr_array_new_full ((guint) 0, _tracker_result_store_category_node_unref0_);
#line 337 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_ptr_array_unref0 (self->priv->categories);
#line 337 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self->priv->categories = _tmp3_;
#line 338 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp4_ = g_ptr_array_new_full ((guint) 0, _g_object_unref0_);
#line 338 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_ptr_array_unref0 (self->priv->running_operations);
#line 338 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self->priv->running_operations = _tmp4_;
#line 339 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp5_ = g_ptr_array_new_full ((guint) 0, _g_object_unref0_);
#line 339 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_ptr_array_unref0 (self->priv->delayed_operations);
#line 339 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self->priv->delayed_operations = _tmp5_;
#line 340 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp6_ = self->priv->timestamp;
#line 340 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self->priv->timestamp = _tmp6_ + 1;
#line 6041 "tracker-result-store.c"
	{
		gboolean _tmp7_ = FALSE;
#line 342 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		i = 0;
#line 342 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp7_ = TRUE;
#line 342 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		while (TRUE) {
#line 6050 "tracker-result-store.c"
			gint _tmp9_ = 0;
			TrackerResultStoreQueryData* _tmp10_ = NULL;
			gint _tmp10__length1 = 0;
			TrackerResultStoreQueryData* _tmp11_ = NULL;
			gint _tmp11__length1 = 0;
			gint _tmp12_ = 0;
			GCancellable* _tmp13_ = NULL;
#line 342 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (!_tmp7_) {
#line 6060 "tracker-result-store.c"
				gint _tmp8_ = 0;
#line 342 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				_tmp8_ = i;
#line 342 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				i = _tmp8_ + 1;
#line 6066 "tracker-result-store.c"
			}
#line 342 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp7_ = FALSE;
#line 342 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp9_ = i;
#line 342 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp10_ = self->priv->queries;
#line 342 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp10__length1 = self->priv->queries_length1;
#line 342 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			if (!(_tmp9_ < _tmp10__length1)) {
#line 342 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
				break;
#line 6080 "tracker-result-store.c"
			}
#line 343 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp11_ = self->priv->queries;
#line 343 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp11__length1 = self->priv->queries_length1;
#line 343 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp12_ = i;
#line 343 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			_tmp13_ = self->priv->cancellable;
#line 343 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			tracker_result_store_load_category (self, &_tmp11_[_tmp12_], _tmp13_, NULL, NULL);
#line 6092 "tracker-result-store.c"
		}
	}
#line 327 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_object_notify ((GObject *) self, "search-term");
#line 6097 "tracker-result-store.c"
}


GPtrArray* tracker_result_store_get_search_tags (TrackerResultStore* self) {
	GPtrArray* result;
	GPtrArray* _tmp0_ = NULL;
#line 348 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 348 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = self->priv->_search_tags;
#line 348 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	result = _tmp0_;
#line 348 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return result;
#line 6112 "tracker-result-store.c"
}


static gpointer _g_ptr_array_ref0 (gpointer self) {
#line 348 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return self ? g_ptr_array_ref (self) : NULL;
#line 6119 "tracker-result-store.c"
}


void tracker_result_store_set_search_tags (TrackerResultStore* self, GPtrArray* value) {
	GPtrArray* _tmp0_ = NULL;
	GPtrArray* _tmp1_ = NULL;
#line 348 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_if_fail (self != NULL);
#line 348 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = value;
#line 348 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp1_ = _g_ptr_array_ref0 (_tmp0_);
#line 348 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_ptr_array_unref0 (self->priv->_search_tags);
#line 348 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self->priv->_search_tags = _tmp1_;
#line 348 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_object_notify ((GObject *) self, "search-tags");
#line 6138 "tracker-result-store.c"
}


gboolean tracker_result_store_get_active (TrackerResultStore* self) {
	gboolean result;
	gboolean _tmp0_ = FALSE;
#line 351 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 351 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = self->priv->_active;
#line 351 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	result = _tmp0_;
#line 351 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return result;
#line 6153 "tracker-result-store.c"
}


static void tracker_result_store_set_active (TrackerResultStore* self, gboolean value) {
	gboolean _tmp0_ = FALSE;
#line 352 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_if_fail (self != NULL);
#line 352 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = value;
#line 352 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self->priv->_active = _tmp0_;
#line 352 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_object_notify ((GObject *) self, "active");
#line 6167 "tracker-result-store.c"
}


static void _vala_TrackerResultStoreResultNode_array_free (TrackerResultStoreResultNode* array, gint array_length) {
#line 33 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (array != NULL) {
#line 6174 "tracker-result-store.c"
		int i;
#line 33 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		for (i = 0; i < array_length; i = i + 1) {
#line 33 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			tracker_result_store_result_node_destroy (&array[i]);
#line 6180 "tracker-result-store.c"
		}
	}
#line 33 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_free (array);
#line 6185 "tracker-result-store.c"
}


static TrackerResultStoreCategoryNode* tracker_result_store_category_node_construct (GType object_type) {
	TrackerResultStoreCategoryNode* self = NULL;
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self = (TrackerResultStoreCategoryNode*) g_type_create_instance (object_type);
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return self;
#line 6195 "tracker-result-store.c"
}


static TrackerResultStoreCategoryNode* tracker_result_store_category_node_new (void) {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return tracker_result_store_category_node_construct (TRACKER_RESULT_STORE_TYPE_CATEGORY_NODE);
#line 6202 "tracker-result-store.c"
}


static void tracker_result_store_value_category_node_init (GValue* value) {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	value->data[0].v_pointer = NULL;
#line 6209 "tracker-result-store.c"
}


static void tracker_result_store_value_category_node_free_value (GValue* value) {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (value->data[0].v_pointer) {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		tracker_result_store_category_node_unref (value->data[0].v_pointer);
#line 6218 "tracker-result-store.c"
	}
}


static void tracker_result_store_value_category_node_copy_value (const GValue* src_value, GValue* dest_value) {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (src_value->data[0].v_pointer) {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		dest_value->data[0].v_pointer = tracker_result_store_category_node_ref (src_value->data[0].v_pointer);
#line 6228 "tracker-result-store.c"
	} else {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		dest_value->data[0].v_pointer = NULL;
#line 6232 "tracker-result-store.c"
	}
}


static gpointer tracker_result_store_value_category_node_peek_pointer (const GValue* value) {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return value->data[0].v_pointer;
#line 6240 "tracker-result-store.c"
}


static gchar* tracker_result_store_value_category_node_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (collect_values[0].v_pointer) {
#line 6247 "tracker-result-store.c"
		TrackerResultStoreCategoryNode* object;
		object = collect_values[0].v_pointer;
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		if (object->parent_instance.g_class == NULL) {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
			return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 6254 "tracker-result-store.c"
		} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.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 6258 "tracker-result-store.c"
		}
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		value->data[0].v_pointer = tracker_result_store_category_node_ref (object);
#line 6262 "tracker-result-store.c"
	} else {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		value->data[0].v_pointer = NULL;
#line 6266 "tracker-result-store.c"
	}
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return NULL;
#line 6270 "tracker-result-store.c"
}


static gchar* tracker_result_store_value_category_node_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
	TrackerResultStoreCategoryNode** object_p;
	object_p = collect_values[0].v_pointer;
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (!object_p) {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
#line 6281 "tracker-result-store.c"
	}
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (!value->data[0].v_pointer) {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		*object_p = NULL;
#line 6287 "tracker-result-store.c"
	} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		*object_p = value->data[0].v_pointer;
#line 6291 "tracker-result-store.c"
	} else {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		*object_p = tracker_result_store_category_node_ref (value->data[0].v_pointer);
#line 6295 "tracker-result-store.c"
	}
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return NULL;
#line 6299 "tracker-result-store.c"
}


static GParamSpec* tracker_result_store_param_spec_category_node (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	TrackerResultStoreParamSpecCategoryNode* spec;
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_val_if_fail (g_type_is_a (object_type, TRACKER_RESULT_STORE_TYPE_CATEGORY_NODE), NULL);
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	G_PARAM_SPEC (spec)->value_type = object_type;
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return G_PARAM_SPEC (spec);
#line 6313 "tracker-result-store.c"
}


static gpointer tracker_result_store_value_get_category_node (const GValue* value) {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TRACKER_RESULT_STORE_TYPE_CATEGORY_NODE), NULL);
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return value->data[0].v_pointer;
#line 6322 "tracker-result-store.c"
}


static void tracker_result_store_value_set_category_node (GValue* value, gpointer v_object) {
	TrackerResultStoreCategoryNode* old;
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TRACKER_RESULT_STORE_TYPE_CATEGORY_NODE));
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	old = value->data[0].v_pointer;
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (v_object) {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TRACKER_RESULT_STORE_TYPE_CATEGORY_NODE));
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		value->data[0].v_pointer = v_object;
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		tracker_result_store_category_node_ref (value->data[0].v_pointer);
#line 6342 "tracker-result-store.c"
	} else {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		value->data[0].v_pointer = NULL;
#line 6346 "tracker-result-store.c"
	}
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (old) {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		tracker_result_store_category_node_unref (old);
#line 6352 "tracker-result-store.c"
	}
}


static void tracker_result_store_value_take_category_node (GValue* value, gpointer v_object) {
	TrackerResultStoreCategoryNode* old;
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TRACKER_RESULT_STORE_TYPE_CATEGORY_NODE));
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	old = value->data[0].v_pointer;
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (v_object) {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TRACKER_RESULT_STORE_TYPE_CATEGORY_NODE));
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		value->data[0].v_pointer = v_object;
#line 6371 "tracker-result-store.c"
	} else {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		value->data[0].v_pointer = NULL;
#line 6375 "tracker-result-store.c"
	}
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (old) {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		tracker_result_store_category_node_unref (old);
#line 6381 "tracker-result-store.c"
	}
}


static void tracker_result_store_category_node_class_init (TrackerResultStoreCategoryNodeClass * klass) {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	tracker_result_store_category_node_parent_class = g_type_class_peek_parent (klass);
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	((TrackerResultStoreCategoryNodeClass *) klass)->finalize = tracker_result_store_category_node_finalize;
#line 6391 "tracker-result-store.c"
}


static void tracker_result_store_category_node_instance_init (TrackerResultStoreCategoryNode * self) {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self->ref_count = 1;
#line 6398 "tracker-result-store.c"
}


static void tracker_result_store_category_node_finalize (TrackerResultStoreCategoryNode* obj) {
	TrackerResultStoreCategoryNode * self;
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TRACKER_RESULT_STORE_TYPE_CATEGORY_NODE, TrackerResultStoreCategoryNode);
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_signal_handlers_destroy (self);
#line 33 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self->results = (_vala_TrackerResultStoreResultNode_array_free (self->results, self->results_length1), NULL);
#line 34 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_object_unref0 (self->pixbuf);
#line 6412 "tracker-result-store.c"
}


static GType tracker_result_store_category_node_get_type (void) {
	static volatile gsize tracker_result_store_category_node_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_result_store_category_node_type_id__volatile)) {
		static const GTypeValueTable g_define_type_value_table = { tracker_result_store_value_category_node_init, tracker_result_store_value_category_node_free_value, tracker_result_store_value_category_node_copy_value, tracker_result_store_value_category_node_peek_pointer, "p", tracker_result_store_value_category_node_collect_value, "p", tracker_result_store_value_category_node_lcopy_value };
		static const GTypeInfo g_define_type_info = { sizeof (TrackerResultStoreCategoryNodeClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) tracker_result_store_category_node_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TrackerResultStoreCategoryNode), 0, (GInstanceInitFunc) tracker_result_store_category_node_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_result_store_category_node_type_id;
		tracker_result_store_category_node_type_id = g_type_register_fundamental (g_type_fundamental_next (), "TrackerResultStoreCategoryNode", &g_define_type_info, &g_define_type_fundamental_info, 0);
		g_once_init_leave (&tracker_result_store_category_node_type_id__volatile, tracker_result_store_category_node_type_id);
	}
	return tracker_result_store_category_node_type_id__volatile;
}


static gpointer tracker_result_store_category_node_ref (gpointer instance) {
	TrackerResultStoreCategoryNode* self;
	self = instance;
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_atomic_int_inc (&self->ref_count);
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return instance;
#line 6437 "tracker-result-store.c"
}


static void tracker_result_store_category_node_unref (gpointer instance) {
	TrackerResultStoreCategoryNode* self;
	self = instance;
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	if (g_atomic_int_dec_and_test (&self->ref_count)) {
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		TRACKER_RESULT_STORE_CATEGORY_NODE_GET_CLASS (self)->finalize (self);
#line 30 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_type_free_instance ((GTypeInstance *) self);
#line 6450 "tracker-result-store.c"
	}
}


static TrackerResultStoreOperation* tracker_result_store_operation_construct (GType object_type) {
	TrackerResultStoreOperation * self = NULL;
#line 47 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self = (TrackerResultStoreOperation*) g_object_new (object_type, NULL);
#line 47 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return self;
#line 6461 "tracker-result-store.c"
}


static TrackerResultStoreOperation* tracker_result_store_operation_new (void) {
#line 47 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return tracker_result_store_operation_construct (TRACKER_RESULT_STORE_TYPE_OPERATION);
#line 6468 "tracker-result-store.c"
}


static void tracker_result_store_operation_class_init (TrackerResultStoreOperationClass * klass) {
#line 47 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	tracker_result_store_operation_parent_class = g_type_class_peek_parent (klass);
#line 47 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	G_OBJECT_CLASS (klass)->finalize = tracker_result_store_operation_finalize;
#line 6477 "tracker-result-store.c"
}


static void tracker_result_store_operation_instance_init (TrackerResultStoreOperation * self) {
}


static void tracker_result_store_operation_finalize (GObject* obj) {
	TrackerResultStoreOperation * self;
#line 47 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TRACKER_RESULT_STORE_TYPE_OPERATION, TrackerResultStoreOperation);
#line 48 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tracker_result_store_category_node_unref0 (self->node);
#line 47 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	G_OBJECT_CLASS (tracker_result_store_operation_parent_class)->finalize (obj);
#line 6493 "tracker-result-store.c"
}


static GType tracker_result_store_operation_get_type (void) {
	static volatile gsize tracker_result_store_operation_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_result_store_operation_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (TrackerResultStoreOperationClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) tracker_result_store_operation_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TrackerResultStoreOperation), 0, (GInstanceInitFunc) tracker_result_store_operation_instance_init, NULL };
		GType tracker_result_store_operation_type_id;
		tracker_result_store_operation_type_id = g_type_register_static (G_TYPE_OBJECT, "TrackerResultStoreOperation", &g_define_type_info, 0);
		g_once_init_leave (&tracker_result_store_operation_type_id__volatile, tracker_result_store_operation_type_id);
	}
	return tracker_result_store_operation_type_id__volatile;
}


static gchar** _vala_array_dup3 (gchar** self, int length) {
	gchar** result;
	int i;
#line 25 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	result = g_new0 (gchar*, length + 1);
#line 25 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	for (i = 0; i < length; i++) {
#line 6516 "tracker-result-store.c"
		gchar* _tmp0_ = NULL;
#line 25 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp0_ = g_strdup (self[i]);
#line 25 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		result[i] = _tmp0_;
#line 6522 "tracker-result-store.c"
	}
#line 25 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return result;
#line 6526 "tracker-result-store.c"
}


static void tracker_result_store_result_node_copy (const TrackerResultStoreResultNode* self, TrackerResultStoreResultNode* dest) {
	gchar** _tmp0_ = NULL;
	gint _tmp0__length1 = 0;
	gchar** _tmp1_ = NULL;
	gint _tmp1__length1 = 0;
	GdkPixbuf* _tmp2_ = NULL;
	GdkPixbuf* _tmp3_ = NULL;
#line 25 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = (*self).values;
#line 25 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0__length1 = (*self).values_length1;
#line 25 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp1_ = (_tmp0_ != NULL) ? _vala_array_dup3 (_tmp0_, _tmp0__length1) : ((gpointer) _tmp0_);
#line 25 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp1__length1 = _tmp0__length1;
#line 25 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	(*dest).values = (_vala_array_free ((*dest).values, (*dest).values_length1, (GDestroyNotify) g_free), NULL);
#line 25 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	(*dest).values = _tmp1_;
#line 25 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	(*dest).values_length1 = _tmp1__length1;
#line 25 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	(*dest)._values_size_ = (*dest).values_length1;
#line 25 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp2_ = (*self).pixbuf;
#line 25 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 25 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_object_unref0 ((*dest).pixbuf);
#line 25 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	(*dest).pixbuf = _tmp3_;
#line 6561 "tracker-result-store.c"
}


static void tracker_result_store_result_node_destroy (TrackerResultStoreResultNode* self) {
#line 26 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	(*self).values = (_vala_array_free ((*self).values, (*self).values_length1, (GDestroyNotify) g_free), NULL);
#line 27 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_object_unref0 ((*self).pixbuf);
#line 6570 "tracker-result-store.c"
}


static TrackerResultStoreResultNode* tracker_result_store_result_node_dup (const TrackerResultStoreResultNode* self) {
	TrackerResultStoreResultNode* dup;
#line 25 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	dup = g_new0 (TrackerResultStoreResultNode, 1);
#line 25 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	tracker_result_store_result_node_copy (self, dup);
#line 25 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return dup;
#line 6582 "tracker-result-store.c"
}


static void tracker_result_store_result_node_free (TrackerResultStoreResultNode* self) {
#line 25 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	tracker_result_store_result_node_destroy (self);
#line 25 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_free (self);
#line 6591 "tracker-result-store.c"
}


static GType tracker_result_store_result_node_get_type (void) {
	static volatile gsize tracker_result_store_result_node_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_result_store_result_node_type_id__volatile)) {
		GType tracker_result_store_result_node_type_id;
		tracker_result_store_result_node_type_id = g_boxed_type_register_static ("TrackerResultStoreResultNode", (GBoxedCopyFunc) tracker_result_store_result_node_dup, (GBoxedFreeFunc) tracker_result_store_result_node_free);
		g_once_init_leave (&tracker_result_store_result_node_type_id__volatile, tracker_result_store_result_node_type_id);
	}
	return tracker_result_store_result_node_type_id__volatile;
}


static gchar** _vala_array_dup4 (gchar** self, int length) {
	gchar** result;
	int i;
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	result = g_new0 (gchar*, length + 1);
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	for (i = 0; i < length; i++) {
#line 6613 "tracker-result-store.c"
		gchar* _tmp0_ = NULL;
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		_tmp0_ = g_strdup (self[i]);
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		result[i] = _tmp0_;
#line 6619 "tracker-result-store.c"
	}
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return result;
#line 6623 "tracker-result-store.c"
}


static void tracker_result_store_query_data_copy (const TrackerResultStoreQueryData* self, TrackerResultStoreQueryData* dest) {
	TrackerQueryType _tmp0_ = 0;
	TrackerQueryMatch _tmp1_ = 0;
	gchar** _tmp2_ = NULL;
	gint _tmp2__length1 = 0;
	gchar** _tmp3_ = NULL;
	gint _tmp3__length1 = 0;
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp0_ = (*self).type;
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	(*dest).type = _tmp0_;
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp1_ = (*self).match;
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	(*dest).match = _tmp1_;
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp2_ = (*self).args;
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp2__length1 = (*self).args_length1;
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp3_ = (_tmp2_ != NULL) ? _vala_array_dup4 (_tmp2_, _tmp2__length1) : ((gpointer) _tmp2_);
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_tmp3__length1 = _tmp2__length1;
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	(*dest).args = (_vala_array_free ((*dest).args, (*dest).args_length1, (GDestroyNotify) g_free), NULL);
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	(*dest).args = _tmp3_;
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	(*dest).args_length1 = _tmp3__length1;
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	(*dest)._args_size_ = (*dest).args_length1;
#line 6658 "tracker-result-store.c"
}


static void tracker_result_store_query_data_destroy (TrackerResultStoreQueryData* self) {
#line 41 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	(*self).args = (_vala_array_free ((*self).args, (*self).args_length1, (GDestroyNotify) g_free), NULL);
#line 6665 "tracker-result-store.c"
}


static TrackerResultStoreQueryData* tracker_result_store_query_data_dup (const TrackerResultStoreQueryData* self) {
	TrackerResultStoreQueryData* dup;
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	dup = g_new0 (TrackerResultStoreQueryData, 1);
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	tracker_result_store_query_data_copy (self, dup);
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	return dup;
#line 6677 "tracker-result-store.c"
}


static void tracker_result_store_query_data_free (TrackerResultStoreQueryData* self) {
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	tracker_result_store_query_data_destroy (self);
#line 38 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_free (self);
#line 6686 "tracker-result-store.c"
}


static GType tracker_result_store_query_data_get_type (void) {
	static volatile gsize tracker_result_store_query_data_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_result_store_query_data_type_id__volatile)) {
		GType tracker_result_store_query_data_type_id;
		tracker_result_store_query_data_type_id = g_boxed_type_register_static ("TrackerResultStoreQueryData", (GBoxedCopyFunc) tracker_result_store_query_data_dup, (GBoxedFreeFunc) tracker_result_store_query_data_free);
		g_once_init_leave (&tracker_result_store_query_data_type_id__volatile, tracker_result_store_query_data_type_id);
	}
	return tracker_result_store_query_data_type_id__volatile;
}


static void tracker_result_store_class_init (TrackerResultStoreClass * klass) {
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	tracker_result_store_parent_class = g_type_class_peek_parent (klass);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_type_class_add_private (klass, sizeof (TrackerResultStorePrivate));
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_tracker_result_store_get_property;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_tracker_result_store_set_property;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	G_OBJECT_CLASS (klass)->finalize = tracker_result_store_finalize;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), TRACKER_RESULT_STORE_ICON_SIZE, g_param_spec_int ("icon-size", "icon-size", "icon-size", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), TRACKER_RESULT_STORE_LIMIT, g_param_spec_uint ("limit", "limit", "limit", 0, G_MAXUINT, 0U, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), TRACKER_RESULT_STORE_SEARCH_TERM, g_param_spec_string ("search-term", "search-term", "search-term", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), TRACKER_RESULT_STORE_SEARCH_TAGS, g_param_spec_boxed ("search-tags", "search-tags", "search-tags", G_TYPE_PTR_ARRAY, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), TRACKER_RESULT_STORE_ACTIVE, g_param_spec_boolean ("active", "active", "active", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	g_signal_new ("result_overflow", TRACKER_TYPE_RESULT_STORE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 6724 "tracker-result-store.c"
}


static void tracker_result_store_gtk_tree_model_interface_init (GtkTreeModelIface * iface) {
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	tracker_result_store_gtk_tree_model_parent_iface = g_type_interface_peek_parent (iface);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	iface->get_column_type = (GType (*)(GtkTreeModel*, gint)) tracker_result_store_real_get_column_type;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	iface->get_flags = (GtkTreeModelFlags (*)(GtkTreeModel*)) tracker_result_store_real_get_flags;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	iface->get_iter = (gboolean (*)(GtkTreeModel*, GtkTreeIter*, GtkTreePath*)) tracker_result_store_real_get_iter;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	iface->get_n_columns = (gint (*)(GtkTreeModel*)) tracker_result_store_real_get_n_columns;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	iface->get_path = (GtkTreePath* (*)(GtkTreeModel*, GtkTreeIter*)) tracker_result_store_real_get_path;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	iface->get_value = (void (*)(GtkTreeModel*, GtkTreeIter*, gint, GValue*)) tracker_result_store_real_get_value;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	iface->iter_children = (gboolean (*)(GtkTreeModel*, GtkTreeIter*, GtkTreeIter*)) tracker_result_store_real_iter_children;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	iface->iter_has_child = (gboolean (*)(GtkTreeModel*, GtkTreeIter*)) tracker_result_store_real_iter_has_child;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	iface->iter_n_children = (gint (*)(GtkTreeModel*, GtkTreeIter*)) tracker_result_store_real_iter_n_children;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	iface->iter_next = (gboolean (*)(GtkTreeModel*, GtkTreeIter*)) tracker_result_store_real_iter_next;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	iface->iter_nth_child = (gboolean (*)(GtkTreeModel*, GtkTreeIter*, GtkTreeIter*, gint)) tracker_result_store_real_iter_nth_child;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	iface->iter_parent = (gboolean (*)(GtkTreeModel*, GtkTreeIter*, GtkTreeIter*)) tracker_result_store_real_iter_parent;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	iface->ref_node = (void (*)(GtkTreeModel*, GtkTreeIter*)) tracker_result_store_real_ref_node;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	iface->unref_node = (void (*)(GtkTreeModel*, GtkTreeIter*)) tracker_result_store_real_unref_node;
#line 6759 "tracker-result-store.c"
}


static void tracker_result_store_instance_init (TrackerResultStore * self) {
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self->priv = TRACKER_RESULT_STORE_GET_PRIVATE (self);
#line 55 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self->priv->n_extra_columns = 2;
#line 6768 "tracker-result-store.c"
}


static void tracker_result_store_finalize (GObject* obj) {
	TrackerResultStore * self;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TRACKER_TYPE_RESULT_STORE, TrackerResultStore);
#line 23 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_object_unref0 (self->priv->cancellable);
#line 44 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	self->priv->queries = (_vala_TrackerResultStoreQueryData_array_free (self->priv->queries, self->priv->queries_length1), NULL);
#line 45 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_ptr_array_unref0 (self->priv->categories);
#line 52 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_ptr_array_unref0 (self->priv->running_operations);
#line 53 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_ptr_array_unref0 (self->priv->delayed_operations);
#line 322 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_free0 (self->priv->_search_term);
#line 348 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	_g_ptr_array_unref0 (self->priv->_search_tags);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	G_OBJECT_CLASS (tracker_result_store_parent_class)->finalize (obj);
#line 6792 "tracker-result-store.c"
}


GType tracker_result_store_get_type (void) {
	static volatile gsize tracker_result_store_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_result_store_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (TrackerResultStoreClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) tracker_result_store_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TrackerResultStore), 0, (GInstanceInitFunc) tracker_result_store_instance_init, NULL };
		static const GInterfaceInfo gtk_tree_model_info = { (GInterfaceInitFunc) tracker_result_store_gtk_tree_model_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType tracker_result_store_type_id;
		tracker_result_store_type_id = g_type_register_static (G_TYPE_OBJECT, "TrackerResultStore", &g_define_type_info, 0);
		g_type_add_interface_static (tracker_result_store_type_id, GTK_TYPE_TREE_MODEL, &gtk_tree_model_info);
		g_once_init_leave (&tracker_result_store_type_id__volatile, tracker_result_store_type_id);
	}
	return tracker_result_store_type_id__volatile;
}


static void _vala_tracker_result_store_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	TrackerResultStore * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, TRACKER_TYPE_RESULT_STORE, TrackerResultStore);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	switch (property_id) {
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		case TRACKER_RESULT_STORE_ICON_SIZE:
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_value_set_int (value, tracker_result_store_get_icon_size (self));
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		break;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		case TRACKER_RESULT_STORE_LIMIT:
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_value_set_uint (value, tracker_result_store_get_limit (self));
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		break;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		case TRACKER_RESULT_STORE_SEARCH_TERM:
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_value_set_string (value, tracker_result_store_get_search_term (self));
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		break;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		case TRACKER_RESULT_STORE_SEARCH_TAGS:
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_value_set_boxed (value, tracker_result_store_get_search_tags (self));
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		break;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		case TRACKER_RESULT_STORE_ACTIVE:
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		g_value_set_boolean (value, tracker_result_store_get_active (self));
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		break;
#line 6845 "tracker-result-store.c"
		default:
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		break;
#line 6851 "tracker-result-store.c"
	}
}


static void _vala_tracker_result_store_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	TrackerResultStore * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, TRACKER_TYPE_RESULT_STORE, TrackerResultStore);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
	switch (property_id) {
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		case TRACKER_RESULT_STORE_ICON_SIZE:
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		tracker_result_store_set_icon_size (self, g_value_get_int (value));
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		break;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		case TRACKER_RESULT_STORE_LIMIT:
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		tracker_result_store_set_limit (self, g_value_get_uint (value));
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		break;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		case TRACKER_RESULT_STORE_SEARCH_TERM:
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		tracker_result_store_set_search_term (self, g_value_get_string (value));
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		break;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		case TRACKER_RESULT_STORE_SEARCH_TAGS:
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		tracker_result_store_set_search_tags (self, g_value_get_boxed (value));
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		break;
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		case TRACKER_RESULT_STORE_ACTIVE:
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		tracker_result_store_set_active (self, g_value_get_boolean (value));
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		break;
#line 6891 "tracker-result-store.c"
		default:
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 22 "/home/carlos/Source/gnome/tracker/src/tracker-needle/tracker-result-store.vala"
		break;
#line 6897 "tracker-result-store.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);
}



