/* rygel-tracker-query-triplets.c generated by valac 0.17.4.16-52707, the Vala compiler
 * generated from rygel-tracker-query-triplets.vala, do not modify */

/*
 * Copyright (C) 2008 Nokia Corporation.
 *
 * Author: Zeeshan Ali <zeenix@gmail.com>
 *
 * This file is part of Rygel.
 *
 * Rygel 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 of the License, or
 * (at your option) any later version.
 *
 * Rygel 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 program; if not, write to the Free Software Foundation,
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 */

#include <glib.h>
#include <glib-object.h>
#include <gee.h>
#include <stdlib.h>
#include <string.h>


#define RYGEL_TRACKER_TYPE_QUERY_TRIPLETS (rygel_tracker_query_triplets_get_type ())
#define RYGEL_TRACKER_QUERY_TRIPLETS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RYGEL_TRACKER_TYPE_QUERY_TRIPLETS, RygelTrackerQueryTriplets))
#define RYGEL_TRACKER_QUERY_TRIPLETS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), RYGEL_TRACKER_TYPE_QUERY_TRIPLETS, RygelTrackerQueryTripletsClass))
#define RYGEL_TRACKER_IS_QUERY_TRIPLETS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), RYGEL_TRACKER_TYPE_QUERY_TRIPLETS))
#define RYGEL_TRACKER_IS_QUERY_TRIPLETS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), RYGEL_TRACKER_TYPE_QUERY_TRIPLETS))
#define RYGEL_TRACKER_QUERY_TRIPLETS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), RYGEL_TRACKER_TYPE_QUERY_TRIPLETS, RygelTrackerQueryTripletsClass))

typedef struct _RygelTrackerQueryTriplets RygelTrackerQueryTriplets;
typedef struct _RygelTrackerQueryTripletsClass RygelTrackerQueryTripletsClass;
typedef struct _RygelTrackerQueryTripletsPrivate RygelTrackerQueryTripletsPrivate;

#define RYGEL_TRACKER_TYPE_QUERY_TRIPLET (rygel_tracker_query_triplet_get_type ())
#define RYGEL_TRACKER_QUERY_TRIPLET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), RYGEL_TRACKER_TYPE_QUERY_TRIPLET, RygelTrackerQueryTriplet))
#define RYGEL_TRACKER_QUERY_TRIPLET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), RYGEL_TRACKER_TYPE_QUERY_TRIPLET, RygelTrackerQueryTripletClass))
#define RYGEL_TRACKER_IS_QUERY_TRIPLET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), RYGEL_TRACKER_TYPE_QUERY_TRIPLET))
#define RYGEL_TRACKER_IS_QUERY_TRIPLET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), RYGEL_TRACKER_TYPE_QUERY_TRIPLET))
#define RYGEL_TRACKER_QUERY_TRIPLET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), RYGEL_TRACKER_TYPE_QUERY_TRIPLET, RygelTrackerQueryTripletClass))

typedef struct _RygelTrackerQueryTriplet RygelTrackerQueryTriplet;
typedef struct _RygelTrackerQueryTripletClass RygelTrackerQueryTripletClass;
#define _rygel_tracker_query_triplet_unref0(var) ((var == NULL) ? NULL : (var = (rygel_tracker_query_triplet_unref (var), NULL)))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
typedef struct _RygelTrackerQueryTripletPrivate RygelTrackerQueryTripletPrivate;
#define _g_free0(var) (var = (g_free (var), NULL))

struct _RygelTrackerQueryTriplets {
	GeeArrayList parent_instance;
	RygelTrackerQueryTripletsPrivate * priv;
};

struct _RygelTrackerQueryTripletsClass {
	GeeArrayListClass parent_class;
};

struct _RygelTrackerQueryTriplet {
	GTypeInstance parent_instance;
	volatile int ref_count;
	RygelTrackerQueryTripletPrivate * priv;
	gchar* graph;
	gchar* subject;
	gchar* predicate;
	gchar* obj;
	RygelTrackerQueryTriplet* next;
};

struct _RygelTrackerQueryTripletClass {
	GTypeClass parent_class;
	void (*finalize) (RygelTrackerQueryTriplet *self);
};


static gpointer rygel_tracker_query_triplets_parent_class = NULL;

GType rygel_tracker_query_triplets_get_type (void) G_GNUC_CONST;
enum  {
	RYGEL_TRACKER_QUERY_TRIPLETS_DUMMY_PROPERTY
};
RygelTrackerQueryTriplets* rygel_tracker_query_triplets_new (void);
RygelTrackerQueryTriplets* rygel_tracker_query_triplets_construct (GType object_type);
gpointer rygel_tracker_query_triplet_ref (gpointer instance);
void rygel_tracker_query_triplet_unref (gpointer instance);
GParamSpec* rygel_tracker_param_spec_query_triplet (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void rygel_tracker_value_set_query_triplet (GValue* value, gpointer v_object);
void rygel_tracker_value_take_query_triplet (GValue* value, gpointer v_object);
gpointer rygel_tracker_value_get_query_triplet (const GValue* value);
GType rygel_tracker_query_triplet_get_type (void) G_GNUC_CONST;
gboolean rygel_tracker_query_triplet_equal_func (RygelTrackerQueryTriplet* a, RygelTrackerQueryTriplet* b);
RygelTrackerQueryTriplets* rygel_tracker_query_triplets_new_clone (RygelTrackerQueryTriplets* triplets);
RygelTrackerQueryTriplets* rygel_tracker_query_triplets_construct_clone (GType object_type, RygelTrackerQueryTriplets* triplets);
RygelTrackerQueryTriplet* rygel_tracker_query_triplet_new_clone (RygelTrackerQueryTriplet* triplet);
RygelTrackerQueryTriplet* rygel_tracker_query_triplet_construct_clone (GType object_type, RygelTrackerQueryTriplet* triplet);
gchar* rygel_tracker_query_triplets_serialize (RygelTrackerQueryTriplets* self);
gchar* rygel_tracker_query_triplet_to_string (RygelTrackerQueryTriplet* self, gboolean include_subject);
static gboolean rygel_tracker_query_triplets_check_graph_change (RygelTrackerQueryTriplets* self, gint i);
static gboolean rygel_tracker_query_triplets_real_add (GeeAbstractCollection* base, RygelTrackerQueryTriplet* triplet);


RygelTrackerQueryTriplets* rygel_tracker_query_triplets_construct (GType object_type) {
	RygelTrackerQueryTriplets * self = NULL;
#line 30 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	self = (RygelTrackerQueryTriplets*) gee_array_list_construct (object_type, RYGEL_TRACKER_TYPE_QUERY_TRIPLET, (GBoxedCopyFunc) rygel_tracker_query_triplet_ref, rygel_tracker_query_triplet_unref, (GEqualFunc) rygel_tracker_query_triplet_equal_func);
#line 29 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	return self;
#line 117 "rygel-tracker-query-triplets.c"
}


RygelTrackerQueryTriplets* rygel_tracker_query_triplets_new (void) {
#line 29 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	return rygel_tracker_query_triplets_construct (RYGEL_TRACKER_TYPE_QUERY_TRIPLETS);
#line 124 "rygel-tracker-query-triplets.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 36 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	return self ? g_object_ref (self) : NULL;
#line 131 "rygel-tracker-query-triplets.c"
}


RygelTrackerQueryTriplets* rygel_tracker_query_triplets_construct_clone (GType object_type, RygelTrackerQueryTriplets* triplets) {
	RygelTrackerQueryTriplets * self = NULL;
#line 33 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	g_return_val_if_fail (triplets != NULL, NULL);
#line 34 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	self = (RygelTrackerQueryTriplets*) gee_array_list_construct (object_type, RYGEL_TRACKER_TYPE_QUERY_TRIPLET, (GBoxedCopyFunc) rygel_tracker_query_triplet_ref, rygel_tracker_query_triplet_unref, (GEqualFunc) rygel_tracker_query_triplet_equal_func);
#line 141 "rygel-tracker-query-triplets.c"
	{
		RygelTrackerQueryTriplets* _tmp0_;
		RygelTrackerQueryTriplets* _tmp1_;
		RygelTrackerQueryTriplets* _triplet_list;
		RygelTrackerQueryTriplets* _tmp2_;
		gint _tmp3_;
		gint _tmp4_;
		gint _triplet_size;
		gint _triplet_index;
#line 36 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp0_ = triplets;
#line 36 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 36 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_triplet_list = _tmp1_;
#line 36 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp2_ = _triplet_list;
#line 36 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp3_ = gee_abstract_collection_get_size ((GeeCollection*) _tmp2_);
#line 36 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp4_ = _tmp3_;
#line 36 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_triplet_size = _tmp4_;
#line 36 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_triplet_index = -1;
#line 36 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		while (TRUE) {
#line 169 "rygel-tracker-query-triplets.c"
			gint _tmp5_;
			gint _tmp6_;
			gint _tmp7_;
			RygelTrackerQueryTriplets* _tmp8_;
			gint _tmp9_;
			gpointer _tmp10_ = NULL;
			RygelTrackerQueryTriplet* triplet;
			RygelTrackerQueryTriplet* _tmp11_;
			RygelTrackerQueryTriplet* _tmp12_;
			RygelTrackerQueryTriplet* _tmp13_;
#line 36 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
			_tmp5_ = _triplet_index;
#line 36 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
			_triplet_index = _tmp5_ + 1;
#line 36 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
			_tmp6_ = _triplet_index;
#line 36 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
			_tmp7_ = _triplet_size;
#line 36 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
			if (!(_tmp6_ < _tmp7_)) {
#line 36 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				break;
#line 192 "rygel-tracker-query-triplets.c"
			}
#line 36 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
			_tmp8_ = _triplet_list;
#line 36 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
			_tmp9_ = _triplet_index;
#line 36 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
			_tmp10_ = gee_abstract_list_get ((GeeAbstractList*) _tmp8_, _tmp9_);
#line 36 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
			triplet = (RygelTrackerQueryTriplet*) _tmp10_;
#line 37 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
			_tmp11_ = triplet;
#line 37 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
			_tmp12_ = rygel_tracker_query_triplet_new_clone (_tmp11_);
#line 37 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
			_tmp13_ = _tmp12_;
#line 37 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
			gee_abstract_collection_add ((GeeAbstractCollection*) self, _tmp13_);
#line 37 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
			_rygel_tracker_query_triplet_unref0 (_tmp13_);
#line 36 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
			_rygel_tracker_query_triplet_unref0 (triplet);
#line 214 "rygel-tracker-query-triplets.c"
		}
#line 36 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_g_object_unref0 (_triplet_list);
#line 218 "rygel-tracker-query-triplets.c"
	}
#line 33 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	return self;
#line 222 "rygel-tracker-query-triplets.c"
}


RygelTrackerQueryTriplets* rygel_tracker_query_triplets_new_clone (RygelTrackerQueryTriplets* triplets) {
#line 33 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	return rygel_tracker_query_triplets_construct_clone (RYGEL_TRACKER_TYPE_QUERY_TRIPLETS, triplets);
#line 229 "rygel-tracker-query-triplets.c"
}


gchar* rygel_tracker_query_triplets_serialize (RygelTrackerQueryTriplets* self) {
	gchar* result = NULL;
	gchar* _tmp0_;
	gchar* str;
	gboolean include_subject;
#line 41 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 42 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	_tmp0_ = g_strdup ("");
#line 42 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	str = _tmp0_;
#line 43 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	include_subject = TRUE;
#line 246 "rygel-tracker-query-triplets.c"
	{
		gint i;
#line 45 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		i = 0;
#line 251 "rygel-tracker-query-triplets.c"
		{
			gboolean _tmp1_;
#line 45 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
			_tmp1_ = TRUE;
#line 45 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
			while (TRUE) {
#line 258 "rygel-tracker-query-triplets.c"
				gboolean _tmp2_;
				gint _tmp4_;
				gint _tmp5_;
				gint _tmp6_;
				gboolean _tmp7_ = FALSE;
				gint _tmp8_;
				gpointer _tmp9_ = NULL;
				RygelTrackerQueryTriplet* _tmp10_;
				const gchar* _tmp11_;
				gboolean _tmp12_;
				gboolean _tmp14_;
				const gchar* _tmp23_;
				gint _tmp24_;
				gpointer _tmp25_ = NULL;
				RygelTrackerQueryTriplet* _tmp26_;
				gboolean _tmp27_;
				gchar* _tmp28_ = NULL;
				gchar* _tmp29_;
				gchar* _tmp30_;
				gint _tmp31_;
				gint _tmp32_;
				gint _tmp33_;
#line 45 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				_tmp2_ = _tmp1_;
#line 45 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				if (!_tmp2_) {
#line 285 "rygel-tracker-query-triplets.c"
					gint _tmp3_;
#line 45 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp3_ = i;
#line 45 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					i = _tmp3_ + 1;
#line 291 "rygel-tracker-query-triplets.c"
				}
#line 45 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				_tmp1_ = FALSE;
#line 45 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				_tmp4_ = i;
#line 45 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				_tmp5_ = gee_abstract_collection_get_size ((GeeCollection*) self);
#line 45 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				_tmp6_ = _tmp5_;
#line 45 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				if (!(_tmp4_ < _tmp6_)) {
#line 45 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					break;
#line 305 "rygel-tracker-query-triplets.c"
				}
#line 46 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				_tmp8_ = i;
#line 46 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				_tmp9_ = gee_abstract_list_get ((GeeAbstractList*) self, _tmp8_);
#line 46 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				_tmp10_ = (RygelTrackerQueryTriplet*) _tmp9_;
#line 46 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				_tmp11_ = _tmp10_->graph;
#line 46 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				_tmp12_ = _tmp11_ != NULL;
#line 46 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				_rygel_tracker_query_triplet_unref0 (_tmp10_);
#line 46 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				if (_tmp12_) {
#line 321 "rygel-tracker-query-triplets.c"
					gboolean _tmp13_;
#line 46 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp13_ = include_subject;
#line 46 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp7_ = _tmp13_;
#line 327 "rygel-tracker-query-triplets.c"
				} else {
#line 46 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp7_ = FALSE;
#line 331 "rygel-tracker-query-triplets.c"
				}
#line 46 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				_tmp14_ = _tmp7_;
#line 46 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				if (_tmp14_) {
#line 337 "rygel-tracker-query-triplets.c"
					const gchar* _tmp15_;
					gint _tmp16_;
					gpointer _tmp17_ = NULL;
					RygelTrackerQueryTriplet* _tmp18_;
					const gchar* _tmp19_;
					gchar* _tmp20_ = NULL;
					gchar* _tmp21_;
					gchar* _tmp22_;
#line 47 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp15_ = str;
#line 47 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp16_ = i;
#line 47 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp17_ = gee_abstract_list_get ((GeeAbstractList*) self, _tmp16_);
#line 47 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp18_ = (RygelTrackerQueryTriplet*) _tmp17_;
#line 47 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp19_ = _tmp18_->graph;
#line 47 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp20_ = g_strdup_printf ("GRAPH <%s> {", _tmp19_);
#line 47 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp21_ = _tmp20_;
#line 47 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp22_ = g_strconcat (_tmp15_, _tmp21_, NULL);
#line 47 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_g_free0 (str);
#line 47 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					str = _tmp22_;
#line 47 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_g_free0 (_tmp21_);
#line 47 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_rygel_tracker_query_triplet_unref0 (_tmp18_);
#line 370 "rygel-tracker-query-triplets.c"
				}
#line 50 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				_tmp23_ = str;
#line 50 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				_tmp24_ = i;
#line 50 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				_tmp25_ = gee_abstract_list_get ((GeeAbstractList*) self, _tmp24_);
#line 50 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				_tmp26_ = (RygelTrackerQueryTriplet*) _tmp25_;
#line 50 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				_tmp27_ = include_subject;
#line 50 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				_tmp28_ = rygel_tracker_query_triplet_to_string (_tmp26_, _tmp27_);
#line 50 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				_tmp29_ = _tmp28_;
#line 50 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				_tmp30_ = g_strconcat (_tmp23_, _tmp29_, NULL);
#line 50 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				_g_free0 (str);
#line 50 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				str = _tmp30_;
#line 50 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				_g_free0 (_tmp29_);
#line 50 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				_rygel_tracker_query_triplet_unref0 (_tmp26_);
#line 52 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				_tmp31_ = i;
#line 52 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				_tmp32_ = gee_abstract_collection_get_size ((GeeCollection*) self);
#line 52 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				_tmp33_ = _tmp32_;
#line 52 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
				if (_tmp31_ < (_tmp33_ - 1)) {
#line 404 "rygel-tracker-query-triplets.c"
					gboolean _tmp34_ = FALSE;
					gint _tmp35_;
					gpointer _tmp36_ = NULL;
					RygelTrackerQueryTriplet* _tmp37_;
					const gchar* _tmp38_;
					gint _tmp39_;
					gpointer _tmp40_ = NULL;
					RygelTrackerQueryTriplet* _tmp41_;
					const gchar* _tmp42_;
					gboolean _tmp43_;
					gboolean _tmp46_;
					gboolean _tmp47_;
#line 53 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp35_ = i;
#line 53 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp36_ = gee_abstract_list_get ((GeeAbstractList*) self, _tmp35_);
#line 53 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp37_ = (RygelTrackerQueryTriplet*) _tmp36_;
#line 53 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp38_ = _tmp37_->subject;
#line 53 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp39_ = i;
#line 53 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp40_ = gee_abstract_list_get ((GeeAbstractList*) self, _tmp39_ + 1);
#line 53 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp41_ = (RygelTrackerQueryTriplet*) _tmp40_;
#line 53 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp42_ = _tmp41_->subject;
#line 53 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp43_ = g_strcmp0 (_tmp38_, _tmp42_) != 0;
#line 53 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_rygel_tracker_query_triplet_unref0 (_tmp41_);
#line 53 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_rygel_tracker_query_triplet_unref0 (_tmp37_);
#line 53 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					if (_tmp43_) {
#line 53 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
						_tmp34_ = TRUE;
#line 443 "rygel-tracker-query-triplets.c"
					} else {
						gint _tmp44_;
						gboolean _tmp45_ = FALSE;
#line 54 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
						_tmp44_ = i;
#line 54 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
						_tmp45_ = rygel_tracker_query_triplets_check_graph_change (self, _tmp44_);
#line 54 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
						_tmp34_ = _tmp45_;
#line 453 "rygel-tracker-query-triplets.c"
					}
#line 53 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp46_ = _tmp34_;
#line 53 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					include_subject = _tmp46_;
#line 56 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp47_ = include_subject;
#line 56 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					if (_tmp47_) {
#line 463 "rygel-tracker-query-triplets.c"
						const gchar* _tmp48_;
						gchar* _tmp49_;
						gint _tmp50_;
						gpointer _tmp51_ = NULL;
						RygelTrackerQueryTriplet* _tmp52_;
						const gchar* _tmp53_;
						gboolean _tmp54_;
#line 57 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
						_tmp48_ = str;
#line 57 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
						_tmp49_ = g_strconcat (_tmp48_, " . ", NULL);
#line 57 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
						_g_free0 (str);
#line 57 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
						str = _tmp49_;
#line 59 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
						_tmp50_ = i;
#line 59 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
						_tmp51_ = gee_abstract_list_get ((GeeAbstractList*) self, _tmp50_);
#line 59 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
						_tmp52_ = (RygelTrackerQueryTriplet*) _tmp51_;
#line 59 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
						_tmp53_ = _tmp52_->graph;
#line 59 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
						_tmp54_ = _tmp53_ != NULL;
#line 59 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
						_rygel_tracker_query_triplet_unref0 (_tmp52_);
#line 59 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
						if (_tmp54_) {
#line 493 "rygel-tracker-query-triplets.c"
							const gchar* _tmp55_;
							gchar* _tmp56_;
#line 60 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
							_tmp55_ = str;
#line 60 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
							_tmp56_ = g_strconcat (_tmp55_, "} ", NULL);
#line 60 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
							_g_free0 (str);
#line 60 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
							str = _tmp56_;
#line 504 "rygel-tracker-query-triplets.c"
						}
					} else {
						const gchar* _tmp57_;
						gchar* _tmp58_;
#line 63 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
						_tmp57_ = str;
#line 63 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
						_tmp58_ = g_strconcat (_tmp57_, " ; ", NULL);
#line 63 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
						_g_free0 (str);
#line 63 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
						str = _tmp58_;
#line 517 "rygel-tracker-query-triplets.c"
					}
				} else {
					gint _tmp59_;
					gpointer _tmp60_ = NULL;
					RygelTrackerQueryTriplet* _tmp61_;
					const gchar* _tmp62_;
					gboolean _tmp63_;
#line 67 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp59_ = i;
#line 67 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp60_ = gee_abstract_list_get ((GeeAbstractList*) self, _tmp59_);
#line 67 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp61_ = (RygelTrackerQueryTriplet*) _tmp60_;
#line 67 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp62_ = _tmp61_->graph;
#line 67 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_tmp63_ = _tmp62_ != NULL;
#line 67 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					_rygel_tracker_query_triplet_unref0 (_tmp61_);
#line 67 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
					if (_tmp63_) {
#line 539 "rygel-tracker-query-triplets.c"
						const gchar* _tmp64_;
						gchar* _tmp65_;
#line 68 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
						_tmp64_ = str;
#line 68 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
						_tmp65_ = g_strconcat (_tmp64_, " . } ", NULL);
#line 68 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
						_g_free0 (str);
#line 68 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
						str = _tmp65_;
#line 550 "rygel-tracker-query-triplets.c"
					}
				}
			}
		}
	}
#line 73 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	result = str;
#line 73 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	return result;
#line 560 "rygel-tracker-query-triplets.c"
}


static gboolean rygel_tracker_query_triplets_real_add (GeeAbstractCollection* base, RygelTrackerQueryTriplet* triplet) {
	RygelTrackerQueryTriplets * self;
	gboolean result = FALSE;
	RygelTrackerQueryTriplet* _tmp0_;
	gboolean _tmp1_ = FALSE;
#line 76 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	self = (RygelTrackerQueryTriplets*) base;
#line 76 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	g_return_val_if_fail (triplet != NULL, FALSE);
#line 77 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	_tmp0_ = triplet;
#line 77 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	_tmp1_ = gee_abstract_collection_contains ((GeeAbstractCollection*) self, _tmp0_);
#line 77 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	if (!_tmp1_) {
#line 579 "rygel-tracker-query-triplets.c"
		RygelTrackerQueryTriplet* _tmp2_;
		gboolean _tmp3_ = FALSE;
#line 78 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp2_ = triplet;
#line 78 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp3_ = GEE_ABSTRACT_COLLECTION_CLASS (rygel_tracker_query_triplets_parent_class)->add ((GeeAbstractCollection*) G_TYPE_CHECK_INSTANCE_CAST (self, GEE_TYPE_ARRAY_LIST, GeeArrayList), _tmp2_);
#line 78 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		result = _tmp3_;
#line 78 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		return result;
#line 590 "rygel-tracker-query-triplets.c"
	}
#line 81 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	result = FALSE;
#line 81 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	return result;
#line 596 "rygel-tracker-query-triplets.c"
}


static gboolean rygel_tracker_query_triplets_check_graph_change (RygelTrackerQueryTriplets* self, gint i) {
	gboolean result = FALSE;
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
	gint _tmp3_;
	gpointer _tmp4_ = NULL;
	RygelTrackerQueryTriplet* _tmp5_;
	const gchar* _tmp6_;
	gboolean _tmp7_;
	gboolean _tmp12_;
	gboolean _tmp24_;
	gboolean _tmp33_;
#line 84 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 85 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	_tmp3_ = i;
#line 85 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	_tmp4_ = gee_abstract_list_get ((GeeAbstractList*) self, _tmp3_);
#line 85 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	_tmp5_ = (RygelTrackerQueryTriplet*) _tmp4_;
#line 85 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	_tmp6_ = _tmp5_->graph;
#line 85 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	_tmp7_ = _tmp6_ == NULL;
#line 85 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	_rygel_tracker_query_triplet_unref0 (_tmp5_);
#line 85 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	if (_tmp7_) {
#line 629 "rygel-tracker-query-triplets.c"
		gint _tmp8_;
		gpointer _tmp9_ = NULL;
		RygelTrackerQueryTriplet* _tmp10_;
		const gchar* _tmp11_;
#line 85 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp8_ = i;
#line 85 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp9_ = gee_abstract_list_get ((GeeAbstractList*) self, _tmp8_ + 1);
#line 85 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp10_ = (RygelTrackerQueryTriplet*) _tmp9_;
#line 85 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp11_ = _tmp10_->graph;
#line 85 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp2_ = _tmp11_ != NULL;
#line 85 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_rygel_tracker_query_triplet_unref0 (_tmp10_);
#line 646 "rygel-tracker-query-triplets.c"
	} else {
#line 85 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp2_ = FALSE;
#line 650 "rygel-tracker-query-triplets.c"
	}
#line 85 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	_tmp12_ = _tmp2_;
#line 85 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	if (_tmp12_) {
#line 85 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp1_ = TRUE;
#line 658 "rygel-tracker-query-triplets.c"
	} else {
		gboolean _tmp13_ = FALSE;
		gint _tmp14_;
		gpointer _tmp15_ = NULL;
		RygelTrackerQueryTriplet* _tmp16_;
		const gchar* _tmp17_;
		gboolean _tmp18_;
		gboolean _tmp23_;
#line 86 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp14_ = i;
#line 86 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp15_ = gee_abstract_list_get ((GeeAbstractList*) self, _tmp14_);
#line 86 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp16_ = (RygelTrackerQueryTriplet*) _tmp15_;
#line 86 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp17_ = _tmp16_->graph;
#line 86 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp18_ = _tmp17_ != NULL;
#line 86 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_rygel_tracker_query_triplet_unref0 (_tmp16_);
#line 86 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		if (_tmp18_) {
#line 681 "rygel-tracker-query-triplets.c"
			gint _tmp19_;
			gpointer _tmp20_ = NULL;
			RygelTrackerQueryTriplet* _tmp21_;
			const gchar* _tmp22_;
#line 86 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
			_tmp19_ = i;
#line 86 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
			_tmp20_ = gee_abstract_list_get ((GeeAbstractList*) self, _tmp19_ + 1);
#line 86 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
			_tmp21_ = (RygelTrackerQueryTriplet*) _tmp20_;
#line 86 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
			_tmp22_ = _tmp21_->graph;
#line 86 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
			_tmp13_ = _tmp22_ == NULL;
#line 86 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
			_rygel_tracker_query_triplet_unref0 (_tmp21_);
#line 698 "rygel-tracker-query-triplets.c"
		} else {
#line 86 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
			_tmp13_ = FALSE;
#line 702 "rygel-tracker-query-triplets.c"
		}
#line 86 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp23_ = _tmp13_;
#line 86 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp1_ = _tmp23_;
#line 708 "rygel-tracker-query-triplets.c"
	}
#line 85 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	_tmp24_ = _tmp1_;
#line 85 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	if (_tmp24_) {
#line 85 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp0_ = TRUE;
#line 716 "rygel-tracker-query-triplets.c"
	} else {
		gint _tmp25_;
		gpointer _tmp26_ = NULL;
		RygelTrackerQueryTriplet* _tmp27_;
		const gchar* _tmp28_;
		gint _tmp29_;
		gpointer _tmp30_ = NULL;
		RygelTrackerQueryTriplet* _tmp31_;
		const gchar* _tmp32_;
#line 87 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp25_ = i;
#line 87 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp26_ = gee_abstract_list_get ((GeeAbstractList*) self, _tmp25_);
#line 87 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp27_ = (RygelTrackerQueryTriplet*) _tmp26_;
#line 87 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp28_ = _tmp27_->graph;
#line 87 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp29_ = i;
#line 87 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp30_ = gee_abstract_list_get ((GeeAbstractList*) self, _tmp29_ + 1);
#line 87 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp31_ = (RygelTrackerQueryTriplet*) _tmp30_;
#line 87 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp32_ = _tmp31_->graph;
#line 87 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_tmp0_ = g_strcmp0 (_tmp28_, _tmp32_) != 0;
#line 87 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_rygel_tracker_query_triplet_unref0 (_tmp31_);
#line 87 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
		_rygel_tracker_query_triplet_unref0 (_tmp27_);
#line 748 "rygel-tracker-query-triplets.c"
	}
#line 85 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	_tmp33_ = _tmp0_;
#line 85 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	result = _tmp33_;
#line 85 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	return result;
#line 756 "rygel-tracker-query-triplets.c"
}


static void rygel_tracker_query_triplets_class_init (RygelTrackerQueryTripletsClass * klass) {
#line 28 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	rygel_tracker_query_triplets_parent_class = g_type_class_peek_parent (klass);
#line 28 "/home/jens/Source/rygel/src/plugins/tracker/rygel-tracker-query-triplets.vala"
	GEE_ABSTRACT_COLLECTION_CLASS (klass)->add = rygel_tracker_query_triplets_real_add;
#line 765 "rygel-tracker-query-triplets.c"
}


static void rygel_tracker_query_triplets_instance_init (RygelTrackerQueryTriplets * self) {
}


/**
 * Represents a list of SPARQL Triplet
 */
GType rygel_tracker_query_triplets_get_type (void) {
	static volatile gsize rygel_tracker_query_triplets_type_id__volatile = 0;
	if (g_once_init_enter (&rygel_tracker_query_triplets_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (RygelTrackerQueryTripletsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) rygel_tracker_query_triplets_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (RygelTrackerQueryTriplets), 0, (GInstanceInitFunc) rygel_tracker_query_triplets_instance_init, NULL };
		GType rygel_tracker_query_triplets_type_id;
		rygel_tracker_query_triplets_type_id = g_type_register_static (GEE_TYPE_ARRAY_LIST, "RygelTrackerQueryTriplets", &g_define_type_info, 0);
		g_once_init_leave (&rygel_tracker_query_triplets_type_id__volatile, rygel_tracker_query_triplets_type_id);
	}
	return rygel_tracker_query_triplets_type_id__volatile;
}



