/* gitg-history-action-interface.c generated by valac 0.27.1.26-9b1a5-dirty, the Vala compiler
 * generated from gitg-history-action-interface.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 "libgitg-ext/libgitg-ext.h"
#include <gtk/gtk.h>
#include "libgitg/libgitg.h"


#define GITG_HISTORY_TYPE_ACTION_INTERFACE (gitg_history_action_interface_get_type ())
#define GITG_HISTORY_ACTION_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_HISTORY_TYPE_ACTION_INTERFACE, GitgHistoryActionInterface))
#define GITG_HISTORY_ACTION_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_HISTORY_TYPE_ACTION_INTERFACE, GitgHistoryActionInterfaceClass))
#define GITG_HISTORY_IS_ACTION_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_HISTORY_TYPE_ACTION_INTERFACE))
#define GITG_HISTORY_IS_ACTION_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_HISTORY_TYPE_ACTION_INTERFACE))
#define GITG_HISTORY_ACTION_INTERFACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_HISTORY_TYPE_ACTION_INTERFACE, GitgHistoryActionInterfaceClass))

typedef struct _GitgHistoryActionInterface GitgHistoryActionInterface;
typedef struct _GitgHistoryActionInterfaceClass GitgHistoryActionInterfaceClass;
typedef struct _GitgHistoryActionInterfacePrivate GitgHistoryActionInterfacePrivate;

#define GITG_HISTORY_TYPE_REFS_LIST (gitg_history_refs_list_get_type ())
#define GITG_HISTORY_REFS_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_HISTORY_TYPE_REFS_LIST, GitgHistoryRefsList))
#define GITG_HISTORY_REFS_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_HISTORY_TYPE_REFS_LIST, GitgHistoryRefsListClass))
#define GITG_HISTORY_IS_REFS_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_HISTORY_TYPE_REFS_LIST))
#define GITG_HISTORY_IS_REFS_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_HISTORY_TYPE_REFS_LIST))
#define GITG_HISTORY_REFS_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_HISTORY_TYPE_REFS_LIST, GitgHistoryRefsListClass))

typedef struct _GitgHistoryRefsList GitgHistoryRefsList;
typedef struct _GitgHistoryRefsListClass GitgHistoryRefsListClass;
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))

struct _GitgHistoryActionInterface {
	GObject parent_instance;
	GitgHistoryActionInterfacePrivate * priv;
};

struct _GitgHistoryActionInterfaceClass {
	GObjectClass parent_class;
};

struct _GitgHistoryActionInterfacePrivate {
	GitgExtApplication* _application;
	GitgHistoryRefsList* d_refs_list;
};


static gpointer gitg_history_action_interface_parent_class = NULL;
static GitgExtRefActionInterfaceIface* gitg_history_action_interface_gitg_ext_ref_action_interface_parent_iface = NULL;

GType gitg_history_action_interface_get_type (void) G_GNUC_CONST;
GType gitg_history_refs_list_get_type (void) G_GNUC_CONST;
#define GITG_HISTORY_ACTION_INTERFACE_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_HISTORY_TYPE_ACTION_INTERFACE, GitgHistoryActionInterfacePrivate))
enum  {
	GITG_HISTORY_ACTION_INTERFACE_DUMMY_PROPERTY,
	GITG_HISTORY_ACTION_INTERFACE_APPLICATION
};
GitgHistoryActionInterface* gitg_history_action_interface_new (GitgExtApplication* application, GitgHistoryRefsList* refs_list);
GitgHistoryActionInterface* gitg_history_action_interface_construct (GType object_type, GitgExtApplication* application, GitgHistoryRefsList* refs_list);
static void gitg_history_action_interface_real_add_ref (GitgExtRefActionInterface* base, GitgRef* reference);
gboolean gitg_history_refs_list_add_ref (GitgHistoryRefsList* self, GitgRef* reference);
static void gitg_history_action_interface_real_remove_ref (GitgExtRefActionInterface* base, GitgRef* reference);
gboolean gitg_history_refs_list_remove_ref (GitgHistoryRefsList* self, GitgRef* reference);
static void gitg_history_action_interface_real_replace_ref (GitgExtRefActionInterface* base, GitgRef* old_ref, GitgRef* new_ref);
void gitg_history_refs_list_replace_ref (GitgHistoryRefsList* self, GitgRef* old_ref, GitgRef* new_ref);
static void gitg_history_action_interface_real_set_busy (GitgExtRefActionInterface* base, GitgRef* reference, gboolean busy);
static void gitg_history_action_interface_real_edit_ref_name (GitgExtRefActionInterface* base, GitgRef* reference, GitgExtRefNameEditingDone done, void* done_target, GDestroyNotify done_target_destroy_notify);
void gitg_history_refs_list_edit (GitgHistoryRefsList* self, GitgRef* reference, GitgExtRefNameEditingDone done, void* done_target, GDestroyNotify done_target_destroy_notify);
static void gitg_history_action_interface_finalize (GObject* obj);
static void _vala_gitg_history_action_interface_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec);
static void _vala_gitg_history_action_interface_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec);


static gpointer _g_object_ref0 (gpointer self) {
#line 33 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	return self ? g_object_ref (self) : NULL;
#line 97 "gitg-history-action-interface.c"
}


GitgHistoryActionInterface* gitg_history_action_interface_construct (GType object_type, GitgExtApplication* application, GitgHistoryRefsList* refs_list) {
	GitgHistoryActionInterface * self = NULL;
	GitgExtApplication* _tmp0_ = NULL;
	GitgHistoryRefsList* _tmp1_ = NULL;
	GitgHistoryRefsList* _tmp2_ = NULL;
#line 29 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	g_return_val_if_fail (application != NULL, NULL);
#line 29 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	g_return_val_if_fail (refs_list != NULL, NULL);
#line 31 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp0_ = application;
#line 31 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	self = (GitgHistoryActionInterface*) g_object_new (object_type, "application", _tmp0_, NULL);
#line 33 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp1_ = refs_list;
#line 33 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 33 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_g_object_unref0 (self->priv->d_refs_list);
#line 33 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	self->priv->d_refs_list = _tmp2_;
#line 29 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	return self;
#line 124 "gitg-history-action-interface.c"
}


GitgHistoryActionInterface* gitg_history_action_interface_new (GitgExtApplication* application, GitgHistoryRefsList* refs_list) {
#line 29 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	return gitg_history_action_interface_construct (GITG_HISTORY_TYPE_ACTION_INTERFACE, application, refs_list);
#line 131 "gitg-history-action-interface.c"
}


static void gitg_history_action_interface_real_add_ref (GitgExtRefActionInterface* base, GitgRef* reference) {
	GitgHistoryActionInterface * self;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
	GitgExtApplication* _tmp2_ = NULL;
	GitgRepository* _tmp3_ = NULL;
	GitgRepository* _tmp4_ = NULL;
	GitgRepository* _tmp5_ = NULL;
	GitgHistoryRefsList* _tmp6_ = NULL;
	GitgRef* _tmp7_ = NULL;
#line 36 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	self = (GitgHistoryActionInterface*) base;
#line 36 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	g_return_if_fail (reference != NULL);
#line 38 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp0_ = gitg_ext_ref_action_interface_get_application ((GitgExtRefActionInterface*) self);
#line 38 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp1_ = _tmp0_;
#line 38 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp2_ = _tmp1_;
#line 38 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp3_ = gitg_ext_application_get_repository (_tmp2_);
#line 38 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp4_ = _tmp3_;
#line 38 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp5_ = _tmp4_;
#line 38 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	gitg_repository_clear_refs_cache (_tmp5_);
#line 38 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_g_object_unref0 (_tmp5_);
#line 38 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_g_object_unref0 (_tmp2_);
#line 39 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp6_ = self->priv->d_refs_list;
#line 39 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp7_ = reference;
#line 39 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	gitg_history_refs_list_add_ref (_tmp6_, _tmp7_);
#line 173 "gitg-history-action-interface.c"
}


static void gitg_history_action_interface_real_remove_ref (GitgExtRefActionInterface* base, GitgRef* reference) {
	GitgHistoryActionInterface * self;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
	GitgExtApplication* _tmp2_ = NULL;
	GitgRepository* _tmp3_ = NULL;
	GitgRepository* _tmp4_ = NULL;
	GitgRepository* _tmp5_ = NULL;
	GitgHistoryRefsList* _tmp6_ = NULL;
	GitgRef* _tmp7_ = NULL;
#line 42 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	self = (GitgHistoryActionInterface*) base;
#line 42 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	g_return_if_fail (reference != NULL);
#line 44 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp0_ = gitg_ext_ref_action_interface_get_application ((GitgExtRefActionInterface*) self);
#line 44 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp1_ = _tmp0_;
#line 44 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp2_ = _tmp1_;
#line 44 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp3_ = gitg_ext_application_get_repository (_tmp2_);
#line 44 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp4_ = _tmp3_;
#line 44 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp5_ = _tmp4_;
#line 44 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	gitg_repository_clear_refs_cache (_tmp5_);
#line 44 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_g_object_unref0 (_tmp5_);
#line 44 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_g_object_unref0 (_tmp2_);
#line 45 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp6_ = self->priv->d_refs_list;
#line 45 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp7_ = reference;
#line 45 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	gitg_history_refs_list_remove_ref (_tmp6_, _tmp7_);
#line 215 "gitg-history-action-interface.c"
}


static void gitg_history_action_interface_real_replace_ref (GitgExtRefActionInterface* base, GitgRef* old_ref, GitgRef* new_ref) {
	GitgHistoryActionInterface * self;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
	GitgExtApplication* _tmp2_ = NULL;
	GitgRepository* _tmp3_ = NULL;
	GitgRepository* _tmp4_ = NULL;
	GitgRepository* _tmp5_ = NULL;
	GitgHistoryRefsList* _tmp6_ = NULL;
	GitgRef* _tmp7_ = NULL;
	GitgRef* _tmp8_ = NULL;
#line 48 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	self = (GitgHistoryActionInterface*) base;
#line 48 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	g_return_if_fail (old_ref != NULL);
#line 48 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	g_return_if_fail (new_ref != NULL);
#line 50 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp0_ = gitg_ext_ref_action_interface_get_application ((GitgExtRefActionInterface*) self);
#line 50 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp1_ = _tmp0_;
#line 50 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp2_ = _tmp1_;
#line 50 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp3_ = gitg_ext_application_get_repository (_tmp2_);
#line 50 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp4_ = _tmp3_;
#line 50 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp5_ = _tmp4_;
#line 50 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	gitg_repository_clear_refs_cache (_tmp5_);
#line 50 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_g_object_unref0 (_tmp5_);
#line 50 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_g_object_unref0 (_tmp2_);
#line 51 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp6_ = self->priv->d_refs_list;
#line 51 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp7_ = old_ref;
#line 51 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp8_ = new_ref;
#line 51 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	gitg_history_refs_list_replace_ref (_tmp6_, _tmp7_, _tmp8_);
#line 262 "gitg-history-action-interface.c"
}


static void gitg_history_action_interface_real_set_busy (GitgExtRefActionInterface* base, GitgRef* reference, gboolean busy) {
	GitgHistoryActionInterface * self;
#line 54 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	self = (GitgHistoryActionInterface*) base;
#line 54 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	g_return_if_fail (reference != NULL);
#line 272 "gitg-history-action-interface.c"
}


static void gitg_history_action_interface_real_edit_ref_name (GitgExtRefActionInterface* base, GitgRef* reference, GitgExtRefNameEditingDone done, void* done_target, GDestroyNotify done_target_destroy_notify) {
	GitgHistoryActionInterface * self;
	GitgHistoryRefsList* _tmp0_ = NULL;
	GitgRef* _tmp1_ = NULL;
	GitgExtRefNameEditingDone _tmp2_ = NULL;
	void* _tmp2__target = NULL;
	GDestroyNotify _tmp2__target_destroy_notify = NULL;
#line 59 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	self = (GitgHistoryActionInterface*) base;
#line 59 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	g_return_if_fail (reference != NULL);
#line 61 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp0_ = self->priv->d_refs_list;
#line 61 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp1_ = reference;
#line 61 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp2_ = done;
#line 61 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp2__target = done_target;
#line 61 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp2__target_destroy_notify = done_target_destroy_notify;
#line 61 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	done_target_destroy_notify = NULL;
#line 61 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	gitg_history_refs_list_edit (_tmp0_, _tmp1_, _tmp2_, _tmp2__target, _tmp2__target_destroy_notify);
#line 59 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	(done_target_destroy_notify == NULL) ? NULL : (done_target_destroy_notify (done_target), NULL);
#line 59 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	done = NULL;
#line 59 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	done_target = NULL;
#line 59 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	done_target_destroy_notify = NULL;
#line 309 "gitg-history-action-interface.c"
}


static GitgExtApplication* gitg_history_action_interface_real_get_application (GitgExtRefActionInterface* base) {
	GitgExtApplication* result;
	GitgHistoryActionInterface* self;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	self = (GitgHistoryActionInterface*) base;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp0_ = self->priv->_application;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	result = _tmp1_;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	return result;
#line 328 "gitg-history-action-interface.c"
}


static void gitg_history_action_interface_real_set_application (GitgExtRefActionInterface* base, GitgExtApplication* value) {
	GitgHistoryActionInterface* self;
	GitgExtApplication* _tmp0_ = NULL;
	GitgExtApplication* _tmp1_ = NULL;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	self = (GitgHistoryActionInterface*) base;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp0_ = value;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_g_object_unref0 (self->priv->_application);
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	self->priv->_application = _tmp1_;
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	g_object_notify ((GObject *) self, "application");
#line 348 "gitg-history-action-interface.c"
}


static void gitg_history_action_interface_class_init (GitgHistoryActionInterfaceClass * klass) {
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	gitg_history_action_interface_parent_class = g_type_class_peek_parent (klass);
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	g_type_class_add_private (klass, sizeof (GitgHistoryActionInterfacePrivate));
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	G_OBJECT_CLASS (klass)->get_property = _vala_gitg_history_action_interface_get_property;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	G_OBJECT_CLASS (klass)->set_property = _vala_gitg_history_action_interface_set_property;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_history_action_interface_finalize;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	g_object_class_install_property (G_OBJECT_CLASS (klass), GITG_HISTORY_ACTION_INTERFACE_APPLICATION, g_param_spec_object ("application", "application", "application", GITG_EXT_TYPE_APPLICATION, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 365 "gitg-history-action-interface.c"
}


static void gitg_history_action_interface_gitg_ext_ref_action_interface_interface_init (GitgExtRefActionInterfaceIface * iface) {
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	gitg_history_action_interface_gitg_ext_ref_action_interface_parent_iface = g_type_interface_peek_parent (iface);
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	iface->add_ref = (void (*)(GitgExtRefActionInterface*, GitgRef*)) gitg_history_action_interface_real_add_ref;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	iface->remove_ref = (void (*)(GitgExtRefActionInterface*, GitgRef*)) gitg_history_action_interface_real_remove_ref;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	iface->replace_ref = (void (*)(GitgExtRefActionInterface*, GitgRef*, GitgRef*)) gitg_history_action_interface_real_replace_ref;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	iface->set_busy = (void (*)(GitgExtRefActionInterface*, GitgRef*, gboolean)) gitg_history_action_interface_real_set_busy;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	iface->edit_ref_name = (void (*)(GitgExtRefActionInterface*, GitgRef*, GitgExtRefNameEditingDone, void*, GDestroyNotify)) gitg_history_action_interface_real_edit_ref_name;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	iface->get_application = gitg_history_action_interface_real_get_application;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	iface->set_application = gitg_history_action_interface_real_set_application;
#line 386 "gitg-history-action-interface.c"
}


static void gitg_history_action_interface_instance_init (GitgHistoryActionInterface * self) {
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	self->priv = GITG_HISTORY_ACTION_INTERFACE_GET_PRIVATE (self);
#line 393 "gitg-history-action-interface.c"
}


static void gitg_history_action_interface_finalize (GObject* obj) {
	GitgHistoryActionInterface * self;
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_HISTORY_TYPE_ACTION_INTERFACE, GitgHistoryActionInterface);
#line 25 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_g_object_unref0 (self->priv->_application);
#line 27 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	_g_object_unref0 (self->priv->d_refs_list);
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	G_OBJECT_CLASS (gitg_history_action_interface_parent_class)->finalize (obj);
#line 407 "gitg-history-action-interface.c"
}


GType gitg_history_action_interface_get_type (void) {
	static volatile gsize gitg_history_action_interface_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_history_action_interface_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgHistoryActionInterfaceClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_history_action_interface_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgHistoryActionInterface), 0, (GInstanceInitFunc) gitg_history_action_interface_instance_init, NULL };
		static const GInterfaceInfo gitg_ext_ref_action_interface_info = { (GInterfaceInitFunc) gitg_history_action_interface_gitg_ext_ref_action_interface_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType gitg_history_action_interface_type_id;
		gitg_history_action_interface_type_id = g_type_register_static (G_TYPE_OBJECT, "GitgHistoryActionInterface", &g_define_type_info, 0);
		g_type_add_interface_static (gitg_history_action_interface_type_id, GITG_EXT_TYPE_REF_ACTION_INTERFACE, &gitg_ext_ref_action_interface_info);
		g_once_init_leave (&gitg_history_action_interface_type_id__volatile, gitg_history_action_interface_type_id);
	}
	return gitg_history_action_interface_type_id__volatile;
}


static void _vala_gitg_history_action_interface_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	GitgHistoryActionInterface * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_HISTORY_TYPE_ACTION_INTERFACE, GitgHistoryActionInterface);
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	switch (property_id) {
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
		case GITG_HISTORY_ACTION_INTERFACE_APPLICATION:
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
		g_value_take_object (value, gitg_ext_ref_action_interface_get_application ((GitgExtRefActionInterface*) self));
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
		break;
#line 436 "gitg-history-action-interface.c"
		default:
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
		break;
#line 442 "gitg-history-action-interface.c"
	}
}


static void _vala_gitg_history_action_interface_set_property (GObject * object, guint property_id, const GValue * value, GParamSpec * pspec) {
	GitgHistoryActionInterface * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, GITG_HISTORY_TYPE_ACTION_INTERFACE, GitgHistoryActionInterface);
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
	switch (property_id) {
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
		case GITG_HISTORY_ACTION_INTERFACE_APPLICATION:
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
		gitg_ext_ref_action_interface_set_application ((GitgExtRefActionInterface*) self, g_value_get_object (value));
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
		break;
#line 458 "gitg-history-action-interface.c"
		default:
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 23 "/home/garrett/hacking/gnome/gitg/gitg/history/gitg-history-action-interface.vala"
		break;
#line 464 "gitg-history-action-interface.c"
	}
}



