/* gitg-diff-image-side-by-side.c generated by valac 0.35.5.2-9e6c0, the Vala compiler
 * generated from gitg-diff-image-side-by-side.vala, do not modify */

/*
 * This file is part of gitg
 *
 * Copyright (C) 2016 - Jesse van den Kieboom
 *
 * gitg 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.
 *
 * gitg 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 gitg. If not, see <http://www.gnu.org/licenses/>.
 */

#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>
#include <pango/pango.h>
#include <gdk/gdk.h>
#include <cairo.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <float.h>
#include <math.h>
#include <string.h>
#include <stdlib.h>
#include <glib/gi18n-lib.h>


#define GITG_TYPE_DIFF_IMAGE_SIDE_BY_SIDE (gitg_diff_image_side_by_side_get_type ())
#define GITG_DIFF_IMAGE_SIDE_BY_SIDE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_DIFF_IMAGE_SIDE_BY_SIDE, GitgDiffImageSideBySide))
#define GITG_DIFF_IMAGE_SIDE_BY_SIDE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_DIFF_IMAGE_SIDE_BY_SIDE, GitgDiffImageSideBySideClass))
#define GITG_IS_DIFF_IMAGE_SIDE_BY_SIDE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_DIFF_IMAGE_SIDE_BY_SIDE))
#define GITG_IS_DIFF_IMAGE_SIDE_BY_SIDE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_DIFF_IMAGE_SIDE_BY_SIDE))
#define GITG_DIFF_IMAGE_SIDE_BY_SIDE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_DIFF_IMAGE_SIDE_BY_SIDE, GitgDiffImageSideBySideClass))

typedef struct _GitgDiffImageSideBySide GitgDiffImageSideBySide;
typedef struct _GitgDiffImageSideBySideClass GitgDiffImageSideBySideClass;
typedef struct _GitgDiffImageSideBySidePrivate GitgDiffImageSideBySidePrivate;

#define GITG_TYPE_DIFF_IMAGE_SURFACE_CACHE (gitg_diff_image_surface_cache_get_type ())
#define GITG_DIFF_IMAGE_SURFACE_CACHE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_DIFF_IMAGE_SURFACE_CACHE, GitgDiffImageSurfaceCache))
#define GITG_IS_DIFF_IMAGE_SURFACE_CACHE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_DIFF_IMAGE_SURFACE_CACHE))
#define GITG_DIFF_IMAGE_SURFACE_CACHE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GITG_TYPE_DIFF_IMAGE_SURFACE_CACHE, GitgDiffImageSurfaceCacheIface))

typedef struct _GitgDiffImageSurfaceCache GitgDiffImageSurfaceCache;
typedef struct _GitgDiffImageSurfaceCacheIface GitgDiffImageSurfaceCacheIface;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

#define GITG_DIFF_IMAGE_SIDE_BY_SIDE_TYPE_SIZING (gitg_diff_image_side_by_side_sizing_get_type ())

#define GITG_DIFF_IMAGE_SIDE_BY_SIDE_TYPE_SIZE (gitg_diff_image_side_by_side_size_get_type ())
typedef struct _GitgDiffImageSideBySideSize GitgDiffImageSideBySideSize;
typedef struct _GitgDiffImageSideBySideSizing GitgDiffImageSideBySideSizing;
#define _cairo_surface_destroy0(var) ((var == NULL) ? NULL : (var = (cairo_surface_destroy (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))

struct _GitgDiffImageSideBySide {
	GtkDrawingArea parent_instance;
	GitgDiffImageSideBySidePrivate * priv;
};

struct _GitgDiffImageSideBySideClass {
	GtkDrawingAreaClass parent_class;
};

struct _GitgDiffImageSurfaceCacheIface {
	GTypeInterface parent_iface;
	cairo_surface_t* (*get_old_surface) (GitgDiffImageSurfaceCache* self, GdkWindow* window);
	cairo_surface_t* (*get_new_surface) (GitgDiffImageSurfaceCache* self, GdkWindow* window);
	GdkPixbuf* (*get_old_pixbuf) (GitgDiffImageSurfaceCache* self);
	void (*set_old_pixbuf) (GitgDiffImageSurfaceCache* self, GdkPixbuf* value);
	GdkPixbuf* (*get_new_pixbuf) (GitgDiffImageSurfaceCache* self);
	void (*set_new_pixbuf) (GitgDiffImageSurfaceCache* self, GdkPixbuf* value);
	GdkWindow* (*get_window) (GitgDiffImageSurfaceCache* self);
	void (*set_window) (GitgDiffImageSurfaceCache* self, GdkWindow* value);
};

struct _GitgDiffImageSideBySidePrivate {
	PangoLayout* d_old_size_layout;
	PangoLayout* d_new_size_layout;
	GitgDiffImageSurfaceCache* _cache;
	gint _spacing;
};

struct _GitgDiffImageSideBySideSize {
	gint width;
	gint image_width;
	gint image_height;
};

struct _GitgDiffImageSideBySideSizing {
	GitgDiffImageSideBySideSize old_size;
	GitgDiffImageSideBySideSize new_size;
};


static gpointer gitg_diff_image_side_by_side_parent_class = NULL;

GType gitg_diff_image_side_by_side_get_type (void) G_GNUC_CONST;
GType gitg_diff_image_surface_cache_get_type (void) G_GNUC_CONST;
#define GITG_DIFF_IMAGE_SIDE_BY_SIDE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_TYPE_DIFF_IMAGE_SIDE_BY_SIDE, GitgDiffImageSideBySidePrivate))
enum  {
	GITG_DIFF_IMAGE_SIDE_BY_SIDE_DUMMY_PROPERTY,
	GITG_DIFF_IMAGE_SIDE_BY_SIDE_CACHE,
	GITG_DIFF_IMAGE_SIDE_BY_SIDE_SPACING
};
#define GITG_DIFF_IMAGE_SIDE_BY_SIDE_TEXT_SPACING 6
static GType gitg_diff_image_side_by_side_sizing_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
static GType gitg_diff_image_side_by_side_size_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
static GitgDiffImageSideBySideSize* gitg_diff_image_side_by_side_size_dup (const GitgDiffImageSideBySideSize* self);
static void gitg_diff_image_side_by_side_size_free (GitgDiffImageSideBySideSize* self);
static GitgDiffImageSideBySideSizing* gitg_diff_image_side_by_side_sizing_dup (const GitgDiffImageSideBySideSizing* self);
static void gitg_diff_image_side_by_side_sizing_free (GitgDiffImageSideBySideSizing* self);
static void gitg_diff_image_side_by_side_get_sizing (GitgDiffImageSideBySide* self, gint width, GitgDiffImageSideBySideSizing* result);
GitgDiffImageSurfaceCache* gitg_diff_image_side_by_side_get_cache (GitgDiffImageSideBySide* self);
GdkPixbuf* gitg_diff_image_surface_cache_get_old_pixbuf (GitgDiffImageSurfaceCache* self);
GdkPixbuf* gitg_diff_image_surface_cache_get_new_pixbuf (GitgDiffImageSurfaceCache* self);
cairo_surface_t* gitg_diff_image_surface_cache_get_old_surface (GitgDiffImageSurfaceCache* self, GdkWindow* window);
cairo_surface_t* gitg_diff_image_surface_cache_get_new_surface (GitgDiffImageSurfaceCache* self, GdkWindow* window);
gint gitg_diff_image_side_by_side_get_spacing (GitgDiffImageSideBySide* self);
static void gitg_diff_image_side_by_side_real_style_updated (GtkWidget* base);
static void gitg_diff_image_side_by_side_real_get_preferred_height_for_width (GtkWidget* base, gint width, gint* minimum_height, gint* natural_height);
static PangoLayout* gitg_diff_image_side_by_side_get_old_size_layout (GitgDiffImageSideBySide* self);
static PangoLayout* gitg_diff_image_side_by_side_get_new_size_layout (GitgDiffImageSideBySide* self);
static GtkSizeRequestMode gitg_diff_image_side_by_side_real_get_request_mode (GtkWidget* base);
static gboolean gitg_diff_image_side_by_side_real_draw (GtkWidget* base, cairo_t* cr);
static void gitg_diff_image_side_by_side_real_realize (GtkWidget* base);
GitgDiffImageSideBySide* gitg_diff_image_side_by_side_new (void);
GitgDiffImageSideBySide* gitg_diff_image_side_by_side_construct (GType object_type);
void gitg_diff_image_side_by_side_set_cache (GitgDiffImageSideBySide* self, GitgDiffImageSurfaceCache* value);
void gitg_diff_image_side_by_side_set_spacing (GitgDiffImageSideBySide* self, gint value);
static void gitg_diff_image_side_by_side_finalize (GObject * obj);
static void _vala_gitg_diff_image_side_by_side_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_gitg_diff_image_side_by_side_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);


static gpointer _g_object_ref0 (gpointer self) {
#line 104 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	return self ? g_object_ref (self) : NULL;
#line 149 "gitg-diff-image-side-by-side.c"
}


static void gitg_diff_image_side_by_side_get_sizing (GitgDiffImageSideBySide* self, gint width, GitgDiffImageSideBySideSizing* result) {
	gdouble ow;
	gdouble oh;
	gdouble nw;
	gdouble nh;
	GdkPixbuf* old_pixbuf;
	GitgDiffImageSurfaceCache* _tmp0_;
	GdkPixbuf* _tmp1_;
	GdkPixbuf* _tmp2_;
	GdkPixbuf* _tmp3_;
	GdkPixbuf* new_pixbuf;
	GitgDiffImageSurfaceCache* _tmp4_;
	GdkPixbuf* _tmp5_;
	GdkPixbuf* _tmp6_;
	GdkPixbuf* _tmp7_;
	GdkWindow* window;
	GdkWindow* _tmp8_;
	GdkWindow* _tmp9_;
	GdkPixbuf* _tmp10_;
	GdkPixbuf* _tmp24_;
	gdouble tw;
	gdouble _tmp38_;
	gdouble _tmp39_;
	gint _tmp40_;
	gint _tmp41_;
	gdouble osw;
	gdouble nsw;
	gdouble _tmp42_;
	gdouble oswi;
	gdouble _tmp51_;
	gdouble _tmp52_;
	gdouble _tmp53_;
	gdouble nswi;
	gdouble _tmp54_;
	gdouble _tmp55_;
	gdouble _tmp56_;
	gdouble oshi;
	gdouble nshi;
	gdouble _tmp57_;
	gdouble _tmp61_;
	gdouble _tmp65_;
	gdouble _tmp66_;
	gdouble _tmp67_;
	GitgDiffImageSideBySideSize _tmp68_ = {0};
	gdouble _tmp69_;
	gdouble _tmp70_;
	gdouble _tmp71_;
	GitgDiffImageSideBySideSize _tmp72_ = {0};
	GitgDiffImageSideBySideSizing _tmp73_ = {0};
#line 100 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	g_return_if_fail (self != NULL);
#line 102 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	ow = (gdouble) 0;
#line 102 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	oh = (gdouble) 0;
#line 102 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	nw = (gdouble) 0;
#line 102 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	nh = (gdouble) 0;
#line 104 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp0_ = self->priv->_cache;
#line 104 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp1_ = gitg_diff_image_surface_cache_get_old_pixbuf (_tmp0_);
#line 104 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp2_ = _tmp1_;
#line 104 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp3_ = _g_object_ref0 (_tmp2_);
#line 104 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	old_pixbuf = _tmp3_;
#line 105 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp4_ = self->priv->_cache;
#line 105 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp5_ = gitg_diff_image_surface_cache_get_new_pixbuf (_tmp4_);
#line 105 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp6_ = _tmp5_;
#line 105 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp7_ = _g_object_ref0 (_tmp6_);
#line 105 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	new_pixbuf = _tmp7_;
#line 107 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp8_ = gtk_widget_get_window ((GtkWidget*) self);
#line 107 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp9_ = _g_object_ref0 (_tmp8_);
#line 107 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	window = _tmp9_;
#line 109 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp10_ = old_pixbuf;
#line 109 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	if (_tmp10_ != NULL) {
#line 242 "gitg-diff-image-side-by-side.c"
		gdouble xscale;
		gdouble yscale;
		GdkWindow* _tmp11_;
		GdkPixbuf* _tmp18_;
		gint _tmp19_;
		gdouble _tmp20_;
		GdkPixbuf* _tmp21_;
		gint _tmp22_;
		gdouble _tmp23_;
#line 111 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		xscale = (gdouble) 1;
#line 111 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		yscale = (gdouble) 1;
#line 113 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp11_ = window;
#line 113 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		if (_tmp11_ != NULL) {
#line 260 "gitg-diff-image-side-by-side.c"
			GitgDiffImageSurfaceCache* _tmp12_;
			GdkWindow* _tmp13_;
			cairo_surface_t* _tmp14_;
			cairo_surface_t* _tmp15_;
			gdouble _tmp16_ = 0.0;
			gdouble _tmp17_ = 0.0;
#line 115 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_tmp12_ = self->priv->_cache;
#line 115 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_tmp13_ = gtk_widget_get_window ((GtkWidget*) self);
#line 115 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_tmp14_ = gitg_diff_image_surface_cache_get_old_surface (_tmp12_, _tmp13_);
#line 115 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_tmp15_ = _tmp14_;
#line 115 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			cairo_surface_get_device_scale (_tmp15_, &_tmp16_, &_tmp17_);
#line 115 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			xscale = _tmp16_;
#line 115 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			yscale = _tmp17_;
#line 115 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_cairo_surface_destroy0 (_tmp15_);
#line 283 "gitg-diff-image-side-by-side.c"
		}
#line 118 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp18_ = old_pixbuf;
#line 118 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp19_ = gdk_pixbuf_get_width (_tmp18_);
#line 118 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp20_ = xscale;
#line 118 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		ow = ((gdouble) _tmp19_) / _tmp20_;
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp21_ = old_pixbuf;
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp22_ = gdk_pixbuf_get_height (_tmp21_);
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp23_ = yscale;
#line 119 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		oh = ((gdouble) _tmp22_) / _tmp23_;
#line 301 "gitg-diff-image-side-by-side.c"
	}
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp24_ = new_pixbuf;
#line 122 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	if (_tmp24_ != NULL) {
#line 307 "gitg-diff-image-side-by-side.c"
		gdouble xscale;
		gdouble yscale;
		GdkWindow* _tmp25_;
		GdkPixbuf* _tmp32_;
		gint _tmp33_;
		gdouble _tmp34_;
		GdkPixbuf* _tmp35_;
		gint _tmp36_;
		gdouble _tmp37_;
#line 124 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		xscale = (gdouble) 1;
#line 124 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		yscale = (gdouble) 1;
#line 126 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp25_ = window;
#line 126 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		if (_tmp25_ != NULL) {
#line 325 "gitg-diff-image-side-by-side.c"
			GitgDiffImageSurfaceCache* _tmp26_;
			GdkWindow* _tmp27_;
			cairo_surface_t* _tmp28_;
			cairo_surface_t* _tmp29_;
			gdouble _tmp30_ = 0.0;
			gdouble _tmp31_ = 0.0;
#line 128 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_tmp26_ = self->priv->_cache;
#line 128 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_tmp27_ = gtk_widget_get_window ((GtkWidget*) self);
#line 128 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_tmp28_ = gitg_diff_image_surface_cache_get_new_surface (_tmp26_, _tmp27_);
#line 128 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_tmp29_ = _tmp28_;
#line 128 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			cairo_surface_get_device_scale (_tmp29_, &_tmp30_, &_tmp31_);
#line 128 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			xscale = _tmp30_;
#line 128 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			yscale = _tmp31_;
#line 128 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_cairo_surface_destroy0 (_tmp29_);
#line 348 "gitg-diff-image-side-by-side.c"
		}
#line 131 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp32_ = new_pixbuf;
#line 131 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp33_ = gdk_pixbuf_get_width (_tmp32_);
#line 131 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp34_ = xscale;
#line 131 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		nw = ((gdouble) _tmp33_) / _tmp34_;
#line 132 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp35_ = new_pixbuf;
#line 132 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp36_ = gdk_pixbuf_get_height (_tmp35_);
#line 132 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp37_ = yscale;
#line 132 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		nh = ((gdouble) _tmp36_) / _tmp37_;
#line 366 "gitg-diff-image-side-by-side.c"
	}
#line 135 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp38_ = ow;
#line 135 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp39_ = nw;
#line 135 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	tw = _tmp38_ + _tmp39_;
#line 137 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp40_ = width;
#line 137 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp41_ = self->priv->_spacing;
#line 137 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	width = _tmp40_ - _tmp41_;
#line 139 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	osw = (gdouble) 0;
#line 139 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	nsw = (gdouble) 0;
#line 141 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp42_ = tw;
#line 141 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	if (_tmp42_ != ((gdouble) 0)) {
#line 388 "gitg-diff-image-side-by-side.c"
		gdouble _tmp43_;
		gdouble _tmp47_;
#line 143 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp43_ = ow;
#line 143 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		if (_tmp43_ != ((gdouble) 0)) {
#line 395 "gitg-diff-image-side-by-side.c"
			gint _tmp44_;
			gdouble _tmp45_;
			gdouble _tmp46_;
#line 145 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_tmp44_ = width;
#line 145 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_tmp45_ = ow;
#line 145 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_tmp46_ = tw;
#line 145 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			osw = _tmp44_ * (_tmp45_ / _tmp46_);
#line 407 "gitg-diff-image-side-by-side.c"
		}
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp47_ = nw;
#line 148 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		if (_tmp47_ != ((gdouble) 0)) {
#line 413 "gitg-diff-image-side-by-side.c"
			gint _tmp48_;
			gdouble _tmp49_;
			gdouble _tmp50_;
#line 150 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_tmp48_ = width;
#line 150 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_tmp49_ = nw;
#line 150 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_tmp50_ = tw;
#line 150 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			nsw = _tmp48_ * (_tmp49_ / _tmp50_);
#line 425 "gitg-diff-image-side-by-side.c"
		}
	}
#line 154 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp51_ = osw;
#line 154 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp52_ = ow;
#line 154 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp53_ = MIN (_tmp51_, _tmp52_);
#line 154 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	oswi = _tmp53_;
#line 155 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp54_ = nsw;
#line 155 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp55_ = nw;
#line 155 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp56_ = MIN (_tmp54_, _tmp55_);
#line 155 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	nswi = _tmp56_;
#line 157 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	oshi = (gdouble) 0;
#line 157 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	nshi = (gdouble) 0;
#line 159 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp57_ = ow;
#line 159 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	if (_tmp57_ != ((gdouble) 0)) {
#line 452 "gitg-diff-image-side-by-side.c"
		gdouble _tmp58_;
		gdouble _tmp59_;
		gdouble _tmp60_;
#line 161 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp58_ = oswi;
#line 161 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp59_ = ow;
#line 161 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp60_ = oh;
#line 161 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		oshi = (_tmp58_ / _tmp59_) * _tmp60_;
#line 464 "gitg-diff-image-side-by-side.c"
	}
#line 164 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp61_ = nw;
#line 164 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	if (_tmp61_ != ((gdouble) 0)) {
#line 470 "gitg-diff-image-side-by-side.c"
		gdouble _tmp62_;
		gdouble _tmp63_;
		gdouble _tmp64_;
#line 166 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp62_ = nswi;
#line 166 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp63_ = nw;
#line 166 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp64_ = nh;
#line 166 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		nshi = (_tmp62_ / _tmp63_) * _tmp64_;
#line 482 "gitg-diff-image-side-by-side.c"
	}
#line 169 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp65_ = osw;
#line 169 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp66_ = oswi;
#line 169 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp67_ = oshi;
#line 169 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	memset (&_tmp68_, 0, sizeof (GitgDiffImageSideBySideSize));
#line 169 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp68_.width = (gint) _tmp65_;
#line 169 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp68_.image_width = (gint) _tmp66_;
#line 169 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp68_.image_height = (gint) _tmp67_;
#line 169 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp69_ = nsw;
#line 169 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp70_ = nswi;
#line 169 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp71_ = nshi;
#line 169 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	memset (&_tmp72_, 0, sizeof (GitgDiffImageSideBySideSize));
#line 169 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp72_.width = (gint) _tmp69_;
#line 169 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp72_.image_width = (gint) _tmp70_;
#line 169 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp72_.image_height = (gint) _tmp71_;
#line 169 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	memset (&_tmp73_, 0, sizeof (GitgDiffImageSideBySideSizing));
#line 169 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp73_.old_size = _tmp68_;
#line 169 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp73_.new_size = _tmp72_;
#line 169 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	*result = _tmp73_;
#line 169 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_g_object_unref0 (window);
#line 169 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_g_object_unref0 (new_pixbuf);
#line 169 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_g_object_unref0 (old_pixbuf);
#line 169 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	return;
#line 528 "gitg-diff-image-side-by-side.c"
}


static void gitg_diff_image_side_by_side_real_style_updated (GtkWidget* base) {
	GitgDiffImageSideBySide * self;
#line 186 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	self = (GitgDiffImageSideBySide*) base;
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_g_object_unref0 (self->priv->d_old_size_layout);
#line 188 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	self->priv->d_old_size_layout = NULL;
#line 189 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_g_object_unref0 (self->priv->d_new_size_layout);
#line 189 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	self->priv->d_new_size_layout = NULL;
#line 544 "gitg-diff-image-side-by-side.c"
}


static void gitg_diff_image_side_by_side_real_get_preferred_height_for_width (GtkWidget* base, gint width, gint* minimum_height, gint* natural_height) {
	GitgDiffImageSideBySide * self;
	gint _vala_minimum_height = 0;
	gint _vala_natural_height = 0;
	GitgDiffImageSideBySideSizing sizing;
	gint _tmp0_;
	GitgDiffImageSideBySideSizing _tmp1_ = {0};
	gdouble h;
	GitgDiffImageSideBySideSizing _tmp2_;
	GitgDiffImageSideBySideSize _tmp3_;
	gint _tmp4_;
	GitgDiffImageSideBySideSizing _tmp5_;
	GitgDiffImageSideBySideSize _tmp6_;
	gint _tmp7_;
	gdouble _tmp8_;
	PangoLayout* ol;
	PangoLayout* _tmp9_;
	PangoLayout* _tmp10_;
	PangoLayout* _tmp11_;
	PangoLayout* nl;
	PangoLayout* _tmp12_;
	PangoLayout* _tmp13_;
	PangoLayout* _tmp14_;
	gint osw;
	gint osh;
	gint nsw;
	gint nsh;
	PangoLayout* _tmp15_;
	PangoLayout* _tmp19_;
	gdouble _tmp23_;
	gint _tmp24_;
	gint _tmp25_;
	gint _tmp26_;
	gdouble _tmp27_;
	gdouble _tmp28_;
#line 192 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	self = (GitgDiffImageSideBySide*) base;
#line 194 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp0_ = width;
#line 194 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	gitg_diff_image_side_by_side_get_sizing (self, _tmp0_, &_tmp1_);
#line 194 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	sizing = _tmp1_;
#line 195 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp2_ = sizing;
#line 195 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp3_ = _tmp2_.old_size;
#line 195 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp4_ = _tmp3_.image_height;
#line 195 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp5_ = sizing;
#line 195 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp6_ = _tmp5_.new_size;
#line 195 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp7_ = _tmp6_.image_height;
#line 195 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp8_ = MAX ((gdouble) _tmp4_, (gdouble) _tmp7_);
#line 195 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	h = _tmp8_;
#line 197 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp9_ = gitg_diff_image_side_by_side_get_old_size_layout (self);
#line 197 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp10_ = _tmp9_;
#line 197 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp11_ = _g_object_ref0 (_tmp10_);
#line 197 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	ol = _tmp11_;
#line 198 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp12_ = gitg_diff_image_side_by_side_get_new_size_layout (self);
#line 198 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp13_ = _tmp12_;
#line 198 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp14_ = _g_object_ref0 (_tmp13_);
#line 198 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	nl = _tmp14_;
#line 200 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	osw = 0;
#line 200 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	osh = 0;
#line 200 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	nsw = 0;
#line 200 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	nsh = 0;
#line 202 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp15_ = ol;
#line 202 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	if (_tmp15_ != NULL) {
#line 635 "gitg-diff-image-side-by-side.c"
		PangoLayout* _tmp16_;
		gint _tmp17_ = 0;
		gint _tmp18_ = 0;
#line 204 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp16_ = ol;
#line 204 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		pango_layout_get_pixel_size (_tmp16_, &_tmp17_, &_tmp18_);
#line 204 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		osw = _tmp17_;
#line 204 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		osh = _tmp18_;
#line 647 "gitg-diff-image-side-by-side.c"
	}
#line 207 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp19_ = nl;
#line 207 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	if (_tmp19_ != NULL) {
#line 653 "gitg-diff-image-side-by-side.c"
		PangoLayout* _tmp20_;
		gint _tmp21_ = 0;
		gint _tmp22_ = 0;
#line 209 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp20_ = nl;
#line 209 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		pango_layout_get_pixel_size (_tmp20_, &_tmp21_, &_tmp22_);
#line 209 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		nsw = _tmp21_;
#line 209 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		nsh = _tmp22_;
#line 665 "gitg-diff-image-side-by-side.c"
	}
#line 212 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp23_ = h;
#line 212 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp24_ = osh;
#line 212 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp25_ = nsh;
#line 212 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp26_ = MAX (_tmp24_, _tmp25_);
#line 212 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	h = _tmp23_ + (GITG_DIFF_IMAGE_SIDE_BY_SIDE_TEXT_SPACING + _tmp26_);
#line 214 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp27_ = h;
#line 214 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_vala_minimum_height = (gint) _tmp27_;
#line 215 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp28_ = h;
#line 215 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_vala_natural_height = (gint) _tmp28_;
#line 192 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_g_object_unref0 (nl);
#line 192 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_g_object_unref0 (ol);
#line 192 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	if (minimum_height) {
#line 192 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		*minimum_height = _vala_minimum_height;
#line 693 "gitg-diff-image-side-by-side.c"
	}
#line 192 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	if (natural_height) {
#line 192 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		*natural_height = _vala_natural_height;
#line 699 "gitg-diff-image-side-by-side.c"
	}
}


static GtkSizeRequestMode gitg_diff_image_side_by_side_real_get_request_mode (GtkWidget* base) {
	GitgDiffImageSideBySide * self;
	GtkSizeRequestMode result = 0;
#line 218 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	self = (GitgDiffImageSideBySide*) base;
#line 220 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	result = GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH;
#line 220 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	return result;
#line 713 "gitg-diff-image-side-by-side.c"
}


static gboolean gitg_diff_image_side_by_side_real_draw (GtkWidget* base, cairo_t* cr) {
	GitgDiffImageSideBySide * self;
	gboolean result = FALSE;
	GdkWindow* window;
	GdkWindow* _tmp0_;
	GdkWindow* _tmp1_;
	GtkAllocation alloc = {0};
	GtkAllocation _tmp2_ = {0};
	GitgDiffImageSideBySideSizing sizing;
	GtkAllocation _tmp3_;
	gint _tmp4_;
	GitgDiffImageSideBySideSizing _tmp5_ = {0};
	cairo_surface_t* old_surface;
	GitgDiffImageSurfaceCache* _tmp6_;
	GdkWindow* _tmp7_;
	cairo_surface_t* _tmp8_;
	cairo_surface_t* new_surface;
	GitgDiffImageSurfaceCache* _tmp9_;
	GdkWindow* _tmp10_;
	cairo_surface_t* _tmp11_;
	GtkStyleContext* ctx;
	GtkStyleContext* _tmp12_;
	GtkStyleContext* _tmp13_;
	GtkStyleContext* _tmp14_;
	cairo_t* _tmp15_;
	GtkAllocation _tmp16_;
	gint _tmp17_;
	GtkAllocation _tmp18_;
	gint _tmp19_;
	GtkAllocation _tmp20_;
	gint _tmp21_;
	GtkAllocation _tmp22_;
	gint _tmp23_;
	gdouble max_height;
	GitgDiffImageSideBySideSizing _tmp24_;
	GitgDiffImageSideBySideSize _tmp25_;
	gint _tmp26_;
	GitgDiffImageSideBySideSizing _tmp27_;
	GitgDiffImageSideBySideSize _tmp28_;
	gint _tmp29_;
	gdouble _tmp30_;
	gdouble spread_factor;
	gboolean _tmp31_ = FALSE;
	cairo_surface_t* _tmp32_;
	cairo_surface_t* _tmp34_;
	cairo_surface_t* _tmp69_;
#line 223 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	self = (GitgDiffImageSideBySide*) base;
#line 223 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	g_return_val_if_fail (cr != NULL, FALSE);
#line 225 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp0_ = gtk_widget_get_window ((GtkWidget*) self);
#line 225 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 225 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	window = _tmp1_;
#line 228 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	gtk_widget_get_allocation ((GtkWidget*) self, &_tmp2_);
#line 228 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	alloc = _tmp2_;
#line 230 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp3_ = alloc;
#line 230 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp4_ = _tmp3_.width;
#line 230 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	gitg_diff_image_side_by_side_get_sizing (self, _tmp4_, &_tmp5_);
#line 230 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	sizing = _tmp5_;
#line 232 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp6_ = self->priv->_cache;
#line 232 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp7_ = window;
#line 232 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp8_ = gitg_diff_image_surface_cache_get_old_surface (_tmp6_, _tmp7_);
#line 232 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	old_surface = _tmp8_;
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp9_ = self->priv->_cache;
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp10_ = window;
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp11_ = gitg_diff_image_surface_cache_get_new_surface (_tmp9_, _tmp10_);
#line 233 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	new_surface = _tmp11_;
#line 235 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp12_ = gtk_widget_get_style_context ((GtkWidget*) self);
#line 235 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp13_ = _g_object_ref0 (_tmp12_);
#line 235 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	ctx = _tmp13_;
#line 237 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp14_ = ctx;
#line 237 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp15_ = cr;
#line 237 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp16_ = alloc;
#line 237 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp17_ = _tmp16_.x;
#line 237 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp18_ = alloc;
#line 237 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp19_ = _tmp18_.y;
#line 237 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp20_ = alloc;
#line 237 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp21_ = _tmp20_.width;
#line 237 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp22_ = alloc;
#line 237 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp23_ = _tmp22_.height;
#line 237 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	gtk_render_background (_tmp14_, _tmp15_, (gdouble) _tmp17_, (gdouble) _tmp19_, (gdouble) _tmp21_, (gdouble) _tmp23_);
#line 239 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp24_ = sizing;
#line 239 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp25_ = _tmp24_.old_size;
#line 239 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp26_ = _tmp25_.image_height;
#line 239 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp27_ = sizing;
#line 239 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp28_ = _tmp27_.new_size;
#line 239 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp29_ = _tmp28_.image_height;
#line 239 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp30_ = MAX ((gdouble) _tmp26_, (gdouble) _tmp29_);
#line 239 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	max_height = _tmp30_;
#line 240 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	spread_factor = 0.5;
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp32_ = old_surface;
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	if (_tmp32_ != NULL) {
#line 851 "gitg-diff-image-side-by-side.c"
		cairo_surface_t* _tmp33_;
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp33_ = new_surface;
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp31_ = _tmp33_ != NULL;
#line 857 "gitg-diff-image-side-by-side.c"
	} else {
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp31_ = FALSE;
#line 861 "gitg-diff-image-side-by-side.c"
	}
#line 242 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	if (_tmp31_) {
#line 244 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		spread_factor = 2.0 / 3.0;
#line 867 "gitg-diff-image-side-by-side.c"
	}
#line 247 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp34_ = old_surface;
#line 247 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	if (_tmp34_ != NULL) {
#line 873 "gitg-diff-image-side-by-side.c"
		gdouble x;
		GitgDiffImageSideBySideSizing _tmp35_;
		GitgDiffImageSideBySideSize _tmp36_;
		gint _tmp37_;
		GitgDiffImageSideBySideSizing _tmp38_;
		GitgDiffImageSideBySideSize _tmp39_;
		gint _tmp40_;
		gdouble _tmp41_;
		gdouble y;
		gdouble _tmp42_;
		GitgDiffImageSideBySideSizing _tmp43_;
		GitgDiffImageSideBySideSize _tmp44_;
		gint _tmp45_;
		cairo_t* _tmp46_;
		cairo_surface_t* _tmp47_;
		gdouble _tmp48_;
		gdouble _tmp49_;
		cairo_t* _tmp50_;
		PangoRectangle rect = {0};
		PangoLayout* _tmp51_;
		PangoLayout* _tmp52_;
		PangoRectangle _tmp53_ = {0};
		GtkStyleContext* _tmp54_;
		cairo_t* _tmp55_;
		gdouble _tmp56_;
		PangoRectangle _tmp57_;
		gint _tmp58_;
		GitgDiffImageSideBySideSizing _tmp59_;
		GitgDiffImageSideBySideSize _tmp60_;
		gint _tmp61_;
		PangoRectangle _tmp62_;
		gint _tmp63_;
		PangoRectangle _tmp64_;
		gint _tmp65_;
		gdouble _tmp66_;
		PangoLayout* _tmp67_;
		PangoLayout* _tmp68_;
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp35_ = sizing;
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp36_ = _tmp35_.old_size;
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp37_ = _tmp36_.width;
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp38_ = sizing;
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp39_ = _tmp38_.old_size;
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp40_ = _tmp39_.image_width;
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp41_ = spread_factor;
#line 249 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		x = (_tmp37_ - _tmp40_) * _tmp41_;
#line 250 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp42_ = max_height;
#line 250 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp43_ = sizing;
#line 250 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp44_ = _tmp43_.old_size;
#line 250 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp45_ = _tmp44_.image_height;
#line 250 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		y = (_tmp42_ - _tmp45_) / 2;
#line 252 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp46_ = cr;
#line 252 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp47_ = old_surface;
#line 252 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp48_ = x;
#line 252 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp49_ = y;
#line 252 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		cairo_set_source_surface (_tmp46_, _tmp47_, _tmp48_, _tmp49_);
#line 253 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp50_ = cr;
#line 253 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		cairo_paint (_tmp50_);
#line 257 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp51_ = gitg_diff_image_side_by_side_get_old_size_layout (self);
#line 257 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp52_ = _tmp51_;
#line 257 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		pango_layout_get_pixel_extents (_tmp52_, NULL, &_tmp53_);
#line 257 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		rect = _tmp53_;
#line 259 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp54_ = ctx;
#line 259 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp55_ = cr;
#line 259 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp56_ = x;
#line 259 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp57_ = rect;
#line 259 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp58_ = _tmp57_.x;
#line 259 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp59_ = sizing;
#line 259 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp60_ = _tmp59_.old_size;
#line 259 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp61_ = _tmp60_.image_width;
#line 259 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp62_ = rect;
#line 259 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp63_ = _tmp62_.width;
#line 259 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp64_ = rect;
#line 259 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp65_ = _tmp64_.y;
#line 259 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp66_ = max_height;
#line 259 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp67_ = gitg_diff_image_side_by_side_get_old_size_layout (self);
#line 259 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp68_ = _tmp67_;
#line 259 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		gtk_render_layout (_tmp54_, _tmp55_, (_tmp56_ + _tmp58_) + ((_tmp61_ - _tmp63_) / 2), (_tmp65_ + _tmp66_) + GITG_DIFF_IMAGE_SIDE_BY_SIDE_TEXT_SPACING, _tmp68_);
#line 991 "gitg-diff-image-side-by-side.c"
	}
#line 265 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp69_ = new_surface;
#line 265 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	if (_tmp69_ != NULL) {
#line 997 "gitg-diff-image-side-by-side.c"
		gdouble x;
		GitgDiffImageSideBySideSizing _tmp70_;
		GitgDiffImageSideBySideSize _tmp71_;
		gint _tmp72_;
		GitgDiffImageSideBySideSizing _tmp73_;
		GitgDiffImageSideBySideSize _tmp74_;
		gint _tmp75_;
		gdouble _tmp76_;
		gdouble y;
		gdouble _tmp77_;
		GitgDiffImageSideBySideSizing _tmp78_;
		GitgDiffImageSideBySideSize _tmp79_;
		gint _tmp80_;
		GitgDiffImageSurfaceCache* _tmp81_;
		GdkPixbuf* _tmp82_;
		GdkPixbuf* _tmp83_;
		cairo_t* _tmp89_;
		cairo_surface_t* _tmp90_;
		gdouble _tmp91_;
		gdouble _tmp92_;
		cairo_t* _tmp93_;
		PangoRectangle rect = {0};
		PangoLayout* _tmp94_;
		PangoLayout* _tmp95_;
		PangoRectangle _tmp96_ = {0};
		GtkStyleContext* _tmp97_;
		cairo_t* _tmp98_;
		gdouble _tmp99_;
		PangoRectangle _tmp100_;
		gint _tmp101_;
		GitgDiffImageSideBySideSizing _tmp102_;
		GitgDiffImageSideBySideSize _tmp103_;
		gint _tmp104_;
		PangoRectangle _tmp105_;
		gint _tmp106_;
		PangoRectangle _tmp107_;
		gint _tmp108_;
		gdouble _tmp109_;
		PangoLayout* _tmp110_;
		PangoLayout* _tmp111_;
#line 267 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp70_ = sizing;
#line 267 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp71_ = _tmp70_.new_size;
#line 267 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp72_ = _tmp71_.width;
#line 267 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp73_ = sizing;
#line 267 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp74_ = _tmp73_.new_size;
#line 267 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp75_ = _tmp74_.image_width;
#line 267 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp76_ = spread_factor;
#line 267 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		x = (_tmp72_ - _tmp75_) * (1.0 - _tmp76_);
#line 268 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp77_ = max_height;
#line 268 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp78_ = sizing;
#line 268 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp79_ = _tmp78_.new_size;
#line 268 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp80_ = _tmp79_.image_height;
#line 268 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		y = (_tmp77_ - _tmp80_) / 2;
#line 270 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp81_ = self->priv->_cache;
#line 270 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp82_ = gitg_diff_image_surface_cache_get_old_pixbuf (_tmp81_);
#line 270 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp83_ = _tmp82_;
#line 270 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		if (_tmp83_ != NULL) {
#line 1072 "gitg-diff-image-side-by-side.c"
			gdouble _tmp84_;
			GitgDiffImageSideBySideSizing _tmp85_;
			GitgDiffImageSideBySideSize _tmp86_;
			gint _tmp87_;
			gint _tmp88_;
#line 272 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_tmp84_ = x;
#line 272 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_tmp85_ = sizing;
#line 272 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_tmp86_ = _tmp85_.old_size;
#line 272 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_tmp87_ = _tmp86_.width;
#line 272 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_tmp88_ = self->priv->_spacing;
#line 272 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			x = _tmp84_ + (_tmp87_ + _tmp88_);
#line 1090 "gitg-diff-image-side-by-side.c"
		}
#line 275 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp89_ = cr;
#line 275 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp90_ = new_surface;
#line 275 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp91_ = x;
#line 275 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp92_ = y;
#line 275 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		cairo_set_source_surface (_tmp89_, _tmp90_, _tmp91_, _tmp92_);
#line 276 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp93_ = cr;
#line 276 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		cairo_paint (_tmp93_);
#line 280 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp94_ = gitg_diff_image_side_by_side_get_new_size_layout (self);
#line 280 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp95_ = _tmp94_;
#line 280 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		pango_layout_get_pixel_extents (_tmp95_, NULL, &_tmp96_);
#line 280 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		rect = _tmp96_;
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp97_ = ctx;
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp98_ = cr;
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp99_ = x;
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp100_ = rect;
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp101_ = _tmp100_.x;
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp102_ = sizing;
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp103_ = _tmp102_.new_size;
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp104_ = _tmp103_.image_width;
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp105_ = rect;
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp106_ = _tmp105_.width;
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp107_ = rect;
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp108_ = _tmp107_.y;
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp109_ = max_height;
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp110_ = gitg_diff_image_side_by_side_get_new_size_layout (self);
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp111_ = _tmp110_;
#line 282 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		gtk_render_layout (_tmp97_, _tmp98_, (_tmp99_ + _tmp101_) + ((_tmp104_ - _tmp106_) / 2), (_tmp108_ + _tmp109_) + GITG_DIFF_IMAGE_SIDE_BY_SIDE_TEXT_SPACING, _tmp111_);
#line 1146 "gitg-diff-image-side-by-side.c"
	}
#line 288 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	result = TRUE;
#line 288 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_g_object_unref0 (ctx);
#line 288 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_cairo_surface_destroy0 (new_surface);
#line 288 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_cairo_surface_destroy0 (old_surface);
#line 288 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_g_object_unref0 (window);
#line 288 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	return result;
#line 1160 "gitg-diff-image-side-by-side.c"
}


static void gitg_diff_image_side_by_side_real_realize (GtkWidget* base) {
	GitgDiffImageSideBySide * self;
#line 291 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	self = (GitgDiffImageSideBySide*) base;
#line 293 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	GTK_WIDGET_CLASS (gitg_diff_image_side_by_side_parent_class)->realize ((GtkWidget*) G_TYPE_CHECK_INSTANCE_CAST (self, gtk_drawing_area_get_type (), GtkDrawingArea));
#line 294 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	gtk_widget_queue_resize ((GtkWidget*) self);
#line 1172 "gitg-diff-image-side-by-side.c"
}


GitgDiffImageSideBySide* gitg_diff_image_side_by_side_construct (GType object_type) {
	GitgDiffImageSideBySide * self = NULL;
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	self = (GitgDiffImageSideBySide*) g_object_new (object_type, NULL);
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	return self;
#line 1182 "gitg-diff-image-side-by-side.c"
}


GitgDiffImageSideBySide* gitg_diff_image_side_by_side_new (void) {
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	return gitg_diff_image_side_by_side_construct (GITG_TYPE_DIFF_IMAGE_SIDE_BY_SIDE);
#line 1189 "gitg-diff-image-side-by-side.c"
}


static PangoLayout* gitg_diff_image_side_by_side_get_old_size_layout (GitgDiffImageSideBySide* self) {
	PangoLayout* result;
	gboolean _tmp0_ = FALSE;
	PangoLayout* _tmp1_;
	PangoLayout* _tmp28_;
#line 29 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 31 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp1_ = self->priv->d_old_size_layout;
#line 31 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	if (_tmp1_ == NULL) {
#line 1204 "gitg-diff-image-side-by-side.c"
		GitgDiffImageSurfaceCache* _tmp2_;
		GdkPixbuf* _tmp3_;
		GdkPixbuf* _tmp4_;
#line 31 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp2_ = self->priv->_cache;
#line 31 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp3_ = gitg_diff_image_surface_cache_get_old_pixbuf (_tmp2_);
#line 31 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp4_ = _tmp3_;
#line 31 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp0_ = _tmp4_ != NULL;
#line 1216 "gitg-diff-image-side-by-side.c"
	} else {
#line 31 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp0_ = FALSE;
#line 1220 "gitg-diff-image-side-by-side.c"
	}
#line 31 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	if (_tmp0_) {
#line 1224 "gitg-diff-image-side-by-side.c"
		gchar* message = NULL;
		GitgDiffImageSurfaceCache* _tmp5_;
		GdkPixbuf* _tmp6_;
		GdkPixbuf* _tmp7_;
		const gchar* _tmp10_;
		GitgDiffImageSurfaceCache* _tmp11_;
		GdkPixbuf* _tmp12_;
		GdkPixbuf* _tmp13_;
		gint _tmp14_;
		gchar* _tmp15_;
		gchar* _tmp16_;
		GitgDiffImageSurfaceCache* _tmp17_;
		GdkPixbuf* _tmp18_;
		GdkPixbuf* _tmp19_;
		gint _tmp20_;
		gchar* _tmp21_;
		gchar* _tmp22_;
		gchar* _tmp23_;
		gchar* _tmp24_;
		gchar* _tmp25_;
		gchar* _tmp26_;
		PangoLayout* _tmp27_;
#line 35 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp5_ = self->priv->_cache;
#line 35 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp6_ = gitg_diff_image_surface_cache_get_new_pixbuf (_tmp5_);
#line 35 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp7_ = _tmp6_;
#line 35 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		if (_tmp7_ != NULL) {
#line 1255 "gitg-diff-image-side-by-side.c"
			gchar* _tmp8_;
#line 39 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_tmp8_ = g_strdup (_ ("before (%s)"));
#line 39 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_g_free0 (message);
#line 39 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			message = _tmp8_;
#line 1263 "gitg-diff-image-side-by-side.c"
		} else {
			gchar* _tmp9_;
#line 45 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_tmp9_ = g_strdup (_ ("removed (%s)"));
#line 45 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_g_free0 (message);
#line 45 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			message = _tmp9_;
#line 1272 "gitg-diff-image-side-by-side.c"
		}
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp10_ = message;
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp11_ = self->priv->_cache;
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp12_ = gitg_diff_image_surface_cache_get_old_pixbuf (_tmp11_);
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp13_ = _tmp12_;
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp14_ = gdk_pixbuf_get_width (_tmp13_);
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp15_ = g_strdup_printf ("%i", _tmp14_);
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp16_ = _tmp15_;
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp17_ = self->priv->_cache;
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp18_ = gitg_diff_image_surface_cache_get_old_pixbuf (_tmp17_);
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp19_ = _tmp18_;
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp20_ = gdk_pixbuf_get_height (_tmp19_);
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp21_ = g_strdup_printf ("%i", _tmp20_);
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp22_ = _tmp21_;
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp23_ = g_strconcat (_tmp16_, " × ", _tmp22_, NULL);
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp24_ = _tmp23_;
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp25_ = g_strdup_printf (_tmp10_, _tmp24_);
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp26_ = _tmp25_;
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp27_ = gtk_widget_create_pango_layout ((GtkWidget*) self, _tmp26_);
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_g_object_unref0 (self->priv->d_old_size_layout);
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		self->priv->d_old_size_layout = _tmp27_;
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_g_free0 (_tmp26_);
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_g_free0 (_tmp24_);
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_g_free0 (_tmp22_);
#line 48 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_g_free0 (_tmp16_);
#line 31 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_g_free0 (message);
#line 1324 "gitg-diff-image-side-by-side.c"
	}
#line 51 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp28_ = self->priv->d_old_size_layout;
#line 51 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	result = _tmp28_;
#line 51 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	return result;
#line 1332 "gitg-diff-image-side-by-side.c"
}


static PangoLayout* gitg_diff_image_side_by_side_get_new_size_layout (GitgDiffImageSideBySide* self) {
	PangoLayout* result;
	gboolean _tmp0_ = FALSE;
	PangoLayout* _tmp1_;
	PangoLayout* _tmp28_;
#line 57 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp1_ = self->priv->d_new_size_layout;
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	if (_tmp1_ == NULL) {
#line 1347 "gitg-diff-image-side-by-side.c"
		GitgDiffImageSurfaceCache* _tmp2_;
		GdkPixbuf* _tmp3_;
		GdkPixbuf* _tmp4_;
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp2_ = self->priv->_cache;
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp3_ = gitg_diff_image_surface_cache_get_new_pixbuf (_tmp2_);
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp4_ = _tmp3_;
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp0_ = _tmp4_ != NULL;
#line 1359 "gitg-diff-image-side-by-side.c"
	} else {
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp0_ = FALSE;
#line 1363 "gitg-diff-image-side-by-side.c"
	}
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	if (_tmp0_) {
#line 1367 "gitg-diff-image-side-by-side.c"
		gchar* message = NULL;
		GitgDiffImageSurfaceCache* _tmp5_;
		GdkPixbuf* _tmp6_;
		GdkPixbuf* _tmp7_;
		const gchar* _tmp10_;
		GitgDiffImageSurfaceCache* _tmp11_;
		GdkPixbuf* _tmp12_;
		GdkPixbuf* _tmp13_;
		gint _tmp14_;
		gchar* _tmp15_;
		gchar* _tmp16_;
		GitgDiffImageSurfaceCache* _tmp17_;
		GdkPixbuf* _tmp18_;
		GdkPixbuf* _tmp19_;
		gint _tmp20_;
		gchar* _tmp21_;
		gchar* _tmp22_;
		gchar* _tmp23_;
		gchar* _tmp24_;
		gchar* _tmp25_;
		gchar* _tmp26_;
		PangoLayout* _tmp27_;
#line 63 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp5_ = self->priv->_cache;
#line 63 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp6_ = gitg_diff_image_surface_cache_get_old_pixbuf (_tmp5_);
#line 63 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp7_ = _tmp6_;
#line 63 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		if (_tmp7_ != NULL) {
#line 1398 "gitg-diff-image-side-by-side.c"
			gchar* _tmp8_;
#line 67 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_tmp8_ = g_strdup (_ ("after (%s)"));
#line 67 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_g_free0 (message);
#line 67 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			message = _tmp8_;
#line 1406 "gitg-diff-image-side-by-side.c"
		} else {
			gchar* _tmp9_;
#line 73 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_tmp9_ = g_strdup (_ ("added (%s)"));
#line 73 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			_g_free0 (message);
#line 73 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
			message = _tmp9_;
#line 1415 "gitg-diff-image-side-by-side.c"
		}
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp10_ = message;
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp11_ = self->priv->_cache;
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp12_ = gitg_diff_image_surface_cache_get_new_pixbuf (_tmp11_);
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp13_ = _tmp12_;
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp14_ = gdk_pixbuf_get_width (_tmp13_);
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp15_ = g_strdup_printf ("%i", _tmp14_);
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp16_ = _tmp15_;
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp17_ = self->priv->_cache;
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp18_ = gitg_diff_image_surface_cache_get_new_pixbuf (_tmp17_);
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp19_ = _tmp18_;
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp20_ = gdk_pixbuf_get_height (_tmp19_);
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp21_ = g_strdup_printf ("%i", _tmp20_);
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp22_ = _tmp21_;
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp23_ = g_strconcat (_tmp16_, " × ", _tmp22_, NULL);
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp24_ = _tmp23_;
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp25_ = g_strdup_printf (_tmp10_, _tmp24_);
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp26_ = _tmp25_;
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp27_ = gtk_widget_create_pango_layout ((GtkWidget*) self, _tmp26_);
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_g_object_unref0 (self->priv->d_new_size_layout);
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		self->priv->d_new_size_layout = _tmp27_;
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_g_free0 (_tmp26_);
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_g_free0 (_tmp24_);
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_g_free0 (_tmp22_);
#line 76 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_g_free0 (_tmp16_);
#line 59 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_g_free0 (message);
#line 1467 "gitg-diff-image-side-by-side.c"
	}
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp28_ = self->priv->d_new_size_layout;
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	result = _tmp28_;
#line 79 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	return result;
#line 1475 "gitg-diff-image-side-by-side.c"
}


GitgDiffImageSurfaceCache* gitg_diff_image_side_by_side_get_cache (GitgDiffImageSideBySide* self) {
	GitgDiffImageSurfaceCache* result;
	GitgDiffImageSurfaceCache* _tmp0_;
#line 83 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 83 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp0_ = self->priv->_cache;
#line 83 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	result = _tmp0_;
#line 83 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	return result;
#line 1490 "gitg-diff-image-side-by-side.c"
}


void gitg_diff_image_side_by_side_set_cache (GitgDiffImageSideBySide* self, GitgDiffImageSurfaceCache* value) {
#line 83 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	g_return_if_fail (self != NULL);
#line 83 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	if (gitg_diff_image_side_by_side_get_cache (self) != value) {
#line 1499 "gitg-diff-image-side-by-side.c"
		GitgDiffImageSurfaceCache* _tmp0_;
		GitgDiffImageSurfaceCache* _tmp1_;
#line 83 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp0_ = value;
#line 83 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp1_ = _g_object_ref0 (_tmp0_);
#line 83 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_g_object_unref0 (self->priv->_cache);
#line 83 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		self->priv->_cache = _tmp1_;
#line 83 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		g_object_notify ((GObject *) self, "cache");
#line 1512 "gitg-diff-image-side-by-side.c"
	}
}


gint gitg_diff_image_side_by_side_get_spacing (GitgDiffImageSideBySide* self) {
	gint result;
	gint _tmp0_;
#line 84 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 84 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_tmp0_ = self->priv->_spacing;
#line 84 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	result = _tmp0_;
#line 84 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	return result;
#line 1528 "gitg-diff-image-side-by-side.c"
}


void gitg_diff_image_side_by_side_set_spacing (GitgDiffImageSideBySide* self, gint value) {
#line 84 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	g_return_if_fail (self != NULL);
#line 84 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	if (gitg_diff_image_side_by_side_get_spacing (self) != value) {
#line 1537 "gitg-diff-image-side-by-side.c"
		gint _tmp0_;
#line 84 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		_tmp0_ = value;
#line 84 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		self->priv->_spacing = _tmp0_;
#line 84 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		g_object_notify ((GObject *) self, "spacing");
#line 1545 "gitg-diff-image-side-by-side.c"
	}
}


static GitgDiffImageSideBySideSize* gitg_diff_image_side_by_side_size_dup (const GitgDiffImageSideBySideSize* self) {
	GitgDiffImageSideBySideSize* dup;
#line 86 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	dup = g_new0 (GitgDiffImageSideBySideSize, 1);
#line 86 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	memcpy (dup, self, sizeof (GitgDiffImageSideBySideSize));
#line 86 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	return dup;
#line 1558 "gitg-diff-image-side-by-side.c"
}


static void gitg_diff_image_side_by_side_size_free (GitgDiffImageSideBySideSize* self) {
#line 86 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	g_free (self);
#line 1565 "gitg-diff-image-side-by-side.c"
}


static GType gitg_diff_image_side_by_side_size_get_type (void) {
	static volatile gsize gitg_diff_image_side_by_side_size_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_diff_image_side_by_side_size_type_id__volatile)) {
		GType gitg_diff_image_side_by_side_size_type_id;
		gitg_diff_image_side_by_side_size_type_id = g_boxed_type_register_static ("GitgDiffImageSideBySideSize", (GBoxedCopyFunc) gitg_diff_image_side_by_side_size_dup, (GBoxedFreeFunc) gitg_diff_image_side_by_side_size_free);
		g_once_init_leave (&gitg_diff_image_side_by_side_size_type_id__volatile, gitg_diff_image_side_by_side_size_type_id);
	}
	return gitg_diff_image_side_by_side_size_type_id__volatile;
}


static GitgDiffImageSideBySideSizing* gitg_diff_image_side_by_side_sizing_dup (const GitgDiffImageSideBySideSizing* self) {
	GitgDiffImageSideBySideSizing* dup;
#line 94 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	dup = g_new0 (GitgDiffImageSideBySideSizing, 1);
#line 94 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	memcpy (dup, self, sizeof (GitgDiffImageSideBySideSizing));
#line 94 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	return dup;
#line 1588 "gitg-diff-image-side-by-side.c"
}


static void gitg_diff_image_side_by_side_sizing_free (GitgDiffImageSideBySideSizing* self) {
#line 94 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	g_free (self);
#line 1595 "gitg-diff-image-side-by-side.c"
}


static GType gitg_diff_image_side_by_side_sizing_get_type (void) {
	static volatile gsize gitg_diff_image_side_by_side_sizing_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_diff_image_side_by_side_sizing_type_id__volatile)) {
		GType gitg_diff_image_side_by_side_sizing_type_id;
		gitg_diff_image_side_by_side_sizing_type_id = g_boxed_type_register_static ("GitgDiffImageSideBySideSizing", (GBoxedCopyFunc) gitg_diff_image_side_by_side_sizing_dup, (GBoxedFreeFunc) gitg_diff_image_side_by_side_sizing_free);
		g_once_init_leave (&gitg_diff_image_side_by_side_sizing_type_id__volatile, gitg_diff_image_side_by_side_sizing_type_id);
	}
	return gitg_diff_image_side_by_side_sizing_type_id__volatile;
}


static void gitg_diff_image_side_by_side_class_init (GitgDiffImageSideBySideClass * klass) {
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	gitg_diff_image_side_by_side_parent_class = g_type_class_peek_parent (klass);
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	g_type_class_add_private (klass, sizeof (GitgDiffImageSideBySidePrivate));
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	((GtkWidgetClass *) klass)->style_updated = gitg_diff_image_side_by_side_real_style_updated;
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	((GtkWidgetClass *) klass)->get_preferred_height_for_width = gitg_diff_image_side_by_side_real_get_preferred_height_for_width;
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	((GtkWidgetClass *) klass)->get_request_mode = gitg_diff_image_side_by_side_real_get_request_mode;
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	((GtkWidgetClass *) klass)->draw = gitg_diff_image_side_by_side_real_draw;
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	((GtkWidgetClass *) klass)->realize = gitg_diff_image_side_by_side_real_realize;
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_diff_image_side_by_side_get_property;
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_diff_image_side_by_side_set_property;
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_diff_image_side_by_side_finalize;
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_IMAGE_SIDE_BY_SIDE_CACHE, g_param_spec_object ("cache", "cache", "cache", GITG_TYPE_DIFF_IMAGE_SURFACE_CACHE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_DIFF_IMAGE_SIDE_BY_SIDE_SPACING, g_param_spec_int ("spacing", "spacing", "spacing", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 1635 "gitg-diff-image-side-by-side.c"
}


static void gitg_diff_image_side_by_side_instance_init (GitgDiffImageSideBySide * self) {
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	self->priv = GITG_DIFF_IMAGE_SIDE_BY_SIDE_GET_PRIVATE (self);
#line 1642 "gitg-diff-image-side-by-side.c"
}


static void gitg_diff_image_side_by_side_finalize (GObject * obj) {
	GitgDiffImageSideBySide * self;
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_DIFF_IMAGE_SIDE_BY_SIDE, GitgDiffImageSideBySide);
#line 22 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_g_object_unref0 (self->priv->d_old_size_layout);
#line 23 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_g_object_unref0 (self->priv->d_new_size_layout);
#line 83 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	_g_object_unref0 (self->priv->_cache);
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	G_OBJECT_CLASS (gitg_diff_image_side_by_side_parent_class)->finalize (obj);
#line 1658 "gitg-diff-image-side-by-side.c"
}


GType gitg_diff_image_side_by_side_get_type (void) {
	static volatile gsize gitg_diff_image_side_by_side_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_diff_image_side_by_side_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgDiffImageSideBySideClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_diff_image_side_by_side_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgDiffImageSideBySide), 0, (GInstanceInitFunc) gitg_diff_image_side_by_side_instance_init, NULL };
		GType gitg_diff_image_side_by_side_type_id;
		gitg_diff_image_side_by_side_type_id = g_type_register_static (gtk_drawing_area_get_type (), "GitgDiffImageSideBySide", &g_define_type_info, 0);
		g_once_init_leave (&gitg_diff_image_side_by_side_type_id__volatile, gitg_diff_image_side_by_side_type_id);
	}
	return gitg_diff_image_side_by_side_type_id__volatile;
}


static void _vala_gitg_diff_image_side_by_side_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgDiffImageSideBySide * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_DIFF_IMAGE_SIDE_BY_SIDE, GitgDiffImageSideBySide);
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	switch (property_id) {
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		case GITG_DIFF_IMAGE_SIDE_BY_SIDE_CACHE:
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		g_value_set_object (value, gitg_diff_image_side_by_side_get_cache (self));
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		break;
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		case GITG_DIFF_IMAGE_SIDE_BY_SIDE_SPACING:
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		g_value_set_int (value, gitg_diff_image_side_by_side_get_spacing (self));
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		break;
#line 1691 "gitg-diff-image-side-by-side.c"
		default:
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		break;
#line 1697 "gitg-diff-image-side-by-side.c"
	}
}


static void _vala_gitg_diff_image_side_by_side_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GitgDiffImageSideBySide * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_DIFF_IMAGE_SIDE_BY_SIDE, GitgDiffImageSideBySide);
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
	switch (property_id) {
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		case GITG_DIFF_IMAGE_SIDE_BY_SIDE_CACHE:
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		gitg_diff_image_side_by_side_set_cache (self, g_value_get_object (value));
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		break;
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		case GITG_DIFF_IMAGE_SIDE_BY_SIDE_SPACING:
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		gitg_diff_image_side_by_side_set_spacing (self, g_value_get_int (value));
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		break;
#line 1719 "gitg-diff-image-side-by-side.c"
		default:
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 20 "/home/mcatanzaro/Projects/GNOME/gitg/libgitg/gitg-diff-image-side-by-side.vala"
		break;
#line 1725 "gitg-diff-image-side-by-side.c"
	}
}



