/* tracker-cell-renderer-text.c generated by valac 0.13.4.8-6faa4, the Vala compiler
 * generated from tracker-cell-renderer-text.vala, do not modify */

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

#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
#include <stdlib.h>
#include <string.h>
#include <gdk/gdk.h>
#include <pango/pango.h>


#define TRACKER_TYPE_CELL_RENDERER_TEXT (tracker_cell_renderer_text_get_type ())
#define TRACKER_CELL_RENDERER_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TRACKER_TYPE_CELL_RENDERER_TEXT, TrackerCellRendererText))
#define TRACKER_CELL_RENDERER_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TRACKER_TYPE_CELL_RENDERER_TEXT, TrackerCellRendererTextClass))
#define TRACKER_IS_CELL_RENDERER_TEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TRACKER_TYPE_CELL_RENDERER_TEXT))
#define TRACKER_IS_CELL_RENDERER_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TRACKER_TYPE_CELL_RENDERER_TEXT))
#define TRACKER_CELL_RENDERER_TEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TRACKER_TYPE_CELL_RENDERER_TEXT, TrackerCellRendererTextClass))

typedef struct _TrackerCellRendererText TrackerCellRendererText;
typedef struct _TrackerCellRendererTextClass TrackerCellRendererTextClass;
typedef struct _TrackerCellRendererTextPrivate TrackerCellRendererTextPrivate;
#define _g_free0(var) (var = (g_free (var), NULL))
#define _pango_font_description_free0(var) ((var == NULL) ? NULL : (var = (pango_font_description_free (var), NULL)))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _pango_attribute_destroy0(var) ((var == NULL) ? NULL : (var = (pango_attribute_destroy (var), NULL)))
#define _pango_attr_list_unref0(var) ((var == NULL) ? NULL : (var = (pango_attr_list_unref (var), NULL)))

struct _TrackerCellRendererText {
	GtkCellRendererText parent_instance;
	TrackerCellRendererTextPrivate * priv;
};

struct _TrackerCellRendererTextClass {
	GtkCellRendererTextClass parent_class;
};

struct _TrackerCellRendererTextPrivate {
	gchar* _subtext;
	gboolean _show_row_hint;
	gboolean _show_subtext;
	gboolean _show_fixed_height;
	gboolean is_selected;
	gboolean is_valid;
	gint fixed_height;
};


static gpointer tracker_cell_renderer_text_parent_class = NULL;

GType tracker_cell_renderer_text_get_type (void) G_GNUC_CONST;
#define TRACKER_CELL_RENDERER_TEXT_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TRACKER_TYPE_CELL_RENDERER_TEXT, TrackerCellRendererTextPrivate))
enum  {
	TRACKER_CELL_RENDERER_TEXT_DUMMY_PROPERTY,
	TRACKER_CELL_RENDERER_TEXT_SUBTEXT,
	TRACKER_CELL_RENDERER_TEXT_SHOW_ROW_HINT,
	TRACKER_CELL_RENDERER_TEXT_SHOW_SUBTEXT,
	TRACKER_CELL_RENDERER_TEXT_SHOW_FIXED_HEIGHT
};
static void tracker_cell_renderer_text_real_get_size (GtkCellRenderer* base, GtkWidget* widget, GdkRectangle* cell_area, gint* x_offset, gint* y_offset, gint* width, gint* height);
static void tracker_cell_renderer_text_update_text (TrackerCellRendererText* self, GtkWidget* widget, gboolean selected);
static void tracker_cell_renderer_text_real_render (GtkCellRenderer* base, GdkWindow* window, GtkWidget* widget, GdkRectangle* background_area, GdkRectangle* cell_area, GdkRectangle* expose_area, GtkCellRendererState flags);
const gchar* tracker_cell_renderer_text_get_subtext (TrackerCellRendererText* self);
gboolean tracker_cell_renderer_text_get_show_subtext (TrackerCellRendererText* self);
gboolean tracker_cell_renderer_text_get_show_fixed_height (TrackerCellRendererText* self);
TrackerCellRendererText* tracker_cell_renderer_text_new (void);
TrackerCellRendererText* tracker_cell_renderer_text_construct (GType object_type);
void tracker_cell_renderer_text_set_subtext (TrackerCellRendererText* self, const gchar* value);
gboolean tracker_cell_renderer_text_get_show_row_hint (TrackerCellRendererText* self);
void tracker_cell_renderer_text_set_show_row_hint (TrackerCellRendererText* self, gboolean value);
void tracker_cell_renderer_text_set_show_subtext (TrackerCellRendererText* self, gboolean value);
void tracker_cell_renderer_text_set_show_fixed_height (TrackerCellRendererText* self, gboolean value);
static void tracker_cell_renderer_text_finalize (GObject* obj);
static void _vala_tracker_cell_renderer_text_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_tracker_cell_renderer_text_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);


static gpointer _g_object_ref0 (gpointer self) {
#line 39 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	return self ? g_object_ref (self) : NULL;
#line 101 "tracker-cell-renderer-text.c"
}


static gpointer _pango_font_description_copy0 (gpointer self) {
#line 43 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	return self ? pango_font_description_copy (self) : NULL;
#line 108 "tracker-cell-renderer-text.c"
}


static void tracker_cell_renderer_text_real_get_size (GtkCellRenderer* base, GtkWidget* widget, GdkRectangle* cell_area, gint* x_offset, gint* y_offset, gint* width, gint* height) {
	TrackerCellRendererText * self;
	gint _vala_x_offset = 0;
	gint _vala_y_offset = 0;
	gint _vala_width = 0;
	gint _vala_height = 0;
	gint _tmp0_;
	GtkWidget* _tmp17_;
	gboolean _tmp18_;
	GtkWidget* _tmp19_;
	GdkRectangle* _tmp20_;
	gint _tmp21_ = 0;
	gint _tmp22_ = 0;
	gint _tmp23_ = 0;
	gint _tmp24_ = 0;
#line 31 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	self = (TrackerCellRendererText*) base;
#line 31 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_return_if_fail (widget != NULL);
#line 38 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp0_ = self->priv->fixed_height;
#line 38 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	if (_tmp0_ == (-1)) {
#line 135 "tracker-cell-renderer-text.c"
		GtkWidget* _tmp1_;
		PangoContext* _tmp2_ = NULL;
		PangoContext* _tmp3_;
		PangoContext* c;
		PangoContext* _tmp4_;
		PangoLayout* _tmp5_;
		PangoLayout* layout;
		GtkWidget* _tmp6_;
		GtkStyle* _tmp7_ = NULL;
		GtkStyle* _tmp8_;
		GtkStyle* style;
		GtkStyle* _tmp9_;
		const PangoFontDescription* _tmp10_;
		PangoFontDescription* _tmp11_;
		PangoFontDescription* fd;
		PangoLayout* _tmp12_;
		PangoLayout* _tmp13_;
		const PangoFontDescription* _tmp14_;
		PangoLayout* _tmp15_;
		gint _tmp16_ = 0;
#line 39 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp1_ = widget;
#line 39 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp2_ = gtk_widget_get_pango_context (_tmp1_);
#line 39 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp3_ = _g_object_ref0 (_tmp2_);
#line 39 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		c = _tmp3_;
#line 40 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp4_ = c;
#line 40 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp5_ = pango_layout_new (_tmp4_);
#line 40 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		layout = _tmp5_;
#line 42 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp6_ = widget;
#line 42 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp7_ = gtk_widget_get_style (_tmp6_);
#line 42 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp8_ = _g_object_ref0 (_tmp7_);
#line 42 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		style = _tmp8_;
#line 43 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp9_ = style;
#line 43 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp10_ = _tmp9_->font_desc;
#line 43 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp11_ = _pango_font_description_copy0 (_tmp10_);
#line 43 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		fd = _tmp11_;
#line 45 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp12_ = layout;
#line 45 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		pango_layout_set_text (_tmp12_, "Foo\nBar", -1);
#line 46 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp13_ = layout;
#line 46 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp14_ = fd;
#line 46 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		pango_layout_set_font_description (_tmp13_, _tmp14_);
#line 47 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp15_ = layout;
#line 47 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		pango_layout_get_pixel_size (_tmp15_, NULL, &_tmp16_);
#line 47 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		self->priv->fixed_height = _tmp16_;
#line 38 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_pango_font_description_free0 (fd);
#line 38 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_g_object_unref0 (style);
#line 38 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_g_object_unref0 (layout);
#line 38 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_g_object_unref0 (c);
#line 210 "tracker-cell-renderer-text.c"
	}
#line 50 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp17_ = widget;
#line 50 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp18_ = self->priv->is_selected;
#line 50 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	tracker_cell_renderer_text_update_text (self, _tmp17_, _tmp18_);
#line 52 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp19_ = widget;
#line 52 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp20_ = cell_area;
#line 52 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	GTK_CELL_RENDERER_CLASS (tracker_cell_renderer_text_parent_class)->get_size ((GtkCellRenderer*) GTK_CELL_RENDERER_TEXT (self), _tmp19_, _tmp20_, &_tmp21_, &_tmp22_, &_tmp23_, &_tmp24_);
#line 52 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_vala_x_offset = _tmp21_;
#line 52 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_vala_y_offset = _tmp22_;
#line 52 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_vala_width = _tmp23_;
#line 52 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_vala_height = _tmp24_;
#line 31 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	if (x_offset) {
#line 31 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		*x_offset = _vala_x_offset;
#line 236 "tracker-cell-renderer-text.c"
	}
#line 31 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	if (y_offset) {
#line 31 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		*y_offset = _vala_y_offset;
#line 242 "tracker-cell-renderer-text.c"
	}
#line 31 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	if (width) {
#line 31 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		*width = _vala_width;
#line 248 "tracker-cell-renderer-text.c"
	}
#line 31 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	if (height) {
#line 31 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		*height = _vala_height;
#line 254 "tracker-cell-renderer-text.c"
	}
}


static void tracker_cell_renderer_text_real_render (GtkCellRenderer* base, GdkWindow* window, GtkWidget* widget, GdkRectangle* background_area, GdkRectangle* cell_area, GdkRectangle* expose_area, GtkCellRendererState flags) {
	TrackerCellRendererText * self;
	GtkCellRendererState _tmp0_;
	gboolean selected;
	GtkWidget* _tmp1_;
	GdkWindow* _tmp2_;
	GtkWidget* _tmp3_;
	GdkRectangle _tmp4_;
	GdkRectangle _tmp5_;
	GdkRectangle _tmp6_;
	GtkCellRendererState _tmp7_;
#line 55 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	self = (TrackerCellRendererText*) base;
#line 55 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_return_if_fail (window != NULL);
#line 55 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_return_if_fail (widget != NULL);
#line 55 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_return_if_fail (background_area != NULL);
#line 55 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_return_if_fail (cell_area != NULL);
#line 55 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_return_if_fail (expose_area != NULL);
#line 61 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp0_ = flags;
#line 61 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	selected = (_tmp0_ & GTK_CELL_RENDERER_SELECTED) == GTK_CELL_RENDERER_SELECTED;
#line 63 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp1_ = widget;
#line 63 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	tracker_cell_renderer_text_update_text (self, _tmp1_, selected);
#line 65 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp2_ = window;
#line 65 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp3_ = widget;
#line 65 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp4_ = *background_area;
#line 65 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp5_ = *cell_area;
#line 65 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp6_ = *expose_area;
#line 65 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp7_ = flags;
#line 65 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	GTK_CELL_RENDERER_CLASS (tracker_cell_renderer_text_parent_class)->render ((GtkCellRenderer*) GTK_CELL_RENDERER_TEXT (self), _tmp2_, _tmp3_, &_tmp4_, &_tmp5_, &_tmp6_, _tmp7_);
#line 304 "tracker-cell-renderer-text.c"
}


static void tracker_cell_renderer_text_update_text (TrackerCellRendererText* self, GtkWidget* widget, gboolean selected) {
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_;
	gboolean _tmp4_;
	GtkWidget* _tmp5_;
	GtkStyle* _tmp6_ = NULL;
	GtkStyle* _tmp7_;
	GtkStyle* style;
	PangoAttrList* _tmp8_;
	PangoAttrList* attr_list;
	guint start;
	gchar* _tmp9_ = NULL;
	gchar* _tmp10_;
	gchar* _tmp11_;
	gboolean _tmp12_;
	gboolean _tmp18_;
	GtkStyle* _tmp34_;
	const PangoFontDescription* _tmp35_;
	PangoFontDescription* _tmp36_;
	PangoFontDescription* fd;
	const PangoFontDescription* _tmp37_;
	gint _tmp38_ = 0;
	PangoAttrSize* _tmp39_;
	PangoAttrSize* attr_size;
	PangoAttrSize* _tmp40_;
	guint _tmp41_;
	PangoAttrSize* _tmp42_;
	PangoAttrList* _tmp43_;
	PangoAttrSize* _tmp44_;
	gchar* str = NULL;
	gboolean _tmp45_ = FALSE;
	gboolean _tmp46_ = FALSE;
	const gchar* _tmp47_;
	gboolean _tmp51_;
	gboolean _tmp53_;
	gboolean _tmp61_;
	const gchar* _tmp63_;
	PangoAttrList* _tmp64_;
	gboolean _tmp65_;
#line 68 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_return_if_fail (self != NULL);
#line 68 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_return_if_fail (widget != NULL);
#line 70 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp1_ = self->priv->is_valid;
#line 70 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	if (_tmp1_) {
#line 355 "tracker-cell-renderer-text.c"
		gboolean _tmp2_;
		gboolean _tmp3_;
#line 70 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp2_ = self->priv->is_selected;
#line 70 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp3_ = selected;
#line 70 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp0_ = _tmp2_ == _tmp3_;
#line 364 "tracker-cell-renderer-text.c"
	} else {
#line 70 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp0_ = FALSE;
#line 368 "tracker-cell-renderer-text.c"
	}
#line 70 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp4_ = _tmp0_;
#line 70 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	if (_tmp4_) {
#line 71 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		return;
#line 376 "tracker-cell-renderer-text.c"
	}
#line 74 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp5_ = widget;
#line 74 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp6_ = gtk_widget_get_style (_tmp5_);
#line 74 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp7_ = _g_object_ref0 (_tmp6_);
#line 74 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	style = _tmp7_;
#line 75 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp8_ = pango_attr_list_new ();
#line 75 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	attr_list = _tmp8_;
#line 77 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	start = (guint) 0;
#line 79 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_object_get ((GtkCellRendererText*) self, "text", &_tmp9_, NULL);
#line 79 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp10_ = _tmp9_;
#line 79 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp11_ = _tmp10_;
#line 79 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp12_ = _tmp11_ != NULL;
#line 79 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_g_free0 (_tmp11_);
#line 79 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	if (_tmp12_) {
#line 404 "tracker-cell-renderer-text.c"
		gchar* _tmp13_ = NULL;
		gchar* _tmp14_;
		gchar* _tmp15_;
		gint _tmp16_;
		gint _tmp17_;
#line 80 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		g_object_get ((GtkCellRendererText*) self, "text", &_tmp13_, NULL);
#line 80 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp14_ = _tmp13_;
#line 80 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp15_ = _tmp14_;
#line 80 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp16_ = strlen (_tmp15_);
#line 80 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp17_ = _tmp16_;
#line 80 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		start = (guint) _tmp17_;
#line 80 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_g_free0 (_tmp15_);
#line 424 "tracker-cell-renderer-text.c"
	}
#line 83 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp18_ = selected;
#line 83 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	if (!_tmp18_) {
#line 430 "tracker-cell-renderer-text.c"
		GtkStyle* _tmp19_;
		GdkColor* _tmp20_;
		gint _tmp20__length1;
		GdkColor _tmp21_;
		GdkColor c;
		GdkColor _tmp22_;
		guint16 _tmp23_;
		GdkColor _tmp24_;
		guint16 _tmp25_;
		GdkColor _tmp26_;
		guint16 _tmp27_;
		PangoAttribute* _tmp28_ = NULL;
		PangoAttribute* attr_color;
		PangoAttribute* _tmp29_;
		guint _tmp30_;
		PangoAttribute* _tmp31_;
		PangoAttrList* _tmp32_;
		PangoAttribute* _tmp33_;
#line 84 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp19_ = style;
#line 84 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp20_ = _tmp19_->text_aa;
#line 84 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp20__length1 = -1;
#line 84 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp21_ = _tmp20_[GTK_STATE_NORMAL];
#line 84 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		c = _tmp21_;
#line 85 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp22_ = c;
#line 85 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp23_ = _tmp22_.red;
#line 85 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp24_ = c;
#line 85 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp25_ = _tmp24_.green;
#line 85 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp26_ = c;
#line 85 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp27_ = _tmp26_.blue;
#line 85 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp28_ = pango_attr_foreground_new (_tmp23_, _tmp25_, _tmp27_);
#line 85 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		attr_color = _tmp28_;
#line 86 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp29_ = attr_color;
#line 86 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp30_ = start;
#line 86 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp29_->start_index = _tmp30_;
#line 87 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp31_ = attr_color;
#line 87 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp31_->end_index = (guint) (-1);
#line 88 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp32_ = attr_list;
#line 88 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp33_ = attr_color;
#line 88 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		attr_color = NULL;
#line 88 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		pango_attr_list_insert (_tmp32_, _tmp33_);
#line 83 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_pango_attribute_destroy0 (attr_color);
#line 495 "tracker-cell-renderer-text.c"
	}
#line 91 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp34_ = style;
#line 91 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp35_ = _tmp34_->font_desc;
#line 91 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp36_ = _pango_font_description_copy0 (_tmp35_);
#line 91 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	fd = _tmp36_;
#line 92 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp37_ = fd;
#line 92 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp38_ = pango_font_description_get_size (_tmp37_);
#line 92 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp39_ = (PangoAttrSize*) pango_attr_size_new ((gint) (_tmp38_ / 1.2));
#line 92 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	attr_size = _tmp39_;
#line 94 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp40_ = attr_size;
#line 94 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp41_ = start;
#line 94 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	((PangoAttribute*) _tmp40_)->start_index = _tmp41_;
#line 95 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp42_ = attr_size;
#line 95 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	((PangoAttribute*) _tmp42_)->end_index = (guint) (-1);
#line 96 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp43_ = attr_list;
#line 96 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp44_ = attr_size;
#line 96 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	attr_size = NULL;
#line 96 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	pango_attr_list_insert (_tmp43_, (PangoAttribute*) _tmp44_);
#line 100 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp47_ = self->priv->_subtext;
#line 100 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	if (_tmp47_ == NULL) {
#line 100 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp46_ = TRUE;
#line 537 "tracker-cell-renderer-text.c"
	} else {
		const gchar* _tmp48_;
		gint _tmp49_;
		gint _tmp50_;
#line 100 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp48_ = self->priv->_subtext;
#line 100 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp49_ = strlen (_tmp48_);
#line 100 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp50_ = _tmp49_;
#line 100 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp46_ = _tmp50_ < 1;
#line 550 "tracker-cell-renderer-text.c"
	}
#line 100 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp51_ = _tmp46_;
#line 100 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	if (_tmp51_) {
#line 100 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp45_ = TRUE;
#line 558 "tracker-cell-renderer-text.c"
	} else {
		gboolean _tmp52_;
#line 100 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp52_ = self->priv->_show_subtext;
#line 100 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp45_ = _tmp52_;
#line 565 "tracker-cell-renderer-text.c"
	}
#line 100 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp53_ = _tmp45_;
#line 100 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	if (_tmp53_) {
#line 571 "tracker-cell-renderer-text.c"
		gchar* _tmp54_ = NULL;
		gchar* _tmp55_;
#line 101 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		g_object_get ((GtkCellRendererText*) self, "text", &_tmp54_, NULL);
#line 101 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp55_ = _tmp54_;
#line 101 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_g_free0 (str);
#line 101 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		str = _tmp55_;
#line 582 "tracker-cell-renderer-text.c"
	} else {
		gchar* _tmp56_ = NULL;
		gchar* _tmp57_;
		gchar* _tmp58_;
		const gchar* _tmp59_;
		gchar* _tmp60_ = NULL;
#line 103 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		g_object_get ((GtkCellRendererText*) self, "text", &_tmp56_, NULL);
#line 103 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp57_ = _tmp56_;
#line 103 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp58_ = _tmp57_;
#line 103 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp59_ = self->priv->_subtext;
#line 103 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp60_ = g_strdup_printf ("%s\n%s", _tmp58_, _tmp59_);
#line 103 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_g_free0 (str);
#line 103 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		str = _tmp60_;
#line 103 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_g_free0 (_tmp58_);
#line 605 "tracker-cell-renderer-text.c"
	}
#line 108 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp61_ = self->priv->_show_fixed_height;
#line 108 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	if (_tmp61_) {
#line 611 "tracker-cell-renderer-text.c"
		gint _tmp62_;
#line 109 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		_tmp62_ = self->priv->fixed_height;
#line 109 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		g_object_set ((GtkCellRenderer*) self, "height", _tmp62_, NULL);
#line 617 "tracker-cell-renderer-text.c"
	} else {
#line 111 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		g_object_set ((GtkCellRenderer*) self, "height", -1, NULL);
#line 621 "tracker-cell-renderer-text.c"
	}
#line 114 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	gtk_cell_renderer_set_visible ((GtkCellRenderer*) self, TRUE);
#line 115 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_object_set ((GtkCellRendererText*) self, "weight", (gint) PANGO_WEIGHT_NORMAL, NULL);
#line 116 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp63_ = str;
#line 116 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_object_set ((GtkCellRendererText*) self, "text", _tmp63_, NULL);
#line 117 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp64_ = attr_list;
#line 117 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_object_set ((GtkCellRendererText*) self, "attributes", _tmp64_, NULL);
#line 118 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_object_set ((GtkCellRenderer*) self, "xpad", (guint) 0, NULL);
#line 119 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_object_set ((GtkCellRenderer*) self, "ypad", (guint) 1, NULL);
#line 121 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp65_ = selected;
#line 121 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	self->priv->is_selected = _tmp65_;
#line 68 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_g_free0 (str);
#line 68 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_pango_attribute_destroy0 (attr_size);
#line 68 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_pango_font_description_free0 (fd);
#line 68 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_pango_attr_list_unref0 (attr_list);
#line 68 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_g_object_unref0 (style);
#line 653 "tracker-cell-renderer-text.c"
}


TrackerCellRendererText* tracker_cell_renderer_text_construct (GType object_type) {
	TrackerCellRendererText * self = NULL;
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	self = (TrackerCellRendererText*) g_object_new (object_type, NULL);
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	return self;
#line 663 "tracker-cell-renderer-text.c"
}


TrackerCellRendererText* tracker_cell_renderer_text_new (void) {
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	return tracker_cell_renderer_text_construct (TRACKER_TYPE_CELL_RENDERER_TEXT);
#line 670 "tracker-cell-renderer-text.c"
}


const gchar* tracker_cell_renderer_text_get_subtext (TrackerCellRendererText* self) {
	const gchar* result;
	const gchar* _tmp0_;
#line 23 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 23 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp0_ = self->priv->_subtext;
#line 23 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	result = _tmp0_;
#line 23 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	return result;
#line 685 "tracker-cell-renderer-text.c"
}


void tracker_cell_renderer_text_set_subtext (TrackerCellRendererText* self, const gchar* value) {
	const gchar* _tmp0_;
	gchar* _tmp1_;
#line 23 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_return_if_fail (self != NULL);
#line 23 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp0_ = value;
#line 23 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 23 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_g_free0 (self->priv->_subtext);
#line 23 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	self->priv->_subtext = _tmp1_;
#line 23 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_object_notify ((GObject *) self, "subtext");
#line 704 "tracker-cell-renderer-text.c"
}


gboolean tracker_cell_renderer_text_get_show_row_hint (TrackerCellRendererText* self) {
	gboolean result;
	gboolean _tmp0_;
#line 24 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 24 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp0_ = self->priv->_show_row_hint;
#line 24 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	result = _tmp0_;
#line 24 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	return result;
#line 719 "tracker-cell-renderer-text.c"
}


void tracker_cell_renderer_text_set_show_row_hint (TrackerCellRendererText* self, gboolean value) {
	gboolean _tmp0_;
#line 24 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_return_if_fail (self != NULL);
#line 24 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp0_ = value;
#line 24 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	self->priv->_show_row_hint = _tmp0_;
#line 24 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_object_notify ((GObject *) self, "show-row-hint");
#line 733 "tracker-cell-renderer-text.c"
}


gboolean tracker_cell_renderer_text_get_show_subtext (TrackerCellRendererText* self) {
	gboolean result;
	gboolean _tmp0_;
#line 25 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 25 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp0_ = self->priv->_show_subtext;
#line 25 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	result = _tmp0_;
#line 25 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	return result;
#line 748 "tracker-cell-renderer-text.c"
}


void tracker_cell_renderer_text_set_show_subtext (TrackerCellRendererText* self, gboolean value) {
	gboolean _tmp0_;
#line 25 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_return_if_fail (self != NULL);
#line 25 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp0_ = value;
#line 25 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	self->priv->_show_subtext = _tmp0_;
#line 25 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_object_notify ((GObject *) self, "show-subtext");
#line 762 "tracker-cell-renderer-text.c"
}


gboolean tracker_cell_renderer_text_get_show_fixed_height (TrackerCellRendererText* self) {
	gboolean result;
	gboolean _tmp0_;
#line 26 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 26 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp0_ = self->priv->_show_fixed_height;
#line 26 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	result = _tmp0_;
#line 26 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	return result;
#line 777 "tracker-cell-renderer-text.c"
}


void tracker_cell_renderer_text_set_show_fixed_height (TrackerCellRendererText* self, gboolean value) {
	gboolean _tmp0_;
#line 26 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_return_if_fail (self != NULL);
#line 26 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_tmp0_ = value;
#line 26 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	self->priv->_show_fixed_height = _tmp0_;
#line 26 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_object_notify ((GObject *) self, "show-fixed-height");
#line 791 "tracker-cell-renderer-text.c"
}


static void tracker_cell_renderer_text_class_init (TrackerCellRendererTextClass * klass) {
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	tracker_cell_renderer_text_parent_class = g_type_class_peek_parent (klass);
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_type_class_add_private (klass, sizeof (TrackerCellRendererTextPrivate));
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	GTK_CELL_RENDERER_CLASS (klass)->get_size = tracker_cell_renderer_text_real_get_size;
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	GTK_CELL_RENDERER_CLASS (klass)->render = tracker_cell_renderer_text_real_render;
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_tracker_cell_renderer_text_get_property;
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_tracker_cell_renderer_text_set_property;
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	G_OBJECT_CLASS (klass)->finalize = tracker_cell_renderer_text_finalize;
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), TRACKER_CELL_RENDERER_TEXT_SUBTEXT, g_param_spec_string ("subtext", "subtext", "subtext", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), TRACKER_CELL_RENDERER_TEXT_SHOW_ROW_HINT, g_param_spec_boolean ("show-row-hint", "show-row-hint", "show-row-hint", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), TRACKER_CELL_RENDERER_TEXT_SHOW_SUBTEXT, g_param_spec_boolean ("show-subtext", "show-subtext", "show-subtext", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), TRACKER_CELL_RENDERER_TEXT_SHOW_FIXED_HEIGHT, g_param_spec_boolean ("show-fixed-height", "show-fixed-height", "show-fixed-height", FALSE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 818 "tracker-cell-renderer-text.c"
}


static void tracker_cell_renderer_text_instance_init (TrackerCellRendererText * self) {
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	self->priv = TRACKER_CELL_RENDERER_TEXT_GET_PRIVATE (self);
#line 29 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	self->priv->fixed_height = -1;
#line 827 "tracker-cell-renderer-text.c"
}


static void tracker_cell_renderer_text_finalize (GObject* obj) {
	TrackerCellRendererText * self;
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	self = TRACKER_CELL_RENDERER_TEXT (obj);
#line 23 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	_g_free0 (self->priv->_subtext);
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	G_OBJECT_CLASS (tracker_cell_renderer_text_parent_class)->finalize (obj);
#line 839 "tracker-cell-renderer-text.c"
}


GType tracker_cell_renderer_text_get_type (void) {
	static volatile gsize tracker_cell_renderer_text_type_id__volatile = 0;
	if (g_once_init_enter (&tracker_cell_renderer_text_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (TrackerCellRendererTextClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) tracker_cell_renderer_text_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (TrackerCellRendererText), 0, (GInstanceInitFunc) tracker_cell_renderer_text_instance_init, NULL };
		GType tracker_cell_renderer_text_type_id;
		tracker_cell_renderer_text_type_id = g_type_register_static (GTK_TYPE_CELL_RENDERER_TEXT, "TrackerCellRendererText", &g_define_type_info, 0);
		g_once_init_leave (&tracker_cell_renderer_text_type_id__volatile, tracker_cell_renderer_text_type_id);
	}
	return tracker_cell_renderer_text_type_id__volatile;
}


static void _vala_tracker_cell_renderer_text_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	TrackerCellRendererText * self;
	self = TRACKER_CELL_RENDERER_TEXT (object);
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	switch (property_id) {
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		case TRACKER_CELL_RENDERER_TEXT_SUBTEXT:
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		g_value_set_string (value, tracker_cell_renderer_text_get_subtext (self));
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		break;
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		case TRACKER_CELL_RENDERER_TEXT_SHOW_ROW_HINT:
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		g_value_set_boolean (value, tracker_cell_renderer_text_get_show_row_hint (self));
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		break;
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		case TRACKER_CELL_RENDERER_TEXT_SHOW_SUBTEXT:
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		g_value_set_boolean (value, tracker_cell_renderer_text_get_show_subtext (self));
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		break;
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		case TRACKER_CELL_RENDERER_TEXT_SHOW_FIXED_HEIGHT:
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		g_value_set_boolean (value, tracker_cell_renderer_text_get_show_fixed_height (self));
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		break;
#line 884 "tracker-cell-renderer-text.c"
		default:
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		break;
#line 890 "tracker-cell-renderer-text.c"
	}
}


static void _vala_tracker_cell_renderer_text_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	TrackerCellRendererText * self;
	self = TRACKER_CELL_RENDERER_TEXT (object);
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
	switch (property_id) {
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		case TRACKER_CELL_RENDERER_TEXT_SUBTEXT:
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		tracker_cell_renderer_text_set_subtext (self, g_value_get_string (value));
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		break;
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		case TRACKER_CELL_RENDERER_TEXT_SHOW_ROW_HINT:
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		tracker_cell_renderer_text_set_show_row_hint (self, g_value_get_boolean (value));
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		break;
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		case TRACKER_CELL_RENDERER_TEXT_SHOW_SUBTEXT:
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		tracker_cell_renderer_text_set_show_subtext (self, g_value_get_boolean (value));
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		break;
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		case TRACKER_CELL_RENDERER_TEXT_SHOW_FIXED_HEIGHT:
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		tracker_cell_renderer_text_set_show_fixed_height (self, g_value_get_boolean (value));
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		break;
#line 924 "tracker-cell-renderer-text.c"
		default:
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 20 "/home/martyn/Source/tracker/src/tracker-needle/tracker-cell-renderer-text.vala"
		break;
#line 930 "tracker-cell-renderer-text.c"
	}
}



