/* gitg-diff-view-request-icon.c generated by valac 0.27.1.26-9b1a5-dirty, the Vala compiler
 * generated from gitg-diff-view-request-icon.vala, do not modify */

/*
 * This file is part of gitg
 *
 * Copyright (C) 2014 - 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 <gio/gio.h>
#include <stdlib.h>
#include <string.h>
#include <webkit2/webkit2.h>
#include <libsoup/soup.h>
#include <gtk/gtk.h>


#define GITG_TYPE_DIFF_VIEW_REQUEST (gitg_diff_view_request_get_type ())
#define GITG_DIFF_VIEW_REQUEST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_DIFF_VIEW_REQUEST, GitgDiffViewRequest))
#define GITG_DIFF_VIEW_REQUEST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_DIFF_VIEW_REQUEST, GitgDiffViewRequestClass))
#define GITG_IS_DIFF_VIEW_REQUEST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_DIFF_VIEW_REQUEST))
#define GITG_IS_DIFF_VIEW_REQUEST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_DIFF_VIEW_REQUEST))
#define GITG_DIFF_VIEW_REQUEST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_DIFF_VIEW_REQUEST, GitgDiffViewRequestClass))

typedef struct _GitgDiffViewRequest GitgDiffViewRequest;
typedef struct _GitgDiffViewRequestClass GitgDiffViewRequestClass;
typedef struct _GitgDiffViewRequestPrivate GitgDiffViewRequestPrivate;

#define GITG_TYPE_DIFF_VIEW (gitg_diff_view_get_type ())
#define GITG_DIFF_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_DIFF_VIEW, GitgDiffView))
#define GITG_DIFF_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_DIFF_VIEW, GitgDiffViewClass))
#define GITG_IS_DIFF_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_DIFF_VIEW))
#define GITG_IS_DIFF_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_DIFF_VIEW))
#define GITG_DIFF_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_DIFF_VIEW, GitgDiffViewClass))

typedef struct _GitgDiffView GitgDiffView;
typedef struct _GitgDiffViewClass GitgDiffViewClass;

#define GITG_TYPE_DIFF_VIEW_REQUEST_ICON (gitg_diff_view_request_icon_get_type ())
#define GITG_DIFF_VIEW_REQUEST_ICON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_DIFF_VIEW_REQUEST_ICON, GitgDiffViewRequestIcon))
#define GITG_DIFF_VIEW_REQUEST_ICON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_DIFF_VIEW_REQUEST_ICON, GitgDiffViewRequestIconClass))
#define GITG_IS_DIFF_VIEW_REQUEST_ICON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_DIFF_VIEW_REQUEST_ICON))
#define GITG_IS_DIFF_VIEW_REQUEST_ICON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_DIFF_VIEW_REQUEST_ICON))
#define GITG_DIFF_VIEW_REQUEST_ICON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_DIFF_VIEW_REQUEST_ICON, GitgDiffViewRequestIconClass))

typedef struct _GitgDiffViewRequestIcon GitgDiffViewRequestIcon;
typedef struct _GitgDiffViewRequestIconClass GitgDiffViewRequestIconClass;
typedef struct _GitgDiffViewRequestIconPrivate GitgDiffViewRequestIconPrivate;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
#define _gtk_icon_info_free0(var) ((var == NULL) ? NULL : (var = (gtk_icon_info_free (var), NULL)))

typedef enum  {
	GITG_DIFF_VIEW_REQUEST_ICON_ERROR_ICON_NOT_FOUND
} GitgDiffViewRequestIconError;
#define GITG_DIFF_VIEW_REQUEST_ICON_ERROR gitg_diff_view_request_icon_error_quark ()
struct _GitgDiffViewRequest {
	GTypeInstance parent_instance;
	volatile int ref_count;
	GitgDiffViewRequestPrivate * priv;
	GitgDiffView* d_view;
	SoupURI* d_uri;
	gchar* d_mimetype;
	gint64 d_size;
	WebKitURISchemeRequest* d_request;
	gboolean d_hasView;
};

struct _GitgDiffViewRequestClass {
	GTypeClass parent_class;
	void (*finalize) (GitgDiffViewRequest *self);
	GInputStream* (*run_async) (GitgDiffViewRequest* self, GCancellable* cancellable, GError** error);
	gint64 (*get_content_length) (GitgDiffViewRequest* self);
	gchar* (*get_content_type) (GitgDiffViewRequest* self);
};

struct _GitgDiffViewRequestIcon {
	GitgDiffViewRequest parent_instance;
	GitgDiffViewRequestIconPrivate * priv;
};

struct _GitgDiffViewRequestIconClass {
	GitgDiffViewRequestClass parent_class;
};

struct _GitgDiffViewRequestIconPrivate {
	GFile* d_icon;
	GtkIconTheme* d_theme;
};


static gpointer gitg_diff_view_request_icon_parent_class = NULL;

GQuark gitg_diff_view_request_icon_error_quark (void);
gpointer gitg_diff_view_request_ref (gpointer instance);
void gitg_diff_view_request_unref (gpointer instance);
GParamSpec* gitg_param_spec_diff_view_request (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void gitg_value_set_diff_view_request (GValue* value, gpointer v_object);
void gitg_value_take_diff_view_request (GValue* value, gpointer v_object);
gpointer gitg_value_get_diff_view_request (const GValue* value);
GType gitg_diff_view_request_get_type (void) G_GNUC_CONST;
GType gitg_diff_view_get_type (void) G_GNUC_CONST;
GType gitg_diff_view_request_icon_get_type (void) G_GNUC_CONST;
#define GITG_DIFF_VIEW_REQUEST_ICON_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_TYPE_DIFF_VIEW_REQUEST_ICON, GitgDiffViewRequestIconPrivate))
enum  {
	GITG_DIFF_VIEW_REQUEST_ICON_DUMMY_PROPERTY
};
GitgDiffViewRequestIcon* gitg_diff_view_request_icon_new (GitgDiffView* view, WebKitURISchemeRequest* request, SoupURI* uri);
GitgDiffViewRequestIcon* gitg_diff_view_request_icon_construct (GType object_type, GitgDiffView* view, WebKitURISchemeRequest* request, SoupURI* uri);
GitgDiffViewRequest* gitg_diff_view_request_new (GitgDiffView* view, WebKitURISchemeRequest* request, SoupURI* uri);
GitgDiffViewRequest* gitg_diff_view_request_construct (GType object_type, GitgDiffView* view, WebKitURISchemeRequest* request, SoupURI* uri);
static GFile* gitg_diff_view_request_icon_ensure_icon (GitgDiffViewRequestIcon* self, GError** error);
gchar* gitg_diff_view_request_parameter (GitgDiffViewRequest* self, const gchar* v);
static GInputStream* gitg_diff_view_request_icon_real_run_async (GitgDiffViewRequest* base, GCancellable* cancellable, GError** error);
static void gitg_diff_view_request_icon_finalize (GitgDiffViewRequest* obj);


GQuark gitg_diff_view_request_icon_error_quark (void) {
	return g_quark_from_static_string ("gitg_diff_view_request_icon_error-quark");
}


static gpointer _g_object_ref0 (gpointer self) {
#line 38 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	return self ? g_object_ref (self) : NULL;
#line 142 "gitg-diff-view-request-icon.c"
}


GitgDiffViewRequestIcon* gitg_diff_view_request_icon_construct (GType object_type, GitgDiffView* view, WebKitURISchemeRequest* request, SoupURI* uri) {
	GitgDiffViewRequestIcon* self = NULL;
	GitgDiffView* _tmp0_ = NULL;
	WebKitURISchemeRequest* _tmp1_ = NULL;
	SoupURI* _tmp2_ = NULL;
	GitgDiffView* _tmp3_ = NULL;
#line 32 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	g_return_val_if_fail (request != NULL, NULL);
#line 32 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	g_return_val_if_fail (uri != NULL, NULL);
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp0_ = view;
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp1_ = request;
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp2_ = uri;
#line 34 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	self = (GitgDiffViewRequestIcon*) gitg_diff_view_request_construct (object_type, _tmp0_, _tmp1_, _tmp2_);
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp3_ = view;
#line 36 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	if (_tmp3_ == NULL) {
#line 168 "gitg-diff-view-request-icon.c"
		GtkIconTheme* _tmp4_ = NULL;
		GtkIconTheme* _tmp5_ = NULL;
#line 38 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_tmp4_ = gtk_icon_theme_get_default ();
#line 38 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_tmp5_ = _g_object_ref0 (_tmp4_);
#line 38 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_g_object_unref0 (self->priv->d_theme);
#line 38 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		self->priv->d_theme = _tmp5_;
#line 179 "gitg-diff-view-request-icon.c"
	} else {
		GitgDiffView* _tmp6_ = NULL;
		GdkScreen* _tmp7_ = NULL;
		GtkIconTheme* _tmp8_ = NULL;
		GtkIconTheme* _tmp9_ = NULL;
#line 42 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_tmp6_ = view;
#line 42 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_tmp7_ = gtk_widget_get_screen ((GtkWidget*) _tmp6_);
#line 42 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_tmp8_ = gtk_icon_theme_get_for_screen (_tmp7_);
#line 42 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_tmp9_ = _g_object_ref0 (_tmp8_);
#line 42 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_g_object_unref0 (self->priv->d_theme);
#line 42 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		self->priv->d_theme = _tmp9_;
#line 197 "gitg-diff-view-request-icon.c"
	}
#line 45 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_g_object_unref0 (((GitgDiffViewRequest*) self)->d_view);
#line 45 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	((GitgDiffViewRequest*) self)->d_view = NULL;
#line 46 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	((GitgDiffViewRequest*) self)->d_hasView = FALSE;
#line 32 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	return self;
#line 207 "gitg-diff-view-request-icon.c"
}


GitgDiffViewRequestIcon* gitg_diff_view_request_icon_new (GitgDiffView* view, WebKitURISchemeRequest* request, SoupURI* uri) {
#line 32 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	return gitg_diff_view_request_icon_construct (GITG_TYPE_DIFF_VIEW_REQUEST_ICON, view, request, uri);
#line 214 "gitg-diff-view-request-icon.c"
}


static gchar* string_slice (const gchar* self, glong start, glong end) {
	gchar* result = NULL;
	glong string_length = 0L;
	gint _tmp0_ = 0;
	gint _tmp1_ = 0;
	glong _tmp2_ = 0L;
	glong _tmp5_ = 0L;
	gboolean _tmp8_ = FALSE;
	glong _tmp9_ = 0L;
	gboolean _tmp12_ = FALSE;
	glong _tmp13_ = 0L;
	glong _tmp16_ = 0L;
	glong _tmp17_ = 0L;
	glong _tmp18_ = 0L;
	glong _tmp19_ = 0L;
	glong _tmp20_ = 0L;
	gchar* _tmp21_ = NULL;
#line 1230 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1231 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp0_ = strlen (self);
#line 1231 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp1_ = _tmp0_;
#line 1231 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	string_length = (glong) _tmp1_;
#line 1232 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp2_ = start;
#line 1232 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp2_ < ((glong) 0)) {
#line 247 "gitg-diff-view-request-icon.c"
		glong _tmp3_ = 0L;
		glong _tmp4_ = 0L;
#line 1233 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp3_ = string_length;
#line 1233 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp4_ = start;
#line 1233 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		start = _tmp3_ + _tmp4_;
#line 256 "gitg-diff-view-request-icon.c"
	}
#line 1235 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp5_ = end;
#line 1235 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp5_ < ((glong) 0)) {
#line 262 "gitg-diff-view-request-icon.c"
		glong _tmp6_ = 0L;
		glong _tmp7_ = 0L;
#line 1236 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp6_ = string_length;
#line 1236 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp7_ = end;
#line 1236 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		end = _tmp6_ + _tmp7_;
#line 271 "gitg-diff-view-request-icon.c"
	}
#line 1238 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp9_ = start;
#line 1238 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp9_ >= ((glong) 0)) {
#line 277 "gitg-diff-view-request-icon.c"
		glong _tmp10_ = 0L;
		glong _tmp11_ = 0L;
#line 1238 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp10_ = start;
#line 1238 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp11_ = string_length;
#line 1238 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp8_ = _tmp10_ <= _tmp11_;
#line 286 "gitg-diff-view-request-icon.c"
	} else {
#line 1238 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp8_ = FALSE;
#line 290 "gitg-diff-view-request-icon.c"
	}
#line 1238 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	g_return_val_if_fail (_tmp8_, NULL);
#line 1239 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp13_ = end;
#line 1239 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	if (_tmp13_ >= ((glong) 0)) {
#line 298 "gitg-diff-view-request-icon.c"
		glong _tmp14_ = 0L;
		glong _tmp15_ = 0L;
#line 1239 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp14_ = end;
#line 1239 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp15_ = string_length;
#line 1239 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp12_ = _tmp14_ <= _tmp15_;
#line 307 "gitg-diff-view-request-icon.c"
	} else {
#line 1239 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
		_tmp12_ = FALSE;
#line 311 "gitg-diff-view-request-icon.c"
	}
#line 1239 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	g_return_val_if_fail (_tmp12_, NULL);
#line 1240 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp16_ = start;
#line 1240 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp17_ = end;
#line 1240 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	g_return_val_if_fail (_tmp16_ <= _tmp17_, NULL);
#line 1241 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp18_ = start;
#line 1241 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp19_ = end;
#line 1241 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp20_ = start;
#line 1241 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	_tmp21_ = g_strndup (((gchar*) self) + _tmp18_, (gsize) (_tmp19_ - _tmp20_));
#line 1241 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	result = _tmp21_;
#line 1241 "/opt/gnome/share/vala-0.28/vapi/glib-2.0.vapi"
	return result;
#line 333 "gitg-diff-view-request-icon.c"
}


static GFile* gitg_diff_view_request_icon_ensure_icon (GitgDiffViewRequestIcon* self, GError** error) {
	GFile* result = NULL;
	GFile* _tmp0_ = NULL;
	gchar* name = NULL;
	SoupURI* _tmp3_ = NULL;
	const gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	const gchar* _tmp7_ = NULL;
	gint _tmp8_ = 0;
	gint _tmp9_ = 0;
	gchar* _tmp10_ = NULL;
	gchar* sizes = NULL;
	gchar* _tmp11_ = NULL;
	gint size = 0;
	const gchar* _tmp12_ = NULL;
	GtkIconInfo* info = NULL;
	GtkIconTheme* _tmp15_ = NULL;
	const gchar* _tmp16_ = NULL;
	gint _tmp17_ = 0;
	GtkIconInfo* _tmp18_ = NULL;
	GtkIconInfo* _tmp19_ = NULL;
	gchar* path = NULL;
	GtkIconInfo* _tmp21_ = NULL;
	const gchar* _tmp22_ = NULL;
	gchar* _tmp23_ = NULL;
	const gchar* _tmp24_ = NULL;
	GFile* _tmp28_ = NULL;
	GFile* _tmp29_ = NULL;
	GError * _inner_error_ = NULL;
#line 49 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 51 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp0_ = self->priv->d_icon;
#line 51 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	if (_tmp0_ != NULL) {
#line 373 "gitg-diff-view-request-icon.c"
		GFile* _tmp1_ = NULL;
		GFile* _tmp2_ = NULL;
#line 53 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_tmp1_ = self->priv->d_icon;
#line 53 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_tmp2_ = _g_object_ref0 (_tmp1_);
#line 53 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		result = _tmp2_;
#line 53 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		return result;
#line 384 "gitg-diff-view-request-icon.c"
	}
#line 56 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp3_ = ((GitgDiffViewRequest*) self)->d_uri;
#line 56 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp4_ = soup_uri_get_path (_tmp3_);
#line 56 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp5_ = soup_uri_decode (_tmp4_);
#line 56 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	name = _tmp5_;
#line 57 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp6_ = name;
#line 57 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp7_ = name;
#line 57 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp8_ = strlen (_tmp7_);
#line 57 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp9_ = _tmp8_;
#line 57 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp10_ = string_slice (_tmp6_, (glong) 1, (glong) _tmp9_);
#line 57 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_g_free0 (name);
#line 57 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	name = _tmp10_;
#line 59 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp11_ = gitg_diff_view_request_parameter ((GitgDiffViewRequest*) self, "size");
#line 59 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	sizes = _tmp11_;
#line 61 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	size = 60;
#line 63 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp12_ = sizes;
#line 63 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	if (_tmp12_ != NULL) {
#line 418 "gitg-diff-view-request-icon.c"
		const gchar* _tmp13_ = NULL;
		gint _tmp14_ = 0;
#line 65 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_tmp13_ = sizes;
#line 65 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_tmp14_ = atoi (_tmp13_);
#line 65 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		size = _tmp14_;
#line 427 "gitg-diff-view-request-icon.c"
	}
#line 68 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp15_ = self->priv->d_theme;
#line 68 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp16_ = name;
#line 68 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp17_ = size;
#line 68 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp18_ = gtk_icon_theme_lookup_icon (_tmp15_, _tmp16_, _tmp17_, 0);
#line 68 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	info = _tmp18_;
#line 70 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp19_ = info;
#line 70 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	if (_tmp19_ == NULL) {
#line 443 "gitg-diff-view-request-icon.c"
		GError* _tmp20_ = NULL;
#line 72 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_tmp20_ = g_error_new_literal (GITG_DIFF_VIEW_REQUEST_ICON_ERROR, GITG_DIFF_VIEW_REQUEST_ICON_ERROR_ICON_NOT_FOUND, "icon not found");
#line 72 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_inner_error_ = _tmp20_;
#line 72 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		if (_inner_error_->domain == GITG_DIFF_VIEW_REQUEST_ICON_ERROR) {
#line 72 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			g_propagate_error (error, _inner_error_);
#line 72 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			_gtk_icon_info_free0 (info);
#line 72 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			_g_free0 (sizes);
#line 72 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			_g_free0 (name);
#line 72 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			return NULL;
#line 461 "gitg-diff-view-request-icon.c"
		} else {
#line 72 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			_gtk_icon_info_free0 (info);
#line 72 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			_g_free0 (sizes);
#line 72 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			_g_free0 (name);
#line 72 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 72 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			g_clear_error (&_inner_error_);
#line 72 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			return NULL;
#line 475 "gitg-diff-view-request-icon.c"
		}
	}
#line 75 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp21_ = info;
#line 75 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp22_ = gtk_icon_info_get_filename (_tmp21_);
#line 75 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp23_ = g_strdup (_tmp22_);
#line 75 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	path = _tmp23_;
#line 77 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp24_ = path;
#line 77 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	if (_tmp24_ != NULL) {
#line 490 "gitg-diff-view-request-icon.c"
		const gchar* _tmp25_ = NULL;
		GFile* _tmp26_ = NULL;
#line 79 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_tmp25_ = path;
#line 79 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_tmp26_ = g_file_new_for_path (_tmp25_);
#line 79 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_g_object_unref0 (self->priv->d_icon);
#line 79 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		self->priv->d_icon = _tmp26_;
#line 501 "gitg-diff-view-request-icon.c"
	} else {
		GError* _tmp27_ = NULL;
#line 83 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_tmp27_ = g_error_new_literal (GITG_DIFF_VIEW_REQUEST_ICON_ERROR, GITG_DIFF_VIEW_REQUEST_ICON_ERROR_ICON_NOT_FOUND, "icon not found");
#line 83 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_inner_error_ = _tmp27_;
#line 83 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		if (_inner_error_->domain == GITG_DIFF_VIEW_REQUEST_ICON_ERROR) {
#line 83 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			g_propagate_error (error, _inner_error_);
#line 83 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			_g_free0 (path);
#line 83 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			_gtk_icon_info_free0 (info);
#line 83 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			_g_free0 (sizes);
#line 83 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			_g_free0 (name);
#line 83 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			return NULL;
#line 522 "gitg-diff-view-request-icon.c"
		} else {
#line 83 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			_g_free0 (path);
#line 83 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			_gtk_icon_info_free0 (info);
#line 83 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			_g_free0 (sizes);
#line 83 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			_g_free0 (name);
#line 83 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 83 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			g_clear_error (&_inner_error_);
#line 83 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			return NULL;
#line 538 "gitg-diff-view-request-icon.c"
		}
	}
#line 86 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp28_ = self->priv->d_icon;
#line 86 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp29_ = _g_object_ref0 (_tmp28_);
#line 86 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	result = _tmp29_;
#line 86 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_g_free0 (path);
#line 86 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_gtk_icon_info_free0 (info);
#line 86 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_g_free0 (sizes);
#line 86 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_g_free0 (name);
#line 86 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	return result;
#line 557 "gitg-diff-view-request-icon.c"
}


static GInputStream* gitg_diff_view_request_icon_real_run_async (GitgDiffViewRequest* base, GCancellable* cancellable, GError** error) {
	GitgDiffViewRequestIcon * self;
	GInputStream* result = NULL;
	GFile* f = NULL;
	GFile* _tmp0_ = NULL;
	GFileInputStream* stream = NULL;
	GFile* _tmp1_ = NULL;
	GCancellable* _tmp2_ = NULL;
	GFileInputStream* _tmp3_ = NULL;
	GError * _inner_error_ = NULL;
#line 89 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	self = (GitgDiffViewRequestIcon*) base;
#line 91 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp0_ = gitg_diff_view_request_icon_ensure_icon (self, &_inner_error_);
#line 91 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	f = _tmp0_;
#line 91 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 91 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		g_propagate_error (error, _inner_error_);
#line 91 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		return NULL;
#line 583 "gitg-diff-view-request-icon.c"
	}
#line 93 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp1_ = f;
#line 93 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp2_ = cancellable;
#line 93 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_tmp3_ = g_file_read (_tmp1_, _tmp2_, &_inner_error_);
#line 93 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	stream = _tmp3_;
#line 93 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 93 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		g_propagate_error (error, _inner_error_);
#line 93 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_g_object_unref0 (f);
#line 93 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		return NULL;
#line 601 "gitg-diff-view-request-icon.c"
	}
	{
		GFileInfo* info = NULL;
		GFile* _tmp4_ = NULL;
		GCancellable* _tmp5_ = NULL;
		GFileInfo* _tmp6_ = NULL;
		GFileInfo* _tmp7_ = NULL;
		gint64 _tmp8_ = 0LL;
		gchar* ctype = NULL;
		GFileInfo* _tmp9_ = NULL;
		const gchar* _tmp10_ = NULL;
		gchar* _tmp11_ = NULL;
		const gchar* _tmp12_ = NULL;
#line 97 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_tmp4_ = f;
#line 97 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_tmp5_ = cancellable;
#line 97 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_tmp6_ = g_file_query_info (_tmp4_, G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE "," G_FILE_ATTRIBUTE_STANDARD_SIZE, 0, _tmp5_, &_inner_error_);
#line 97 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		info = _tmp6_;
#line 97 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 625 "gitg-diff-view-request-icon.c"
			goto __catch32_g_error;
		}
#line 103 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_tmp7_ = info;
#line 103 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_tmp8_ = g_file_info_get_size (_tmp7_);
#line 103 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		((GitgDiffViewRequest*) self)->d_size = _tmp8_;
#line 105 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_tmp9_ = info;
#line 105 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_tmp10_ = g_file_info_get_content_type (_tmp9_);
#line 105 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_tmp11_ = g_strdup (_tmp10_);
#line 105 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		ctype = _tmp11_;
#line 107 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_tmp12_ = ctype;
#line 107 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		if (_tmp12_ != NULL) {
#line 646 "gitg-diff-view-request-icon.c"
			const gchar* _tmp13_ = NULL;
			gchar* _tmp14_ = NULL;
#line 109 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			_tmp13_ = ctype;
#line 109 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			_tmp14_ = g_content_type_get_mime_type (_tmp13_);
#line 109 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			_g_free0 (((GitgDiffViewRequest*) self)->d_mimetype);
#line 109 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
			((GitgDiffViewRequest*) self)->d_mimetype = _tmp14_;
#line 657 "gitg-diff-view-request-icon.c"
		}
#line 95 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_g_free0 (ctype);
#line 95 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_g_object_unref0 (info);
#line 663 "gitg-diff-view-request-icon.c"
	}
	goto __finally32;
	__catch32_g_error:
	{
#line 95 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		g_clear_error (&_inner_error_);
#line 95 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_inner_error_ = NULL;
#line 672 "gitg-diff-view-request-icon.c"
	}
	__finally32:
#line 95 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 95 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		g_propagate_error (error, _inner_error_);
#line 95 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_g_object_unref0 (stream);
#line 95 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		_g_object_unref0 (f);
#line 95 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
		return NULL;
#line 685 "gitg-diff-view-request-icon.c"
	}
#line 113 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	result = (GInputStream*) stream;
#line 113 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_g_object_unref0 (f);
#line 113 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	return result;
#line 693 "gitg-diff-view-request-icon.c"
}


static void gitg_diff_view_request_icon_class_init (GitgDiffViewRequestIconClass * klass) {
#line 27 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	gitg_diff_view_request_icon_parent_class = g_type_class_peek_parent (klass);
#line 27 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	((GitgDiffViewRequestClass *) klass)->finalize = gitg_diff_view_request_icon_finalize;
#line 27 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	g_type_class_add_private (klass, sizeof (GitgDiffViewRequestIconPrivate));
#line 27 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	((GitgDiffViewRequestClass *) klass)->run_async = gitg_diff_view_request_icon_real_run_async;
#line 706 "gitg-diff-view-request-icon.c"
}


static void gitg_diff_view_request_icon_instance_init (GitgDiffViewRequestIcon * self) {
#line 27 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	self->priv = GITG_DIFF_VIEW_REQUEST_ICON_GET_PRIVATE (self);
#line 713 "gitg-diff-view-request-icon.c"
}


static void gitg_diff_view_request_icon_finalize (GitgDiffViewRequest* obj) {
	GitgDiffViewRequestIcon * self;
#line 27 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_DIFF_VIEW_REQUEST_ICON, GitgDiffViewRequestIcon);
#line 29 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_g_object_unref0 (self->priv->d_icon);
#line 30 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	_g_object_unref0 (self->priv->d_theme);
#line 27 "/home/garrett/hacking/gnome/gitg/libgitg/gitg-diff-view-request-icon.vala"
	GITG_DIFF_VIEW_REQUEST_CLASS (gitg_diff_view_request_icon_parent_class)->finalize (obj);
#line 727 "gitg-diff-view-request-icon.c"
}


GType gitg_diff_view_request_icon_get_type (void) {
	static volatile gsize gitg_diff_view_request_icon_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_diff_view_request_icon_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgDiffViewRequestIconClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_diff_view_request_icon_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgDiffViewRequestIcon), 0, (GInstanceInitFunc) gitg_diff_view_request_icon_instance_init, NULL };
		GType gitg_diff_view_request_icon_type_id;
		gitg_diff_view_request_icon_type_id = g_type_register_static (GITG_TYPE_DIFF_VIEW_REQUEST, "GitgDiffViewRequestIcon", &g_define_type_info, 0);
		g_once_init_leave (&gitg_diff_view_request_icon_type_id__volatile, gitg_diff_view_request_icon_type_id);
	}
	return gitg_diff_view_request_icon_type_id__volatile;
}



