/* tracker-bus.c generated by valac 0.23.3.11-4a731, the Vala compiler
 * generated from tracker-bus.vala, do not modify */

/*
 * Copyright (C) 2010, Nokia <ivan.frade@nokia.com>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the
 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA  02110-1301, USA.
 */

#include <glib.h>
#include <glib-object.h>
#include "libtracker-sparql/tracker-sparql.h"
#include <gio/gio.h>
#include "libtracker-common/tracker-common.h"
#include <gio/gunixinputstream.h>
#include <gio/gunixoutputstream.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <gio/gunixfdlist.h>


#define TRACKER_BUS_TYPE_CONNECTION (tracker_bus_connection_get_type ())
#define TRACKER_BUS_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_BUS_TYPE_CONNECTION, TrackerBusConnection))
#define TRACKER_BUS_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_BUS_TYPE_CONNECTION, TrackerBusConnectionClass))
#define TRACKER_BUS_IS_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_BUS_TYPE_CONNECTION))
#define TRACKER_BUS_IS_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_BUS_TYPE_CONNECTION))
#define TRACKER_BUS_CONNECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_BUS_TYPE_CONNECTION, TrackerBusConnectionClass))

typedef struct _TrackerBusConnection TrackerBusConnection;
typedef struct _TrackerBusConnectionClass TrackerBusConnectionClass;
typedef struct _TrackerBusConnectionPrivate TrackerBusConnectionPrivate;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define _g_variant_unref0(var) ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))
typedef struct _Block1Data Block1Data;
#define _g_main_loop_unref0(var) ((var == NULL) ? NULL : (var = (g_main_loop_unref (var), NULL)))
#define _g_main_context_unref0(var) ((var == NULL) ? NULL : (var = (g_main_context_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
typedef struct _Block2Data Block2Data;

#define TRACKER_BUS_TYPE_FD_CURSOR (tracker_bus_fd_cursor_get_type ())
#define TRACKER_BUS_FD_CURSOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_BUS_TYPE_FD_CURSOR, TrackerBusFDCursor))
#define TRACKER_BUS_FD_CURSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_BUS_TYPE_FD_CURSOR, TrackerBusFDCursorClass))
#define TRACKER_BUS_IS_FD_CURSOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_BUS_TYPE_FD_CURSOR))
#define TRACKER_BUS_IS_FD_CURSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_BUS_TYPE_FD_CURSOR))
#define TRACKER_BUS_FD_CURSOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_BUS_TYPE_FD_CURSOR, TrackerBusFDCursorClass))

typedef struct _TrackerBusFDCursor TrackerBusFDCursor;
typedef struct _TrackerBusFDCursorClass TrackerBusFDCursorClass;
typedef struct _TrackerBusConnectionQueryAsyncData TrackerBusConnectionQueryAsyncData;
typedef struct _Block3Data Block3Data;
typedef struct _Block4Data Block4Data;
typedef struct _TrackerBusConnectionUpdateAsyncData TrackerBusConnectionUpdateAsyncData;
#define _g_ptr_array_unref0(var) ((var == NULL) ? NULL : (var = (g_ptr_array_unref (var), NULL)))
typedef struct _Block5Data Block5Data;
#define _g_variant_iter_free0(var) ((var == NULL) ? NULL : (var = (g_variant_iter_free (var), NULL)))
typedef struct _TrackerBusConnectionUpdateArrayAsyncData TrackerBusConnectionUpdateArrayAsyncData;
typedef struct _Block6Data Block6Data;
typedef struct _Block7Data Block7Data;
typedef struct _TrackerBusConnectionUpdateBlankAsyncData TrackerBusConnectionUpdateBlankAsyncData;
typedef struct _TrackerBusConnectionLoadAsyncData TrackerBusConnectionLoadAsyncData;

#define TRACKER_BUS_TYPE_ARRAY_CURSOR (tracker_bus_array_cursor_get_type ())
#define TRACKER_BUS_ARRAY_CURSOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_BUS_TYPE_ARRAY_CURSOR, TrackerBusArrayCursor))
#define TRACKER_BUS_ARRAY_CURSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_BUS_TYPE_ARRAY_CURSOR, TrackerBusArrayCursorClass))
#define TRACKER_BUS_IS_ARRAY_CURSOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_BUS_TYPE_ARRAY_CURSOR))
#define TRACKER_BUS_IS_ARRAY_CURSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_BUS_TYPE_ARRAY_CURSOR))
#define TRACKER_BUS_ARRAY_CURSOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_BUS_TYPE_ARRAY_CURSOR, TrackerBusArrayCursorClass))

typedef struct _TrackerBusArrayCursor TrackerBusArrayCursor;
typedef struct _TrackerBusArrayCursorClass TrackerBusArrayCursorClass;
typedef struct _TrackerBusConnectionStatisticsAsyncData TrackerBusConnectionStatisticsAsyncData;

struct _TrackerBusConnection {
	TrackerSparqlConnection parent_instance;
	TrackerBusConnectionPrivate * priv;
};

struct _TrackerBusConnectionClass {
	TrackerSparqlConnectionClass parent_class;
};

struct _TrackerBusConnectionPrivate {
	GDBusConnection* bus;
};

struct _Block1Data {
	int _ref_count_;
	TrackerBusConnection* self;
	GMainLoop* loop;
	GAsyncResult* async_res;
};

struct _Block2Data {
	int _ref_count_;
	TrackerBusConnection* self;
	GAsyncResult* dbus_res;
	gboolean received_result;
	gpointer _async_data_;
};

struct _TrackerBusConnectionQueryAsyncData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	TrackerBusConnection* self;
	gchar* sparql;
	GCancellable* cancellable;
	TrackerSparqlCursor* result;
	Block2Data* _data2_;
	GUnixInputStream* input;
	GUnixOutputStream* output;
	GUnixInputStream* _tmp0_;
	GUnixOutputStream* _tmp1_;
	const gchar* _tmp2_;
	GUnixOutputStream* _tmp3_;
	GCancellable* _tmp4_;
	GMemoryOutputStream* mem_stream;
	GMemoryOutputStream* _tmp5_;
	GMemoryOutputStream* _tmp6_;
	GUnixInputStream* _tmp7_;
	GCancellable* _tmp8_;
	GAsyncResult* _tmp9_;
	GDBusMessage* reply;
	GDBusConnection* _tmp10_;
	GAsyncResult* _tmp11_;
	GDBusMessage* _tmp12_;
	GDBusMessage* _tmp13_;
	gchar** variable_names;
	GDBusMessage* _tmp14_;
	GVariant* _tmp15_;
	GVariant* _tmp16_;
	GVariant* _tmp17_;
	gchar** _tmp18_;
	gint _tmp18__length1;
	gchar** _tmp22_;
	gint _tmp22__length1;
	gint variable_names_length1;
	gint _variable_names_size_;
	GMemoryOutputStream* _tmp23_;
	GMemoryOutputStream* _tmp24_;
	guint8* _tmp25_;
	GMemoryOutputStream* _tmp26_;
	gulong _tmp27_;
	gulong _tmp28_;
	gchar** _tmp29_;
	gint _tmp29__length1;
	TrackerBusFDCursor* _tmp30_;
	GError * _inner_error_;
};

struct _Block3Data {
	int _ref_count_;
	TrackerBusConnection* self;
	GMainLoop* loop;
	GAsyncResult* async_res;
};

struct _Block4Data {
	int _ref_count_;
	TrackerBusConnection* self;
	GAsyncResult* dbus_res;
	gboolean sent_update;
	gpointer _async_data_;
};

struct _TrackerBusConnectionUpdateAsyncData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	TrackerBusConnection* self;
	gchar* sparql;
	gint priority;
	GCancellable* cancellable;
	Block4Data* _data4_;
	GUnixInputStream* input;
	GUnixOutputStream* output;
	GUnixInputStream* _tmp0_;
	GUnixOutputStream* _tmp1_;
	const gchar* _tmp2_;
	gint _tmp3_;
	GUnixInputStream* _tmp4_;
	GCancellable* _tmp5_;
	GDataOutputStream* data_stream;
	GUnixOutputStream* _tmp6_;
	GDataOutputStream* _tmp7_;
	GDataOutputStream* _tmp8_;
	GDataOutputStream* _tmp9_;
	const gchar* _tmp10_;
	gint _tmp11_;
	gint _tmp12_;
	GDataOutputStream* _tmp13_;
	const gchar* _tmp14_;
	GAsyncResult* _tmp15_;
	GDBusMessage* reply;
	GDBusConnection* _tmp16_;
	GAsyncResult* _tmp17_;
	GDBusMessage* _tmp18_;
	GDBusMessage* _tmp19_;
	GError * _inner_error_;
};

struct _Block5Data {
	int _ref_count_;
	TrackerBusConnection* self;
	GAsyncResult* dbus_res;
	gboolean sent_update;
	gpointer _async_data_;
};

struct _TrackerBusConnectionUpdateArrayAsyncData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	TrackerBusConnection* self;
	gchar** sparql;
	gint sparql_length1;
	gint priority;
	GCancellable* cancellable;
	GPtrArray* result;
	Block5Data* _data5_;
	GUnixInputStream* input;
	GUnixOutputStream* output;
	GUnixInputStream* _tmp0_;
	GUnixOutputStream* _tmp1_;
	GUnixInputStream* _tmp2_;
	GCancellable* _tmp3_;
	GDataOutputStream* data_stream;
	GUnixOutputStream* _tmp4_;
	GDataOutputStream* _tmp5_;
	GDataOutputStream* _tmp6_;
	GDataOutputStream* _tmp7_;
	gchar** _tmp8_;
	gint _tmp8__length1;
	gint i;
	gboolean _tmp9_;
	gint _tmp10_;
	gint _tmp11_;
	gchar** _tmp12_;
	gint _tmp12__length1;
	GDataOutputStream* _tmp13_;
	gchar** _tmp14_;
	gint _tmp14__length1;
	gint _tmp15_;
	const gchar* _tmp16_;
	gint _tmp17_;
	gint _tmp18_;
	GDataOutputStream* _tmp19_;
	gchar** _tmp20_;
	gint _tmp20__length1;
	gint _tmp21_;
	const gchar* _tmp22_;
	GAsyncResult* _tmp23_;
	GDBusMessage* reply;
	GDBusConnection* _tmp24_;
	GAsyncResult* _tmp25_;
	GDBusMessage* _tmp26_;
	GDBusMessage* _tmp27_;
	GPtrArray* _result_;
	GPtrArray* _tmp28_;
	GVariant* resultv;
	GDBusMessage* _tmp29_;
	GVariant* _tmp30_;
	GVariant* _tmp31_;
	GVariantIter* iter;
	GVariant* _tmp32_;
	GVariantIter* _tmp33_;
	gchar* code;
	gchar* message;
	GVariantIter* _tmp34_;
	gboolean _tmp35_;
	GVariantIter* _tmp36_;
	gboolean _tmp37_;
	gboolean _tmp38_;
	const gchar* _tmp39_;
	const gchar* _tmp40_;
	GPtrArray* _tmp41_;
	const gchar* _tmp42_;
	GError* _tmp43_;
	GPtrArray* _tmp44_;
	GError * _inner_error_;
};

struct _Block6Data {
	int _ref_count_;
	TrackerBusConnection* self;
	GMainLoop* loop;
	GAsyncResult* async_res;
};

struct _Block7Data {
	int _ref_count_;
	TrackerBusConnection* self;
	GAsyncResult* dbus_res;
	gboolean sent_update;
	gpointer _async_data_;
};

struct _TrackerBusConnectionUpdateBlankAsyncData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	TrackerBusConnection* self;
	gchar* sparql;
	gint priority;
	GCancellable* cancellable;
	GVariant* result;
	Block7Data* _data7_;
	GUnixInputStream* input;
	GUnixOutputStream* output;
	GUnixInputStream* _tmp0_;
	GUnixOutputStream* _tmp1_;
	GUnixInputStream* _tmp2_;
	GCancellable* _tmp3_;
	GDataOutputStream* data_stream;
	GUnixOutputStream* _tmp4_;
	GDataOutputStream* _tmp5_;
	GDataOutputStream* _tmp6_;
	GDataOutputStream* _tmp7_;
	const gchar* _tmp8_;
	gint _tmp9_;
	gint _tmp10_;
	GDataOutputStream* _tmp11_;
	const gchar* _tmp12_;
	GAsyncResult* _tmp13_;
	GDBusMessage* reply;
	GDBusConnection* _tmp14_;
	GAsyncResult* _tmp15_;
	GDBusMessage* _tmp16_;
	GDBusMessage* _tmp17_;
	GDBusMessage* _tmp18_;
	GVariant* _tmp19_;
	GVariant* _tmp20_;
	GError * _inner_error_;
};

struct _TrackerBusConnectionLoadAsyncData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	TrackerBusConnection* self;
	GFile* file;
	GCancellable* cancellable;
	GDBusMessage* message;
	GDBusMessage* _tmp0_;
	GDBusMessage* _tmp1_;
	GFile* _tmp2_;
	gchar* _tmp3_;
	gchar* _tmp4_;
	GVariant* _tmp5_;
	GVariant* _tmp6_;
	GDBusMessage* reply;
	GDBusConnection* _tmp7_;
	GDBusMessage* _tmp8_;
	gint _tmp9_;
	GCancellable* _tmp10_;
	GDBusMessage* _tmp11_;
	GDBusMessage* _tmp12_;
	GError * _inner_error_;
};

struct _TrackerBusConnectionStatisticsAsyncData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	TrackerBusConnection* self;
	GCancellable* cancellable;
	TrackerSparqlCursor* result;
	GDBusMessage* message;
	GDBusMessage* _tmp0_;
	GDBusMessage* reply;
	GDBusConnection* _tmp1_;
	GDBusMessage* _tmp2_;
	gint _tmp3_;
	GCancellable* _tmp4_;
	GDBusMessage* _tmp5_;
	GDBusMessage* _tmp6_;
	gchar** results;
	GDBusMessage* _tmp7_;
	GVariant* _tmp8_;
	GVariant* _tmp9_;
	GVariant* _tmp10_;
	gchar** _tmp11_;
	gint _tmp11__length1;
	gint _tmp11__length2;
	gchar** _tmp17_;
	gint _tmp17__length1;
	gint _tmp17__length2;
	gint results_length1;
	gint results_length2;
	TrackerSparqlValueType* types;
	TrackerSparqlValueType* _tmp18_;
	gint types_length1;
	gint _types_size_;
	gchar** var_names;
	gchar** _tmp19_;
	gint var_names_length1;
	gint _var_names_size_;
	gchar** _tmp20_;
	gint _tmp20__length1;
	gchar* _tmp21_;
	gchar* _tmp22_;
	gchar** _tmp23_;
	gint _tmp23__length1;
	gchar* _tmp24_;
	gchar* _tmp25_;
	TrackerSparqlValueType* _tmp26_;
	gint _tmp26__length1;
	TrackerSparqlValueType _tmp27_;
	TrackerSparqlValueType* _tmp28_;
	gint _tmp28__length1;
	TrackerSparqlValueType _tmp29_;
	gchar** _tmp30_;
	gint _tmp30__length1;
	gint _tmp30__length2;
	gchar** _tmp31_;
	gint _tmp31__length1;
	gint _tmp31__length2;
	gint _tmp32_;
	gchar** _tmp33_;
	gint _tmp33__length1;
	gint _tmp33__length2;
	gint _tmp34_;
	gchar** _tmp35_;
	gint _tmp35__length1;
	TrackerSparqlValueType* _tmp36_;
	gint _tmp36__length1;
	TrackerBusArrayCursor* _tmp37_;
	GError * _inner_error_;
};


static gpointer tracker_bus_connection_parent_class = NULL;

GType tracker_bus_connection_get_type (void) G_GNUC_CONST;
#define TRACKER_BUS_CONNECTION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TRACKER_BUS_TYPE_CONNECTION, TrackerBusConnectionPrivate))
enum  {
	TRACKER_BUS_CONNECTION_DUMMY_PROPERTY
};
TrackerBusConnection* tracker_bus_connection_new (GError** error);
TrackerBusConnection* tracker_bus_connection_construct (GType object_type, GError** error);
static void tracker_bus_connection_pipe (TrackerBusConnection* self, GUnixInputStream** input, GUnixOutputStream** output, GError** error);
static void tracker_bus_connection_handle_error_reply (TrackerBusConnection* self, GDBusMessage* message, GError** error);
static void tracker_bus_connection_send_query (TrackerBusConnection* self, const gchar* sparql, GUnixOutputStream* output, GCancellable* cancellable, GAsyncReadyCallback callback, void* callback_target, GError** error);
static TrackerSparqlCursor* tracker_bus_connection_real_query (TrackerSparqlConnection* base, const gchar* sparql, GCancellable* cancellable, GError** error);
static Block1Data* block1_data_ref (Block1Data* _data1_);
static void block1_data_unref (void * _userdata_);
static void __lambda4_ (Block1Data* _data1_, GObject* o, GAsyncResult* res);
static void ___lambda4__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void tracker_bus_connection_real_query_async_data_free (gpointer _data);
static void tracker_bus_connection_real_query_async (TrackerSparqlConnection* base, const gchar* sparql, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean tracker_bus_connection_real_query_async_co (TrackerBusConnectionQueryAsyncData* _data_);
static Block2Data* block2_data_ref (Block2Data* _data2_);
static void block2_data_unref (void * _userdata_);
static void __lambda3_ (Block2Data* _data2_, GObject* o, GAsyncResult* res);
static void ___lambda3__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void* _g_realloc_grealloc_func (void* data, gsize size);
static void _g_free_gdestroy_notify (void* data);
static void tracker_bus_connection_query_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static gchar** _variant_get1 (GVariant* value, int* result_length1);
TrackerBusFDCursor* tracker_bus_fd_cursor_new (gchar* buffer, gulong buffer_size, gchar** variable_names, int variable_names_length1);
TrackerBusFDCursor* tracker_bus_fd_cursor_construct (GType object_type, gchar* buffer, gulong buffer_size, gchar** variable_names, int variable_names_length1);
GType tracker_bus_fd_cursor_get_type (void) G_GNUC_CONST;
static void tracker_bus_connection_send_update (TrackerBusConnection* self, const gchar* method, GUnixInputStream* input, GCancellable* cancellable, GAsyncReadyCallback callback, void* callback_target, GError** error);
static void tracker_bus_connection_real_update (TrackerSparqlConnection* base, const gchar* sparql, gint priority, GCancellable* cancellable, GError** error);
static Block3Data* block3_data_ref (Block3Data* _data3_);
static void block3_data_unref (void * _userdata_);
static void __lambda6_ (Block3Data* _data3_, GObject* o, GAsyncResult* res);
static void ___lambda6__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void tracker_bus_connection_real_update_async_data_free (gpointer _data);
static void tracker_bus_connection_real_update_async (TrackerSparqlConnection* base, const gchar* sparql, gint priority, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean tracker_bus_connection_real_update_async_co (TrackerBusConnectionUpdateAsyncData* _data_);
static Block4Data* block4_data_ref (Block4Data* _data4_);
static void block4_data_unref (void * _userdata_);
static void __lambda5_ (Block4Data* _data4_, GObject* o, GAsyncResult* res);
static void ___lambda5__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void tracker_bus_connection_real_update_array_async_data_free (gpointer _data);
static void tracker_bus_connection_real_update_array_async (TrackerSparqlConnection* base, gchar** sparql, int sparql_length1, gint priority, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean tracker_bus_connection_real_update_array_async_co (TrackerBusConnectionUpdateArrayAsyncData* _data_);
static Block5Data* block5_data_ref (Block5Data* _data5_);
static void block5_data_unref (void * _userdata_);
static void __lambda7_ (Block5Data* _data5_, GObject* o, GAsyncResult* res);
static void ___lambda7__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void _g_error_free0_ (gpointer var);
static GVariant* tracker_bus_connection_real_update_blank (TrackerSparqlConnection* base, const gchar* sparql, gint priority, GCancellable* cancellable, GError** error);
static Block6Data* block6_data_ref (Block6Data* _data6_);
static void block6_data_unref (void * _userdata_);
static void __lambda9_ (Block6Data* _data6_, GObject* o, GAsyncResult* res);
static void ___lambda9__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void tracker_bus_connection_real_update_blank_async_data_free (gpointer _data);
static void tracker_bus_connection_real_update_blank_async (TrackerSparqlConnection* base, const gchar* sparql, gint priority, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean tracker_bus_connection_real_update_blank_async_co (TrackerBusConnectionUpdateBlankAsyncData* _data_);
static Block7Data* block7_data_ref (Block7Data* _data7_);
static void block7_data_unref (void * _userdata_);
static void __lambda8_ (Block7Data* _data7_, GObject* o, GAsyncResult* res);
static void ___lambda8__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void tracker_bus_connection_real_load (TrackerSparqlConnection* base, GFile* file, GCancellable* cancellable, GError** error);
static void tracker_bus_connection_real_load_async_data_free (gpointer _data);
static void tracker_bus_connection_real_load_async (TrackerSparqlConnection* base, GFile* file, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean tracker_bus_connection_real_load_async_co (TrackerBusConnectionLoadAsyncData* _data_);
static void tracker_bus_connection_load_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static TrackerSparqlCursor* tracker_bus_connection_real_statistics (TrackerSparqlConnection* base, GCancellable* cancellable, GError** error);
static gchar** _variant_get2 (GVariant* value, int* result_length1, int* result_length2);
TrackerBusArrayCursor* tracker_bus_array_cursor_new (gchar** results, int results_length1, int results_length2, gint rows, gint cols, gchar** var_names, int var_names_length1, TrackerSparqlValueType* types, int types_length1);
TrackerBusArrayCursor* tracker_bus_array_cursor_construct (GType object_type, gchar** results, int results_length1, int results_length2, gint rows, gint cols, gchar** var_names, int var_names_length1, TrackerSparqlValueType* types, int types_length1);
GType tracker_bus_array_cursor_get_type (void) G_GNUC_CONST;
static void tracker_bus_connection_real_statistics_async_data_free (gpointer _data);
static void tracker_bus_connection_real_statistics_async (TrackerSparqlConnection* base, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
static gboolean tracker_bus_connection_real_statistics_async_co (TrackerBusConnectionStatisticsAsyncData* _data_);
static void tracker_bus_connection_statistics_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static gchar** _variant_get3 (GVariant* value, int* result_length1, int* result_length2);
static void tracker_bus_connection_finalize (GObject* obj);
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);


TrackerBusConnection* tracker_bus_connection_construct (GType object_type, GError** error) {
	TrackerBusConnection * self = NULL;
	GDBusConnection* _tmp0_ = NULL;
	GBusType _tmp1_ = 0;
	GDBusConnection* _tmp2_ = NULL;
	GDBusConnection* _tmp3_ = NULL;
	GError* _tmp4_ = NULL;
	GError* _tmp5_ = NULL;
	GError * _inner_error_ = NULL;
#line 23 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	self = (TrackerBusConnection*) tracker_sparql_connection_construct (object_type);
#line 24 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp1_ = tracker_ipc_bus ();
#line 24 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp2_ = g_bus_get_sync (_tmp1_, NULL, &_inner_error_);
#line 24 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp0_ = _tmp2_;
#line 24 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_inner_error_ != NULL) {
#line 24 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == G_IO_ERROR)) || (_inner_error_->domain == G_DBUS_ERROR)) {
#line 24 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_propagate_error (error, _inner_error_);
#line 24 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (self);
#line 24 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return NULL;
#line 565 "tracker-bus.c"
		} else {
#line 24 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 24 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_inner_error_);
#line 24 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return NULL;
#line 573 "tracker-bus.c"
		}
	}
#line 24 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp3_ = _tmp0_;
#line 24 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp0_ = NULL;
#line 24 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (self->priv->bus);
#line 24 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	self->priv->bus = _tmp3_;
#line 27 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp4_ = g_error_new_literal (TRACKER_SPARQL_ERROR, TRACKER_SPARQL_ERROR_INTERNAL, "");
#line 27 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp5_ = _tmp4_;
#line 27 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_error_free0 (_tmp5_);
#line 23 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_tmp0_);
#line 23 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return self;
#line 594 "tracker-bus.c"
}


TrackerBusConnection* tracker_bus_connection_new (GError** error) {
#line 23 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return tracker_bus_connection_construct (TRACKER_BUS_TYPE_CONNECTION, error);
#line 601 "tracker-bus.c"
}


static void tracker_bus_connection_pipe (TrackerBusConnection* self, GUnixInputStream** input, GUnixOutputStream** output, GError** error) {
	GUnixInputStream* _vala_input = NULL;
	GUnixOutputStream* _vala_output = NULL;
	gint pipefd[2] = {0};
	gint _tmp0_ = 0;
	gint _tmp2_ = 0;
	GUnixInputStream* _tmp3_ = NULL;
	gint _tmp4_ = 0;
	GUnixOutputStream* _tmp5_ = NULL;
	GError * _inner_error_ = NULL;
#line 30 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_return_if_fail (self != NULL);
#line 32 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp0_ = pipe (pipefd);
#line 32 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_tmp0_ < 0) {
#line 621 "tracker-bus.c"
		GError* _tmp1_ = NULL;
#line 33 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_tmp1_ = g_error_new_literal (G_IO_ERROR, G_IO_ERROR_FAILED, "Pipe creation failed");
#line 33 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_inner_error_ = _tmp1_;
#line 33 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (_inner_error_->domain == G_IO_ERROR) {
#line 33 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_propagate_error (error, _inner_error_);
#line 33 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return;
#line 633 "tracker-bus.c"
		} else {
#line 33 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 33 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_inner_error_);
#line 33 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return;
#line 641 "tracker-bus.c"
		}
	}
#line 35 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp2_ = pipefd[0];
#line 35 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp3_ = (GUnixInputStream*) g_unix_input_stream_new (_tmp2_, TRUE);
#line 35 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_vala_input);
#line 35 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_vala_input = _tmp3_;
#line 36 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp4_ = pipefd[1];
#line 36 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp5_ = (GUnixOutputStream*) g_unix_output_stream_new (_tmp4_, TRUE);
#line 36 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_vala_output);
#line 36 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_vala_output = _tmp5_;
#line 30 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (input) {
#line 30 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		*input = _vala_input;
#line 664 "tracker-bus.c"
	} else {
#line 30 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_g_object_unref0 (_vala_input);
#line 668 "tracker-bus.c"
	}
#line 30 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (output) {
#line 30 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		*output = _vala_output;
#line 674 "tracker-bus.c"
	} else {
#line 30 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_g_object_unref0 (_vala_output);
#line 678 "tracker-bus.c"
	}
}


static gpointer _g_error_copy0 (gpointer self) {
#line 43 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return self ? g_error_copy (self) : NULL;
#line 686 "tracker-bus.c"
}


static void tracker_bus_connection_handle_error_reply (TrackerBusConnection* self, GDBusMessage* message, GError** error) {
	GError * _inner_error_ = NULL;
#line 39 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_return_if_fail (self != NULL);
#line 39 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_return_if_fail (message != NULL);
#line 696 "tracker-bus.c"
	{
		GDBusMessage* _tmp0_ = NULL;
#line 41 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_tmp0_ = message;
#line 41 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_dbus_message_to_gerror (_tmp0_, &_inner_error_);
#line 41 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (_inner_error_ != NULL) {
#line 41 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_inner_error_->domain == G_IO_ERROR) {
#line 707 "tracker-bus.c"
				goto __catch0_g_io_error;
			}
#line 41 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_inner_error_->domain == TRACKER_SPARQL_ERROR) {
#line 712 "tracker-bus.c"
				goto __catch0_tracker_sparql_error;
			}
#line 41 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_inner_error_->domain == G_DBUS_ERROR) {
#line 717 "tracker-bus.c"
				goto __catch0_g_dbus_error;
			}
			goto __catch0_g_error;
		}
	}
	goto __finally0;
	__catch0_g_io_error:
	{
		GError* e_io = NULL;
		GError* _tmp1_ = NULL;
		GError* _tmp2_ = NULL;
#line 40 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		e_io = _inner_error_;
#line 40 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_inner_error_ = NULL;
#line 43 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_tmp1_ = e_io;
#line 43 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_tmp2_ = _g_error_copy0 (_tmp1_);
#line 43 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_inner_error_ = _tmp2_;
#line 43 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_g_error_free0 (e_io);
#line 741 "tracker-bus.c"
		goto __finally0;
	}
	goto __finally0;
	__catch0_tracker_sparql_error:
	{
		GError* e_sparql = NULL;
		GError* _tmp3_ = NULL;
		GError* _tmp4_ = NULL;
#line 40 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		e_sparql = _inner_error_;
#line 40 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_inner_error_ = NULL;
#line 45 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_tmp3_ = e_sparql;
#line 45 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_tmp4_ = _g_error_copy0 (_tmp3_);
#line 45 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_inner_error_ = _tmp4_;
#line 45 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_g_error_free0 (e_sparql);
#line 762 "tracker-bus.c"
		goto __finally0;
	}
	goto __finally0;
	__catch0_g_dbus_error:
	{
		GError* e_dbus = NULL;
		GError* _tmp5_ = NULL;
		GError* _tmp6_ = NULL;
#line 40 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		e_dbus = _inner_error_;
#line 40 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_inner_error_ = NULL;
#line 47 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_tmp5_ = e_dbus;
#line 47 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_tmp6_ = _g_error_copy0 (_tmp5_);
#line 47 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_inner_error_ = _tmp6_;
#line 47 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_g_error_free0 (e_dbus);
#line 783 "tracker-bus.c"
		goto __finally0;
	}
	goto __finally0;
	__catch0_g_error:
	{
		GError* e = NULL;
		GError* _tmp7_ = NULL;
		const gchar* _tmp8_ = NULL;
		GError* _tmp9_ = NULL;
#line 40 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		e = _inner_error_;
#line 40 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_inner_error_ = NULL;
#line 49 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_tmp7_ = e;
#line 49 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_tmp8_ = _tmp7_->message;
#line 49 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_tmp9_ = g_error_new_literal (G_IO_ERROR, G_IO_ERROR_FAILED, _tmp8_);
#line 49 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_inner_error_ = _tmp9_;
#line 49 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_g_error_free0 (e);
#line 807 "tracker-bus.c"
		goto __finally0;
	}
	__finally0:
#line 40 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_inner_error_ != NULL) {
#line 40 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == G_IO_ERROR)) || (_inner_error_->domain == G_DBUS_ERROR)) {
#line 40 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_propagate_error (error, _inner_error_);
#line 40 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return;
#line 819 "tracker-bus.c"
		} else {
#line 40 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 40 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_inner_error_);
#line 40 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return;
#line 827 "tracker-bus.c"
		}
	}
}


static void tracker_bus_connection_send_query (TrackerBusConnection* self, const gchar* sparql, GUnixOutputStream* output, GCancellable* cancellable, GAsyncReadyCallback callback, void* callback_target, GError** error) {
	GDBusMessage* message = NULL;
	GDBusMessage* _tmp0_ = NULL;
	GUnixFDList* fd_list = NULL;
	GUnixFDList* _tmp1_ = NULL;
	gint _tmp2_ = 0;
	GUnixOutputStream* _tmp3_ = NULL;
	gint _tmp4_ = 0;
	gint _tmp5_ = 0;
	gint _tmp6_ = 0;
	const gchar* _tmp7_ = NULL;
	GVariant* _tmp8_ = NULL;
	GVariant* _tmp9_ = NULL;
	GDBusConnection* _tmp10_ = NULL;
	gint _tmp11_ = 0;
	GCancellable* _tmp12_ = NULL;
	GAsyncReadyCallback _tmp13_ = NULL;
	void* _tmp13__target = NULL;
	GError * _inner_error_ = NULL;
#line 53 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_return_if_fail (self != NULL);
#line 53 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_return_if_fail (sparql != NULL);
#line 53 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_return_if_fail (output != NULL);
#line 54 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp0_ = g_dbus_message_new_method_call (TRACKER_DBUS_SERVICE, TRACKER_DBUS_OBJECT_STEROIDS, TRACKER_DBUS_INTERFACE_STEROIDS, "Query");
#line 54 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	message = _tmp0_;
#line 55 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp1_ = g_unix_fd_list_new ();
#line 55 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	fd_list = _tmp1_;
#line 56 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp3_ = output;
#line 56 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp4_ = g_unix_output_stream_get_fd (_tmp3_);
#line 56 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp5_ = _tmp4_;
#line 56 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp6_ = g_unix_fd_list_append (fd_list, _tmp5_, &_inner_error_);
#line 56 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp2_ = _tmp6_;
#line 56 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_inner_error_ != NULL) {
#line 56 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (_inner_error_->domain == G_IO_ERROR) {
#line 56 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_propagate_error (error, _inner_error_);
#line 56 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (fd_list);
#line 56 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (message);
#line 56 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return;
#line 888 "tracker-bus.c"
		} else {
#line 56 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (fd_list);
#line 56 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (message);
#line 56 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 56 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_inner_error_);
#line 56 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return;
#line 900 "tracker-bus.c"
		}
	}
#line 56 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp7_ = sparql;
#line 56 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp8_ = g_variant_new ("(sh)", _tmp7_, _tmp2_, NULL);
#line 56 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_variant_ref_sink (_tmp8_);
#line 56 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp9_ = _tmp8_;
#line 56 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_dbus_message_set_body (message, _tmp9_);
#line 56 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_variant_unref0 (_tmp9_);
#line 57 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_dbus_message_set_unix_fd_list (message, fd_list);
#line 59 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp10_ = self->priv->bus;
#line 59 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp11_ = G_MAXINT;
#line 59 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp12_ = cancellable;
#line 59 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp13_ = callback;
#line 59 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp13__target = callback_target;
#line 59 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_dbus_connection_send_message_with_reply (_tmp10_, message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, _tmp11_, NULL, _tmp12_, _tmp13_, _tmp13__target);
#line 53 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (fd_list);
#line 53 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (message);
#line 933 "tracker-bus.c"
}


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


static void block1_data_unref (void * _userdata_) {
	Block1Data* _data1_;
	_data1_ = (Block1Data*) _userdata_;
#line 62 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (g_atomic_int_dec_and_test (&_data1_->_ref_count_)) {
#line 951 "tracker-bus.c"
		TrackerBusConnection* self;
#line 62 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		self = _data1_->self;
#line 62 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_g_object_unref0 (_data1_->async_res);
#line 62 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_g_main_loop_unref0 (_data1_->loop);
#line 62 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_g_object_unref0 (self);
#line 62 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_slice_free (Block1Data, _data1_);
#line 963 "tracker-bus.c"
	}
}


static gpointer _g_object_ref0 (gpointer self) {
#line 69 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return self ? g_object_ref (self) : NULL;
#line 971 "tracker-bus.c"
}


static void __lambda4_ (Block1Data* _data1_, GObject* o, GAsyncResult* res) {
	TrackerBusConnection* self;
	GAsyncResult* _tmp0_ = NULL;
	GAsyncResult* _tmp1_ = NULL;
#line 68 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	self = _data1_->self;
#line 68 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_return_if_fail (res != NULL);
#line 69 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp0_ = res;
#line 69 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 69 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data1_->async_res);
#line 69 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data1_->async_res = _tmp1_;
#line 70 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_main_loop_quit (_data1_->loop);
#line 993 "tracker-bus.c"
}


static void ___lambda4__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 68 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	__lambda4_ (self, source_object, res);
#line 68 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	block1_data_unref (self);
#line 1002 "tracker-bus.c"
}


static TrackerSparqlCursor* tracker_bus_connection_real_query (TrackerSparqlConnection* base, const gchar* sparql, GCancellable* cancellable, GError** error) {
	TrackerBusConnection * self;
	TrackerSparqlCursor* result = NULL;
	Block1Data* _data1_;
	GMainContext* context = NULL;
	GMainContext* _tmp0_ = NULL;
	GMainLoop* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	GCancellable* _tmp3_ = NULL;
	TrackerSparqlCursor* _tmp4_ = NULL;
	TrackerSparqlCursor* _tmp5_ = NULL;
	TrackerSparqlCursor* _tmp6_ = NULL;
	GError * _inner_error_ = NULL;
#line 62 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	self = (TrackerBusConnection*) base;
#line 62 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_return_val_if_fail (sparql != NULL, NULL);
#line 62 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data1_ = g_slice_new0 (Block1Data);
#line 62 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data1_->_ref_count_ = 1;
#line 62 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data1_->self = g_object_ref (self);
#line 64 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp0_ = g_main_context_new ();
#line 64 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	context = _tmp0_;
#line 65 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp1_ = g_main_loop_new (context, FALSE);
#line 65 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data1_->loop = _tmp1_;
#line 66 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_main_context_push_thread_default (context);
#line 67 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data1_->async_res = NULL;
#line 68 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp2_ = sparql;
#line 68 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp3_ = cancellable;
#line 68 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_sparql_connection_query_async ((TrackerSparqlConnection*) self, _tmp2_, _tmp3_, ___lambda4__gasync_ready_callback, block1_data_ref (_data1_));
#line 72 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_main_loop_run (_data1_->loop);
#line 73 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_main_context_pop_thread_default (context);
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp5_ = tracker_sparql_connection_query_finish ((TrackerSparqlConnection*) self, _data1_->async_res, &_inner_error_);
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp4_ = _tmp5_;
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_inner_error_ != NULL) {
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == G_IO_ERROR)) || (_inner_error_->domain == G_DBUS_ERROR)) {
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_propagate_error (error, _inner_error_);
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_main_context_unref0 (context);
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block1_data_unref (_data1_);
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data1_ = NULL;
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return NULL;
#line 1069 "tracker-bus.c"
		} else {
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_main_context_unref0 (context);
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block1_data_unref (_data1_);
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data1_ = NULL;
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_inner_error_);
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return NULL;
#line 1083 "tracker-bus.c"
		}
	}
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp6_ = _tmp4_;
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp4_ = NULL;
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	result = _tmp6_;
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_tmp4_);
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_main_context_unref0 (context);
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	block1_data_unref (_data1_);
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data1_ = NULL;
#line 74 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return result;
#line 1102 "tracker-bus.c"
}


static void tracker_bus_connection_real_query_async_data_free (gpointer _data) {
	TrackerBusConnectionQueryAsyncData* _data_;
	_data_ = _data;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_free0 (_data_->sparql);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->cancellable);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->result);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->self);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_slice_free (TrackerBusConnectionQueryAsyncData, _data_);
#line 1119 "tracker-bus.c"
}


static void tracker_bus_connection_real_query_async (TrackerSparqlConnection* base, const gchar* sparql, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	TrackerBusConnection * self;
	TrackerBusConnectionQueryAsyncData* _data_;
	TrackerBusConnection* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	GCancellable* _tmp3_ = NULL;
	GCancellable* _tmp4_ = NULL;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	self = (TrackerBusConnection*) base;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_ = g_slice_new0 (TrackerBusConnectionQueryAsyncData);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, tracker_bus_connection_real_query_async);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, tracker_bus_connection_real_query_async_data_free);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->self = _tmp0_;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp1_ = sparql;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_free0 (_data_->sparql);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->sparql = _tmp2_;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp3_ = cancellable;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->cancellable);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->cancellable = _tmp4_;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_bus_connection_real_query_async_co (_data_);
#line 1161 "tracker-bus.c"
}


static TrackerSparqlCursor* tracker_bus_connection_real_query_finish (TrackerSparqlConnection* base, GAsyncResult* _res_, GError** error) {
	TrackerSparqlCursor* result;
	TrackerBusConnectionQueryAsyncData* _data_;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		return NULL;
#line 1172 "tracker-bus.c"
	}
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	result = _data_->result;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->result = NULL;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return result;
#line 1182 "tracker-bus.c"
}


static Block2Data* block2_data_ref (Block2Data* _data2_) {
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_atomic_int_inc (&_data2_->_ref_count_);
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return _data2_;
#line 1191 "tracker-bus.c"
}


static void block2_data_unref (void * _userdata_) {
	Block2Data* _data2_;
	_data2_ = (Block2Data*) _userdata_;
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (g_atomic_int_dec_and_test (&_data2_->_ref_count_)) {
#line 1200 "tracker-bus.c"
		TrackerBusConnection* self;
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		self = _data2_->self;
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_g_object_unref0 (_data2_->dbus_res);
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_g_object_unref0 (self);
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_slice_free (Block2Data, _data2_);
#line 1210 "tracker-bus.c"
	}
}


static void __lambda3_ (Block2Data* _data2_, GObject* o, GAsyncResult* res) {
	TrackerBusConnection* self;
	GAsyncResult* _tmp0_ = NULL;
	GAsyncResult* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	self = _data2_->self;
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_return_if_fail (res != NULL);
#line 86 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp0_ = res;
#line 86 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 86 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data2_->dbus_res);
#line 86 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data2_->dbus_res = _tmp1_;
#line 87 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp2_ = _data2_->received_result;
#line 87 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_tmp2_) {
#line 88 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		tracker_bus_connection_real_query_async_co (_data2_->_async_data_);
#line 1238 "tracker-bus.c"
	}
}


static void ___lambda3__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	__lambda3_ (self, source_object, res);
#line 1246 "tracker-bus.c"
}


static void* _g_realloc_grealloc_func (void* data, gsize size) {
	void* result;
	result = g_realloc (data, size);
#line 95 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return result;
#line 1255 "tracker-bus.c"
}


static void _g_free_gdestroy_notify (void* data) {
#line 95 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_free (data);
#line 1262 "tracker-bus.c"
}


static void tracker_bus_connection_query_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	TrackerBusConnectionQueryAsyncData* _data_;
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_ = _user_data_;
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_source_object_ = source_object;
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_res_ = _res_;
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_bus_connection_real_query_async_co (_data_);
#line 1276 "tracker-bus.c"
}


static gchar** _variant_get1 (GVariant* value, int* result_length1) {
	gchar** _tmp19_;
	int _tmp19__length;
	int _tmp19__size;
	int _tmp19__length1;
	GVariantIter _tmp20_;
	GVariant* _tmp21_;
	_tmp19_ = g_new (gchar*, 5);
	_tmp19__length = 0;
	_tmp19__size = 4;
	_tmp19__length1 = 0;
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_variant_iter_init (&_tmp20_, value);
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	for (; (_tmp21_ = g_variant_iter_next_value (&_tmp20_)) != NULL; _tmp19__length1++) {
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (_tmp19__size == _tmp19__length) {
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_tmp19__size = 2 * _tmp19__size;
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_tmp19_ = g_renew (gchar*, _tmp19_, _tmp19__size + 1);
#line 1301 "tracker-bus.c"
		}
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_tmp19_[_tmp19__length++] = g_variant_dup_string (_tmp21_, NULL);
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_variant_unref (_tmp21_);
#line 1307 "tracker-bus.c"
	}
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	*result_length1 = _tmp19__length1;
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp19_[_tmp19__length] = NULL;
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return _tmp19_;
#line 1315 "tracker-bus.c"
}


static gboolean tracker_bus_connection_real_query_async_co (TrackerBusConnectionQueryAsyncData* _data_) {
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	switch (_data_->_state_) {
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		case 0:
#line 1324 "tracker-bus.c"
		goto _state_0;
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		case 1:
#line 1328 "tracker-bus.c"
		goto _state_1;
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		case 2:
#line 1332 "tracker-bus.c"
		goto _state_2;
		default:
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_assert_not_reached ();
#line 1337 "tracker-bus.c"
	}
	_state_0:
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data2_ = g_slice_new0 (Block2Data);
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data2_->_ref_count_ = 1;
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data2_->self = g_object_ref (_data_->self);
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data2_->_async_data_ = _data_;
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp0_ = NULL;
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp1_ = NULL;
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_bus_connection_pipe (_data_->self, &_data_->_tmp0_, &_data_->_tmp1_, &_data_->_inner_error_);
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->input);
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->input = _data_->_tmp0_;
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->output);
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->output = _data_->_tmp1_;
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block2_data_unref (_data_->_data2_);
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data2_ = NULL;
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1382 "tracker-bus.c"
			} else {
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 1386 "tracker-bus.c"
			}
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 1392 "tracker-bus.c"
		} else {
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block2_data_unref (_data_->_data2_);
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data2_ = NULL;
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 80 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 1408 "tracker-bus.c"
		}
	}
#line 83 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data2_->dbus_res = NULL;
#line 84 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data2_->received_result = FALSE;
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp2_ = NULL;
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp2_ = _data_->sparql;
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp3_ = NULL;
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp3_ = _data_->output;
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp4_ = NULL;
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp4_ = _data_->cancellable;
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_bus_connection_send_query (_data_->self, _data_->_tmp2_, _data_->_tmp3_, _data_->_tmp4_, ___lambda3__gasync_ready_callback, _data_->_data2_, &_data_->_inner_error_);
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block2_data_unref (_data_->_data2_);
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data2_ = NULL;
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1449 "tracker-bus.c"
			} else {
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 1453 "tracker-bus.c"
			}
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 1459 "tracker-bus.c"
		} else {
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block2_data_unref (_data_->_data2_);
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data2_ = NULL;
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 85 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 1475 "tracker-bus.c"
		}
	}
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->output);
#line 92 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->output = NULL;
#line 95 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp5_ = NULL;
#line 95 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp5_ = (GMemoryOutputStream*) g_memory_output_stream_new (NULL, 0, _g_realloc_grealloc_func, _g_free_gdestroy_notify);
#line 95 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->mem_stream = _data_->_tmp5_;
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp6_ = NULL;
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp6_ = _data_->mem_stream;
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp7_ = NULL;
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp7_ = _data_->input;
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp8_ = NULL;
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp8_ = _data_->cancellable;
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_state_ = 1;
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_output_stream_splice_async ((GOutputStream*) _data_->_tmp6_, (GInputStream*) _data_->_tmp7_, G_OUTPUT_STREAM_SPLICE_CLOSE_SOURCE | G_OUTPUT_STREAM_SPLICE_CLOSE_TARGET, G_PRIORITY_DEFAULT, _data_->_tmp8_, tracker_bus_connection_query_async_ready, _data_);
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return FALSE;
#line 1506 "tracker-bus.c"
	_state_1:
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_output_stream_splice_finish ((GOutputStream*) _data_->_tmp6_, _data_->_res_, &_data_->_inner_error_);
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->mem_stream);
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block2_data_unref (_data_->_data2_);
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data2_ = NULL;
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1532 "tracker-bus.c"
			} else {
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 1536 "tracker-bus.c"
			}
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 1542 "tracker-bus.c"
		} else {
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->mem_stream);
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block2_data_unref (_data_->_data2_);
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data2_ = NULL;
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 96 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 1560 "tracker-bus.c"
		}
	}
#line 99 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data2_->received_result = TRUE;
#line 100 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp9_ = NULL;
#line 100 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp9_ = _data_->_data2_->dbus_res;
#line 100 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_tmp9_ == NULL) {
#line 101 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_data_->_state_ = 2;
#line 101 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		return FALSE;
#line 1575 "tracker-bus.c"
		_state_2:
		;
	}
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp10_ = NULL;
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp10_ = _data_->self->priv->bus;
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp11_ = NULL;
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp11_ = _data_->_data2_->dbus_res;
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp12_ = NULL;
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp12_ = g_dbus_connection_send_message_with_reply_finish (_data_->_tmp10_, _data_->_tmp11_, &_data_->_inner_error_);
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->reply = _data_->_tmp12_;
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->mem_stream);
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block2_data_unref (_data_->_data2_);
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data2_ = NULL;
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1615 "tracker-bus.c"
			} else {
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 1619 "tracker-bus.c"
			}
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 1625 "tracker-bus.c"
		} else {
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->mem_stream);
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block2_data_unref (_data_->_data2_);
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data2_ = NULL;
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 104 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 1643 "tracker-bus.c"
		}
	}
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp13_ = NULL;
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp13_ = _data_->reply;
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_bus_connection_handle_error_reply (_data_->self, _data_->_tmp13_, &_data_->_inner_error_);
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->reply);
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->mem_stream);
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block2_data_unref (_data_->_data2_);
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data2_ = NULL;
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1676 "tracker-bus.c"
			} else {
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 1680 "tracker-bus.c"
			}
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 1686 "tracker-bus.c"
		} else {
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->reply);
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->mem_stream);
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block2_data_unref (_data_->_data2_);
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data2_ = NULL;
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 105 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 1706 "tracker-bus.c"
		}
	}
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp14_ = NULL;
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp14_ = _data_->reply;
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp15_ = NULL;
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp15_ = g_dbus_message_get_body (_data_->_tmp14_);
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp16_ = NULL;
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp16_ = g_variant_get_child_value (_data_->_tmp15_, (gsize) 0);
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp17_ = NULL;
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp17_ = _data_->_tmp16_;
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp18_ = NULL;
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp18__length1 = 0;
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp18_ = _variant_get1 (_data_->_tmp17_, &_data_->_tmp18__length1);
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp22_ = NULL;
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp22__length1 = 0;
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp22_ = _data_->_tmp18_;
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp22__length1 = _data_->_tmp18__length1;
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_variant_unref0 (_data_->_tmp17_);
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->variable_names_length1 = 0;
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_variable_names_size_ = 0;
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->variable_names = _data_->_tmp22_;
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->variable_names_length1 = _data_->_tmp22__length1;
#line 107 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_variable_names_size_ = _data_->variable_names_length1;
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp23_ = NULL;
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp23_ = _data_->mem_stream;
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_output_stream_close ((GOutputStream*) _data_->_tmp23_, NULL, &_data_->_inner_error_);
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->variable_names = (_vala_array_free (_data_->variable_names, _data_->variable_names_length1, (GDestroyNotify) g_free), NULL);
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->reply);
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->mem_stream);
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block2_data_unref (_data_->_data2_);
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data2_ = NULL;
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1783 "tracker-bus.c"
			} else {
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 1787 "tracker-bus.c"
			}
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 1793 "tracker-bus.c"
		} else {
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->variable_names = (_vala_array_free (_data_->variable_names, _data_->variable_names_length1, (GDestroyNotify) g_free), NULL);
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->reply);
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->mem_stream);
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block2_data_unref (_data_->_data2_);
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data2_ = NULL;
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 108 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 1815 "tracker-bus.c"
		}
	}
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp24_ = NULL;
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp24_ = _data_->mem_stream;
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp25_ = NULL;
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp25_ = g_memory_output_stream_steal_data (_data_->_tmp24_);
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp26_ = NULL;
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp26_ = _data_->mem_stream;
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp27_ = 0UL;
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp27_ = g_memory_output_stream_get_data_size (_data_->_tmp26_);
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp28_ = 0UL;
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp28_ = _data_->_tmp27_;
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp29_ = NULL;
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp29__length1 = 0;
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp29_ = _data_->variable_names;
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp29__length1 = _data_->variable_names_length1;
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp30_ = NULL;
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp30_ = tracker_bus_fd_cursor_new (_data_->_tmp25_, _data_->_tmp28_, _data_->_tmp29_, _data_->_tmp29__length1);
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->result = (TrackerSparqlCursor*) _data_->_tmp30_;
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->variable_names = (_vala_array_free (_data_->variable_names, _data_->variable_names_length1, (GDestroyNotify) g_free), NULL);
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->reply);
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->mem_stream);
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->output);
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->input);
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	block2_data_unref (_data_->_data2_);
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data2_ = NULL;
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_state_ == 0) {
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1870 "tracker-bus.c"
	} else {
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1874 "tracker-bus.c"
	}
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_object_unref (_data_->_async_result);
#line 109 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return FALSE;
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->variable_names = (_vala_array_free (_data_->variable_names, _data_->variable_names_length1, (GDestroyNotify) g_free), NULL);
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->reply);
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->mem_stream);
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->output);
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->input);
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	block2_data_unref (_data_->_data2_);
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data2_ = NULL;
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_state_ == 0) {
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 1898 "tracker-bus.c"
	} else {
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 1902 "tracker-bus.c"
	}
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_object_unref (_data_->_async_result);
#line 77 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return FALSE;
#line 1908 "tracker-bus.c"
}


static void tracker_bus_connection_send_update (TrackerBusConnection* self, const gchar* method, GUnixInputStream* input, GCancellable* cancellable, GAsyncReadyCallback callback, void* callback_target, GError** error) {
	GDBusMessage* message = NULL;
	const gchar* _tmp0_ = NULL;
	GDBusMessage* _tmp1_ = NULL;
	GUnixFDList* fd_list = NULL;
	GUnixFDList* _tmp2_ = NULL;
	gint _tmp3_ = 0;
	GUnixInputStream* _tmp4_ = NULL;
	gint _tmp5_ = 0;
	gint _tmp6_ = 0;
	gint _tmp7_ = 0;
	GVariant* _tmp8_ = NULL;
	GVariant* _tmp9_ = NULL;
	GDBusConnection* _tmp10_ = NULL;
	gint _tmp11_ = 0;
	GCancellable* _tmp12_ = NULL;
	GAsyncReadyCallback _tmp13_ = NULL;
	void* _tmp13__target = NULL;
	GError * _inner_error_ = NULL;
#line 112 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_return_if_fail (self != NULL);
#line 112 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_return_if_fail (method != NULL);
#line 112 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_return_if_fail (input != NULL);
#line 113 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp0_ = method;
#line 113 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp1_ = g_dbus_message_new_method_call (TRACKER_DBUS_SERVICE, TRACKER_DBUS_OBJECT_STEROIDS, TRACKER_DBUS_INTERFACE_STEROIDS, _tmp0_);
#line 113 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	message = _tmp1_;
#line 114 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp2_ = g_unix_fd_list_new ();
#line 114 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	fd_list = _tmp2_;
#line 115 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp4_ = input;
#line 115 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp5_ = g_unix_input_stream_get_fd (_tmp4_);
#line 115 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp6_ = _tmp5_;
#line 115 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp7_ = g_unix_fd_list_append (fd_list, _tmp6_, &_inner_error_);
#line 115 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp3_ = _tmp7_;
#line 115 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_inner_error_ != NULL) {
#line 115 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (_inner_error_->domain == G_IO_ERROR) {
#line 115 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_propagate_error (error, _inner_error_);
#line 115 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (fd_list);
#line 115 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (message);
#line 115 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return;
#line 1969 "tracker-bus.c"
		} else {
#line 115 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (fd_list);
#line 115 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (message);
#line 115 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 115 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_inner_error_);
#line 115 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return;
#line 1981 "tracker-bus.c"
		}
	}
#line 115 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp8_ = g_variant_new ("(h)", _tmp3_, NULL);
#line 115 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_variant_ref_sink (_tmp8_);
#line 115 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp9_ = _tmp8_;
#line 115 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_dbus_message_set_body (message, _tmp9_);
#line 115 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_variant_unref0 (_tmp9_);
#line 116 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_dbus_message_set_unix_fd_list (message, fd_list);
#line 118 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp10_ = self->priv->bus;
#line 118 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp11_ = G_MAXINT;
#line 118 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp12_ = cancellable;
#line 118 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp13_ = callback;
#line 118 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp13__target = callback_target;
#line 118 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_dbus_connection_send_message_with_reply (_tmp10_, message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, _tmp11_, NULL, _tmp12_, _tmp13_, _tmp13__target);
#line 112 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (fd_list);
#line 112 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (message);
#line 2012 "tracker-bus.c"
}


static Block3Data* block3_data_ref (Block3Data* _data3_) {
#line 121 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_atomic_int_inc (&_data3_->_ref_count_);
#line 121 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return _data3_;
#line 2021 "tracker-bus.c"
}


static void block3_data_unref (void * _userdata_) {
	Block3Data* _data3_;
	_data3_ = (Block3Data*) _userdata_;
#line 121 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (g_atomic_int_dec_and_test (&_data3_->_ref_count_)) {
#line 2030 "tracker-bus.c"
		TrackerBusConnection* self;
#line 121 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		self = _data3_->self;
#line 121 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_g_object_unref0 (_data3_->async_res);
#line 121 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_g_main_loop_unref0 (_data3_->loop);
#line 121 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_g_object_unref0 (self);
#line 121 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_slice_free (Block3Data, _data3_);
#line 2042 "tracker-bus.c"
	}
}


static void __lambda6_ (Block3Data* _data3_, GObject* o, GAsyncResult* res) {
	TrackerBusConnection* self;
	GAsyncResult* _tmp0_ = NULL;
	GAsyncResult* _tmp1_ = NULL;
#line 127 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	self = _data3_->self;
#line 127 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_return_if_fail (res != NULL);
#line 128 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp0_ = res;
#line 128 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 128 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data3_->async_res);
#line 128 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data3_->async_res = _tmp1_;
#line 129 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_main_loop_quit (_data3_->loop);
#line 2065 "tracker-bus.c"
}


static void ___lambda6__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 127 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	__lambda6_ (self, source_object, res);
#line 127 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	block3_data_unref (self);
#line 2074 "tracker-bus.c"
}


static void tracker_bus_connection_real_update (TrackerSparqlConnection* base, const gchar* sparql, gint priority, GCancellable* cancellable, GError** error) {
	TrackerBusConnection * self;
	Block3Data* _data3_;
	GMainContext* context = NULL;
	GMainContext* _tmp0_ = NULL;
	GMainLoop* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	gint _tmp3_ = 0;
	GCancellable* _tmp4_ = NULL;
	GError * _inner_error_ = NULL;
#line 121 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	self = (TrackerBusConnection*) base;
#line 121 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_return_if_fail (sparql != NULL);
#line 121 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data3_ = g_slice_new0 (Block3Data);
#line 121 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data3_->_ref_count_ = 1;
#line 121 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data3_->self = g_object_ref (self);
#line 123 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp0_ = g_main_context_new ();
#line 123 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	context = _tmp0_;
#line 124 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp1_ = g_main_loop_new (context, FALSE);
#line 124 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data3_->loop = _tmp1_;
#line 125 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_main_context_push_thread_default (context);
#line 126 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data3_->async_res = NULL;
#line 127 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp2_ = sparql;
#line 127 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp3_ = priority;
#line 127 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp4_ = cancellable;
#line 127 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_sparql_connection_update_async ((TrackerSparqlConnection*) self, _tmp2_, _tmp3_, _tmp4_, ___lambda6__gasync_ready_callback, block3_data_ref (_data3_));
#line 131 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_main_loop_run (_data3_->loop);
#line 132 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_main_context_pop_thread_default (context);
#line 133 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_sparql_connection_update_finish ((TrackerSparqlConnection*) self, _data3_->async_res, &_inner_error_);
#line 133 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_inner_error_ != NULL) {
#line 133 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == G_IO_ERROR)) || (_inner_error_->domain == G_DBUS_ERROR)) {
#line 133 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_propagate_error (error, _inner_error_);
#line 133 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_main_context_unref0 (context);
#line 133 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block3_data_unref (_data3_);
#line 133 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data3_ = NULL;
#line 133 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return;
#line 2138 "tracker-bus.c"
		} else {
#line 133 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_main_context_unref0 (context);
#line 133 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block3_data_unref (_data3_);
#line 133 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data3_ = NULL;
#line 133 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 133 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_inner_error_);
#line 133 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return;
#line 2152 "tracker-bus.c"
		}
	}
#line 121 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_main_context_unref0 (context);
#line 121 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	block3_data_unref (_data3_);
#line 121 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data3_ = NULL;
#line 2161 "tracker-bus.c"
}


static void tracker_bus_connection_real_update_async_data_free (gpointer _data) {
	TrackerBusConnectionUpdateAsyncData* _data_;
	_data_ = _data;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_free0 (_data_->sparql);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->cancellable);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->self);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_slice_free (TrackerBusConnectionUpdateAsyncData, _data_);
#line 2176 "tracker-bus.c"
}


static void tracker_bus_connection_real_update_async (TrackerSparqlConnection* base, const gchar* sparql, gint priority, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	TrackerBusConnection * self;
	TrackerBusConnectionUpdateAsyncData* _data_;
	TrackerBusConnection* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gint _tmp3_ = 0;
	GCancellable* _tmp4_ = NULL;
	GCancellable* _tmp5_ = NULL;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	self = (TrackerBusConnection*) base;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_ = g_slice_new0 (TrackerBusConnectionUpdateAsyncData);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, tracker_bus_connection_real_update_async);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, tracker_bus_connection_real_update_async_data_free);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->self = _tmp0_;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp1_ = sparql;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_free0 (_data_->sparql);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->sparql = _tmp2_;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp3_ = priority;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->priority = _tmp3_;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp4_ = cancellable;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp5_ = _g_object_ref0 (_tmp4_);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->cancellable);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->cancellable = _tmp5_;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_bus_connection_real_update_async_co (_data_);
#line 2223 "tracker-bus.c"
}


static void tracker_bus_connection_real_update_finish (TrackerSparqlConnection* base, GAsyncResult* _res_, GError** error) {
	TrackerBusConnectionUpdateAsyncData* _data_;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		return;
#line 2233 "tracker-bus.c"
	}
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 2237 "tracker-bus.c"
}


static Block4Data* block4_data_ref (Block4Data* _data4_) {
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_atomic_int_inc (&_data4_->_ref_count_);
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return _data4_;
#line 2246 "tracker-bus.c"
}


static void block4_data_unref (void * _userdata_) {
	Block4Data* _data4_;
	_data4_ = (Block4Data*) _userdata_;
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (g_atomic_int_dec_and_test (&_data4_->_ref_count_)) {
#line 2255 "tracker-bus.c"
		TrackerBusConnection* self;
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		self = _data4_->self;
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_g_object_unref0 (_data4_->dbus_res);
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_g_object_unref0 (self);
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_slice_free (Block4Data, _data4_);
#line 2265 "tracker-bus.c"
	}
}


static void __lambda5_ (Block4Data* _data4_, GObject* o, GAsyncResult* res) {
	TrackerBusConnection* self;
	GAsyncResult* _tmp0_ = NULL;
	GAsyncResult* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	self = _data4_->self;
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_return_if_fail (res != NULL);
#line 145 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp0_ = res;
#line 145 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 145 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data4_->dbus_res);
#line 145 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data4_->dbus_res = _tmp1_;
#line 146 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp2_ = _data4_->sent_update;
#line 146 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_tmp2_) {
#line 147 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		tracker_bus_connection_real_update_async_co (_data4_->_async_data_);
#line 2293 "tracker-bus.c"
	}
}


static void ___lambda5__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	__lambda5_ (self, source_object, res);
#line 2301 "tracker-bus.c"
}


static gboolean tracker_bus_connection_real_update_async_co (TrackerBusConnectionUpdateAsyncData* _data_) {
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	switch (_data_->_state_) {
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		case 0:
#line 2310 "tracker-bus.c"
		goto _state_0;
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		case 1:
#line 2314 "tracker-bus.c"
		goto _state_1;
		default:
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_assert_not_reached ();
#line 2319 "tracker-bus.c"
	}
	_state_0:
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data4_ = g_slice_new0 (Block4Data);
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data4_->_ref_count_ = 1;
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data4_->self = g_object_ref (_data_->self);
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data4_->_async_data_ = _data_;
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp0_ = NULL;
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp1_ = NULL;
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_bus_connection_pipe (_data_->self, &_data_->_tmp0_, &_data_->_tmp1_, &_data_->_inner_error_);
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->input);
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->input = _data_->_tmp0_;
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->output);
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->output = _data_->_tmp1_;
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block4_data_unref (_data_->_data4_);
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data4_ = NULL;
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2364 "tracker-bus.c"
			} else {
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 2368 "tracker-bus.c"
			}
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 2374 "tracker-bus.c"
		} else {
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block4_data_unref (_data_->_data4_);
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data4_ = NULL;
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 139 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 2390 "tracker-bus.c"
		}
	}
#line 142 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data4_->dbus_res = NULL;
#line 143 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data4_->sent_update = FALSE;
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp3_ = 0;
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp3_ = _data_->priority;
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_tmp3_ <= G_PRIORITY_DEFAULT) {
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_data_->_tmp2_ = "Update";
#line 2405 "tracker-bus.c"
	} else {
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_data_->_tmp2_ = "BatchUpdate";
#line 2409 "tracker-bus.c"
	}
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp4_ = NULL;
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp4_ = _data_->input;
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp5_ = NULL;
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp5_ = _data_->cancellable;
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_bus_connection_send_update (_data_->self, _data_->_tmp2_, _data_->_tmp4_, _data_->_tmp5_, ___lambda5__gasync_ready_callback, _data_->_data4_, &_data_->_inner_error_);
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block4_data_unref (_data_->_data4_);
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data4_ = NULL;
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2441 "tracker-bus.c"
			} else {
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 2445 "tracker-bus.c"
			}
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 2451 "tracker-bus.c"
		} else {
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block4_data_unref (_data_->_data4_);
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data4_ = NULL;
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 144 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 2467 "tracker-bus.c"
		}
	}
#line 152 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp6_ = NULL;
#line 152 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp6_ = _data_->output;
#line 152 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp7_ = NULL;
#line 152 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp7_ = g_data_output_stream_new ((GOutputStream*) _data_->_tmp6_);
#line 152 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->data_stream = _data_->_tmp7_;
#line 153 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp8_ = NULL;
#line 153 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp8_ = _data_->data_stream;
#line 153 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_data_output_stream_set_byte_order (_data_->_tmp8_, G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN);
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp9_ = NULL;
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp9_ = _data_->data_stream;
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp10_ = NULL;
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp10_ = _data_->sparql;
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp11_ = 0;
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp11_ = strlen (_data_->_tmp10_);
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp12_ = 0;
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp12_ = _data_->_tmp11_;
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_data_output_stream_put_int32 (_data_->_tmp9_, (gint32) _data_->_tmp12_, NULL, &_data_->_inner_error_);
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->data_stream);
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block4_data_unref (_data_->_data4_);
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data4_ = NULL;
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2526 "tracker-bus.c"
			} else {
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 2530 "tracker-bus.c"
			}
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 2536 "tracker-bus.c"
		} else {
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->data_stream);
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block4_data_unref (_data_->_data4_);
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data4_ = NULL;
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 154 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 2554 "tracker-bus.c"
		}
	}
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp13_ = NULL;
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp13_ = _data_->data_stream;
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp14_ = NULL;
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp14_ = _data_->sparql;
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_data_output_stream_put_string (_data_->_tmp13_, _data_->_tmp14_, NULL, &_data_->_inner_error_);
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->data_stream);
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block4_data_unref (_data_->_data4_);
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data4_ = NULL;
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2589 "tracker-bus.c"
			} else {
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 2593 "tracker-bus.c"
			}
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 2599 "tracker-bus.c"
		} else {
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->data_stream);
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block4_data_unref (_data_->_data4_);
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data4_ = NULL;
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 155 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 2617 "tracker-bus.c"
		}
	}
#line 156 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->data_stream);
#line 156 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->data_stream = NULL;
#line 159 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data4_->sent_update = TRUE;
#line 160 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp15_ = NULL;
#line 160 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp15_ = _data_->_data4_->dbus_res;
#line 160 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_tmp15_ == NULL) {
#line 161 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_data_->_state_ = 1;
#line 161 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		return FALSE;
#line 2636 "tracker-bus.c"
		_state_1:
		;
	}
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp16_ = NULL;
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp16_ = _data_->self->priv->bus;
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp17_ = NULL;
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp17_ = _data_->_data4_->dbus_res;
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp18_ = NULL;
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp18_ = g_dbus_connection_send_message_with_reply_finish (_data_->_tmp16_, _data_->_tmp17_, &_data_->_inner_error_);
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->reply = _data_->_tmp18_;
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->data_stream);
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block4_data_unref (_data_->_data4_);
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data4_ = NULL;
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2676 "tracker-bus.c"
			} else {
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 2680 "tracker-bus.c"
			}
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 2686 "tracker-bus.c"
		} else {
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->data_stream);
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block4_data_unref (_data_->_data4_);
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data4_ = NULL;
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 164 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 2704 "tracker-bus.c"
		}
	}
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp19_ = NULL;
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp19_ = _data_->reply;
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_bus_connection_handle_error_reply (_data_->self, _data_->_tmp19_, &_data_->_inner_error_);
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->reply);
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->data_stream);
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block4_data_unref (_data_->_data4_);
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data4_ = NULL;
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2737 "tracker-bus.c"
			} else {
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 2741 "tracker-bus.c"
			}
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 2747 "tracker-bus.c"
		} else {
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->reply);
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->data_stream);
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block4_data_unref (_data_->_data4_);
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data4_ = NULL;
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 165 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 2767 "tracker-bus.c"
		}
	}
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->reply);
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->data_stream);
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->output);
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->input);
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	block4_data_unref (_data_->_data4_);
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data4_ = NULL;
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_state_ == 0) {
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 2786 "tracker-bus.c"
	} else {
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 2790 "tracker-bus.c"
	}
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_object_unref (_data_->_async_result);
#line 136 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return FALSE;
#line 2796 "tracker-bus.c"
}


static void tracker_bus_connection_real_update_array_async_data_free (gpointer _data) {
	TrackerBusConnectionUpdateArrayAsyncData* _data_;
	_data_ = _data;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->cancellable);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_ptr_array_unref0 (_data_->result);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->self);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_slice_free (TrackerBusConnectionUpdateArrayAsyncData, _data_);
#line 2811 "tracker-bus.c"
}


static void tracker_bus_connection_real_update_array_async (TrackerSparqlConnection* base, gchar** sparql, int sparql_length1, gint priority, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	TrackerBusConnection * self;
	TrackerBusConnectionUpdateArrayAsyncData* _data_;
	TrackerBusConnection* _tmp0_ = NULL;
	gchar** _tmp1_ = NULL;
	gint _tmp1__length1 = 0;
	gint _tmp2_ = 0;
	GCancellable* _tmp3_ = NULL;
	GCancellable* _tmp4_ = NULL;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	self = (TrackerBusConnection*) base;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_ = g_slice_new0 (TrackerBusConnectionUpdateArrayAsyncData);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, tracker_bus_connection_real_update_array_async);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, tracker_bus_connection_real_update_array_async_data_free);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->self = _tmp0_;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp1_ = sparql;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp1__length1 = sparql_length1;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->sparql = _tmp1_;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->sparql_length1 = _tmp1__length1;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp2_ = priority;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->priority = _tmp2_;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp3_ = cancellable;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->cancellable);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->cancellable = _tmp4_;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_bus_connection_real_update_array_async_co (_data_);
#line 2858 "tracker-bus.c"
}


static GPtrArray* tracker_bus_connection_real_update_array_finish (TrackerSparqlConnection* base, GAsyncResult* _res_, GError** error) {
	GPtrArray* result;
	TrackerBusConnectionUpdateArrayAsyncData* _data_;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		return NULL;
#line 2869 "tracker-bus.c"
	}
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	result = _data_->result;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->result = NULL;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return result;
#line 2879 "tracker-bus.c"
}


static Block5Data* block5_data_ref (Block5Data* _data5_) {
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_atomic_int_inc (&_data5_->_ref_count_);
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return _data5_;
#line 2888 "tracker-bus.c"
}


static void block5_data_unref (void * _userdata_) {
	Block5Data* _data5_;
	_data5_ = (Block5Data*) _userdata_;
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (g_atomic_int_dec_and_test (&_data5_->_ref_count_)) {
#line 2897 "tracker-bus.c"
		TrackerBusConnection* self;
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		self = _data5_->self;
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_g_object_unref0 (_data5_->dbus_res);
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_g_object_unref0 (self);
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_slice_free (Block5Data, _data5_);
#line 2907 "tracker-bus.c"
	}
}


static void __lambda7_ (Block5Data* _data5_, GObject* o, GAsyncResult* res) {
	TrackerBusConnection* self;
	GAsyncResult* _tmp0_ = NULL;
	GAsyncResult* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	self = _data5_->self;
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_return_if_fail (res != NULL);
#line 177 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp0_ = res;
#line 177 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 177 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data5_->dbus_res);
#line 177 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data5_->dbus_res = _tmp1_;
#line 178 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp2_ = _data5_->sent_update;
#line 178 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_tmp2_) {
#line 179 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		tracker_bus_connection_real_update_array_async_co (_data5_->_async_data_);
#line 2935 "tracker-bus.c"
	}
}


static void ___lambda7__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	__lambda7_ (self, source_object, res);
#line 2943 "tracker-bus.c"
}


static void _g_error_free0_ (gpointer var) {
#line 203 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	(var == NULL) ? NULL : (var = (g_error_free (var), NULL));
#line 2950 "tracker-bus.c"
}


static gboolean tracker_bus_connection_real_update_array_async_co (TrackerBusConnectionUpdateArrayAsyncData* _data_) {
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	switch (_data_->_state_) {
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		case 0:
#line 2959 "tracker-bus.c"
		goto _state_0;
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		case 1:
#line 2963 "tracker-bus.c"
		goto _state_1;
		default:
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_assert_not_reached ();
#line 2968 "tracker-bus.c"
	}
	_state_0:
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data5_ = g_slice_new0 (Block5Data);
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data5_->_ref_count_ = 1;
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data5_->self = g_object_ref (_data_->self);
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data5_->_async_data_ = _data_;
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp0_ = NULL;
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp1_ = NULL;
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_bus_connection_pipe (_data_->self, &_data_->_tmp0_, &_data_->_tmp1_, &_data_->_inner_error_);
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->input);
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->input = _data_->_tmp0_;
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->output);
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->output = _data_->_tmp1_;
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block5_data_unref (_data_->_data5_);
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data5_ = NULL;
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3013 "tracker-bus.c"
			} else {
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 3017 "tracker-bus.c"
			}
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 3023 "tracker-bus.c"
		} else {
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block5_data_unref (_data_->_data5_);
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data5_ = NULL;
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 171 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 3039 "tracker-bus.c"
		}
	}
#line 174 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data5_->dbus_res = NULL;
#line 175 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data5_->sent_update = FALSE;
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp2_ = NULL;
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp2_ = _data_->input;
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp3_ = NULL;
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp3_ = _data_->cancellable;
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_bus_connection_send_update (_data_->self, "UpdateArray", _data_->_tmp2_, _data_->_tmp3_, ___lambda7__gasync_ready_callback, _data_->_data5_, &_data_->_inner_error_);
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block5_data_unref (_data_->_data5_);
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data5_ = NULL;
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3076 "tracker-bus.c"
			} else {
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 3080 "tracker-bus.c"
			}
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 3086 "tracker-bus.c"
		} else {
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block5_data_unref (_data_->_data5_);
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data5_ = NULL;
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 176 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 3102 "tracker-bus.c"
		}
	}
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp4_ = NULL;
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp4_ = _data_->output;
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp5_ = NULL;
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp5_ = g_data_output_stream_new ((GOutputStream*) _data_->_tmp4_);
#line 184 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->data_stream = _data_->_tmp5_;
#line 185 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp6_ = NULL;
#line 185 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp6_ = _data_->data_stream;
#line 185 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_data_output_stream_set_byte_order (_data_->_tmp6_, G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN);
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp7_ = NULL;
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp7_ = _data_->data_stream;
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp8_ = NULL;
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp8__length1 = 0;
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp8_ = _data_->sparql;
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp8__length1 = _data_->sparql_length1;
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_data_output_stream_put_int32 (_data_->_tmp7_, (gint32) _data_->_tmp8__length1, NULL, &_data_->_inner_error_);
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->data_stream);
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block5_data_unref (_data_->_data5_);
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data5_ = NULL;
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3157 "tracker-bus.c"
			} else {
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 3161 "tracker-bus.c"
			}
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 3167 "tracker-bus.c"
		} else {
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->data_stream);
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block5_data_unref (_data_->_data5_);
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data5_ = NULL;
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 186 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 3185 "tracker-bus.c"
		}
	}
	{
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_data_->i = 0;
#line 3191 "tracker-bus.c"
		{
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_tmp9_ = TRUE;
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			while (TRUE) {
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				if (!_data_->_tmp9_) {
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
					_data_->_tmp10_ = 0;
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
					_data_->_tmp10_ = _data_->i;
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
					_data_->i = _data_->_tmp10_ + 1;
#line 3205 "tracker-bus.c"
				}
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp9_ = FALSE;
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp11_ = 0;
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp11_ = _data_->i;
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp12_ = NULL;
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp12__length1 = 0;
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp12_ = _data_->sparql;
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp12__length1 = _data_->sparql_length1;
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				if (!(_data_->_tmp11_ < _data_->_tmp12__length1)) {
#line 187 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
					break;
#line 3225 "tracker-bus.c"
				}
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp13_ = NULL;
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp13_ = _data_->data_stream;
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp14_ = NULL;
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp14__length1 = 0;
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp14_ = _data_->sparql;
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp14__length1 = _data_->sparql_length1;
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp15_ = 0;
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp15_ = _data_->i;
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp16_ = NULL;
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp16_ = _data_->_tmp14_[_data_->_tmp15_];
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp17_ = 0;
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp17_ = strlen (_data_->_tmp16_);
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp18_ = 0;
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp18_ = _data_->_tmp17_;
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_data_output_stream_put_int32 (_data_->_tmp13_, (gint32) _data_->_tmp18_, NULL, &_data_->_inner_error_);
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				if (_data_->_inner_error_ != NULL) {
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
					if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						g_error_free (_data_->_inner_error_);
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						_g_object_unref0 (_data_->data_stream);
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						_g_object_unref0 (_data_->output);
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						_g_object_unref0 (_data_->input);
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						block5_data_unref (_data_->_data5_);
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						_data_->_data5_ = NULL;
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						if (_data_->_state_ == 0) {
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
							g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3279 "tracker-bus.c"
						} else {
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
							g_simple_async_result_complete (_data_->_async_result);
#line 3283 "tracker-bus.c"
						}
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						g_object_unref (_data_->_async_result);
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						return FALSE;
#line 3289 "tracker-bus.c"
					} else {
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						_g_object_unref0 (_data_->data_stream);
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						_g_object_unref0 (_data_->output);
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						_g_object_unref0 (_data_->input);
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						block5_data_unref (_data_->_data5_);
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						_data_->_data5_ = NULL;
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						g_clear_error (&_data_->_inner_error_);
#line 188 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						return FALSE;
#line 3307 "tracker-bus.c"
					}
				}
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp19_ = NULL;
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp19_ = _data_->data_stream;
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp20_ = NULL;
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp20__length1 = 0;
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp20_ = _data_->sparql;
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp20__length1 = _data_->sparql_length1;
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp21_ = 0;
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp21_ = _data_->i;
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp22_ = NULL;
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp22_ = _data_->_tmp20_[_data_->_tmp21_];
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_data_output_stream_put_string (_data_->_tmp19_, _data_->_tmp22_, NULL, &_data_->_inner_error_);
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				if (_data_->_inner_error_ != NULL) {
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
					if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						g_error_free (_data_->_inner_error_);
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						_g_object_unref0 (_data_->data_stream);
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						_g_object_unref0 (_data_->output);
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						_g_object_unref0 (_data_->input);
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						block5_data_unref (_data_->_data5_);
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						_data_->_data5_ = NULL;
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						if (_data_->_state_ == 0) {
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
							g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3354 "tracker-bus.c"
						} else {
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
							g_simple_async_result_complete (_data_->_async_result);
#line 3358 "tracker-bus.c"
						}
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						g_object_unref (_data_->_async_result);
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						return FALSE;
#line 3364 "tracker-bus.c"
					} else {
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						_g_object_unref0 (_data_->data_stream);
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						_g_object_unref0 (_data_->output);
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						_g_object_unref0 (_data_->input);
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						block5_data_unref (_data_->_data5_);
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						_data_->_data5_ = NULL;
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						g_clear_error (&_data_->_inner_error_);
#line 189 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
						return FALSE;
#line 3382 "tracker-bus.c"
					}
				}
			}
		}
	}
#line 191 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->data_stream);
#line 191 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->data_stream = NULL;
#line 194 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data5_->sent_update = TRUE;
#line 195 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp23_ = NULL;
#line 195 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp23_ = _data_->_data5_->dbus_res;
#line 195 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_tmp23_ == NULL) {
#line 196 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_data_->_state_ = 1;
#line 196 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		return FALSE;
#line 3404 "tracker-bus.c"
		_state_1:
		;
	}
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp24_ = NULL;
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp24_ = _data_->self->priv->bus;
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp25_ = NULL;
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp25_ = _data_->_data5_->dbus_res;
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp26_ = NULL;
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp26_ = g_dbus_connection_send_message_with_reply_finish (_data_->_tmp24_, _data_->_tmp25_, &_data_->_inner_error_);
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->reply = _data_->_tmp26_;
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->data_stream);
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block5_data_unref (_data_->_data5_);
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data5_ = NULL;
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3444 "tracker-bus.c"
			} else {
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 3448 "tracker-bus.c"
			}
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 3454 "tracker-bus.c"
		} else {
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->data_stream);
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block5_data_unref (_data_->_data5_);
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data5_ = NULL;
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 199 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 3472 "tracker-bus.c"
		}
	}
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp27_ = NULL;
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp27_ = _data_->reply;
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_bus_connection_handle_error_reply (_data_->self, _data_->_tmp27_, &_data_->_inner_error_);
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->reply);
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->data_stream);
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block5_data_unref (_data_->_data5_);
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data5_ = NULL;
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3505 "tracker-bus.c"
			} else {
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 3509 "tracker-bus.c"
			}
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 3515 "tracker-bus.c"
		} else {
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->reply);
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->data_stream);
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block5_data_unref (_data_->_data5_);
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data5_ = NULL;
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 200 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 3535 "tracker-bus.c"
		}
	}
#line 203 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp28_ = NULL;
#line 203 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp28_ = g_ptr_array_new_with_free_func (_g_error_free0_);
#line 203 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_result_ = _data_->_tmp28_;
#line 205 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp29_ = NULL;
#line 205 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp29_ = _data_->reply;
#line 205 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp30_ = NULL;
#line 205 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp30_ = g_dbus_message_get_body (_data_->_tmp29_);
#line 205 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp31_ = NULL;
#line 205 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp31_ = g_variant_get_child_value (_data_->_tmp30_, (gsize) 0);
#line 205 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_variant_unref0 (_data_->resultv);
#line 205 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->resultv = _data_->_tmp31_;
#line 206 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp32_ = NULL;
#line 206 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp32_ = _data_->resultv;
#line 206 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp33_ = NULL;
#line 206 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp33_ = g_variant_iter_new (_data_->_tmp32_);
#line 206 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->iter = _data_->_tmp33_;
#line 208 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	while (TRUE) {
#line 208 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_data_->_tmp34_ = NULL;
#line 208 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_data_->_tmp34_ = _data_->iter;
#line 208 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_data_->_tmp35_ = FALSE;
#line 208 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_data_->_tmp35_ = g_variant_iter_next (_data_->_tmp34_, "s", &_data_->code, NULL);
#line 208 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (!_data_->_tmp35_) {
#line 208 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			break;
#line 3584 "tracker-bus.c"
		}
#line 209 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_data_->_tmp36_ = NULL;
#line 209 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_data_->_tmp36_ = _data_->iter;
#line 209 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_data_->_tmp37_ = FALSE;
#line 209 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_data_->_tmp37_ = g_variant_iter_next (_data_->_tmp36_, "s", &_data_->message, NULL);
#line 209 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (_data_->_tmp37_) {
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_tmp39_ = NULL;
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_tmp39_ = _data_->code;
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (g_strcmp0 (_data_->_tmp39_, "") != 0) {
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp40_ = NULL;
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp40_ = _data_->message;
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp38_ = g_strcmp0 (_data_->_tmp40_, "") != 0;
#line 3608 "tracker-bus.c"
			} else {
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp38_ = FALSE;
#line 3612 "tracker-bus.c"
			}
#line 210 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_tmp38_) {
#line 211 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp41_ = NULL;
#line 211 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp41_ = _data_->_result_;
#line 211 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp42_ = NULL;
#line 211 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp42_ = _data_->message;
#line 211 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp43_ = NULL;
#line 211 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp43_ = g_error_new_literal (TRACKER_SPARQL_ERROR, TRACKER_SPARQL_ERROR_INTERNAL, _data_->_tmp42_);
#line 211 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_ptr_array_add (_data_->_tmp41_, _data_->_tmp43_);
#line 3630 "tracker-bus.c"
			} else {
#line 213 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp44_ = NULL;
#line 213 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_data_->_tmp44_ = _data_->_result_;
#line 213 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_ptr_array_add (_data_->_tmp44_, NULL);
#line 3638 "tracker-bus.c"
			}
#line 216 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_free0 (_data_->message);
#line 216 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->message = NULL;
#line 3644 "tracker-bus.c"
		}
#line 219 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_g_free0 (_data_->code);
#line 219 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_data_->code = NULL;
#line 3650 "tracker-bus.c"
	}
#line 221 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->result = _data_->_result_;
#line 221 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_free0 (_data_->message);
#line 221 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_free0 (_data_->code);
#line 221 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_variant_iter_free0 (_data_->iter);
#line 221 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_variant_unref0 (_data_->resultv);
#line 221 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->reply);
#line 221 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->data_stream);
#line 221 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->output);
#line 221 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->input);
#line 221 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	block5_data_unref (_data_->_data5_);
#line 221 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data5_ = NULL;
#line 221 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_state_ == 0) {
#line 221 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3678 "tracker-bus.c"
	} else {
#line 221 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3682 "tracker-bus.c"
	}
#line 221 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_object_unref (_data_->_async_result);
#line 221 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return FALSE;
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_free0 (_data_->message);
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_free0 (_data_->code);
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_variant_iter_free0 (_data_->iter);
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_variant_unref0 (_data_->resultv);
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_ptr_array_unref0 (_data_->_result_);
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->reply);
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->data_stream);
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->output);
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->input);
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	block5_data_unref (_data_->_data5_);
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data5_ = NULL;
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_state_ == 0) {
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3714 "tracker-bus.c"
	} else {
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3718 "tracker-bus.c"
	}
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_object_unref (_data_->_async_result);
#line 168 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return FALSE;
#line 3724 "tracker-bus.c"
}


static Block6Data* block6_data_ref (Block6Data* _data6_) {
#line 224 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_atomic_int_inc (&_data6_->_ref_count_);
#line 224 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return _data6_;
#line 3733 "tracker-bus.c"
}


static void block6_data_unref (void * _userdata_) {
	Block6Data* _data6_;
	_data6_ = (Block6Data*) _userdata_;
#line 224 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (g_atomic_int_dec_and_test (&_data6_->_ref_count_)) {
#line 3742 "tracker-bus.c"
		TrackerBusConnection* self;
#line 224 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		self = _data6_->self;
#line 224 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_g_object_unref0 (_data6_->async_res);
#line 224 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_g_main_loop_unref0 (_data6_->loop);
#line 224 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_g_object_unref0 (self);
#line 224 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_slice_free (Block6Data, _data6_);
#line 3754 "tracker-bus.c"
	}
}


static void __lambda9_ (Block6Data* _data6_, GObject* o, GAsyncResult* res) {
	TrackerBusConnection* self;
	GAsyncResult* _tmp0_ = NULL;
	GAsyncResult* _tmp1_ = NULL;
#line 230 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	self = _data6_->self;
#line 230 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_return_if_fail (res != NULL);
#line 231 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp0_ = res;
#line 231 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 231 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data6_->async_res);
#line 231 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data6_->async_res = _tmp1_;
#line 232 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_main_loop_quit (_data6_->loop);
#line 3777 "tracker-bus.c"
}


static void ___lambda9__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 230 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	__lambda9_ (self, source_object, res);
#line 230 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	block6_data_unref (self);
#line 3786 "tracker-bus.c"
}


static GVariant* tracker_bus_connection_real_update_blank (TrackerSparqlConnection* base, const gchar* sparql, gint priority, GCancellable* cancellable, GError** error) {
	TrackerBusConnection * self;
	GVariant* result = NULL;
	Block6Data* _data6_;
	GMainContext* context = NULL;
	GMainContext* _tmp0_ = NULL;
	GMainLoop* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	gint _tmp3_ = 0;
	GCancellable* _tmp4_ = NULL;
	GVariant* _tmp5_ = NULL;
	GVariant* _tmp6_ = NULL;
	GVariant* _tmp7_ = NULL;
	GError * _inner_error_ = NULL;
#line 224 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	self = (TrackerBusConnection*) base;
#line 224 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_return_val_if_fail (sparql != NULL, NULL);
#line 224 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data6_ = g_slice_new0 (Block6Data);
#line 224 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data6_->_ref_count_ = 1;
#line 224 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data6_->self = g_object_ref (self);
#line 226 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp0_ = g_main_context_new ();
#line 226 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	context = _tmp0_;
#line 227 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp1_ = g_main_loop_new (context, FALSE);
#line 227 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data6_->loop = _tmp1_;
#line 228 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_main_context_push_thread_default (context);
#line 229 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data6_->async_res = NULL;
#line 230 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp2_ = sparql;
#line 230 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp3_ = priority;
#line 230 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp4_ = cancellable;
#line 230 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_sparql_connection_update_blank_async ((TrackerSparqlConnection*) self, _tmp2_, _tmp3_, _tmp4_, ___lambda9__gasync_ready_callback, block6_data_ref (_data6_));
#line 234 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_main_loop_run (_data6_->loop);
#line 235 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_main_context_pop_thread_default (context);
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp6_ = tracker_sparql_connection_update_blank_finish ((TrackerSparqlConnection*) self, _data6_->async_res, &_inner_error_);
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp5_ = _tmp6_;
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_inner_error_ != NULL) {
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == G_IO_ERROR)) || (_inner_error_->domain == G_DBUS_ERROR)) {
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_propagate_error (error, _inner_error_);
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_main_context_unref0 (context);
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block6_data_unref (_data6_);
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data6_ = NULL;
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return NULL;
#line 3856 "tracker-bus.c"
		} else {
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_main_context_unref0 (context);
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block6_data_unref (_data6_);
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data6_ = NULL;
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_inner_error_);
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return NULL;
#line 3870 "tracker-bus.c"
		}
	}
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp7_ = _tmp5_;
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp5_ = NULL;
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	result = _tmp7_;
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_variant_unref0 (_tmp5_);
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_main_context_unref0 (context);
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	block6_data_unref (_data6_);
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data6_ = NULL;
#line 236 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return result;
#line 3889 "tracker-bus.c"
}


static void tracker_bus_connection_real_update_blank_async_data_free (gpointer _data) {
	TrackerBusConnectionUpdateBlankAsyncData* _data_;
	_data_ = _data;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_free0 (_data_->sparql);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->cancellable);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_variant_unref0 (_data_->result);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->self);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_slice_free (TrackerBusConnectionUpdateBlankAsyncData, _data_);
#line 3906 "tracker-bus.c"
}


static void tracker_bus_connection_real_update_blank_async (TrackerSparqlConnection* base, const gchar* sparql, gint priority, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	TrackerBusConnection * self;
	TrackerBusConnectionUpdateBlankAsyncData* _data_;
	TrackerBusConnection* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	gchar* _tmp2_ = NULL;
	gint _tmp3_ = 0;
	GCancellable* _tmp4_ = NULL;
	GCancellable* _tmp5_ = NULL;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	self = (TrackerBusConnection*) base;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_ = g_slice_new0 (TrackerBusConnectionUpdateBlankAsyncData);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, tracker_bus_connection_real_update_blank_async);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, tracker_bus_connection_real_update_blank_async_data_free);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->self = _tmp0_;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp1_ = sparql;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp2_ = g_strdup (_tmp1_);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_free0 (_data_->sparql);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->sparql = _tmp2_;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp3_ = priority;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->priority = _tmp3_;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp4_ = cancellable;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp5_ = _g_object_ref0 (_tmp4_);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->cancellable);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->cancellable = _tmp5_;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_bus_connection_real_update_blank_async_co (_data_);
#line 3953 "tracker-bus.c"
}


static GVariant* tracker_bus_connection_real_update_blank_finish (TrackerSparqlConnection* base, GAsyncResult* _res_, GError** error) {
	GVariant* result;
	TrackerBusConnectionUpdateBlankAsyncData* _data_;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		return NULL;
#line 3964 "tracker-bus.c"
	}
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	result = _data_->result;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->result = NULL;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return result;
#line 3974 "tracker-bus.c"
}


static Block7Data* block7_data_ref (Block7Data* _data7_) {
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_atomic_int_inc (&_data7_->_ref_count_);
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return _data7_;
#line 3983 "tracker-bus.c"
}


static void block7_data_unref (void * _userdata_) {
	Block7Data* _data7_;
	_data7_ = (Block7Data*) _userdata_;
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (g_atomic_int_dec_and_test (&_data7_->_ref_count_)) {
#line 3992 "tracker-bus.c"
		TrackerBusConnection* self;
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		self = _data7_->self;
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_g_object_unref0 (_data7_->dbus_res);
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_g_object_unref0 (self);
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_slice_free (Block7Data, _data7_);
#line 4002 "tracker-bus.c"
	}
}


static void __lambda8_ (Block7Data* _data7_, GObject* o, GAsyncResult* res) {
	TrackerBusConnection* self;
	GAsyncResult* _tmp0_ = NULL;
	GAsyncResult* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	self = _data7_->self;
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_return_if_fail (res != NULL);
#line 248 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp0_ = res;
#line 248 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 248 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data7_->dbus_res);
#line 248 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data7_->dbus_res = _tmp1_;
#line 249 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp2_ = _data7_->sent_update;
#line 249 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_tmp2_) {
#line 250 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		tracker_bus_connection_real_update_blank_async_co (_data7_->_async_data_);
#line 4030 "tracker-bus.c"
	}
}


static void ___lambda8__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	__lambda8_ (self, source_object, res);
#line 4038 "tracker-bus.c"
}


static gboolean tracker_bus_connection_real_update_blank_async_co (TrackerBusConnectionUpdateBlankAsyncData* _data_) {
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	switch (_data_->_state_) {
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		case 0:
#line 4047 "tracker-bus.c"
		goto _state_0;
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		case 1:
#line 4051 "tracker-bus.c"
		goto _state_1;
		default:
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_assert_not_reached ();
#line 4056 "tracker-bus.c"
	}
	_state_0:
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data7_ = g_slice_new0 (Block7Data);
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data7_->_ref_count_ = 1;
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data7_->self = g_object_ref (_data_->self);
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data7_->_async_data_ = _data_;
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp0_ = NULL;
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp1_ = NULL;
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_bus_connection_pipe (_data_->self, &_data_->_tmp0_, &_data_->_tmp1_, &_data_->_inner_error_);
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->input);
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->input = _data_->_tmp0_;
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->output);
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->output = _data_->_tmp1_;
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block7_data_unref (_data_->_data7_);
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data7_ = NULL;
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4101 "tracker-bus.c"
			} else {
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 4105 "tracker-bus.c"
			}
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 4111 "tracker-bus.c"
		} else {
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block7_data_unref (_data_->_data7_);
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data7_ = NULL;
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 242 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 4127 "tracker-bus.c"
		}
	}
#line 245 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data7_->dbus_res = NULL;
#line 246 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data7_->sent_update = FALSE;
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp2_ = NULL;
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp2_ = _data_->input;
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp3_ = NULL;
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp3_ = _data_->cancellable;
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_bus_connection_send_update (_data_->self, "UpdateBlank", _data_->_tmp2_, _data_->_tmp3_, ___lambda8__gasync_ready_callback, _data_->_data7_, &_data_->_inner_error_);
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block7_data_unref (_data_->_data7_);
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data7_ = NULL;
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4164 "tracker-bus.c"
			} else {
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 4168 "tracker-bus.c"
			}
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 4174 "tracker-bus.c"
		} else {
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block7_data_unref (_data_->_data7_);
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data7_ = NULL;
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 247 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 4190 "tracker-bus.c"
		}
	}
#line 255 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp4_ = NULL;
#line 255 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp4_ = _data_->output;
#line 255 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp5_ = NULL;
#line 255 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp5_ = g_data_output_stream_new ((GOutputStream*) _data_->_tmp4_);
#line 255 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->data_stream = _data_->_tmp5_;
#line 256 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp6_ = NULL;
#line 256 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp6_ = _data_->data_stream;
#line 256 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_data_output_stream_set_byte_order (_data_->_tmp6_, G_DATA_STREAM_BYTE_ORDER_HOST_ENDIAN);
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp7_ = NULL;
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp7_ = _data_->data_stream;
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp8_ = NULL;
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp8_ = _data_->sparql;
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp9_ = 0;
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp9_ = strlen (_data_->_tmp8_);
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp10_ = 0;
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp10_ = _data_->_tmp9_;
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_data_output_stream_put_int32 (_data_->_tmp7_, (gint32) _data_->_tmp10_, NULL, &_data_->_inner_error_);
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->data_stream);
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block7_data_unref (_data_->_data7_);
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data7_ = NULL;
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4249 "tracker-bus.c"
			} else {
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 4253 "tracker-bus.c"
			}
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 4259 "tracker-bus.c"
		} else {
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->data_stream);
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block7_data_unref (_data_->_data7_);
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data7_ = NULL;
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 257 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 4277 "tracker-bus.c"
		}
	}
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp11_ = NULL;
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp11_ = _data_->data_stream;
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp12_ = NULL;
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp12_ = _data_->sparql;
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_data_output_stream_put_string (_data_->_tmp11_, _data_->_tmp12_, NULL, &_data_->_inner_error_);
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->data_stream);
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block7_data_unref (_data_->_data7_);
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data7_ = NULL;
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4312 "tracker-bus.c"
			} else {
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 4316 "tracker-bus.c"
			}
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 4322 "tracker-bus.c"
		} else {
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->data_stream);
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block7_data_unref (_data_->_data7_);
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data7_ = NULL;
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 258 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 4340 "tracker-bus.c"
		}
	}
#line 259 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->data_stream);
#line 259 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->data_stream = NULL;
#line 262 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data7_->sent_update = TRUE;
#line 263 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp13_ = NULL;
#line 263 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp13_ = _data_->_data7_->dbus_res;
#line 263 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_tmp13_ == NULL) {
#line 264 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		_data_->_state_ = 1;
#line 264 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		return FALSE;
#line 4359 "tracker-bus.c"
		_state_1:
		;
	}
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp14_ = NULL;
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp14_ = _data_->self->priv->bus;
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp15_ = NULL;
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp15_ = _data_->_data7_->dbus_res;
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp16_ = NULL;
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp16_ = g_dbus_connection_send_message_with_reply_finish (_data_->_tmp14_, _data_->_tmp15_, &_data_->_inner_error_);
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->reply = _data_->_tmp16_;
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->data_stream);
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block7_data_unref (_data_->_data7_);
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data7_ = NULL;
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4399 "tracker-bus.c"
			} else {
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 4403 "tracker-bus.c"
			}
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 4409 "tracker-bus.c"
		} else {
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->data_stream);
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block7_data_unref (_data_->_data7_);
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data7_ = NULL;
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 267 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 4427 "tracker-bus.c"
		}
	}
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp17_ = NULL;
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp17_ = _data_->reply;
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_bus_connection_handle_error_reply (_data_->self, _data_->_tmp17_, &_data_->_inner_error_);
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->reply);
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->data_stream);
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block7_data_unref (_data_->_data7_);
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data7_ = NULL;
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4460 "tracker-bus.c"
			} else {
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 4464 "tracker-bus.c"
			}
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 4470 "tracker-bus.c"
		} else {
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->reply);
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->data_stream);
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->output);
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->input);
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			block7_data_unref (_data_->_data7_);
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_data_->_data7_ = NULL;
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 268 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 4490 "tracker-bus.c"
		}
	}
#line 269 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp18_ = NULL;
#line 269 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp18_ = _data_->reply;
#line 269 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp19_ = NULL;
#line 269 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp19_ = g_dbus_message_get_body (_data_->_tmp18_);
#line 269 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp20_ = NULL;
#line 269 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp20_ = g_variant_get_child_value (_data_->_tmp19_, (gsize) 0);
#line 269 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->result = _data_->_tmp20_;
#line 269 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->reply);
#line 269 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->data_stream);
#line 269 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->output);
#line 269 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->input);
#line 269 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	block7_data_unref (_data_->_data7_);
#line 269 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data7_ = NULL;
#line 269 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_state_ == 0) {
#line 269 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4523 "tracker-bus.c"
	} else {
#line 269 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 4527 "tracker-bus.c"
	}
#line 269 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_object_unref (_data_->_async_result);
#line 269 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return FALSE;
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->reply);
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->data_stream);
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->output);
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->input);
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	block7_data_unref (_data_->_data7_);
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_data7_ = NULL;
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_state_ == 0) {
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4549 "tracker-bus.c"
	} else {
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 4553 "tracker-bus.c"
	}
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_object_unref (_data_->_async_result);
#line 239 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return FALSE;
#line 4559 "tracker-bus.c"
}


static void tracker_bus_connection_real_load (TrackerSparqlConnection* base, GFile* file, GCancellable* cancellable, GError** error) {
	TrackerBusConnection * self;
	GDBusMessage* message = NULL;
	GDBusMessage* _tmp0_ = NULL;
	GDBusMessage* _tmp1_ = NULL;
	GFile* _tmp2_ = NULL;
	gchar* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	GVariant* _tmp5_ = NULL;
	GVariant* _tmp6_ = NULL;
	GDBusMessage* reply = NULL;
	GDBusConnection* _tmp7_ = NULL;
	GDBusMessage* _tmp8_ = NULL;
	gint _tmp9_ = 0;
	GCancellable* _tmp10_ = NULL;
	GDBusMessage* _tmp11_ = NULL;
	GDBusMessage* _tmp12_ = NULL;
	GError * _inner_error_ = NULL;
#line 272 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	self = (TrackerBusConnection*) base;
#line 272 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_return_if_fail (file != NULL);
#line 273 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp0_ = g_dbus_message_new_method_call (TRACKER_DBUS_SERVICE, TRACKER_DBUS_OBJECT_RESOURCES, TRACKER_DBUS_INTERFACE_RESOURCES, "Load");
#line 273 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	message = _tmp0_;
#line 274 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp1_ = message;
#line 274 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp2_ = file;
#line 274 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp3_ = g_file_get_uri (_tmp2_);
#line 274 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp4_ = _tmp3_;
#line 274 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp5_ = g_variant_new ("(s)", _tmp4_, NULL);
#line 274 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_variant_ref_sink (_tmp5_);
#line 274 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp6_ = _tmp5_;
#line 274 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_dbus_message_set_body (_tmp1_, _tmp6_);
#line 274 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_variant_unref0 (_tmp6_);
#line 274 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_free0 (_tmp4_);
#line 276 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp7_ = self->priv->bus;
#line 276 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp8_ = message;
#line 276 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp9_ = G_MAXINT;
#line 276 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp10_ = cancellable;
#line 276 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp11_ = g_dbus_connection_send_message_with_reply_sync (_tmp7_, _tmp8_, G_DBUS_SEND_MESSAGE_FLAGS_NONE, _tmp9_, NULL, _tmp10_, &_inner_error_);
#line 276 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	reply = _tmp11_;
#line 276 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_inner_error_ != NULL) {
#line 276 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == G_IO_ERROR)) || (_inner_error_->domain == G_DBUS_ERROR)) {
#line 276 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_propagate_error (error, _inner_error_);
#line 276 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (message);
#line 276 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return;
#line 4631 "tracker-bus.c"
		} else {
#line 276 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (message);
#line 276 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 276 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_inner_error_);
#line 276 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return;
#line 4641 "tracker-bus.c"
		}
	}
#line 277 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp12_ = reply;
#line 277 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_bus_connection_handle_error_reply (self, _tmp12_, &_inner_error_);
#line 277 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_inner_error_ != NULL) {
#line 277 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == G_IO_ERROR)) || (_inner_error_->domain == G_DBUS_ERROR)) {
#line 277 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_propagate_error (error, _inner_error_);
#line 277 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (reply);
#line 277 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (message);
#line 277 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return;
#line 4660 "tracker-bus.c"
		} else {
#line 277 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (reply);
#line 277 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (message);
#line 277 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 277 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_inner_error_);
#line 277 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return;
#line 4672 "tracker-bus.c"
		}
	}
#line 272 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (reply);
#line 272 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (message);
#line 4679 "tracker-bus.c"
}


static void tracker_bus_connection_real_load_async_data_free (gpointer _data) {
	TrackerBusConnectionLoadAsyncData* _data_;
	_data_ = _data;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->file);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->cancellable);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->self);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_slice_free (TrackerBusConnectionLoadAsyncData, _data_);
#line 4694 "tracker-bus.c"
}


static void tracker_bus_connection_real_load_async (TrackerSparqlConnection* base, GFile* file, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	TrackerBusConnection * self;
	TrackerBusConnectionLoadAsyncData* _data_;
	TrackerBusConnection* _tmp0_ = NULL;
	GFile* _tmp1_ = NULL;
	GFile* _tmp2_ = NULL;
	GCancellable* _tmp3_ = NULL;
	GCancellable* _tmp4_ = NULL;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	self = (TrackerBusConnection*) base;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_ = g_slice_new0 (TrackerBusConnectionLoadAsyncData);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, tracker_bus_connection_real_load_async);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, tracker_bus_connection_real_load_async_data_free);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->self = _tmp0_;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp1_ = file;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->file);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->file = _tmp2_;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp3_ = cancellable;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->cancellable);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->cancellable = _tmp4_;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_bus_connection_real_load_async_co (_data_);
#line 4736 "tracker-bus.c"
}


static void tracker_bus_connection_real_load_finish (TrackerSparqlConnection* base, GAsyncResult* _res_, GError** error) {
	TrackerBusConnectionLoadAsyncData* _data_;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		return;
#line 4746 "tracker-bus.c"
	}
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 4750 "tracker-bus.c"
}


static void tracker_bus_connection_load_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	TrackerBusConnectionLoadAsyncData* _data_;
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_ = _user_data_;
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_source_object_ = source_object;
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_res_ = _res_;
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_bus_connection_real_load_async_co (_data_);
#line 4764 "tracker-bus.c"
}


static gboolean tracker_bus_connection_real_load_async_co (TrackerBusConnectionLoadAsyncData* _data_) {
#line 280 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	switch (_data_->_state_) {
#line 280 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		case 0:
#line 4773 "tracker-bus.c"
		goto _state_0;
#line 280 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		case 1:
#line 4777 "tracker-bus.c"
		goto _state_1;
		default:
#line 280 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_assert_not_reached ();
#line 4782 "tracker-bus.c"
	}
	_state_0:
#line 281 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp0_ = NULL;
#line 281 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp0_ = g_dbus_message_new_method_call (TRACKER_DBUS_SERVICE, TRACKER_DBUS_OBJECT_RESOURCES, TRACKER_DBUS_INTERFACE_RESOURCES, "Load");
#line 281 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->message = _data_->_tmp0_;
#line 282 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp1_ = NULL;
#line 282 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp1_ = _data_->message;
#line 282 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp2_ = NULL;
#line 282 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp2_ = _data_->file;
#line 282 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp3_ = NULL;
#line 282 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp3_ = g_file_get_uri (_data_->_tmp2_);
#line 282 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp4_ = NULL;
#line 282 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp4_ = _data_->_tmp3_;
#line 282 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp5_ = NULL;
#line 282 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp5_ = g_variant_new ("(s)", _data_->_tmp4_, NULL);
#line 282 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_variant_ref_sink (_data_->_tmp5_);
#line 282 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp6_ = NULL;
#line 282 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 282 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_dbus_message_set_body (_data_->_tmp1_, _data_->_tmp6_);
#line 282 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_variant_unref0 (_data_->_tmp6_);
#line 282 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_free0 (_data_->_tmp4_);
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp7_ = NULL;
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp7_ = _data_->self->priv->bus;
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp8_ = NULL;
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp8_ = _data_->message;
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp9_ = 0;
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp9_ = G_MAXINT;
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp10_ = NULL;
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp10_ = _data_->cancellable;
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_state_ = 1;
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_dbus_connection_send_message_with_reply (_data_->_tmp7_, _data_->_tmp8_, G_DBUS_SEND_MESSAGE_FLAGS_NONE, _data_->_tmp9_, NULL, _data_->_tmp10_, tracker_bus_connection_load_async_ready, _data_);
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return FALSE;
#line 4845 "tracker-bus.c"
	_state_1:
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp11_ = NULL;
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp11_ = g_dbus_connection_send_message_with_reply_finish (_data_->_tmp7_, _data_->_res_, &_data_->_inner_error_);
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->reply = _data_->_tmp11_;
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->message);
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4867 "tracker-bus.c"
			} else {
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 4871 "tracker-bus.c"
			}
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 4877 "tracker-bus.c"
		} else {
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->message);
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 284 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 4887 "tracker-bus.c"
		}
	}
#line 285 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp12_ = NULL;
#line 285 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp12_ = _data_->reply;
#line 285 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_bus_connection_handle_error_reply (_data_->self, _data_->_tmp12_, &_data_->_inner_error_);
#line 285 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 285 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 285 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 285 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 285 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->reply);
#line 285 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->message);
#line 285 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 285 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4912 "tracker-bus.c"
			} else {
#line 285 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 4916 "tracker-bus.c"
			}
#line 285 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 285 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 4922 "tracker-bus.c"
		} else {
#line 285 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->reply);
#line 285 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->message);
#line 285 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 285 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 285 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 4934 "tracker-bus.c"
		}
	}
#line 280 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->reply);
#line 280 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->message);
#line 280 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_state_ == 0) {
#line 280 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4945 "tracker-bus.c"
	} else {
#line 280 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 4949 "tracker-bus.c"
	}
#line 280 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_object_unref (_data_->_async_result);
#line 280 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return FALSE;
#line 4955 "tracker-bus.c"
}


static gchar** _variant_get2 (GVariant* value, int* result_length1, int* result_length2) {
	gchar** _tmp12_;
	int _tmp12__length;
	int _tmp12__size;
	int _tmp12__length1;
	GVariantIter _tmp13_;
	GVariant* _tmp14_;
	_tmp12_ = g_new (gchar*, 5);
	_tmp12__length = 0;
	_tmp12__size = 4;
	_tmp12__length1 = 0;
#line 294 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_variant_iter_init (&_tmp13_, value);
#line 294 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	for (; (_tmp14_ = g_variant_iter_next_value (&_tmp13_)) != NULL; _tmp12__length1++) {
#line 4974 "tracker-bus.c"
		int _tmp12__length2;
		GVariantIter _tmp15_;
		GVariant* _tmp16_;
		_tmp12__length2 = 0;
#line 294 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_variant_iter_init (&_tmp15_, _tmp14_);
#line 294 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		for (; (_tmp16_ = g_variant_iter_next_value (&_tmp15_)) != NULL; _tmp12__length2++) {
#line 294 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_tmp12__size == _tmp12__length) {
#line 294 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_tmp12__size = 2 * _tmp12__size;
#line 294 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_tmp12_ = g_renew (gchar*, _tmp12_, _tmp12__size + 1);
#line 4989 "tracker-bus.c"
			}
#line 294 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_tmp12_[_tmp12__length++] = g_variant_dup_string (_tmp16_, NULL);
#line 294 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_variant_unref (_tmp16_);
#line 4995 "tracker-bus.c"
		}
#line 294 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		*result_length2 = _tmp12__length2;
#line 294 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_variant_unref (_tmp14_);
#line 5001 "tracker-bus.c"
	}
#line 294 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	*result_length1 = _tmp12__length1;
#line 294 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp12_[_tmp12__length] = NULL;
#line 294 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return _tmp12_;
#line 5009 "tracker-bus.c"
}


static TrackerSparqlCursor* tracker_bus_connection_real_statistics (TrackerSparqlConnection* base, GCancellable* cancellable, GError** error) {
	TrackerBusConnection * self;
	TrackerSparqlCursor* result = NULL;
	GDBusMessage* message = NULL;
	GDBusMessage* _tmp0_ = NULL;
	GDBusMessage* reply = NULL;
	GDBusConnection* _tmp1_ = NULL;
	GDBusMessage* _tmp2_ = NULL;
	gint _tmp3_ = 0;
	GCancellable* _tmp4_ = NULL;
	GDBusMessage* _tmp5_ = NULL;
	GDBusMessage* _tmp6_ = NULL;
	gchar** results = NULL;
	GDBusMessage* _tmp7_ = NULL;
	GVariant* _tmp8_ = NULL;
	GVariant* _tmp9_ = NULL;
	GVariant* _tmp10_ = NULL;
	gchar** _tmp11_ = NULL;
	gint _tmp11__length1 = 0;
	gint _tmp11__length2 = 0;
	gchar** _tmp17_ = NULL;
	gint _tmp17__length1 = 0;
	gint _tmp17__length2 = 0;
	gint results_length1 = 0;
	gint results_length2 = 0;
	TrackerSparqlValueType* types = NULL;
	TrackerSparqlValueType* _tmp18_ = NULL;
	gint types_length1 = 0;
	gint _types_size_ = 0;
	gchar** var_names = NULL;
	gchar** _tmp19_ = NULL;
	gint var_names_length1 = 0;
	gint _var_names_size_ = 0;
	gchar** _tmp20_ = NULL;
	gint _tmp20__length1 = 0;
	gchar* _tmp21_ = NULL;
	gchar* _tmp22_ = NULL;
	gchar** _tmp23_ = NULL;
	gint _tmp23__length1 = 0;
	gchar* _tmp24_ = NULL;
	gchar* _tmp25_ = NULL;
	TrackerSparqlValueType* _tmp26_ = NULL;
	gint _tmp26__length1 = 0;
	TrackerSparqlValueType _tmp27_ = 0;
	TrackerSparqlValueType* _tmp28_ = NULL;
	gint _tmp28__length1 = 0;
	TrackerSparqlValueType _tmp29_ = 0;
	gchar** _tmp30_ = NULL;
	gint _tmp30__length1 = 0;
	gint _tmp30__length2 = 0;
	gchar** _tmp31_ = NULL;
	gint _tmp31__length1 = 0;
	gint _tmp31__length2 = 0;
	gint _tmp32_ = 0;
	gchar** _tmp33_ = NULL;
	gint _tmp33__length1 = 0;
	gint _tmp33__length2 = 0;
	gint _tmp34_ = 0;
	gchar** _tmp35_ = NULL;
	gint _tmp35__length1 = 0;
	TrackerSparqlValueType* _tmp36_ = NULL;
	gint _tmp36__length1 = 0;
	TrackerBusArrayCursor* _tmp37_ = NULL;
	GError * _inner_error_ = NULL;
#line 288 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	self = (TrackerBusConnection*) base;
#line 289 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp0_ = g_dbus_message_new_method_call (TRACKER_DBUS_SERVICE, TRACKER_DBUS_OBJECT_STATISTICS, TRACKER_DBUS_INTERFACE_STATISTICS, "Get");
#line 289 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	message = _tmp0_;
#line 291 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp1_ = self->priv->bus;
#line 291 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp2_ = message;
#line 291 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp3_ = G_MAXINT;
#line 291 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp4_ = cancellable;
#line 291 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp5_ = g_dbus_connection_send_message_with_reply_sync (_tmp1_, _tmp2_, G_DBUS_SEND_MESSAGE_FLAGS_NONE, _tmp3_, NULL, _tmp4_, &_inner_error_);
#line 291 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	reply = _tmp5_;
#line 291 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_inner_error_ != NULL) {
#line 291 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == G_IO_ERROR)) || (_inner_error_->domain == G_DBUS_ERROR)) {
#line 291 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_propagate_error (error, _inner_error_);
#line 291 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (message);
#line 291 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return NULL;
#line 5105 "tracker-bus.c"
		} else {
#line 291 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (message);
#line 291 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 291 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_inner_error_);
#line 291 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return NULL;
#line 5115 "tracker-bus.c"
		}
	}
#line 292 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp6_ = reply;
#line 292 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_bus_connection_handle_error_reply (self, _tmp6_, &_inner_error_);
#line 292 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_inner_error_ != NULL) {
#line 292 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_inner_error_->domain == G_IO_ERROR)) || (_inner_error_->domain == G_DBUS_ERROR)) {
#line 292 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_propagate_error (error, _inner_error_);
#line 292 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (reply);
#line 292 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (message);
#line 292 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return NULL;
#line 5134 "tracker-bus.c"
		} else {
#line 292 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (reply);
#line 292 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (message);
#line 292 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 292 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_inner_error_);
#line 292 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return NULL;
#line 5146 "tracker-bus.c"
		}
	}
#line 294 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp7_ = reply;
#line 294 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp8_ = g_dbus_message_get_body (_tmp7_);
#line 294 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp9_ = g_variant_get_child_value (_tmp8_, (gsize) 0);
#line 294 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp10_ = _tmp9_;
#line 294 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp11_ = _variant_get2 (_tmp10_, &_tmp11__length1, &_tmp11__length2);
#line 294 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp17_ = _tmp11_;
#line 294 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp17__length1 = _tmp11__length1;
#line 294 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp17__length2 = _tmp11__length2;
#line 294 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_variant_unref0 (_tmp10_);
#line 294 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	results = _tmp17_;
#line 294 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	results_length1 = _tmp17__length1;
#line 294 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	results_length2 = _tmp17__length2;
#line 295 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp18_ = g_new0 (TrackerSparqlValueType, 2);
#line 295 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	types = _tmp18_;
#line 295 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	types_length1 = 2;
#line 295 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_types_size_ = types_length1;
#line 296 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp19_ = g_new0 (gchar*, 2 + 1);
#line 296 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	var_names = _tmp19_;
#line 296 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	var_names_length1 = 2;
#line 296 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_var_names_size_ = var_names_length1;
#line 298 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp20_ = var_names;
#line 298 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp20__length1 = var_names_length1;
#line 298 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp21_ = g_strdup ("class");
#line 298 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_free0 (_tmp20_[0]);
#line 298 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp20_[0] = _tmp21_;
#line 298 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp22_ = _tmp20_[0];
#line 299 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp23_ = var_names;
#line 299 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp23__length1 = var_names_length1;
#line 299 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp24_ = g_strdup ("count");
#line 299 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_free0 (_tmp23_[1]);
#line 299 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp23_[1] = _tmp24_;
#line 299 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp25_ = _tmp23_[1];
#line 300 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp26_ = types;
#line 300 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp26__length1 = types_length1;
#line 300 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp26_[0] = TRACKER_SPARQL_VALUE_TYPE_STRING;
#line 300 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp27_ = _tmp26_[0];
#line 301 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp28_ = types;
#line 301 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp28__length1 = types_length1;
#line 301 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp28_[1] = TRACKER_SPARQL_VALUE_TYPE_INTEGER;
#line 301 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp29_ = _tmp28_[1];
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp30_ = results;
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp30__length1 = results_length1;
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp30__length2 = results_length2;
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	results = NULL;
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	results_length1 = 0;
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	results_length2 = 0;
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp31_ = results;
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp31__length1 = results_length1;
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp31__length2 = results_length2;
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp32_ = _tmp31__length1;
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp33_ = results;
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp33__length1 = results_length1;
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp33__length2 = results_length2;
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp34_ = _tmp33__length2;
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp35_ = var_names;
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp35__length1 = var_names_length1;
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp36_ = types;
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp36__length1 = types_length1;
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp37_ = tracker_bus_array_cursor_new (_tmp30_, _tmp30__length1, _tmp30__length2, _tmp32_, _tmp34_, _tmp35_, _tmp35__length1, _tmp36_, _tmp36__length1);
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	result = (TrackerSparqlCursor*) _tmp37_;
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	var_names = (_vala_array_free (var_names, var_names_length1, (GDestroyNotify) g_free), NULL);
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	types = (g_free (types), NULL);
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	results = (_vala_array_free (results, results_length1 * results_length2, (GDestroyNotify) g_free), NULL);
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (reply);
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (message);
#line 303 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return result;
#line 5281 "tracker-bus.c"
}


static void tracker_bus_connection_real_statistics_async_data_free (gpointer _data) {
	TrackerBusConnectionStatisticsAsyncData* _data_;
	_data_ = _data;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->cancellable);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->result);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->self);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_slice_free (TrackerBusConnectionStatisticsAsyncData, _data_);
#line 5296 "tracker-bus.c"
}


static void tracker_bus_connection_real_statistics_async (TrackerSparqlConnection* base, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	TrackerBusConnection * self;
	TrackerBusConnectionStatisticsAsyncData* _data_;
	TrackerBusConnection* _tmp0_ = NULL;
	GCancellable* _tmp1_ = NULL;
	GCancellable* _tmp2_ = NULL;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	self = (TrackerBusConnection*) base;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_ = g_slice_new0 (TrackerBusConnectionStatisticsAsyncData);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, tracker_bus_connection_real_statistics_async);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, tracker_bus_connection_real_statistics_async_data_free);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->self = _tmp0_;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp1_ = cancellable;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->cancellable);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->cancellable = _tmp2_;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_bus_connection_real_statistics_async_co (_data_);
#line 5328 "tracker-bus.c"
}


static TrackerSparqlCursor* tracker_bus_connection_real_statistics_finish (TrackerSparqlConnection* base, GAsyncResult* _res_, GError** error) {
	TrackerSparqlCursor* result;
	TrackerBusConnectionStatisticsAsyncData* _data_;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		return NULL;
#line 5339 "tracker-bus.c"
	}
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	result = _data_->result;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->result = NULL;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return result;
#line 5349 "tracker-bus.c"
}


static void tracker_bus_connection_statistics_async_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	TrackerBusConnectionStatisticsAsyncData* _data_;
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_ = _user_data_;
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_source_object_ = source_object;
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_res_ = _res_;
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_bus_connection_real_statistics_async_co (_data_);
#line 5363 "tracker-bus.c"
}


static gchar** _variant_get3 (GVariant* value, int* result_length1, int* result_length2) {
	gchar** _tmp12_;
	int _tmp12__length;
	int _tmp12__size;
	int _tmp12__length1;
	GVariantIter _tmp13_;
	GVariant* _tmp14_;
	_tmp12_ = g_new (gchar*, 5);
	_tmp12__length = 0;
	_tmp12__size = 4;
	_tmp12__length1 = 0;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_variant_iter_init (&_tmp13_, value);
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	for (; (_tmp14_ = g_variant_iter_next_value (&_tmp13_)) != NULL; _tmp12__length1++) {
#line 5382 "tracker-bus.c"
		int _tmp12__length2;
		GVariantIter _tmp15_;
		GVariant* _tmp16_;
		_tmp12__length2 = 0;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_variant_iter_init (&_tmp15_, _tmp14_);
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		for (; (_tmp16_ = g_variant_iter_next_value (&_tmp15_)) != NULL; _tmp12__length2++) {
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_tmp12__size == _tmp12__length) {
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_tmp12__size = 2 * _tmp12__size;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				_tmp12_ = g_renew (gchar*, _tmp12_, _tmp12__size + 1);
#line 5397 "tracker-bus.c"
			}
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_tmp12_[_tmp12__length++] = g_variant_dup_string (_tmp16_, NULL);
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_variant_unref (_tmp16_);
#line 5403 "tracker-bus.c"
		}
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		*result_length2 = _tmp12__length2;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_variant_unref (_tmp14_);
#line 5409 "tracker-bus.c"
	}
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	*result_length1 = _tmp12__length1;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_tmp12_[_tmp12__length] = NULL;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return _tmp12_;
#line 5417 "tracker-bus.c"
}


static gboolean tracker_bus_connection_real_statistics_async_co (TrackerBusConnectionStatisticsAsyncData* _data_) {
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	switch (_data_->_state_) {
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		case 0:
#line 5426 "tracker-bus.c"
		goto _state_0;
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		case 1:
#line 5430 "tracker-bus.c"
		goto _state_1;
		default:
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_assert_not_reached ();
#line 5435 "tracker-bus.c"
	}
	_state_0:
#line 311 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp0_ = NULL;
#line 311 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp0_ = g_dbus_message_new_method_call (TRACKER_DBUS_SERVICE, TRACKER_DBUS_OBJECT_STATISTICS, TRACKER_DBUS_INTERFACE_STATISTICS, "Get");
#line 311 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->message = _data_->_tmp0_;
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp1_ = NULL;
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp1_ = _data_->self->priv->bus;
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp2_ = NULL;
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp2_ = _data_->message;
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp3_ = 0;
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp3_ = G_MAXINT;
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp4_ = NULL;
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp4_ = _data_->cancellable;
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_state_ = 1;
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_dbus_connection_send_message_with_reply (_data_->_tmp1_, _data_->_tmp2_, G_DBUS_SEND_MESSAGE_FLAGS_NONE, _data_->_tmp3_, NULL, _data_->_tmp4_, tracker_bus_connection_statistics_async_ready, _data_);
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return FALSE;
#line 5466 "tracker-bus.c"
	_state_1:
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp5_ = NULL;
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp5_ = g_dbus_connection_send_message_with_reply_finish (_data_->_tmp1_, _data_->_res_, &_data_->_inner_error_);
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->reply = _data_->_tmp5_;
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->message);
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5488 "tracker-bus.c"
			} else {
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 5492 "tracker-bus.c"
			}
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 5498 "tracker-bus.c"
		} else {
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->message);
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 313 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 5508 "tracker-bus.c"
		}
	}
#line 314 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp6_ = NULL;
#line 314 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp6_ = _data_->reply;
#line 314 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_bus_connection_handle_error_reply (_data_->self, _data_->_tmp6_, &_data_->_inner_error_);
#line 314 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_inner_error_ != NULL) {
#line 314 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		if (((_data_->_inner_error_->domain == TRACKER_SPARQL_ERROR) || (_data_->_inner_error_->domain == G_IO_ERROR)) || (_data_->_inner_error_->domain == G_DBUS_ERROR)) {
#line 314 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 314 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_error_free (_data_->_inner_error_);
#line 314 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->reply);
#line 314 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->message);
#line 314 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			if (_data_->_state_ == 0) {
#line 314 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5533 "tracker-bus.c"
			} else {
#line 314 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
				g_simple_async_result_complete (_data_->_async_result);
#line 5537 "tracker-bus.c"
			}
#line 314 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_object_unref (_data_->_async_result);
#line 314 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 5543 "tracker-bus.c"
		} else {
#line 314 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->reply);
#line 314 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			_g_object_unref0 (_data_->message);
#line 314 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.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 314 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			g_clear_error (&_data_->_inner_error_);
#line 314 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
			return FALSE;
#line 5555 "tracker-bus.c"
		}
	}
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp7_ = NULL;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp7_ = _data_->reply;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp8_ = NULL;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp8_ = g_dbus_message_get_body (_data_->_tmp7_);
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp9_ = NULL;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp9_ = g_variant_get_child_value (_data_->_tmp8_, (gsize) 0);
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp10_ = NULL;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp10_ = _data_->_tmp9_;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp11_ = NULL;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp11__length1 = 0;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp11__length2 = 0;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp11_ = _variant_get3 (_data_->_tmp10_, &_data_->_tmp11__length1, &_data_->_tmp11__length2);
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp17_ = NULL;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp17__length1 = 0;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp17__length2 = 0;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp17_ = _data_->_tmp11_;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp17__length1 = _data_->_tmp11__length1;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp17__length2 = _data_->_tmp11__length2;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_variant_unref0 (_data_->_tmp10_);
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->results_length1 = 0;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->results_length2 = 0;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->results = _data_->_tmp17_;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->results_length1 = _data_->_tmp17__length1;
#line 316 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->results_length2 = _data_->_tmp17__length2;
#line 317 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp18_ = NULL;
#line 317 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp18_ = g_new0 (TrackerSparqlValueType, 2);
#line 317 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->types_length1 = 0;
#line 317 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_types_size_ = 0;
#line 317 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->types = _data_->_tmp18_;
#line 317 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->types_length1 = 2;
#line 317 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_types_size_ = _data_->types_length1;
#line 318 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp19_ = NULL;
#line 318 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp19_ = g_new0 (gchar*, 2 + 1);
#line 318 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->var_names_length1 = 0;
#line 318 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_var_names_size_ = 0;
#line 318 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->var_names = _data_->_tmp19_;
#line 318 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->var_names_length1 = 2;
#line 318 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_var_names_size_ = _data_->var_names_length1;
#line 320 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp20_ = NULL;
#line 320 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp20__length1 = 0;
#line 320 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp20_ = _data_->var_names;
#line 320 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp20__length1 = _data_->var_names_length1;
#line 320 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp21_ = NULL;
#line 320 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp21_ = g_strdup ("class");
#line 320 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_free0 (_data_->_tmp20_[0]);
#line 320 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp20_[0] = _data_->_tmp21_;
#line 320 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp22_ = NULL;
#line 320 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp22_ = _data_->_tmp20_[0];
#line 321 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp23_ = NULL;
#line 321 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp23__length1 = 0;
#line 321 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp23_ = _data_->var_names;
#line 321 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp23__length1 = _data_->var_names_length1;
#line 321 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp24_ = NULL;
#line 321 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp24_ = g_strdup ("count");
#line 321 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_free0 (_data_->_tmp23_[1]);
#line 321 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp23_[1] = _data_->_tmp24_;
#line 321 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp25_ = NULL;
#line 321 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp25_ = _data_->_tmp23_[1];
#line 322 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp26_ = NULL;
#line 322 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp26__length1 = 0;
#line 322 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp26_ = _data_->types;
#line 322 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp26__length1 = _data_->types_length1;
#line 322 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp26_[0] = TRACKER_SPARQL_VALUE_TYPE_STRING;
#line 322 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp27_ = 0;
#line 322 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp27_ = _data_->_tmp26_[0];
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp28_ = NULL;
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp28__length1 = 0;
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp28_ = _data_->types;
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp28__length1 = _data_->types_length1;
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp28_[1] = TRACKER_SPARQL_VALUE_TYPE_INTEGER;
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp29_ = 0;
#line 323 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp29_ = _data_->_tmp28_[1];
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp30_ = NULL;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp30__length1 = 0;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp30__length2 = 0;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp30_ = _data_->results;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp30__length1 = _data_->results_length1;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp30__length2 = _data_->results_length2;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->results = NULL;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->results_length1 = 0;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->results_length2 = 0;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp31_ = NULL;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp31__length1 = 0;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp31__length2 = 0;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp31_ = _data_->results;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp31__length1 = _data_->results_length1;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp31__length2 = _data_->results_length2;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp32_ = 0;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp32_ = _data_->_tmp31__length1;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp33_ = NULL;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp33__length1 = 0;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp33__length2 = 0;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp33_ = _data_->results;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp33__length1 = _data_->results_length1;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp33__length2 = _data_->results_length2;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp34_ = 0;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp34_ = _data_->_tmp33__length2;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp35_ = NULL;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp35__length1 = 0;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp35_ = _data_->var_names;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp35__length1 = _data_->var_names_length1;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp36_ = NULL;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp36__length1 = 0;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp36_ = _data_->types;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp36__length1 = _data_->types_length1;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp37_ = NULL;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->_tmp37_ = tracker_bus_array_cursor_new (_data_->_tmp30_, _data_->_tmp30__length1, _data_->_tmp30__length2, _data_->_tmp32_, _data_->_tmp34_, _data_->_tmp35_, _data_->_tmp35__length1, _data_->_tmp36_, _data_->_tmp36__length1);
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->result = (TrackerSparqlCursor*) _data_->_tmp37_;
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->var_names = (_vala_array_free (_data_->var_names, _data_->var_names_length1, (GDestroyNotify) g_free), NULL);
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->types = (g_free (_data_->types), NULL);
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->results = (_vala_array_free (_data_->results, _data_->results_length1 * _data_->results_length2, (GDestroyNotify) g_free), NULL);
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->reply);
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->message);
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_state_ == 0) {
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5788 "tracker-bus.c"
	} else {
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 5792 "tracker-bus.c"
	}
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_object_unref (_data_->_async_result);
#line 325 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return FALSE;
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->var_names = (_vala_array_free (_data_->var_names, _data_->var_names_length1, (GDestroyNotify) g_free), NULL);
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->types = (g_free (_data_->types), NULL);
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_data_->results = (_vala_array_free (_data_->results, _data_->results_length1 * _data_->results_length2, (GDestroyNotify) g_free), NULL);
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->reply);
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (_data_->message);
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	if (_data_->_state_ == 0) {
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 5812 "tracker-bus.c"
	} else {
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 5816 "tracker-bus.c"
	}
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_object_unref (_data_->_async_result);
#line 310 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	return FALSE;
#line 5822 "tracker-bus.c"
}


static void tracker_bus_connection_class_init (TrackerBusConnectionClass * klass) {
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	tracker_bus_connection_parent_class = g_type_class_peek_parent (klass);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	g_type_class_add_private (klass, sizeof (TrackerBusConnectionPrivate));
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	TRACKER_SPARQL_CONNECTION_CLASS (klass)->query = tracker_bus_connection_real_query;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	TRACKER_SPARQL_CONNECTION_CLASS (klass)->query_async = tracker_bus_connection_real_query_async;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	TRACKER_SPARQL_CONNECTION_CLASS (klass)->query_finish = tracker_bus_connection_real_query_finish;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	TRACKER_SPARQL_CONNECTION_CLASS (klass)->update = tracker_bus_connection_real_update;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	TRACKER_SPARQL_CONNECTION_CLASS (klass)->update_async = tracker_bus_connection_real_update_async;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	TRACKER_SPARQL_CONNECTION_CLASS (klass)->update_finish = tracker_bus_connection_real_update_finish;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	TRACKER_SPARQL_CONNECTION_CLASS (klass)->update_array_async = tracker_bus_connection_real_update_array_async;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	TRACKER_SPARQL_CONNECTION_CLASS (klass)->update_array_finish = tracker_bus_connection_real_update_array_finish;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	TRACKER_SPARQL_CONNECTION_CLASS (klass)->update_blank = tracker_bus_connection_real_update_blank;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	TRACKER_SPARQL_CONNECTION_CLASS (klass)->update_blank_async = tracker_bus_connection_real_update_blank_async;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	TRACKER_SPARQL_CONNECTION_CLASS (klass)->update_blank_finish = tracker_bus_connection_real_update_blank_finish;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	TRACKER_SPARQL_CONNECTION_CLASS (klass)->load = tracker_bus_connection_real_load;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	TRACKER_SPARQL_CONNECTION_CLASS (klass)->load_async = tracker_bus_connection_real_load_async;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	TRACKER_SPARQL_CONNECTION_CLASS (klass)->load_finish = tracker_bus_connection_real_load_finish;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	TRACKER_SPARQL_CONNECTION_CLASS (klass)->statistics = tracker_bus_connection_real_statistics;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	TRACKER_SPARQL_CONNECTION_CLASS (klass)->statistics_async = tracker_bus_connection_real_statistics_async;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	TRACKER_SPARQL_CONNECTION_CLASS (klass)->statistics_finish = tracker_bus_connection_real_statistics_finish;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	G_OBJECT_CLASS (klass)->finalize = tracker_bus_connection_finalize;
#line 5867 "tracker-bus.c"
}


static void tracker_bus_connection_instance_init (TrackerBusConnection * self) {
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	self->priv = TRACKER_BUS_CONNECTION_GET_PRIVATE (self);
#line 5874 "tracker-bus.c"
}


static void tracker_bus_connection_finalize (GObject* obj) {
	TrackerBusConnection * self;
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, TRACKER_BUS_TYPE_CONNECTION, TrackerBusConnection);
#line 21 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	_g_object_unref0 (self->priv->bus);
#line 20 "/home/martyn/Source/checkout/gnome/tracker/src/libtracker-bus/tracker-bus.vala"
	G_OBJECT_CLASS (tracker_bus_connection_parent_class)->finalize (obj);
#line 5886 "tracker-bus.c"
}


GType tracker_bus_connection_get_type (void) {
	static volatile gsize tracker_bus_connection_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_bus_connection_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (TrackerBusConnectionClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) tracker_bus_connection_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TrackerBusConnection), 0, (GInstanceInitFunc) tracker_bus_connection_instance_init, NULL };
		GType tracker_bus_connection_type_id;
		tracker_bus_connection_type_id = g_type_register_static (TRACKER_SPARQL_TYPE_CONNECTION, "TrackerBusConnection", &g_define_type_info, 0);
		g_once_init_leave (&tracker_bus_connection_type_id__volatile, tracker_bus_connection_type_id);
	}
	return tracker_bus_connection_type_id__volatile;
}


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);
}



