/* gitg-remote-notification.c generated by valac 0.34.7, the Vala compiler
 * generated from gitg-remote-notification.vala, do not modify */

/*
 * This file is part of gitg
 *
 * Copyright (C) 2012 - Ignacio Casal Quinteiro
 *
 * 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 "libgitg/libgitg.h"
#include "libgitg-ext/libgitg-ext.h"
#include <gtk/gtk.h>
#include <stdlib.h>
#include <string.h>
#include <config.h>
#include <glib/gi18n-lib.h>


#define GITG_TYPE_REMOTE_NOTIFICATION (gitg_remote_notification_get_type ())
#define GITG_REMOTE_NOTIFICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_TYPE_REMOTE_NOTIFICATION, GitgRemoteNotification))
#define GITG_REMOTE_NOTIFICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_TYPE_REMOTE_NOTIFICATION, GitgRemoteNotificationClass))
#define GITG_IS_REMOTE_NOTIFICATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_TYPE_REMOTE_NOTIFICATION))
#define GITG_IS_REMOTE_NOTIFICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_TYPE_REMOTE_NOTIFICATION))
#define GITG_REMOTE_NOTIFICATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_TYPE_REMOTE_NOTIFICATION, GitgRemoteNotificationClass))

typedef struct _GitgRemoteNotification GitgRemoteNotification;
typedef struct _GitgRemoteNotificationClass GitgRemoteNotificationClass;
typedef struct _GitgRemoteNotificationPrivate GitgRemoteNotificationPrivate;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
typedef struct _Block55Data Block55Data;
typedef struct _Block56Data Block56Data;
typedef struct _Block57Data Block57Data;
typedef struct _Block58Data Block58Data;
typedef struct _Block59Data Block59Data;

struct _GitgRemoteNotification {
	GitgProgressBin parent_instance;
	GitgRemoteNotificationPrivate * priv;
};

struct _GitgRemoteNotificationClass {
	GitgProgressBinClass parent_class;
};

struct _GitgRemoteNotificationPrivate {
	GitgRemote* d_remote;
	GtkImage* d_image_icon;
	GtkLabel* d_label_text;
	GtkButton* d_button_cancel;
	gboolean d_finished;
	gchar* d_text;
};

struct _Block55Data {
	int _ref_count_;
	GitgRemoteNotification* self;
	gchar* text;
};

struct _Block56Data {
	int _ref_count_;
	GitgRemoteNotification* self;
	gchar* text;
};

struct _Block57Data {
	int _ref_count_;
	GitgRemoteNotification* self;
	gboolean auto_close;
};

struct _Block58Data {
	int _ref_count_;
	GitgRemoteNotification* self;
	gchar* value;
};

struct _Block59Data {
	int _ref_count_;
	GitgRemoteNotification* self;
	GitgRemoteState value;
};


static gpointer gitg_remote_notification_parent_class = NULL;
static GitgExtNotificationIface* gitg_remote_notification_gitg_ext_notification_parent_iface = NULL;

GType gitg_remote_notification_get_type (void) G_GNUC_CONST;
#define GITG_REMOTE_NOTIFICATION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_TYPE_REMOTE_NOTIFICATION, GitgRemoteNotificationPrivate))
enum  {
	GITG_REMOTE_NOTIFICATION_DUMMY_PROPERTY,
	GITG_REMOTE_NOTIFICATION_WIDGET,
	GITG_REMOTE_NOTIFICATION_TEXT,
	GITG_REMOTE_NOTIFICATION_REMOTE_STATE
};
#define GITG_REMOTE_NOTIFICATION_version VERSION
GitgRemoteNotification* gitg_remote_notification_new (GitgRemote* remote);
GitgRemoteNotification* gitg_remote_notification_construct (GType object_type, GitgRemote* remote);
void gitg_remote_notification_success (GitgRemoteNotification* self, const gchar* text);
static Block55Data* block55_data_ref (Block55Data* _data55_);
static void block55_data_unref (void * _userdata_);
static gboolean __lambda132_ (Block55Data* _data55_);
void gitg_remote_notification_set_text (GitgRemoteNotification* self, const gchar* value);
static void gitg_remote_notification_finish (GitgRemoteNotification* self, gboolean auto_close);
static gboolean ___lambda132__gsource_func (gpointer self);
void gitg_remote_notification_error (GitgRemoteNotification* self, const gchar* text);
static Block56Data* block56_data_ref (Block56Data* _data56_);
static void block56_data_unref (void * _userdata_);
static gboolean __lambda135_ (Block56Data* _data56_);
static gboolean ___lambda135__gsource_func (gpointer self);
static Block57Data* block57_data_ref (Block57Data* _data57_);
static void block57_data_unref (void * _userdata_);
static gboolean __lambda134_ (Block57Data* _data57_);
static gboolean ___lambda134__gsource_func (gpointer self);
static void gitg_remote_notification_on_button_cancel_clicked (GitgRemoteNotification* self);
static void _gitg_remote_notification_on_button_cancel_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self);
const gchar* gitg_remote_notification_get_text (GitgRemoteNotification* self);
static Block58Data* block58_data_ref (Block58Data* _data58_);
static void block58_data_unref (void * _userdata_);
static gboolean _gitg_remote_notification_text___lambda133_ (Block58Data* _data58_);
static gboolean __gitg_remote_notification_text___lambda133__gsource_func (gpointer self);
void gitg_remote_notification_set_remote_state (GitgRemoteNotification* self, GitgRemoteState value);
static Block59Data* block59_data_ref (Block59Data* _data59_);
static void block59_data_unref (void * _userdata_);
static gboolean _gitg_remote_notification_remote_state___lambda136_ (Block59Data* _data59_);
static gboolean __gitg_remote_notification_remote_state___lambda136__gsource_func (gpointer self);
static void gitg_remote_notification_finalize (GObject* obj);
static void _vala_gitg_remote_notification_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_gitg_remote_notification_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);


static gpointer _g_object_ref0 (gpointer self) {
#line 48 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	return self ? g_object_ref (self) : NULL;
#line 152 "gitg-remote-notification.c"
}


GitgRemoteNotification* gitg_remote_notification_construct (GType object_type, GitgRemote* remote) {
	GitgRemoteNotification * self = NULL;
	GitgRemote* _tmp0_ = NULL;
	GitgRemote* _tmp1_ = NULL;
	GitgRemote* _tmp2_ = NULL;
	GitgRemote* _tmp3_ = NULL;
#line 46 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_return_val_if_fail (remote != NULL, NULL);
#line 46 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	self = (GitgRemoteNotification*) gitg_progress_bin_construct (object_type);
#line 48 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp0_ = remote;
#line 48 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 48 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_g_object_unref0 (self->priv->d_remote);
#line 48 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	self->priv->d_remote = _tmp1_;
#line 50 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp2_ = self->priv->d_remote;
#line 50 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp2_, "state", (GObject*) self, "remote_state", G_BINDING_DEFAULT, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)));
#line 51 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp3_ = self->priv->d_remote;
#line 51 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp3_, "transfer-progress", (GObject*) self, "fraction", G_BINDING_DEFAULT, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)));
#line 46 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	return self;
#line 184 "gitg-remote-notification.c"
}


GitgRemoteNotification* gitg_remote_notification_new (GitgRemote* remote) {
#line 46 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	return gitg_remote_notification_construct (GITG_TYPE_REMOTE_NOTIFICATION, remote);
#line 191 "gitg-remote-notification.c"
}


static Block55Data* block55_data_ref (Block55Data* _data55_) {
#line 59 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_atomic_int_inc (&_data55_->_ref_count_);
#line 59 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	return _data55_;
#line 200 "gitg-remote-notification.c"
}


static void block55_data_unref (void * _userdata_) {
	Block55Data* _data55_;
	_data55_ = (Block55Data*) _userdata_;
#line 59 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	if (g_atomic_int_dec_and_test (&_data55_->_ref_count_)) {
#line 209 "gitg-remote-notification.c"
		GitgRemoteNotification* self;
#line 59 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		self = _data55_->self;
#line 59 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		_g_free0 (_data55_->text);
#line 59 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		_g_object_unref0 (self);
#line 59 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		g_slice_free (Block55Data, _data55_);
#line 219 "gitg-remote-notification.c"
	}
}


static gboolean __lambda132_ (Block55Data* _data55_) {
	GitgRemoteNotification* self;
	gboolean result = FALSE;
	GtkImage* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	GtkStyleContext* _tmp2_ = NULL;
#line 61 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	self = _data55_->self;
#line 62 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp0_ = self->priv->d_image_icon;
#line 62 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_object_set (_tmp0_, "icon-name", "emblem-ok-symbolic", NULL);
#line 63 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp1_ = _data55_->text;
#line 63 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	gitg_remote_notification_set_text (self, _tmp1_);
#line 65 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp2_ = gtk_widget_get_style_context ((GtkWidget*) self);
#line 65 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	gtk_style_context_add_class (_tmp2_, "success");
#line 67 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	gitg_remote_notification_finish (self, TRUE);
#line 69 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	result = FALSE;
#line 69 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	return result;
#line 250 "gitg-remote-notification.c"
}


static gboolean ___lambda132__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda132_ (self);
#line 61 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	return result;
#line 259 "gitg-remote-notification.c"
}


void gitg_remote_notification_success (GitgRemoteNotification* self, const gchar* text) {
	Block55Data* _data55_;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 59 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_return_if_fail (self != NULL);
#line 59 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_return_if_fail (text != NULL);
#line 59 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_data55_ = g_slice_new0 (Block55Data);
#line 59 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_data55_->_ref_count_ = 1;
#line 59 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_data55_->self = g_object_ref (self);
#line 59 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp0_ = text;
#line 59 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 59 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_g_free0 (_data55_->text);
#line 59 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_data55_->text = _tmp1_;
#line 61 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda132__gsource_func, block55_data_ref (_data55_), block55_data_unref);
#line 59 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	block55_data_unref (_data55_);
#line 59 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_data55_ = NULL;
#line 291 "gitg-remote-notification.c"
}


static Block56Data* block56_data_ref (Block56Data* _data56_) {
#line 73 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_atomic_int_inc (&_data56_->_ref_count_);
#line 73 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	return _data56_;
#line 300 "gitg-remote-notification.c"
}


static void block56_data_unref (void * _userdata_) {
	Block56Data* _data56_;
	_data56_ = (Block56Data*) _userdata_;
#line 73 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	if (g_atomic_int_dec_and_test (&_data56_->_ref_count_)) {
#line 309 "gitg-remote-notification.c"
		GitgRemoteNotification* self;
#line 73 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		self = _data56_->self;
#line 73 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		_g_free0 (_data56_->text);
#line 73 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		_g_object_unref0 (self);
#line 73 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		g_slice_free (Block56Data, _data56_);
#line 319 "gitg-remote-notification.c"
	}
}


static gboolean __lambda135_ (Block56Data* _data56_) {
	GitgRemoteNotification* self;
	gboolean result = FALSE;
	GtkImage* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	GtkStyleContext* _tmp2_ = NULL;
#line 75 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	self = _data56_->self;
#line 76 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp0_ = self->priv->d_image_icon;
#line 76 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_object_set (_tmp0_, "icon-name", "network-error-symbolic", NULL);
#line 77 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp1_ = _data56_->text;
#line 77 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	gitg_remote_notification_set_text (self, _tmp1_);
#line 79 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp2_ = gtk_widget_get_style_context ((GtkWidget*) self);
#line 79 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	gtk_style_context_add_class (_tmp2_, "error");
#line 80 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	gitg_remote_notification_finish (self, FALSE);
#line 82 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	result = FALSE;
#line 82 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	return result;
#line 350 "gitg-remote-notification.c"
}


static gboolean ___lambda135__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda135_ (self);
#line 75 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	return result;
#line 359 "gitg-remote-notification.c"
}


void gitg_remote_notification_error (GitgRemoteNotification* self, const gchar* text) {
	Block56Data* _data56_;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 73 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_return_if_fail (self != NULL);
#line 73 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_return_if_fail (text != NULL);
#line 73 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_data56_ = g_slice_new0 (Block56Data);
#line 73 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_data56_->_ref_count_ = 1;
#line 73 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_data56_->self = g_object_ref (self);
#line 73 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp0_ = text;
#line 73 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 73 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_g_free0 (_data56_->text);
#line 73 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_data56_->text = _tmp1_;
#line 75 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda135__gsource_func, block56_data_ref (_data56_), block56_data_unref);
#line 73 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	block56_data_unref (_data56_);
#line 73 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_data56_ = NULL;
#line 391 "gitg-remote-notification.c"
}


static Block57Data* block57_data_ref (Block57Data* _data57_) {
#line 86 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_atomic_int_inc (&_data57_->_ref_count_);
#line 86 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	return _data57_;
#line 400 "gitg-remote-notification.c"
}


static void block57_data_unref (void * _userdata_) {
	Block57Data* _data57_;
	_data57_ = (Block57Data*) _userdata_;
#line 86 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	if (g_atomic_int_dec_and_test (&_data57_->_ref_count_)) {
#line 409 "gitg-remote-notification.c"
		GitgRemoteNotification* self;
#line 86 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		self = _data57_->self;
#line 86 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		_g_object_unref0 (self);
#line 86 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		g_slice_free (Block57Data, _data57_);
#line 417 "gitg-remote-notification.c"
	}
}


static gboolean __lambda134_ (Block57Data* _data57_) {
	GitgRemoteNotification* self;
	gboolean result = FALSE;
	GtkButton* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
#line 88 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	self = _data57_->self;
#line 89 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	self->priv->d_finished = TRUE;
#line 90 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp0_ = self->priv->d_button_cancel;
#line 90 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp1_ = _ ("Close");
#line 90 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	gtk_button_set_label (_tmp0_, _tmp1_);
#line 92 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp2_ = _data57_->auto_close;
#line 92 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	if (_tmp2_) {
#line 94 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		g_signal_emit_by_name ((GitgExtNotification*) self, "close", (guint) 3000);
#line 444 "gitg-remote-notification.c"
	}
#line 97 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	result = FALSE;
#line 97 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	return result;
#line 450 "gitg-remote-notification.c"
}


static gboolean ___lambda134__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda134_ (self);
#line 88 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	return result;
#line 459 "gitg-remote-notification.c"
}


static void gitg_remote_notification_finish (GitgRemoteNotification* self, gboolean auto_close) {
	Block57Data* _data57_;
	gboolean _tmp0_ = FALSE;
#line 86 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_return_if_fail (self != NULL);
#line 86 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_data57_ = g_slice_new0 (Block57Data);
#line 86 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_data57_->_ref_count_ = 1;
#line 86 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_data57_->self = g_object_ref (self);
#line 86 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp0_ = auto_close;
#line 86 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_data57_->auto_close = _tmp0_;
#line 88 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, ___lambda134__gsource_func, block57_data_ref (_data57_), block57_data_unref);
#line 86 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	block57_data_unref (_data57_);
#line 86 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_data57_ = NULL;
#line 484 "gitg-remote-notification.c"
}


static void gitg_remote_notification_on_button_cancel_clicked (GitgRemoteNotification* self) {
	gboolean _tmp0_ = FALSE;
#line 141 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_return_if_fail (self != NULL);
#line 143 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp0_ = self->priv->d_finished;
#line 143 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	if (_tmp0_) {
#line 145 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		g_signal_emit_by_name ((GitgExtNotification*) self, "close", (guint) 0);
#line 498 "gitg-remote-notification.c"
	} else {
#line 149 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		g_signal_emit_by_name (self, "cancel");
#line 502 "gitg-remote-notification.c"
	}
}


static void _gitg_remote_notification_on_button_cancel_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	gitg_remote_notification_on_button_cancel_clicked ((GitgRemoteNotification*) self);
#line 510 "gitg-remote-notification.c"
}


static GtkWidget* gitg_remote_notification_real_get_widget (GitgExtNotification* base) {
	GtkWidget* result;
	GitgRemoteNotification* self;
	GtkWidget* _tmp0_ = NULL;
#line 56 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	self = (GitgRemoteNotification*) base;
#line 56 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp0_ = _g_object_ref0 ((GtkWidget*) self);
#line 56 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	result = _tmp0_;
#line 56 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	return result;
#line 526 "gitg-remote-notification.c"
}


const gchar* gitg_remote_notification_get_text (GitgRemoteNotification* self) {
	const gchar* result;
	const gchar* _tmp0_ = NULL;
#line 103 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 105 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp0_ = self->priv->d_text;
#line 105 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	result = _tmp0_;
#line 105 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	return result;
#line 541 "gitg-remote-notification.c"
}


static Block58Data* block58_data_ref (Block58Data* _data58_) {
#line 108 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_atomic_int_inc (&_data58_->_ref_count_);
#line 108 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	return _data58_;
#line 550 "gitg-remote-notification.c"
}


static void block58_data_unref (void * _userdata_) {
	Block58Data* _data58_;
	_data58_ = (Block58Data*) _userdata_;
#line 108 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	if (g_atomic_int_dec_and_test (&_data58_->_ref_count_)) {
#line 559 "gitg-remote-notification.c"
		GitgRemoteNotification* self;
#line 108 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		self = _data58_->self;
#line 108 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		_g_free0 (_data58_->value);
#line 108 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		_g_object_unref0 (self);
#line 108 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		g_slice_free (Block58Data, _data58_);
#line 569 "gitg-remote-notification.c"
	}
}


static gboolean _gitg_remote_notification_text___lambda133_ (Block58Data* _data58_) {
	GitgRemoteNotification* self;
	gboolean result = FALSE;
	GtkLabel* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
#line 110 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	self = _data58_->self;
#line 111 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp0_ = self->priv->d_label_text;
#line 111 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp1_ = _data58_->value;
#line 111 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	gtk_label_set_label (_tmp0_, _tmp1_);
#line 112 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	result = FALSE;
#line 112 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	return result;
#line 591 "gitg-remote-notification.c"
}


static gboolean __gitg_remote_notification_text___lambda133__gsource_func (gpointer self) {
	gboolean result;
	result = _gitg_remote_notification_text___lambda133_ (self);
#line 110 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	return result;
#line 600 "gitg-remote-notification.c"
}


void gitg_remote_notification_set_text (GitgRemoteNotification* self, const gchar* value) {
	Block58Data* _data58_;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
#line 108 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_return_if_fail (self != NULL);
#line 108 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_data58_ = g_slice_new0 (Block58Data);
#line 108 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_data58_->_ref_count_ = 1;
#line 108 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_data58_->self = g_object_ref (self);
#line 108 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp0_ = value;
#line 108 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 108 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_g_free0 (_data58_->value);
#line 108 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_data58_->value = _tmp1_;
#line 110 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, __gitg_remote_notification_text___lambda133__gsource_func, block58_data_ref (_data58_), block58_data_unref);
#line 108 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	block58_data_unref (_data58_);
#line 108 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_data58_ = NULL;
#line 108 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_object_notify ((GObject *) self, "text");
#line 632 "gitg-remote-notification.c"
}


static Block59Data* block59_data_ref (Block59Data* _data59_) {
#line 119 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_atomic_int_inc (&_data59_->_ref_count_);
#line 119 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	return _data59_;
#line 641 "gitg-remote-notification.c"
}


static void block59_data_unref (void * _userdata_) {
	Block59Data* _data59_;
	_data59_ = (Block59Data*) _userdata_;
#line 119 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	if (g_atomic_int_dec_and_test (&_data59_->_ref_count_)) {
#line 650 "gitg-remote-notification.c"
		GitgRemoteNotification* self;
#line 119 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		self = _data59_->self;
#line 119 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		_g_object_unref0 (self);
#line 119 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		g_slice_free (Block59Data, _data59_);
#line 658 "gitg-remote-notification.c"
	}
}


static gboolean _gitg_remote_notification_remote_state___lambda136_ (Block59Data* _data59_) {
	GitgRemoteNotification* self;
	gboolean result = FALSE;
	GitgRemoteState _tmp0_ = 0;
#line 121 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	self = _data59_->self;
#line 122 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp0_ = _data59_->value;
#line 122 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	switch (_tmp0_) {
#line 122 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		case GITG_REMOTE_STATE_CONNECTING:
#line 675 "gitg-remote-notification.c"
		{
			GtkImage* _tmp1_ = NULL;
#line 125 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
			_tmp1_ = self->priv->d_image_icon;
#line 125 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
			g_object_set (_tmp1_, "icon-name", "network-wireless-acquiring-symbolic", NULL);
#line 126 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
			break;
#line 684 "gitg-remote-notification.c"
		}
#line 122 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		case GITG_REMOTE_STATE_CONNECTED:
#line 688 "gitg-remote-notification.c"
		{
			GtkImage* _tmp2_ = NULL;
#line 128 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
			_tmp2_ = self->priv->d_image_icon;
#line 128 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
			g_object_set (_tmp2_, "icon-name", "network-idle-symbolic", NULL);
#line 129 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
			break;
#line 697 "gitg-remote-notification.c"
		}
#line 122 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		case GITG_REMOTE_STATE_TRANSFERRING:
#line 701 "gitg-remote-notification.c"
		{
			GtkImage* _tmp3_ = NULL;
#line 131 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
			_tmp3_ = self->priv->d_image_icon;
#line 131 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
			g_object_set (_tmp3_, "icon-name", "network-transmit-receive-symbolic", NULL);
#line 132 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
			break;
#line 710 "gitg-remote-notification.c"
		}
		default:
#line 122 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		break;
#line 715 "gitg-remote-notification.c"
	}
#line 135 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	result = FALSE;
#line 135 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	return result;
#line 721 "gitg-remote-notification.c"
}


static gboolean __gitg_remote_notification_remote_state___lambda136__gsource_func (gpointer self) {
	gboolean result;
	result = _gitg_remote_notification_remote_state___lambda136_ (self);
#line 121 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	return result;
#line 730 "gitg-remote-notification.c"
}


void gitg_remote_notification_set_remote_state (GitgRemoteNotification* self, GitgRemoteState value) {
	Block59Data* _data59_;
	GitgRemoteState _tmp0_ = 0;
#line 119 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_return_if_fail (self != NULL);
#line 119 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_data59_ = g_slice_new0 (Block59Data);
#line 119 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_data59_->_ref_count_ = 1;
#line 119 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_data59_->self = g_object_ref (self);
#line 119 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_tmp0_ = value;
#line 119 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_data59_->value = _tmp0_;
#line 121 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, __gitg_remote_notification_remote_state___lambda136__gsource_func, block59_data_ref (_data59_), block59_data_unref);
#line 119 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	block59_data_unref (_data59_);
#line 119 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_data59_ = NULL;
#line 119 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_object_notify ((GObject *) self, "remote-state");
#line 757 "gitg-remote-notification.c"
}


static void gitg_remote_notification_class_init (GitgRemoteNotificationClass * klass) {
	gint GitgRemoteNotification_private_offset;
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	gitg_remote_notification_parent_class = g_type_class_peek_parent (klass);
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_type_class_add_private (klass, sizeof (GitgRemoteNotificationPrivate));
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_remote_notification_get_property;
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_remote_notification_set_property;
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_remote_notification_finalize;
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_REMOTE_NOTIFICATION_WIDGET, g_param_spec_object ("widget", "widget", "widget", gtk_widget_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_REMOTE_NOTIFICATION_TEXT, g_param_spec_string ("text", "text", "text", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE));
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_REMOTE_NOTIFICATION_REMOTE_STATE, g_param_spec_enum ("remote-state", "remote-state", "remote-state", GITG_TYPE_REMOTE_STATE, 0, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_WRITABLE));
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	GitgRemoteNotification_private_offset = g_type_class_get_instance_private_offset (klass);
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/gitg/ui/gitg-remote-notification.ui");
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	g_signal_new ("cancel", GITG_TYPE_REMOTE_NOTIFICATION, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "image_icon", FALSE, GitgRemoteNotification_private_offset + G_STRUCT_OFFSET (GitgRemoteNotificationPrivate, d_image_icon));
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "label_text", FALSE, GitgRemoteNotification_private_offset + G_STRUCT_OFFSET (GitgRemoteNotificationPrivate, d_label_text));
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "button_cancel", FALSE, GitgRemoteNotification_private_offset + G_STRUCT_OFFSET (GitgRemoteNotificationPrivate, d_button_cancel));
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_button_cancel_clicked", G_CALLBACK(_gitg_remote_notification_on_button_cancel_clicked_gtk_button_clicked));
#line 793 "gitg-remote-notification.c"
}


static void gitg_remote_notification_gitg_ext_notification_interface_init (GitgExtNotificationIface * iface) {
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	gitg_remote_notification_gitg_ext_notification_parent_iface = g_type_interface_peek_parent (iface);
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	iface->get_widget = gitg_remote_notification_real_get_widget;
#line 802 "gitg-remote-notification.c"
}


static void gitg_remote_notification_instance_init (GitgRemoteNotification * self) {
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	self->priv = GITG_REMOTE_NOTIFICATION_GET_PRIVATE (self);
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	gtk_widget_init_template (GTK_WIDGET (self));
#line 811 "gitg-remote-notification.c"
}


static void gitg_remote_notification_finalize (GObject* obj) {
	GitgRemoteNotification * self;
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_TYPE_REMOTE_NOTIFICATION, GitgRemoteNotification);
#line 29 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_g_object_unref0 (self->priv->d_remote);
#line 32 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_g_object_unref0 (self->priv->d_image_icon);
#line 35 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_g_object_unref0 (self->priv->d_label_text);
#line 38 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_g_object_unref0 (self->priv->d_button_cancel);
#line 44 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	_g_free0 (self->priv->d_text);
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	G_OBJECT_CLASS (gitg_remote_notification_parent_class)->finalize (obj);
#line 831 "gitg-remote-notification.c"
}


GType gitg_remote_notification_get_type (void) {
	static volatile gsize gitg_remote_notification_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_remote_notification_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgRemoteNotificationClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_remote_notification_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgRemoteNotification), 0, (GInstanceInitFunc) gitg_remote_notification_instance_init, NULL };
		static const GInterfaceInfo gitg_ext_notification_info = { (GInterfaceInitFunc) gitg_remote_notification_gitg_ext_notification_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType gitg_remote_notification_type_id;
		gitg_remote_notification_type_id = g_type_register_static (GITG_TYPE_PROGRESS_BIN, "GitgRemoteNotification", &g_define_type_info, 0);
		g_type_add_interface_static (gitg_remote_notification_type_id, GITG_EXT_TYPE_NOTIFICATION, &gitg_ext_notification_info);
		g_once_init_leave (&gitg_remote_notification_type_id__volatile, gitg_remote_notification_type_id);
	}
	return gitg_remote_notification_type_id__volatile;
}


static void _vala_gitg_remote_notification_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgRemoteNotification * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_REMOTE_NOTIFICATION, GitgRemoteNotification);
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	switch (property_id) {
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		case GITG_REMOTE_NOTIFICATION_WIDGET:
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		g_value_take_object (value, gitg_ext_notification_get_widget ((GitgExtNotification*) self));
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		case GITG_REMOTE_NOTIFICATION_TEXT:
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		g_value_set_string (value, gitg_remote_notification_get_text (self));
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		break;
#line 866 "gitg-remote-notification.c"
		default:
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		break;
#line 872 "gitg-remote-notification.c"
	}
}


static void _vala_gitg_remote_notification_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GitgRemoteNotification * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_TYPE_REMOTE_NOTIFICATION, GitgRemoteNotification);
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
	switch (property_id) {
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		case GITG_REMOTE_NOTIFICATION_TEXT:
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		gitg_remote_notification_set_text (self, g_value_get_string (value));
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		break;
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		case GITG_REMOTE_NOTIFICATION_REMOTE_STATE:
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		gitg_remote_notification_set_remote_state (self, g_value_get_enum (value));
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		break;
#line 894 "gitg-remote-notification.c"
		default:
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 24 "/home/jesse/dev/gitg/gitg/gitg-remote-notification.vala"
		break;
#line 900 "gitg-remote-notification.c"
	}
}



