/* gitg-ext-message-bus.c generated by valac 0.32.1, the Vala compiler
 * generated from gitg-ext-message-bus.vala, do not modify */

/*
 * This file is part of gitg
 *
 * Copyright (C) 2012 - 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 <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <gobject/gvaluecollector.h>


#define GITG_EXT_TYPE_MESSAGE (gitg_ext_message_get_type ())
#define GITG_EXT_MESSAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_EXT_TYPE_MESSAGE, GitgExtMessage))
#define GITG_EXT_MESSAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_EXT_TYPE_MESSAGE, GitgExtMessageClass))
#define GITG_EXT_IS_MESSAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_EXT_TYPE_MESSAGE))
#define GITG_EXT_IS_MESSAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_EXT_TYPE_MESSAGE))
#define GITG_EXT_MESSAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_EXT_TYPE_MESSAGE, GitgExtMessageClass))

typedef struct _GitgExtMessage GitgExtMessage;
typedef struct _GitgExtMessageClass GitgExtMessageClass;

#define GITG_EXT_TYPE_MESSAGE_BUS (gitg_ext_message_bus_get_type ())
#define GITG_EXT_MESSAGE_BUS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_EXT_TYPE_MESSAGE_BUS, GitgExtMessageBus))
#define GITG_EXT_MESSAGE_BUS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_EXT_TYPE_MESSAGE_BUS, GitgExtMessageBusClass))
#define GITG_EXT_IS_MESSAGE_BUS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_EXT_TYPE_MESSAGE_BUS))
#define GITG_EXT_IS_MESSAGE_BUS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_EXT_TYPE_MESSAGE_BUS))
#define GITG_EXT_MESSAGE_BUS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_EXT_TYPE_MESSAGE_BUS, GitgExtMessageBusClass))

typedef struct _GitgExtMessageBus GitgExtMessageBus;
typedef struct _GitgExtMessageBusClass GitgExtMessageBusClass;
typedef struct _GitgExtMessageBusPrivate GitgExtMessageBusPrivate;

#define GITG_EXT_TYPE_MESSAGE_ID (gitg_ext_message_id_get_type ())
#define GITG_EXT_MESSAGE_ID(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_EXT_TYPE_MESSAGE_ID, GitgExtMessageId))
#define GITG_EXT_MESSAGE_ID_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_EXT_TYPE_MESSAGE_ID, GitgExtMessageIdClass))
#define GITG_EXT_IS_MESSAGE_ID(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_EXT_TYPE_MESSAGE_ID))
#define GITG_EXT_IS_MESSAGE_ID_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_EXT_TYPE_MESSAGE_ID))
#define GITG_EXT_MESSAGE_ID_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_EXT_TYPE_MESSAGE_ID, GitgExtMessageIdClass))

typedef struct _GitgExtMessageId GitgExtMessageId;
typedef struct _GitgExtMessageIdClass GitgExtMessageIdClass;

#define GITG_EXT_MESSAGE_BUS_TYPE_MESSAGE (gitg_ext_message_bus_message_get_type ())
#define GITG_EXT_MESSAGE_BUS_MESSAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_EXT_MESSAGE_BUS_TYPE_MESSAGE, GitgExtMessageBusMessage))
#define GITG_EXT_MESSAGE_BUS_MESSAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_EXT_MESSAGE_BUS_TYPE_MESSAGE, GitgExtMessageBusMessageClass))
#define GITG_EXT_MESSAGE_BUS_IS_MESSAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_EXT_MESSAGE_BUS_TYPE_MESSAGE))
#define GITG_EXT_MESSAGE_BUS_IS_MESSAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_EXT_MESSAGE_BUS_TYPE_MESSAGE))
#define GITG_EXT_MESSAGE_BUS_MESSAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_EXT_MESSAGE_BUS_TYPE_MESSAGE, GitgExtMessageBusMessageClass))

typedef struct _GitgExtMessageBusMessage GitgExtMessageBusMessage;
typedef struct _GitgExtMessageBusMessageClass GitgExtMessageBusMessageClass;

#define GITG_EXT_MESSAGE_BUS_TYPE_ID_MAP (gitg_ext_message_bus_id_map_get_type ())
#define GITG_EXT_MESSAGE_BUS_ID_MAP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_EXT_MESSAGE_BUS_TYPE_ID_MAP, GitgExtMessageBusIdMap))
#define GITG_EXT_MESSAGE_BUS_ID_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_EXT_MESSAGE_BUS_TYPE_ID_MAP, GitgExtMessageBusIdMapClass))
#define GITG_EXT_MESSAGE_BUS_IS_ID_MAP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_EXT_MESSAGE_BUS_TYPE_ID_MAP))
#define GITG_EXT_MESSAGE_BUS_IS_ID_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_EXT_MESSAGE_BUS_TYPE_ID_MAP))
#define GITG_EXT_MESSAGE_BUS_ID_MAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_EXT_MESSAGE_BUS_TYPE_ID_MAP, GitgExtMessageBusIdMapClass))

typedef struct _GitgExtMessageBusIdMap GitgExtMessageBusIdMap;
typedef struct _GitgExtMessageBusIdMapClass GitgExtMessageBusIdMapClass;
#define _g_hash_table_unref0(var) ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
typedef struct _GitgExtMessageBusMessagePrivate GitgExtMessageBusMessagePrivate;

#define GITG_EXT_MESSAGE_BUS_TYPE_LISTENER (gitg_ext_message_bus_listener_get_type ())
#define GITG_EXT_MESSAGE_BUS_LISTENER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_EXT_MESSAGE_BUS_TYPE_LISTENER, GitgExtMessageBusListener))
#define GITG_EXT_MESSAGE_BUS_LISTENER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_EXT_MESSAGE_BUS_TYPE_LISTENER, GitgExtMessageBusListenerClass))
#define GITG_EXT_MESSAGE_BUS_IS_LISTENER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_EXT_MESSAGE_BUS_TYPE_LISTENER))
#define GITG_EXT_MESSAGE_BUS_IS_LISTENER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_EXT_MESSAGE_BUS_TYPE_LISTENER))
#define GITG_EXT_MESSAGE_BUS_LISTENER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_EXT_MESSAGE_BUS_TYPE_LISTENER, GitgExtMessageBusListenerClass))

typedef struct _GitgExtMessageBusListener GitgExtMessageBusListener;
typedef struct _GitgExtMessageBusListenerClass GitgExtMessageBusListenerClass;
typedef struct _GitgExtMessageBusListenerPrivate GitgExtMessageBusListenerPrivate;
#define _gitg_ext_message_bus_listener_unref0(var) ((var == NULL) ? NULL : (var = (gitg_ext_message_bus_listener_unref (var), NULL)))
#define _g_free0(var) (var = (g_free (var), NULL))
typedef struct _Block1Data Block1Data;
#define _gitg_ext_message_bus_message_unref0(var) ((var == NULL) ? NULL : (var = (gitg_ext_message_bus_message_unref (var), NULL)))
typedef struct _GitgExtMessageBusIdMapPrivate GitgExtMessageBusIdMapPrivate;
#define _gitg_ext_message_bus_id_map_unref0(var) ((var == NULL) ? NULL : (var = (gitg_ext_message_bus_id_map_unref (var), NULL)))
typedef struct _GitgExtMessageBusParamSpecListener GitgExtMessageBusParamSpecListener;
#define __g_list_free__gitg_ext_message_bus_listener_unref0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__gitg_ext_message_bus_listener_unref0_ (var), NULL)))
typedef struct _GitgExtMessageBusParamSpecMessage GitgExtMessageBusParamSpecMessage;
typedef struct _GitgExtMessageBusParamSpecIdMap GitgExtMessageBusParamSpecIdMap;

typedef void (*GitgExtMessageCallback) (GitgExtMessage* message, void* user_data);
struct _GitgExtMessageBus {
	GObject parent_instance;
	GitgExtMessageBusPrivate * priv;
};

struct _GitgExtMessageBusClass {
	GObjectClass parent_class;
	void (*dispatch) (GitgExtMessageBus* self, GitgExtMessage* message);
};

struct _GitgExtMessageBusPrivate {
	GHashTable* d_messages;
	GHashTable* d_idmap;
	GHashTable* d_types;
};

struct _GitgExtMessageBusMessage {
	GTypeInstance parent_instance;
	volatile int ref_count;
	GitgExtMessageBusMessagePrivate * priv;
	GitgExtMessageId* id;
	GList* listeners;
};

struct _GitgExtMessageBusMessageClass {
	GTypeClass parent_class;
	void (*finalize) (GitgExtMessageBusMessage *self);
};

struct _GitgExtMessageBusListener {
	GTypeInstance parent_instance;
	volatile int ref_count;
	GitgExtMessageBusListenerPrivate * priv;
	guint id;
	gboolean blocked;
	GitgExtMessageCallback callback;
	gpointer callback_target;
	GDestroyNotify callback_target_destroy_notify;
};

struct _GitgExtMessageBusListenerClass {
	GTypeClass parent_class;
	void (*finalize) (GitgExtMessageBusListener *self);
};

struct _Block1Data {
	int _ref_count_;
	GitgExtMessageBus* self;
	gchar* object_path;
};

struct _GitgExtMessageBusIdMap {
	GTypeInstance parent_instance;
	volatile int ref_count;
	GitgExtMessageBusIdMapPrivate * priv;
	GitgExtMessageBusMessage* message;
	GList* listener;
};

struct _GitgExtMessageBusIdMapClass {
	GTypeClass parent_class;
	void (*finalize) (GitgExtMessageBusIdMap *self);
};

typedef void (*GitgExtMessageBusMatchCallback) (GitgExtMessageBusMessage* message, GList* listeners, void* user_data);
struct _GitgExtMessageBusParamSpecListener {
	GParamSpec parent_instance;
};

struct _GitgExtMessageBusParamSpecMessage {
	GParamSpec parent_instance;
};

struct _GitgExtMessageBusParamSpecIdMap {
	GParamSpec parent_instance;
};


static gpointer gitg_ext_message_bus_parent_class = NULL;
static GitgExtMessageBus* gitg_ext_message_bus_s_instance;
static GitgExtMessageBus* gitg_ext_message_bus_s_instance = NULL;
static guint gitg_ext_message_bus_s_next_id;
static guint gitg_ext_message_bus_s_next_id = 0U;
static gpointer gitg_ext_message_bus_listener_parent_class = NULL;
static gpointer gitg_ext_message_bus_message_parent_class = NULL;
static gpointer gitg_ext_message_bus_id_map_parent_class = NULL;

GType gitg_ext_message_get_type (void) G_GNUC_CONST;
GType gitg_ext_message_bus_get_type (void) G_GNUC_CONST;
GType gitg_ext_message_id_get_type (void) G_GNUC_CONST;
static gpointer gitg_ext_message_bus_message_ref (gpointer instance);
static void gitg_ext_message_bus_message_unref (gpointer instance);
static GParamSpec* gitg_ext_message_bus_param_spec_message (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) G_GNUC_UNUSED;
static void gitg_ext_message_bus_value_set_message (GValue* value, gpointer v_object) G_GNUC_UNUSED;
static void gitg_ext_message_bus_value_take_message (GValue* value, gpointer v_object) G_GNUC_UNUSED;
static gpointer gitg_ext_message_bus_value_get_message (const GValue* value) G_GNUC_UNUSED;
static GType gitg_ext_message_bus_message_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
static gpointer gitg_ext_message_bus_id_map_ref (gpointer instance);
static void gitg_ext_message_bus_id_map_unref (gpointer instance);
static GParamSpec* gitg_ext_message_bus_param_spec_id_map (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) G_GNUC_UNUSED;
static void gitg_ext_message_bus_value_set_id_map (GValue* value, gpointer v_object) G_GNUC_UNUSED;
static void gitg_ext_message_bus_value_take_id_map (GValue* value, gpointer v_object) G_GNUC_UNUSED;
static gpointer gitg_ext_message_bus_value_get_id_map (const GValue* value) G_GNUC_UNUSED;
static GType gitg_ext_message_bus_id_map_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
#define GITG_EXT_MESSAGE_BUS_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), GITG_EXT_TYPE_MESSAGE_BUS, GitgExtMessageBusPrivate))
enum  {
	GITG_EXT_MESSAGE_BUS_DUMMY_PROPERTY
};
GitgExtMessageBus* gitg_ext_message_bus_new (void);
GitgExtMessageBus* gitg_ext_message_bus_construct (GType object_type);
guint gitg_ext_message_id_hash (GitgExtMessageId* self);
static guint _gitg_ext_message_id_hash_ghash_func (gconstpointer key);
gboolean gitg_ext_message_id_equal (GitgExtMessageId* self, GitgExtMessageId* other);
static gboolean _gitg_ext_message_id_equal_gequal_func (gconstpointer a, gconstpointer b);
static void _g_object_unref0_ (gpointer var);
static void _gitg_ext_message_bus_message_unref0_ (gpointer var);
static void _gitg_ext_message_bus_id_map_unref0_ (gpointer var);
GitgExtMessageBus* gitg_ext_message_bus_get_default (void);
static void gitg_ext_message_bus_dispatch_message_real (GitgExtMessageBus* self, GitgExtMessageBusMessage* msg, GitgExtMessage* message);
static gpointer gitg_ext_message_bus_listener_ref (gpointer instance);
static void gitg_ext_message_bus_listener_unref (gpointer instance);
static GParamSpec* gitg_ext_message_bus_param_spec_listener (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) G_GNUC_UNUSED;
static void gitg_ext_message_bus_value_set_listener (GValue* value, gpointer v_object) G_GNUC_UNUSED;
static void gitg_ext_message_bus_value_take_listener (GValue* value, gpointer v_object) G_GNUC_UNUSED;
static gpointer gitg_ext_message_bus_value_get_listener (const GValue* value) G_GNUC_UNUSED;
static GType gitg_ext_message_bus_listener_get_type (void) G_GNUC_CONST G_GNUC_UNUSED;
GType gitg_ext_message_bus_lookup (GitgExtMessageBus* self, GitgExtMessageId* id);
void gitg_ext_message_bus_register (GitgExtMessageBus* self, GType message_type, GitgExtMessageId* id);
gboolean gitg_ext_message_bus_is_registered (GitgExtMessageBus* self, GitgExtMessageId* id);
gchar* gitg_ext_message_id_get_id (GitgExtMessageId* self);
GitgExtMessageId* gitg_ext_message_id_copy (GitgExtMessageId* self);
static void gitg_ext_message_bus_unregister_real (GitgExtMessageBus* self, GitgExtMessageId* id, gboolean remove_from_store);
void gitg_ext_message_bus_unregister (GitgExtMessageBus* self, GitgExtMessageId* id);
void gitg_ext_message_bus_unregister_all (GitgExtMessageBus* self, const gchar* object_path);
static Block1Data* block1_data_ref (Block1Data* _data1_);
static void block1_data_unref (void * _userdata_);
static gboolean __lambda4_ (Block1Data* _data1_, GitgExtMessageId* key, GType val);
const gchar* gitg_ext_message_id_get_object_path (GitgExtMessageId* self);
static gboolean ___lambda4__ghr_func (gconstpointer key, gconstpointer value, gpointer self);
static GitgExtMessageBusMessage* gitg_ext_message_bus_new_message (GitgExtMessageBus* self, GitgExtMessageId* id);
static GitgExtMessageBusMessage* gitg_ext_message_bus_message_new (GitgExtMessageId* id);
static GitgExtMessageBusMessage* gitg_ext_message_bus_message_construct (GType object_type, GitgExtMessageId* id);
static GitgExtMessageBusMessage* gitg_ext_message_bus_lookup_message (GitgExtMessageBus* self, GitgExtMessageId* id, gboolean create);
static guint gitg_ext_message_bus_add_listener (GitgExtMessageBus* self, GitgExtMessageBusMessage* message, GitgExtMessageCallback callback, void* callback_target, GDestroyNotify callback_target_destroy_notify);
static GitgExtMessageBusListener* gitg_ext_message_bus_listener_new (guint id, GitgExtMessageCallback callback, void* callback_target, GDestroyNotify callback_target_destroy_notify);
static GitgExtMessageBusListener* gitg_ext_message_bus_listener_construct (GType object_type, guint id, GitgExtMessageCallback callback, void* callback_target, GDestroyNotify callback_target_destroy_notify);
static GitgExtMessageBusIdMap* gitg_ext_message_bus_id_map_new (GitgExtMessageBusMessage* message);
static GitgExtMessageBusIdMap* gitg_ext_message_bus_id_map_construct (GType object_type, GitgExtMessageBusMessage* message);
static void gitg_ext_message_bus_remove_listener (GitgExtMessageBus* self, GitgExtMessageBusMessage* message, GList* listener);
static void gitg_ext_message_bus_block_listener (GitgExtMessageBus* self, GitgExtMessageBusMessage* message, GList* listener);
static void gitg_ext_message_bus_unblock_listener (GitgExtMessageBus* self, GitgExtMessageBusMessage* message, GList* listener);
guint gitg_ext_message_bus_connect (GitgExtMessageBus* self, GitgExtMessageId* id, GitgExtMessageCallback callback, void* callback_target, GDestroyNotify callback_target_destroy_notify);
static void gitg_ext_message_bus_process_by_id (GitgExtMessageBus* self, guint id, GitgExtMessageBusMatchCallback processor, void* processor_target);
void gitg_ext_message_bus_disconnect (GitgExtMessageBus* self, guint id);
static void _gitg_ext_message_bus_remove_listener_gitg_ext_message_bus_match_callback (GitgExtMessageBusMessage* message, GList* listeners, gpointer self);
void gitg_ext_message_bus_block (GitgExtMessageBus* self, guint id);
static void _gitg_ext_message_bus_block_listener_gitg_ext_message_bus_match_callback (GitgExtMessageBusMessage* message, GList* listeners, gpointer self);
void gitg_ext_message_bus_unblock (GitgExtMessageBus* self, guint id);
static void _gitg_ext_message_bus_unblock_listener_gitg_ext_message_bus_match_callback (GitgExtMessageBusMessage* message, GList* listeners, gpointer self);
static void gitg_ext_message_bus_dispatch_message (GitgExtMessageBus* self, GitgExtMessage* message);
GitgExtMessage* gitg_ext_message_bus_send_message (GitgExtMessageBus* self, GitgExtMessage* message);
GitgExtMessage* gitg_ext_message_bus_send (GitgExtMessageBus* self, GitgExtMessageId* id, const gchar* firstprop, ...);
void gitg_ext_message_set_id (GitgExtMessage* self, GitgExtMessageId* value);
static void gitg_ext_message_bus_real_dispatch (GitgExtMessageBus* self, GitgExtMessage* message);
GitgExtMessageId* gitg_ext_message_get_id (GitgExtMessage* self);
enum  {
	GITG_EXT_MESSAGE_BUS_LISTENER_DUMMY_PROPERTY
};
static void gitg_ext_message_bus_listener_finalize (GitgExtMessageBusListener* obj);
enum  {
	GITG_EXT_MESSAGE_BUS_MESSAGE_DUMMY_PROPERTY
};
static void _gitg_ext_message_bus_listener_unref0_ (gpointer var);
static void _g_list_free__gitg_ext_message_bus_listener_unref0_ (GList* self);
static void gitg_ext_message_bus_message_finalize (GitgExtMessageBusMessage* obj);
enum  {
	GITG_EXT_MESSAGE_BUS_ID_MAP_DUMMY_PROPERTY
};
static void gitg_ext_message_bus_id_map_finalize (GitgExtMessageBusIdMap* obj);
static void gitg_ext_message_bus_finalize (GObject* obj);


static guint _gitg_ext_message_id_hash_ghash_func (gconstpointer key) {
	guint result;
	result = gitg_ext_message_id_hash (key);
#line 88 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return result;
#line 295 "gitg-ext-message-bus.c"
}


static gboolean _gitg_ext_message_id_equal_gequal_func (gconstpointer a, gconstpointer b) {
	gboolean result;
	result = gitg_ext_message_id_equal (a, (GitgExtMessageId*) b);
#line 88 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return result;
#line 304 "gitg-ext-message-bus.c"
}


static void _g_object_unref0_ (gpointer var) {
#line 88 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	(var == NULL) ? NULL : (var = (g_object_unref (var), NULL));
#line 311 "gitg-ext-message-bus.c"
}


static void _gitg_ext_message_bus_message_unref0_ (gpointer var) {
#line 88 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	(var == NULL) ? NULL : (var = (gitg_ext_message_bus_message_unref (var), NULL));
#line 318 "gitg-ext-message-bus.c"
}


static void _gitg_ext_message_bus_id_map_unref0_ (gpointer var) {
#line 89 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	(var == NULL) ? NULL : (var = (gitg_ext_message_bus_id_map_unref (var), NULL));
#line 325 "gitg-ext-message-bus.c"
}


GitgExtMessageBus* gitg_ext_message_bus_construct (GType object_type) {
	GitgExtMessageBus * self = NULL;
	GHashTable* _tmp0_ = NULL;
	GHashFunc _tmp1_ = NULL;
	GEqualFunc _tmp2_ = NULL;
	GHashTable* _tmp3_ = NULL;
	GHashTable* _tmp4_ = NULL;
#line 86 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self = (GitgExtMessageBus*) g_object_new (object_type, NULL);
#line 88 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = g_hash_table_new_full (_gitg_ext_message_id_hash_ghash_func, _gitg_ext_message_id_equal_gequal_func, _g_object_unref0_, _gitg_ext_message_bus_message_unref0_);
#line 88 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_g_hash_table_unref0 (self->priv->d_messages);
#line 88 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self->priv->d_messages = _tmp0_;
#line 89 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp1_ = g_direct_hash;
#line 89 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp2_ = g_direct_equal;
#line 89 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp3_ = g_hash_table_new_full (_tmp1_, _tmp2_, NULL, _gitg_ext_message_bus_id_map_unref0_);
#line 89 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_g_hash_table_unref0 (self->priv->d_idmap);
#line 89 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self->priv->d_idmap = _tmp3_;
#line 90 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp4_ = g_hash_table_new_full (_gitg_ext_message_id_hash_ghash_func, _gitg_ext_message_id_equal_gequal_func, _g_object_unref0_, NULL);
#line 90 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_g_hash_table_unref0 (self->priv->d_types);
#line 90 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self->priv->d_types = _tmp4_;
#line 86 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return self;
#line 362 "gitg-ext-message-bus.c"
}


GitgExtMessageBus* gitg_ext_message_bus_new (void) {
#line 86 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return gitg_ext_message_bus_construct (GITG_EXT_TYPE_MESSAGE_BUS);
#line 369 "gitg-ext-message-bus.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 101 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return self ? g_object_ref (self) : NULL;
#line 376 "gitg-ext-message-bus.c"
}


GitgExtMessageBus* gitg_ext_message_bus_get_default (void) {
	GitgExtMessageBus* result = NULL;
	GitgExtMessageBus* _tmp0_ = NULL;
	GitgExtMessageBus* _tmp3_ = NULL;
	GitgExtMessageBus* _tmp4_ = NULL;
#line 95 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = gitg_ext_message_bus_s_instance;
#line 95 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (_tmp0_ == NULL) {
#line 389 "gitg-ext-message-bus.c"
		GitgExtMessageBus* _tmp1_ = NULL;
		GitgExtMessageBus* _tmp2_ = NULL;
#line 97 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp1_ = gitg_ext_message_bus_new ();
#line 97 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_g_object_unref0 (gitg_ext_message_bus_s_instance);
#line 97 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		gitg_ext_message_bus_s_instance = _tmp1_;
#line 98 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp2_ = gitg_ext_message_bus_s_instance;
#line 98 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		g_object_add_weak_pointer ((GObject*) _tmp2_, &gitg_ext_message_bus_s_instance);
#line 402 "gitg-ext-message-bus.c"
	}
#line 101 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp3_ = gitg_ext_message_bus_s_instance;
#line 101 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 101 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	result = _tmp4_;
#line 101 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return result;
#line 412 "gitg-ext-message-bus.c"
}


static gpointer _gitg_ext_message_bus_listener_ref0 (gpointer self) {
#line 106 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return self ? gitg_ext_message_bus_listener_ref (self) : NULL;
#line 419 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_dispatch_message_real (GitgExtMessageBus* self, GitgExtMessageBusMessage* msg, GitgExtMessage* message) {
	GitgExtMessageBusMessage* _tmp0_ = NULL;
	GList* _tmp1_ = NULL;
#line 104 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (self != NULL);
#line 104 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (msg != NULL);
#line 104 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (message != NULL);
#line 106 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = msg;
#line 106 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp1_ = _tmp0_->listeners;
#line 436 "gitg-ext-message-bus.c"
	{
		GList* l_collection = NULL;
		GList* l_it = NULL;
#line 106 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		l_collection = _tmp1_;
#line 106 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		for (l_it = l_collection; l_it != NULL; l_it = l_it->next) {
#line 444 "gitg-ext-message-bus.c"
			GitgExtMessageBusListener* _tmp2_ = NULL;
			GitgExtMessageBusListener* l = NULL;
#line 106 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
			_tmp2_ = _gitg_ext_message_bus_listener_ref0 ((GitgExtMessageBusListener*) l_it->data);
#line 106 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
			l = _tmp2_;
#line 451 "gitg-ext-message-bus.c"
			{
				GitgExtMessageBusListener* _tmp3_ = NULL;
				gboolean _tmp4_ = FALSE;
#line 108 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
				_tmp3_ = l;
#line 108 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
				_tmp4_ = _tmp3_->blocked;
#line 108 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
				if (!_tmp4_) {
#line 461 "gitg-ext-message-bus.c"
					GitgExtMessageBusListener* _tmp5_ = NULL;
					GitgExtMessageCallback _tmp6_ = NULL;
					void* _tmp6__target = NULL;
					GitgExtMessage* _tmp7_ = NULL;
#line 110 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
					_tmp5_ = l;
#line 110 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
					_tmp6_ = _tmp5_->callback;
#line 110 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
					_tmp6__target = _tmp5_->callback_target;
#line 110 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
					_tmp7_ = message;
#line 110 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
					_tmp6_ (_tmp7_, _tmp6__target);
#line 476 "gitg-ext-message-bus.c"
				}
#line 106 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
				_gitg_ext_message_bus_listener_unref0 (l);
#line 480 "gitg-ext-message-bus.c"
			}
		}
	}
}


GType gitg_ext_message_bus_lookup (GitgExtMessageBus* self, GitgExtMessageId* id) {
	GType result = 0UL;
	GType ret = 0UL;
	GHashTable* _tmp0_ = NULL;
	GitgExtMessageId* _tmp1_ = NULL;
	gconstpointer _tmp2_ = NULL;
	gboolean _tmp3_ = FALSE;
#line 115 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_val_if_fail (self != NULL, 0UL);
#line 115 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_val_if_fail (id != NULL, 0UL);
#line 119 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = self->priv->d_types;
#line 119 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp1_ = id;
#line 119 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp3_ = g_hash_table_lookup_extended (_tmp0_, _tmp1_, NULL, &_tmp2_);
#line 119 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	ret = _tmp2_;
#line 119 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (!_tmp3_) {
#line 121 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		result = G_TYPE_INVALID;
#line 121 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		return result;
#line 512 "gitg-ext-message-bus.c"
	} else {
#line 125 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		result = ret;
#line 125 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		return result;
#line 518 "gitg-ext-message-bus.c"
	}
}


void gitg_ext_message_bus_register (GitgExtMessageBus* self, GType message_type, GitgExtMessageId* id) {
	GitgExtMessageId* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	GitgExtMessageId* cp = NULL;
	GitgExtMessageId* _tmp6_ = NULL;
	GitgExtMessageId* _tmp7_ = NULL;
	GHashTable* _tmp8_ = NULL;
	GitgExtMessageId* _tmp9_ = NULL;
	GitgExtMessageId* _tmp10_ = NULL;
	GType _tmp11_ = 0UL;
	GitgExtMessageId* _tmp12_ = NULL;
#line 129 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (self != NULL);
#line 129 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (id != NULL);
#line 131 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = id;
#line 131 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp1_ = gitg_ext_message_bus_is_registered (self, _tmp0_);
#line 131 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (_tmp1_) {
#line 544 "gitg-ext-message-bus.c"
		GitgExtMessageId* _tmp2_ = NULL;
		gchar* _tmp3_ = NULL;
		gchar* _tmp4_ = NULL;
		gchar* _tmp5_ = NULL;
#line 133 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp2_ = id;
#line 133 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp3_ = gitg_ext_message_id_get_id (_tmp2_);
#line 133 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp4_ = _tmp3_;
#line 133 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp5_ = _tmp4_;
#line 133 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		g_warning ("gitg-ext-message-bus.vala:133: Message type for `%s' is already regist" \
"ered", _tmp5_);
#line 133 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_g_free0 (_tmp5_);
#line 134 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		return;
#line 563 "gitg-ext-message-bus.c"
	}
#line 137 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp6_ = id;
#line 137 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp7_ = gitg_ext_message_id_copy (_tmp6_);
#line 137 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	cp = _tmp7_;
#line 139 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp8_ = self->priv->d_types;
#line 139 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp9_ = cp;
#line 139 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp10_ = _g_object_ref0 (_tmp9_);
#line 139 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp11_ = message_type;
#line 139 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_hash_table_insert (_tmp8_, _tmp10_, (gpointer) ((gintptr) _tmp11_));
#line 141 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp12_ = cp;
#line 141 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_signal_emit_by_name (self, "registered", _tmp12_);
#line 129 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_g_object_unref0 (cp);
#line 587 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_unregister_real (GitgExtMessageBus* self, GitgExtMessageId* id, gboolean remove_from_store) {
	GitgExtMessageId* cp = NULL;
	GitgExtMessageId* _tmp0_ = NULL;
	GitgExtMessageId* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	gboolean _tmp3_ = FALSE;
#line 144 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (self != NULL);
#line 144 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (id != NULL);
#line 146 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = id;
#line 146 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 146 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	cp = _tmp1_;
#line 148 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp3_ = remove_from_store;
#line 148 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (!_tmp3_) {
#line 148 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp2_ = TRUE;
#line 613 "gitg-ext-message-bus.c"
	} else {
		GHashTable* _tmp4_ = NULL;
		GitgExtMessageId* _tmp5_ = NULL;
		gboolean _tmp6_ = FALSE;
#line 148 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp4_ = self->priv->d_types;
#line 148 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp5_ = cp;
#line 148 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp6_ = g_hash_table_remove (_tmp4_, _tmp5_);
#line 148 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp2_ = _tmp6_;
#line 626 "gitg-ext-message-bus.c"
	}
#line 148 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (_tmp2_) {
#line 630 "gitg-ext-message-bus.c"
		GitgExtMessageId* _tmp7_ = NULL;
#line 150 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp7_ = cp;
#line 150 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		g_signal_emit_by_name (self, "unregistered", _tmp7_);
#line 636 "gitg-ext-message-bus.c"
	}
#line 144 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_g_object_unref0 (cp);
#line 640 "gitg-ext-message-bus.c"
}


void gitg_ext_message_bus_unregister (GitgExtMessageBus* self, GitgExtMessageId* id) {
	GitgExtMessageId* _tmp0_ = NULL;
#line 154 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (self != NULL);
#line 154 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (id != NULL);
#line 156 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = id;
#line 156 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	gitg_ext_message_bus_unregister_real (self, _tmp0_, TRUE);
#line 654 "gitg-ext-message-bus.c"
}


static Block1Data* block1_data_ref (Block1Data* _data1_) {
#line 159 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_atomic_int_inc (&_data1_->_ref_count_);
#line 159 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return _data1_;
#line 663 "gitg-ext-message-bus.c"
}


static void block1_data_unref (void * _userdata_) {
	Block1Data* _data1_;
	_data1_ = (Block1Data*) _userdata_;
#line 159 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (g_atomic_int_dec_and_test (&_data1_->_ref_count_)) {
#line 672 "gitg-ext-message-bus.c"
		GitgExtMessageBus* self;
#line 159 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		self = _data1_->self;
#line 159 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_g_free0 (_data1_->object_path);
#line 159 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_g_object_unref0 (self);
#line 159 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		g_slice_free (Block1Data, _data1_);
#line 682 "gitg-ext-message-bus.c"
	}
}


static gboolean __lambda4_ (Block1Data* _data1_, GitgExtMessageId* key, GType val) {
	GitgExtMessageBus* self;
	gboolean result = FALSE;
	GitgExtMessageId* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
#line 161 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self = _data1_->self;
#line 161 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_val_if_fail (key != NULL, FALSE);
#line 162 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = key;
#line 162 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp1_ = gitg_ext_message_id_get_object_path (_tmp0_);
#line 162 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp2_ = _tmp1_;
#line 162 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp3_ = _data1_->object_path;
#line 162 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (g_strcmp0 (_tmp2_, _tmp3_) == 0) {
#line 708 "gitg-ext-message-bus.c"
		GitgExtMessageId* _tmp4_ = NULL;
#line 164 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp4_ = key;
#line 164 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		gitg_ext_message_bus_unregister_real (self, _tmp4_, TRUE);
#line 165 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		result = TRUE;
#line 165 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		return result;
#line 718 "gitg-ext-message-bus.c"
	} else {
#line 169 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		result = FALSE;
#line 169 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		return result;
#line 724 "gitg-ext-message-bus.c"
	}
}


static gboolean ___lambda4__ghr_func (gconstpointer key, gconstpointer value, gpointer self) {
	gboolean result;
	result = __lambda4_ (self, (GitgExtMessageId*) key, (GType) ((gintptr) value));
#line 161 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return result;
#line 734 "gitg-ext-message-bus.c"
}


void gitg_ext_message_bus_unregister_all (GitgExtMessageBus* self, const gchar* object_path) {
	Block1Data* _data1_;
	const gchar* _tmp0_ = NULL;
	gchar* _tmp1_ = NULL;
	GHashTable* _tmp2_ = NULL;
#line 159 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (self != NULL);
#line 159 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (object_path != NULL);
#line 159 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_data1_ = g_slice_new0 (Block1Data);
#line 159 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_data1_->_ref_count_ = 1;
#line 159 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_data1_->self = g_object_ref (self);
#line 159 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = object_path;
#line 159 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp1_ = g_strdup (_tmp0_);
#line 159 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_g_free0 (_data1_->object_path);
#line 159 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_data1_->object_path = _tmp1_;
#line 161 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp2_ = self->priv->d_types;
#line 161 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_hash_table_foreach_remove (_tmp2_, ___lambda4__ghr_func, _data1_);
#line 159 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	block1_data_unref (_data1_);
#line 159 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_data1_ = NULL;
#line 769 "gitg-ext-message-bus.c"
}


gboolean gitg_ext_message_bus_is_registered (GitgExtMessageBus* self, GitgExtMessageId* id) {
	gboolean result = FALSE;
	GHashTable* _tmp0_ = NULL;
	GitgExtMessageId* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
#line 174 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 174 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_val_if_fail (id != NULL, FALSE);
#line 176 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = self->priv->d_types;
#line 176 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp1_ = id;
#line 176 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp2_ = g_hash_table_lookup_extended (_tmp0_, _tmp1_, NULL, (gpointer) ((gintptr) NULL));
#line 176 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	result = _tmp2_;
#line 176 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return result;
#line 792 "gitg-ext-message-bus.c"
}


static gpointer _gitg_ext_message_bus_message_ref0 (gpointer self) {
#line 183 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return self ? gitg_ext_message_bus_message_ref (self) : NULL;
#line 799 "gitg-ext-message-bus.c"
}


static GitgExtMessageBusMessage* gitg_ext_message_bus_new_message (GitgExtMessageBus* self, GitgExtMessageId* id) {
	GitgExtMessageBusMessage* result = NULL;
	GitgExtMessageBusMessage* ret = NULL;
	GitgExtMessageId* _tmp0_ = NULL;
	GitgExtMessageBusMessage* _tmp1_ = NULL;
	GHashTable* _tmp2_ = NULL;
	GitgExtMessageId* _tmp3_ = NULL;
	GitgExtMessageId* _tmp4_ = NULL;
	GitgExtMessageBusMessage* _tmp5_ = NULL;
#line 179 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 179 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_val_if_fail (id != NULL, NULL);
#line 181 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = id;
#line 181 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp1_ = gitg_ext_message_bus_message_new (_tmp0_);
#line 181 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	ret = _tmp1_;
#line 183 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp2_ = self->priv->d_messages;
#line 183 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp3_ = id;
#line 183 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 183 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp5_ = _gitg_ext_message_bus_message_ref0 (ret);
#line 183 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_hash_table_insert (_tmp2_, _tmp4_, _tmp5_);
#line 184 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	result = ret;
#line 184 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return result;
#line 836 "gitg-ext-message-bus.c"
}


static GitgExtMessageBusMessage* gitg_ext_message_bus_lookup_message (GitgExtMessageBus* self, GitgExtMessageId* id, gboolean create) {
	GitgExtMessageBusMessage* result = NULL;
	GitgExtMessageBusMessage* message = NULL;
	GHashTable* _tmp0_ = NULL;
	GitgExtMessageId* _tmp1_ = NULL;
	gconstpointer _tmp2_ = NULL;
	GitgExtMessageBusMessage* _tmp3_ = NULL;
	gboolean _tmp4_ = FALSE;
	GitgExtMessageBusMessage* _tmp5_ = NULL;
	GitgExtMessageBusMessage* _tmp7_ = NULL;
#line 187 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 187 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_val_if_fail (id != NULL, NULL);
#line 189 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = self->priv->d_messages;
#line 189 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp1_ = id;
#line 189 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp2_ = g_hash_table_lookup (_tmp0_, _tmp1_);
#line 189 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp3_ = _gitg_ext_message_bus_message_ref0 ((GitgExtMessageBusMessage*) _tmp2_);
#line 189 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	message = _tmp3_;
#line 191 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp5_ = message;
#line 191 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (_tmp5_ == NULL) {
#line 868 "gitg-ext-message-bus.c"
		gboolean _tmp6_ = FALSE;
#line 191 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp6_ = create;
#line 191 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp4_ = !_tmp6_;
#line 874 "gitg-ext-message-bus.c"
	} else {
#line 191 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp4_ = FALSE;
#line 878 "gitg-ext-message-bus.c"
	}
#line 191 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (_tmp4_) {
#line 193 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		result = NULL;
#line 193 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_gitg_ext_message_bus_message_unref0 (message);
#line 193 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		return result;
#line 888 "gitg-ext-message-bus.c"
	}
#line 196 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp7_ = message;
#line 196 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (_tmp7_ == NULL) {
#line 894 "gitg-ext-message-bus.c"
		GitgExtMessageId* _tmp8_ = NULL;
		GitgExtMessageBusMessage* _tmp9_ = NULL;
#line 198 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp8_ = id;
#line 198 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp9_ = gitg_ext_message_bus_new_message (self, _tmp8_);
#line 198 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_gitg_ext_message_bus_message_unref0 (message);
#line 198 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		message = _tmp9_;
#line 905 "gitg-ext-message-bus.c"
	}
#line 201 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	result = message;
#line 201 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return result;
#line 911 "gitg-ext-message-bus.c"
}


static gpointer _gitg_ext_message_bus_id_map_ref0 (gpointer self) {
#line 213 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return self ? gitg_ext_message_bus_id_map_ref (self) : NULL;
#line 918 "gitg-ext-message-bus.c"
}


static guint gitg_ext_message_bus_add_listener (GitgExtMessageBus* self, GitgExtMessageBusMessage* message, GitgExtMessageCallback callback, void* callback_target, GDestroyNotify callback_target_destroy_notify) {
	guint result = 0U;
	GitgExtMessageBusListener* listener = NULL;
	guint _tmp0_ = 0U;
	guint _tmp1_ = 0U;
	GitgExtMessageCallback _tmp2_ = NULL;
	void* _tmp2__target = NULL;
	GDestroyNotify _tmp2__target_destroy_notify = NULL;
	GitgExtMessageBusListener* _tmp3_ = NULL;
	GitgExtMessageBusMessage* _tmp4_ = NULL;
	GitgExtMessageBusListener* _tmp5_ = NULL;
	GitgExtMessageBusIdMap* idmap = NULL;
	GitgExtMessageBusMessage* _tmp6_ = NULL;
	GitgExtMessageBusIdMap* _tmp7_ = NULL;
	GitgExtMessageBusMessage* _tmp8_ = NULL;
	GList* _tmp9_ = NULL;
	GList* _tmp10_ = NULL;
	GHashTable* _tmp11_ = NULL;
	guint _tmp12_ = 0U;
	GitgExtMessageBusIdMap* _tmp13_ = NULL;
	guint _tmp14_ = 0U;
#line 204 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_val_if_fail (self != NULL, 0U);
#line 204 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_val_if_fail (message != NULL, 0U);
#line 206 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = gitg_ext_message_bus_s_next_id;
#line 206 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	gitg_ext_message_bus_s_next_id = _tmp0_ + 1;
#line 206 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp1_ = gitg_ext_message_bus_s_next_id;
#line 206 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp2_ = callback;
#line 206 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp2__target = callback_target;
#line 206 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp2__target_destroy_notify = callback_target_destroy_notify;
#line 206 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	callback_target_destroy_notify = NULL;
#line 206 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp3_ = gitg_ext_message_bus_listener_new (_tmp1_, _tmp2_, _tmp2__target, _tmp2__target_destroy_notify);
#line 206 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	listener = _tmp3_;
#line 208 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp4_ = message;
#line 208 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp5_ = _gitg_ext_message_bus_listener_ref0 (listener);
#line 208 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp4_->listeners = g_list_append (_tmp4_->listeners, _tmp5_);
#line 210 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp6_ = message;
#line 210 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp7_ = gitg_ext_message_bus_id_map_new (_tmp6_);
#line 210 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	idmap = _tmp7_;
#line 211 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp8_ = message;
#line 211 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp9_ = _tmp8_->listeners;
#line 211 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp10_ = g_list_last (_tmp9_);
#line 211 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	idmap->listener = _tmp10_;
#line 213 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp11_ = self->priv->d_idmap;
#line 213 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp12_ = listener->id;
#line 213 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp13_ = _gitg_ext_message_bus_id_map_ref0 (idmap);
#line 213 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_hash_table_insert (_tmp11_, (gpointer) ((guintptr) _tmp12_), _tmp13_);
#line 214 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp14_ = listener->id;
#line 214 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	result = _tmp14_;
#line 214 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_gitg_ext_message_bus_id_map_unref0 (idmap);
#line 214 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_gitg_ext_message_bus_listener_unref0 (listener);
#line 214 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	(callback_target_destroy_notify == NULL) ? NULL : (callback_target_destroy_notify (callback_target), NULL);
#line 214 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	callback = NULL;
#line 214 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	callback_target = NULL;
#line 214 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	callback_target_destroy_notify = NULL;
#line 214 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return result;
#line 1011 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_remove_listener (GitgExtMessageBus* self, GitgExtMessageBusMessage* message, GList* listener) {
	GitgExtMessageBusListener* lst = NULL;
	GList* _tmp0_ = NULL;
	gconstpointer _tmp1_ = NULL;
	GHashTable* _tmp2_ = NULL;
	GitgExtMessageBusListener* _tmp3_ = NULL;
	guint _tmp4_ = 0U;
	GitgExtMessageBusMessage* _tmp5_ = NULL;
	GList* _tmp6_ = NULL;
	GitgExtMessageBusMessage* _tmp7_ = NULL;
	GList* _tmp8_ = NULL;
#line 217 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (self != NULL);
#line 217 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (message != NULL);
#line 219 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = listener;
#line 219 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp1_ = _tmp0_->data;
#line 219 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	lst = (GitgExtMessageBusListener*) _tmp1_;
#line 221 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp2_ = self->priv->d_idmap;
#line 221 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp3_ = lst;
#line 221 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp4_ = _tmp3_->id;
#line 221 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_hash_table_remove (_tmp2_, (gpointer) ((guintptr) _tmp4_));
#line 223 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp5_ = message;
#line 223 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp6_ = listener;
#line 223 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp5_->listeners = g_list_delete_link (_tmp5_->listeners, _tmp6_);
#line 225 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp7_ = message;
#line 225 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp8_ = _tmp7_->listeners;
#line 225 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (_tmp8_ == NULL) {
#line 1056 "gitg-ext-message-bus.c"
		GHashTable* _tmp9_ = NULL;
		GitgExtMessageBusMessage* _tmp10_ = NULL;
		GitgExtMessageId* _tmp11_ = NULL;
#line 227 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp9_ = self->priv->d_messages;
#line 227 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp10_ = message;
#line 227 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp11_ = _tmp10_->id;
#line 227 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		g_hash_table_remove (_tmp9_, _tmp11_);
#line 1068 "gitg-ext-message-bus.c"
	}
}


static void gitg_ext_message_bus_block_listener (GitgExtMessageBus* self, GitgExtMessageBusMessage* message, GList* listener) {
	GList* _tmp0_ = NULL;
	gconstpointer _tmp1_ = NULL;
#line 231 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (self != NULL);
#line 231 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (message != NULL);
#line 233 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = listener;
#line 233 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp1_ = _tmp0_->data;
#line 233 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	((GitgExtMessageBusListener*) _tmp1_)->blocked = TRUE;
#line 1086 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_unblock_listener (GitgExtMessageBus* self, GitgExtMessageBusMessage* message, GList* listener) {
	GList* _tmp0_ = NULL;
	gconstpointer _tmp1_ = NULL;
#line 236 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (self != NULL);
#line 236 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (message != NULL);
#line 238 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = listener;
#line 238 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp1_ = _tmp0_->data;
#line 238 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	((GitgExtMessageBusListener*) _tmp1_)->blocked = FALSE;
#line 1103 "gitg-ext-message-bus.c"
}


guint gitg_ext_message_bus_connect (GitgExtMessageBus* self, GitgExtMessageId* id, GitgExtMessageCallback callback, void* callback_target, GDestroyNotify callback_target_destroy_notify) {
	guint result = 0U;
	GitgExtMessageBusMessage* message = NULL;
	GitgExtMessageId* _tmp0_ = NULL;
	GitgExtMessageBusMessage* _tmp1_ = NULL;
	GitgExtMessageCallback _tmp2_ = NULL;
	void* _tmp2__target = NULL;
	GDestroyNotify _tmp2__target_destroy_notify = NULL;
	guint _tmp3_ = 0U;
#line 241 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_val_if_fail (self != NULL, 0U);
#line 241 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_val_if_fail (id != NULL, 0U);
#line 243 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = id;
#line 243 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp1_ = gitg_ext_message_bus_lookup_message (self, _tmp0_, TRUE);
#line 243 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	message = _tmp1_;
#line 245 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp2_ = callback;
#line 245 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp2__target = callback_target;
#line 245 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp2__target_destroy_notify = callback_target_destroy_notify;
#line 245 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	callback_target_destroy_notify = NULL;
#line 245 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp3_ = gitg_ext_message_bus_add_listener (self, message, _tmp2_, _tmp2__target, _tmp2__target_destroy_notify);
#line 245 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	result = _tmp3_;
#line 245 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_gitg_ext_message_bus_message_unref0 (message);
#line 245 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	(callback_target_destroy_notify == NULL) ? NULL : (callback_target_destroy_notify (callback_target), NULL);
#line 245 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	callback = NULL;
#line 245 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	callback_target = NULL;
#line 245 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	callback_target_destroy_notify = NULL;
#line 245 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return result;
#line 1150 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_process_by_id (GitgExtMessageBus* self, guint id, GitgExtMessageBusMatchCallback processor, void* processor_target) {
	GitgExtMessageBusIdMap* idmap = NULL;
	GHashTable* _tmp0_ = NULL;
	guint _tmp1_ = 0U;
	gconstpointer _tmp2_ = NULL;
	GitgExtMessageBusIdMap* _tmp3_ = NULL;
	GitgExtMessageBusIdMap* _tmp4_ = NULL;
	GitgExtMessageBusMatchCallback _tmp5_ = NULL;
	void* _tmp5__target = NULL;
	GitgExtMessageBusIdMap* _tmp6_ = NULL;
	GitgExtMessageBusMessage* _tmp7_ = NULL;
	GitgExtMessageBusIdMap* _tmp8_ = NULL;
	GList* _tmp9_ = NULL;
#line 250 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (self != NULL);
#line 252 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = self->priv->d_idmap;
#line 252 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp1_ = id;
#line 252 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp2_ = g_hash_table_lookup (_tmp0_, (gpointer) ((guintptr) _tmp1_));
#line 252 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp3_ = _gitg_ext_message_bus_id_map_ref0 ((GitgExtMessageBusIdMap*) _tmp2_);
#line 252 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	idmap = _tmp3_;
#line 254 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp4_ = idmap;
#line 254 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (_tmp4_ == NULL) {
#line 256 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_gitg_ext_message_bus_id_map_unref0 (idmap);
#line 256 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		return;
#line 1187 "gitg-ext-message-bus.c"
	}
#line 259 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp5_ = processor;
#line 259 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp5__target = processor_target;
#line 259 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp6_ = idmap;
#line 259 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp7_ = _tmp6_->message;
#line 259 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp8_ = idmap;
#line 259 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp9_ = _tmp8_->listener;
#line 259 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp5_ (_tmp7_, _tmp9_, _tmp5__target);
#line 250 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_gitg_ext_message_bus_id_map_unref0 (idmap);
#line 1205 "gitg-ext-message-bus.c"
}


static void _gitg_ext_message_bus_remove_listener_gitg_ext_message_bus_match_callback (GitgExtMessageBusMessage* message, GList* listeners, gpointer self) {
#line 264 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	gitg_ext_message_bus_remove_listener ((GitgExtMessageBus*) self, message, listeners);
#line 1212 "gitg-ext-message-bus.c"
}


void gitg_ext_message_bus_disconnect (GitgExtMessageBus* self, guint id) {
	guint _tmp0_ = 0U;
#line 262 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (self != NULL);
#line 264 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = id;
#line 264 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	gitg_ext_message_bus_process_by_id (self, _tmp0_, _gitg_ext_message_bus_remove_listener_gitg_ext_message_bus_match_callback, self);
#line 1224 "gitg-ext-message-bus.c"
}


static void _gitg_ext_message_bus_block_listener_gitg_ext_message_bus_match_callback (GitgExtMessageBusMessage* message, GList* listeners, gpointer self) {
#line 269 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	gitg_ext_message_bus_block_listener ((GitgExtMessageBus*) self, message, listeners);
#line 1231 "gitg-ext-message-bus.c"
}


void gitg_ext_message_bus_block (GitgExtMessageBus* self, guint id) {
	guint _tmp0_ = 0U;
#line 267 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (self != NULL);
#line 269 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = id;
#line 269 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	gitg_ext_message_bus_process_by_id (self, _tmp0_, _gitg_ext_message_bus_block_listener_gitg_ext_message_bus_match_callback, self);
#line 1243 "gitg-ext-message-bus.c"
}


static void _gitg_ext_message_bus_unblock_listener_gitg_ext_message_bus_match_callback (GitgExtMessageBusMessage* message, GList* listeners, gpointer self) {
#line 274 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	gitg_ext_message_bus_unblock_listener ((GitgExtMessageBus*) self, message, listeners);
#line 1250 "gitg-ext-message-bus.c"
}


void gitg_ext_message_bus_unblock (GitgExtMessageBus* self, guint id) {
	guint _tmp0_ = 0U;
#line 272 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (self != NULL);
#line 274 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = id;
#line 274 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	gitg_ext_message_bus_process_by_id (self, _tmp0_, _gitg_ext_message_bus_unblock_listener_gitg_ext_message_bus_match_callback, self);
#line 1262 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_dispatch_message (GitgExtMessageBus* self, GitgExtMessage* message) {
	GitgExtMessage* _tmp0_ = NULL;
#line 277 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (self != NULL);
#line 277 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (message != NULL);
#line 279 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = message;
#line 279 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_signal_emit_by_name (self, "dispatch", _tmp0_);
#line 1276 "gitg-ext-message-bus.c"
}


GitgExtMessage* gitg_ext_message_bus_send_message (GitgExtMessageBus* self, GitgExtMessage* message) {
	GitgExtMessage* result = NULL;
	GitgExtMessage* _tmp0_ = NULL;
	GitgExtMessage* _tmp1_ = NULL;
	GitgExtMessage* _tmp2_ = NULL;
#line 282 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 282 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_val_if_fail (message != NULL, NULL);
#line 284 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = message;
#line 284 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	gitg_ext_message_bus_dispatch_message (self, _tmp0_);
#line 285 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp1_ = message;
#line 285 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 285 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	result = _tmp2_;
#line 285 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return result;
#line 1301 "gitg-ext-message-bus.c"
}


GitgExtMessage* gitg_ext_message_bus_send (GitgExtMessageBus* self, GitgExtMessageId* id, const gchar* firstprop, ...) {
	GitgExtMessage* result = NULL;
	GType type = 0UL;
	GitgExtMessageId* _tmp0_ = NULL;
	GType _tmp1_ = 0UL;
	GType _tmp2_ = 0UL;
	GitgExtMessage* msg = NULL;
	GType _tmp7_ = 0UL;
	const gchar* _tmp8_ = NULL;
	va_list _tmp9_ = {0};
	GObject* _tmp10_ = NULL;
	GitgExtMessage* _tmp11_ = NULL;
	GitgExtMessage* _tmp12_ = NULL;
	GitgExtMessage* _tmp15_ = NULL;
#line 288 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 288 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_val_if_fail (id != NULL, NULL);
#line 290 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = id;
#line 290 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp1_ = gitg_ext_message_bus_lookup (self, _tmp0_);
#line 290 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	type = _tmp1_;
#line 292 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp2_ = type;
#line 292 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (_tmp2_ == G_TYPE_INVALID) {
#line 1333 "gitg-ext-message-bus.c"
		GitgExtMessageId* _tmp3_ = NULL;
		gchar* _tmp4_ = NULL;
		gchar* _tmp5_ = NULL;
		gchar* _tmp6_ = NULL;
#line 294 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp3_ = id;
#line 294 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp4_ = gitg_ext_message_id_get_id (_tmp3_);
#line 294 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp5_ = _tmp4_;
#line 294 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp6_ = _tmp5_;
#line 294 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		g_warning ("gitg-ext-message-bus.vala:294: Could not find message type for `%s'", _tmp6_);
#line 294 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_g_free0 (_tmp6_);
#line 295 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		result = NULL;
#line 295 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		return result;
#line 1354 "gitg-ext-message-bus.c"
	}
#line 298 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp7_ = type;
#line 298 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp8_ = firstprop;
#line 298 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	va_start (_tmp9_, firstprop);
#line 298 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp10_ = g_object_new_valist (_tmp7_, _tmp8_, _tmp9_);
#line 298 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp11_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, GITG_EXT_TYPE_MESSAGE, GitgExtMessage);
#line 298 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	va_end (_tmp9_);
#line 298 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	msg = _tmp11_;
#line 300 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp12_ = msg;
#line 300 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (_tmp12_ != NULL) {
#line 1374 "gitg-ext-message-bus.c"
		GitgExtMessage* _tmp13_ = NULL;
		GitgExtMessageId* _tmp14_ = NULL;
#line 302 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp13_ = msg;
#line 302 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp14_ = id;
#line 302 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		gitg_ext_message_set_id (_tmp13_, _tmp14_);
#line 1383 "gitg-ext-message-bus.c"
	}
#line 305 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp15_ = msg;
#line 305 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	gitg_ext_message_bus_dispatch_message (self, _tmp15_);
#line 307 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	result = msg;
#line 307 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return result;
#line 1393 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_real_dispatch (GitgExtMessageBus* self, GitgExtMessage* message) {
	GitgExtMessageBusMessage* msg = NULL;
	GitgExtMessage* _tmp0_ = NULL;
	GitgExtMessageId* _tmp1_ = NULL;
	GitgExtMessageId* _tmp2_ = NULL;
	GitgExtMessageBusMessage* _tmp3_ = NULL;
	GitgExtMessageBusMessage* _tmp4_ = NULL;
#line 76 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (message != NULL);
#line 78 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = message;
#line 78 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp1_ = gitg_ext_message_get_id (_tmp0_);
#line 78 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp2_ = _tmp1_;
#line 78 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp3_ = gitg_ext_message_bus_lookup_message (self, _tmp2_, FALSE);
#line 78 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	msg = _tmp3_;
#line 80 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp4_ = msg;
#line 80 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (_tmp4_ != NULL) {
#line 1420 "gitg-ext-message-bus.c"
		GitgExtMessageBusMessage* _tmp5_ = NULL;
		GitgExtMessage* _tmp6_ = NULL;
#line 82 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp5_ = msg;
#line 82 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		_tmp6_ = message;
#line 82 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		gitg_ext_message_bus_dispatch_message_real (self, _tmp5_, _tmp6_);
#line 1429 "gitg-ext-message-bus.c"
	}
#line 76 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_gitg_ext_message_bus_message_unref0 (msg);
#line 1433 "gitg-ext-message-bus.c"
}


static GitgExtMessageBusListener* gitg_ext_message_bus_listener_construct (GType object_type, guint id, GitgExtMessageCallback callback, void* callback_target, GDestroyNotify callback_target_destroy_notify) {
	GitgExtMessageBusListener* self = NULL;
	guint _tmp0_ = 0U;
	GitgExtMessageCallback _tmp1_ = NULL;
	void* _tmp1__target = NULL;
	GDestroyNotify _tmp1__target_destroy_notify = NULL;
#line 34 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self = (GitgExtMessageBusListener*) g_type_create_instance (object_type);
#line 36 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = id;
#line 36 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self->id = _tmp0_;
#line 39 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp1_ = callback;
#line 39 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp1__target = callback_target;
#line 39 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp1__target_destroy_notify = callback_target_destroy_notify;
#line 39 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	callback_target_destroy_notify = NULL;
#line 39 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	(self->callback_target_destroy_notify == NULL) ? NULL : (self->callback_target_destroy_notify (self->callback_target), NULL);
#line 39 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self->callback = NULL;
#line 39 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self->callback_target = NULL;
#line 39 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self->callback_target_destroy_notify = NULL;
#line 39 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self->callback = _tmp1_;
#line 39 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self->callback_target = _tmp1__target;
#line 39 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self->callback_target_destroy_notify = _tmp1__target_destroy_notify;
#line 40 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self->blocked = FALSE;
#line 34 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	(callback_target_destroy_notify == NULL) ? NULL : (callback_target_destroy_notify (callback_target), NULL);
#line 34 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	callback = NULL;
#line 34 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	callback_target = NULL;
#line 34 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	callback_target_destroy_notify = NULL;
#line 34 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return self;
#line 1483 "gitg-ext-message-bus.c"
}


static GitgExtMessageBusListener* gitg_ext_message_bus_listener_new (guint id, GitgExtMessageCallback callback, void* callback_target, GDestroyNotify callback_target_destroy_notify) {
#line 34 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return gitg_ext_message_bus_listener_construct (GITG_EXT_MESSAGE_BUS_TYPE_LISTENER, id, callback, callback_target, callback_target_destroy_notify);
#line 1490 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_value_listener_init (GValue* value) {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	value->data[0].v_pointer = NULL;
#line 1497 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_value_listener_free_value (GValue* value) {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (value->data[0].v_pointer) {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		gitg_ext_message_bus_listener_unref (value->data[0].v_pointer);
#line 1506 "gitg-ext-message-bus.c"
	}
}


static void gitg_ext_message_bus_value_listener_copy_value (const GValue* src_value, GValue* dest_value) {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (src_value->data[0].v_pointer) {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		dest_value->data[0].v_pointer = gitg_ext_message_bus_listener_ref (src_value->data[0].v_pointer);
#line 1516 "gitg-ext-message-bus.c"
	} else {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		dest_value->data[0].v_pointer = NULL;
#line 1520 "gitg-ext-message-bus.c"
	}
}


static gpointer gitg_ext_message_bus_value_listener_peek_pointer (const GValue* value) {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return value->data[0].v_pointer;
#line 1528 "gitg-ext-message-bus.c"
}


static gchar* gitg_ext_message_bus_value_listener_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (collect_values[0].v_pointer) {
#line 1535 "gitg-ext-message-bus.c"
		GitgExtMessageBusListener* object;
		object = collect_values[0].v_pointer;
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		if (object->parent_instance.g_class == NULL) {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
			return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 1542 "gitg-ext-message-bus.c"
		} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
			return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 1546 "gitg-ext-message-bus.c"
		}
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		value->data[0].v_pointer = gitg_ext_message_bus_listener_ref (object);
#line 1550 "gitg-ext-message-bus.c"
	} else {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		value->data[0].v_pointer = NULL;
#line 1554 "gitg-ext-message-bus.c"
	}
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return NULL;
#line 1558 "gitg-ext-message-bus.c"
}


static gchar* gitg_ext_message_bus_value_listener_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
	GitgExtMessageBusListener** object_p;
	object_p = collect_values[0].v_pointer;
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (!object_p) {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
#line 1569 "gitg-ext-message-bus.c"
	}
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (!value->data[0].v_pointer) {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		*object_p = NULL;
#line 1575 "gitg-ext-message-bus.c"
	} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		*object_p = value->data[0].v_pointer;
#line 1579 "gitg-ext-message-bus.c"
	} else {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		*object_p = gitg_ext_message_bus_listener_ref (value->data[0].v_pointer);
#line 1583 "gitg-ext-message-bus.c"
	}
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return NULL;
#line 1587 "gitg-ext-message-bus.c"
}


static GParamSpec* gitg_ext_message_bus_param_spec_listener (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	GitgExtMessageBusParamSpecListener* spec;
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_val_if_fail (g_type_is_a (object_type, GITG_EXT_MESSAGE_BUS_TYPE_LISTENER), NULL);
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	G_PARAM_SPEC (spec)->value_type = object_type;
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return G_PARAM_SPEC (spec);
#line 1601 "gitg-ext-message-bus.c"
}


static gpointer gitg_ext_message_bus_value_get_listener (const GValue* value) {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, GITG_EXT_MESSAGE_BUS_TYPE_LISTENER), NULL);
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return value->data[0].v_pointer;
#line 1610 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_value_set_listener (GValue* value, gpointer v_object) {
	GitgExtMessageBusListener* old;
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, GITG_EXT_MESSAGE_BUS_TYPE_LISTENER));
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	old = value->data[0].v_pointer;
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (v_object) {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, GITG_EXT_MESSAGE_BUS_TYPE_LISTENER));
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		value->data[0].v_pointer = v_object;
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		gitg_ext_message_bus_listener_ref (value->data[0].v_pointer);
#line 1630 "gitg-ext-message-bus.c"
	} else {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		value->data[0].v_pointer = NULL;
#line 1634 "gitg-ext-message-bus.c"
	}
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (old) {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		gitg_ext_message_bus_listener_unref (old);
#line 1640 "gitg-ext-message-bus.c"
	}
}


static void gitg_ext_message_bus_value_take_listener (GValue* value, gpointer v_object) {
	GitgExtMessageBusListener* old;
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, GITG_EXT_MESSAGE_BUS_TYPE_LISTENER));
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	old = value->data[0].v_pointer;
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (v_object) {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, GITG_EXT_MESSAGE_BUS_TYPE_LISTENER));
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		value->data[0].v_pointer = v_object;
#line 1659 "gitg-ext-message-bus.c"
	} else {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		value->data[0].v_pointer = NULL;
#line 1663 "gitg-ext-message-bus.c"
	}
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (old) {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		gitg_ext_message_bus_listener_unref (old);
#line 1669 "gitg-ext-message-bus.c"
	}
}


static void gitg_ext_message_bus_listener_class_init (GitgExtMessageBusListenerClass * klass) {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	gitg_ext_message_bus_listener_parent_class = g_type_class_peek_parent (klass);
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	((GitgExtMessageBusListenerClass *) klass)->finalize = gitg_ext_message_bus_listener_finalize;
#line 1679 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_listener_instance_init (GitgExtMessageBusListener * self) {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self->ref_count = 1;
#line 1686 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_listener_finalize (GitgExtMessageBusListener* obj) {
	GitgExtMessageBusListener * self;
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_EXT_MESSAGE_BUS_TYPE_LISTENER, GitgExtMessageBusListener);
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_signal_handlers_destroy (self);
#line 32 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	(self->callback_target_destroy_notify == NULL) ? NULL : (self->callback_target_destroy_notify (self->callback_target), NULL);
#line 32 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self->callback = NULL;
#line 32 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self->callback_target = NULL;
#line 32 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self->callback_target_destroy_notify = NULL;
#line 1704 "gitg-ext-message-bus.c"
}


static GType gitg_ext_message_bus_listener_get_type (void) {
	static volatile gsize gitg_ext_message_bus_listener_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_ext_message_bus_listener_type_id__volatile)) {
		static const GTypeValueTable g_define_type_value_table = { gitg_ext_message_bus_value_listener_init, gitg_ext_message_bus_value_listener_free_value, gitg_ext_message_bus_value_listener_copy_value, gitg_ext_message_bus_value_listener_peek_pointer, "p", gitg_ext_message_bus_value_listener_collect_value, "p", gitg_ext_message_bus_value_listener_lcopy_value };
		static const GTypeInfo g_define_type_info = { sizeof (GitgExtMessageBusListenerClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_ext_message_bus_listener_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgExtMessageBusListener), 0, (GInstanceInitFunc) gitg_ext_message_bus_listener_instance_init, &g_define_type_value_table };
		static const GTypeFundamentalInfo g_define_type_fundamental_info = { (G_TYPE_FLAG_CLASSED | G_TYPE_FLAG_INSTANTIATABLE | G_TYPE_FLAG_DERIVABLE | G_TYPE_FLAG_DEEP_DERIVABLE) };
		GType gitg_ext_message_bus_listener_type_id;
		gitg_ext_message_bus_listener_type_id = g_type_register_fundamental (g_type_fundamental_next (), "GitgExtMessageBusListener", &g_define_type_info, &g_define_type_fundamental_info, 0);
		g_once_init_leave (&gitg_ext_message_bus_listener_type_id__volatile, gitg_ext_message_bus_listener_type_id);
	}
	return gitg_ext_message_bus_listener_type_id__volatile;
}


static gpointer gitg_ext_message_bus_listener_ref (gpointer instance) {
	GitgExtMessageBusListener* self;
	self = instance;
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_atomic_int_inc (&self->ref_count);
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return instance;
#line 1729 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_listener_unref (gpointer instance) {
	GitgExtMessageBusListener* self;
	self = instance;
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (g_atomic_int_dec_and_test (&self->ref_count)) {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		GITG_EXT_MESSAGE_BUS_LISTENER_GET_CLASS (self)->finalize (self);
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		g_type_free_instance ((GTypeInstance *) self);
#line 1742 "gitg-ext-message-bus.c"
	}
}


static void _gitg_ext_message_bus_listener_unref0_ (gpointer var) {
#line 47 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	(var == NULL) ? NULL : (var = (gitg_ext_message_bus_listener_unref (var), NULL));
#line 1750 "gitg-ext-message-bus.c"
}


static void _g_list_free__gitg_ext_message_bus_listener_unref0_ (GList* self) {
#line 47 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_list_foreach (self, (GFunc) _gitg_ext_message_bus_listener_unref0_, NULL);
#line 47 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_list_free (self);
#line 1759 "gitg-ext-message-bus.c"
}


static GitgExtMessageBusMessage* gitg_ext_message_bus_message_construct (GType object_type, GitgExtMessageId* id) {
	GitgExtMessageBusMessage* self = NULL;
	GitgExtMessageId* _tmp0_ = NULL;
	GitgExtMessageId* _tmp1_ = NULL;
#line 49 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_val_if_fail (id != NULL, NULL);
#line 49 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self = (GitgExtMessageBusMessage*) g_type_create_instance (object_type);
#line 51 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = id;
#line 51 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp1_ = gitg_ext_message_id_copy (_tmp0_);
#line 51 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_g_object_unref0 (self->id);
#line 51 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self->id = _tmp1_;
#line 52 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	__g_list_free__gitg_ext_message_bus_listener_unref0_0 (self->listeners);
#line 52 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self->listeners = NULL;
#line 49 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return self;
#line 1785 "gitg-ext-message-bus.c"
}


static GitgExtMessageBusMessage* gitg_ext_message_bus_message_new (GitgExtMessageId* id) {
#line 49 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return gitg_ext_message_bus_message_construct (GITG_EXT_MESSAGE_BUS_TYPE_MESSAGE, id);
#line 1792 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_value_message_init (GValue* value) {
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	value->data[0].v_pointer = NULL;
#line 1799 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_value_message_free_value (GValue* value) {
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (value->data[0].v_pointer) {
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		gitg_ext_message_bus_message_unref (value->data[0].v_pointer);
#line 1808 "gitg-ext-message-bus.c"
	}
}


static void gitg_ext_message_bus_value_message_copy_value (const GValue* src_value, GValue* dest_value) {
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (src_value->data[0].v_pointer) {
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		dest_value->data[0].v_pointer = gitg_ext_message_bus_message_ref (src_value->data[0].v_pointer);
#line 1818 "gitg-ext-message-bus.c"
	} else {
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		dest_value->data[0].v_pointer = NULL;
#line 1822 "gitg-ext-message-bus.c"
	}
}


static gpointer gitg_ext_message_bus_value_message_peek_pointer (const GValue* value) {
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return value->data[0].v_pointer;
#line 1830 "gitg-ext-message-bus.c"
}


static gchar* gitg_ext_message_bus_value_message_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (collect_values[0].v_pointer) {
#line 1837 "gitg-ext-message-bus.c"
		GitgExtMessageBusMessage* object;
		object = collect_values[0].v_pointer;
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		if (object->parent_instance.g_class == NULL) {
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
			return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 1844 "gitg-ext-message-bus.c"
		} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
			return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 1848 "gitg-ext-message-bus.c"
		}
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		value->data[0].v_pointer = gitg_ext_message_bus_message_ref (object);
#line 1852 "gitg-ext-message-bus.c"
	} else {
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		value->data[0].v_pointer = NULL;
#line 1856 "gitg-ext-message-bus.c"
	}
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return NULL;
#line 1860 "gitg-ext-message-bus.c"
}


static gchar* gitg_ext_message_bus_value_message_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
	GitgExtMessageBusMessage** object_p;
	object_p = collect_values[0].v_pointer;
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (!object_p) {
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
#line 1871 "gitg-ext-message-bus.c"
	}
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (!value->data[0].v_pointer) {
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		*object_p = NULL;
#line 1877 "gitg-ext-message-bus.c"
	} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		*object_p = value->data[0].v_pointer;
#line 1881 "gitg-ext-message-bus.c"
	} else {
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		*object_p = gitg_ext_message_bus_message_ref (value->data[0].v_pointer);
#line 1885 "gitg-ext-message-bus.c"
	}
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return NULL;
#line 1889 "gitg-ext-message-bus.c"
}


static GParamSpec* gitg_ext_message_bus_param_spec_message (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	GitgExtMessageBusParamSpecMessage* spec;
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_val_if_fail (g_type_is_a (object_type, GITG_EXT_MESSAGE_BUS_TYPE_MESSAGE), NULL);
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	G_PARAM_SPEC (spec)->value_type = object_type;
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return G_PARAM_SPEC (spec);
#line 1903 "gitg-ext-message-bus.c"
}


static gpointer gitg_ext_message_bus_value_get_message (const GValue* value) {
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, GITG_EXT_MESSAGE_BUS_TYPE_MESSAGE), NULL);
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return value->data[0].v_pointer;
#line 1912 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_value_set_message (GValue* value, gpointer v_object) {
	GitgExtMessageBusMessage* old;
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, GITG_EXT_MESSAGE_BUS_TYPE_MESSAGE));
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	old = value->data[0].v_pointer;
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (v_object) {
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, GITG_EXT_MESSAGE_BUS_TYPE_MESSAGE));
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		value->data[0].v_pointer = v_object;
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		gitg_ext_message_bus_message_ref (value->data[0].v_pointer);
#line 1932 "gitg-ext-message-bus.c"
	} else {
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		value->data[0].v_pointer = NULL;
#line 1936 "gitg-ext-message-bus.c"
	}
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (old) {
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		gitg_ext_message_bus_message_unref (old);
#line 1942 "gitg-ext-message-bus.c"
	}
}


static void gitg_ext_message_bus_value_take_message (GValue* value, gpointer v_object) {
	GitgExtMessageBusMessage* old;
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, GITG_EXT_MESSAGE_BUS_TYPE_MESSAGE));
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	old = value->data[0].v_pointer;
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (v_object) {
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, GITG_EXT_MESSAGE_BUS_TYPE_MESSAGE));
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		value->data[0].v_pointer = v_object;
#line 1961 "gitg-ext-message-bus.c"
	} else {
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		value->data[0].v_pointer = NULL;
#line 1965 "gitg-ext-message-bus.c"
	}
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (old) {
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		gitg_ext_message_bus_message_unref (old);
#line 1971 "gitg-ext-message-bus.c"
	}
}


static void gitg_ext_message_bus_message_class_init (GitgExtMessageBusMessageClass * klass) {
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	gitg_ext_message_bus_message_parent_class = g_type_class_peek_parent (klass);
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	((GitgExtMessageBusMessageClass *) klass)->finalize = gitg_ext_message_bus_message_finalize;
#line 1981 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_message_instance_init (GitgExtMessageBusMessage * self) {
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self->ref_count = 1;
#line 1988 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_message_finalize (GitgExtMessageBusMessage* obj) {
	GitgExtMessageBusMessage * self;
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_EXT_MESSAGE_BUS_TYPE_MESSAGE, GitgExtMessageBusMessage);
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_signal_handlers_destroy (self);
#line 46 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_g_object_unref0 (self->id);
#line 47 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	__g_list_free__gitg_ext_message_bus_listener_unref0_0 (self->listeners);
#line 2002 "gitg-ext-message-bus.c"
}


static GType gitg_ext_message_bus_message_get_type (void) {
	static volatile gsize gitg_ext_message_bus_message_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_ext_message_bus_message_type_id__volatile)) {
		static const GTypeValueTable g_define_type_value_table = { gitg_ext_message_bus_value_message_init, gitg_ext_message_bus_value_message_free_value, gitg_ext_message_bus_value_message_copy_value, gitg_ext_message_bus_value_message_peek_pointer, "p", gitg_ext_message_bus_value_message_collect_value, "p", gitg_ext_message_bus_value_message_lcopy_value };
		static const GTypeInfo g_define_type_info = { sizeof (GitgExtMessageBusMessageClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_ext_message_bus_message_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgExtMessageBusMessage), 0, (GInstanceInitFunc) gitg_ext_message_bus_message_instance_init, &g_define_type_value_table };
		static const GTypeFundamentalInfo g_define_type_fundamental_info = { (G_TYPE_FLAG_CLASSED | G_TYPE_FLAG_INSTANTIATABLE | G_TYPE_FLAG_DERIVABLE | G_TYPE_FLAG_DEEP_DERIVABLE) };
		GType gitg_ext_message_bus_message_type_id;
		gitg_ext_message_bus_message_type_id = g_type_register_fundamental (g_type_fundamental_next (), "GitgExtMessageBusMessage", &g_define_type_info, &g_define_type_fundamental_info, 0);
		g_once_init_leave (&gitg_ext_message_bus_message_type_id__volatile, gitg_ext_message_bus_message_type_id);
	}
	return gitg_ext_message_bus_message_type_id__volatile;
}


static gpointer gitg_ext_message_bus_message_ref (gpointer instance) {
	GitgExtMessageBusMessage* self;
	self = instance;
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_atomic_int_inc (&self->ref_count);
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return instance;
#line 2027 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_message_unref (gpointer instance) {
	GitgExtMessageBusMessage* self;
	self = instance;
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (g_atomic_int_dec_and_test (&self->ref_count)) {
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		GITG_EXT_MESSAGE_BUS_MESSAGE_GET_CLASS (self)->finalize (self);
#line 44 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		g_type_free_instance ((GTypeInstance *) self);
#line 2040 "gitg-ext-message-bus.c"
	}
}


static GitgExtMessageBusIdMap* gitg_ext_message_bus_id_map_construct (GType object_type, GitgExtMessageBusMessage* message) {
	GitgExtMessageBusIdMap* self = NULL;
	GitgExtMessageBusMessage* _tmp0_ = NULL;
	GitgExtMessageBusMessage* _tmp1_ = NULL;
#line 61 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_val_if_fail (message != NULL, NULL);
#line 61 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self = (GitgExtMessageBusIdMap*) g_type_create_instance (object_type);
#line 63 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp0_ = message;
#line 63 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_tmp1_ = _gitg_ext_message_bus_message_ref0 (_tmp0_);
#line 63 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_gitg_ext_message_bus_message_unref0 (self->message);
#line 63 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self->message = _tmp1_;
#line 61 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return self;
#line 2063 "gitg-ext-message-bus.c"
}


static GitgExtMessageBusIdMap* gitg_ext_message_bus_id_map_new (GitgExtMessageBusMessage* message) {
#line 61 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return gitg_ext_message_bus_id_map_construct (GITG_EXT_MESSAGE_BUS_TYPE_ID_MAP, message);
#line 2070 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_value_id_map_init (GValue* value) {
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	value->data[0].v_pointer = NULL;
#line 2077 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_value_id_map_free_value (GValue* value) {
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (value->data[0].v_pointer) {
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		gitg_ext_message_bus_id_map_unref (value->data[0].v_pointer);
#line 2086 "gitg-ext-message-bus.c"
	}
}


static void gitg_ext_message_bus_value_id_map_copy_value (const GValue* src_value, GValue* dest_value) {
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (src_value->data[0].v_pointer) {
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		dest_value->data[0].v_pointer = gitg_ext_message_bus_id_map_ref (src_value->data[0].v_pointer);
#line 2096 "gitg-ext-message-bus.c"
	} else {
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		dest_value->data[0].v_pointer = NULL;
#line 2100 "gitg-ext-message-bus.c"
	}
}


static gpointer gitg_ext_message_bus_value_id_map_peek_pointer (const GValue* value) {
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return value->data[0].v_pointer;
#line 2108 "gitg-ext-message-bus.c"
}


static gchar* gitg_ext_message_bus_value_id_map_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (collect_values[0].v_pointer) {
#line 2115 "gitg-ext-message-bus.c"
		GitgExtMessageBusIdMap* object;
		object = collect_values[0].v_pointer;
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		if (object->parent_instance.g_class == NULL) {
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
			return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 2122 "gitg-ext-message-bus.c"
		} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
			return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
#line 2126 "gitg-ext-message-bus.c"
		}
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		value->data[0].v_pointer = gitg_ext_message_bus_id_map_ref (object);
#line 2130 "gitg-ext-message-bus.c"
	} else {
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		value->data[0].v_pointer = NULL;
#line 2134 "gitg-ext-message-bus.c"
	}
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return NULL;
#line 2138 "gitg-ext-message-bus.c"
}


static gchar* gitg_ext_message_bus_value_id_map_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
	GitgExtMessageBusIdMap** object_p;
	object_p = collect_values[0].v_pointer;
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (!object_p) {
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
#line 2149 "gitg-ext-message-bus.c"
	}
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (!value->data[0].v_pointer) {
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		*object_p = NULL;
#line 2155 "gitg-ext-message-bus.c"
	} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		*object_p = value->data[0].v_pointer;
#line 2159 "gitg-ext-message-bus.c"
	} else {
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		*object_p = gitg_ext_message_bus_id_map_ref (value->data[0].v_pointer);
#line 2163 "gitg-ext-message-bus.c"
	}
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return NULL;
#line 2167 "gitg-ext-message-bus.c"
}


static GParamSpec* gitg_ext_message_bus_param_spec_id_map (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
	GitgExtMessageBusParamSpecIdMap* spec;
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_val_if_fail (g_type_is_a (object_type, GITG_EXT_MESSAGE_BUS_TYPE_ID_MAP), NULL);
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	G_PARAM_SPEC (spec)->value_type = object_type;
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return G_PARAM_SPEC (spec);
#line 2181 "gitg-ext-message-bus.c"
}


static gpointer gitg_ext_message_bus_value_get_id_map (const GValue* value) {
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, GITG_EXT_MESSAGE_BUS_TYPE_ID_MAP), NULL);
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return value->data[0].v_pointer;
#line 2190 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_value_set_id_map (GValue* value, gpointer v_object) {
	GitgExtMessageBusIdMap* old;
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, GITG_EXT_MESSAGE_BUS_TYPE_ID_MAP));
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	old = value->data[0].v_pointer;
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (v_object) {
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, GITG_EXT_MESSAGE_BUS_TYPE_ID_MAP));
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		value->data[0].v_pointer = v_object;
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		gitg_ext_message_bus_id_map_ref (value->data[0].v_pointer);
#line 2210 "gitg-ext-message-bus.c"
	} else {
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		value->data[0].v_pointer = NULL;
#line 2214 "gitg-ext-message-bus.c"
	}
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (old) {
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		gitg_ext_message_bus_id_map_unref (old);
#line 2220 "gitg-ext-message-bus.c"
	}
}


static void gitg_ext_message_bus_value_take_id_map (GValue* value, gpointer v_object) {
	GitgExtMessageBusIdMap* old;
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, GITG_EXT_MESSAGE_BUS_TYPE_ID_MAP));
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	old = value->data[0].v_pointer;
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (v_object) {
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, GITG_EXT_MESSAGE_BUS_TYPE_ID_MAP));
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		value->data[0].v_pointer = v_object;
#line 2239 "gitg-ext-message-bus.c"
	} else {
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		value->data[0].v_pointer = NULL;
#line 2243 "gitg-ext-message-bus.c"
	}
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (old) {
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		gitg_ext_message_bus_id_map_unref (old);
#line 2249 "gitg-ext-message-bus.c"
	}
}


static void gitg_ext_message_bus_id_map_class_init (GitgExtMessageBusIdMapClass * klass) {
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	gitg_ext_message_bus_id_map_parent_class = g_type_class_peek_parent (klass);
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	((GitgExtMessageBusIdMapClass *) klass)->finalize = gitg_ext_message_bus_id_map_finalize;
#line 2259 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_id_map_instance_init (GitgExtMessageBusIdMap * self) {
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self->ref_count = 1;
#line 2266 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_id_map_finalize (GitgExtMessageBusIdMap* obj) {
	GitgExtMessageBusIdMap * self;
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_EXT_MESSAGE_BUS_TYPE_ID_MAP, GitgExtMessageBusIdMap);
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_signal_handlers_destroy (self);
#line 58 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_gitg_ext_message_bus_message_unref0 (self->message);
#line 2278 "gitg-ext-message-bus.c"
}


static GType gitg_ext_message_bus_id_map_get_type (void) {
	static volatile gsize gitg_ext_message_bus_id_map_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_ext_message_bus_id_map_type_id__volatile)) {
		static const GTypeValueTable g_define_type_value_table = { gitg_ext_message_bus_value_id_map_init, gitg_ext_message_bus_value_id_map_free_value, gitg_ext_message_bus_value_id_map_copy_value, gitg_ext_message_bus_value_id_map_peek_pointer, "p", gitg_ext_message_bus_value_id_map_collect_value, "p", gitg_ext_message_bus_value_id_map_lcopy_value };
		static const GTypeInfo g_define_type_info = { sizeof (GitgExtMessageBusIdMapClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_ext_message_bus_id_map_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgExtMessageBusIdMap), 0, (GInstanceInitFunc) gitg_ext_message_bus_id_map_instance_init, &g_define_type_value_table };
		static const GTypeFundamentalInfo g_define_type_fundamental_info = { (G_TYPE_FLAG_CLASSED | G_TYPE_FLAG_INSTANTIATABLE | G_TYPE_FLAG_DERIVABLE | G_TYPE_FLAG_DEEP_DERIVABLE) };
		GType gitg_ext_message_bus_id_map_type_id;
		gitg_ext_message_bus_id_map_type_id = g_type_register_fundamental (g_type_fundamental_next (), "GitgExtMessageBusIdMap", &g_define_type_info, &g_define_type_fundamental_info, 0);
		g_once_init_leave (&gitg_ext_message_bus_id_map_type_id__volatile, gitg_ext_message_bus_id_map_type_id);
	}
	return gitg_ext_message_bus_id_map_type_id__volatile;
}


static gpointer gitg_ext_message_bus_id_map_ref (gpointer instance) {
	GitgExtMessageBusIdMap* self;
	self = instance;
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_atomic_int_inc (&self->ref_count);
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	return instance;
#line 2303 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_id_map_unref (gpointer instance) {
	GitgExtMessageBusIdMap* self;
	self = instance;
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	if (g_atomic_int_dec_and_test (&self->ref_count)) {
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		GITG_EXT_MESSAGE_BUS_ID_MAP_GET_CLASS (self)->finalize (self);
#line 56 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
		g_type_free_instance ((GTypeInstance *) self);
#line 2316 "gitg-ext-message-bus.c"
	}
}


static void gitg_ext_message_bus_class_init (GitgExtMessageBusClass * klass) {
#line 25 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	gitg_ext_message_bus_parent_class = g_type_class_peek_parent (klass);
#line 25 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_type_class_add_private (klass, sizeof (GitgExtMessageBusPrivate));
#line 25 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	((GitgExtMessageBusClass *) klass)->dispatch = gitg_ext_message_bus_real_dispatch;
#line 25 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	G_OBJECT_CLASS (klass)->finalize = gitg_ext_message_bus_finalize;
#line 25 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_signal_new ("registered", GITG_EXT_TYPE_MESSAGE_BUS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, GITG_EXT_TYPE_MESSAGE_ID);
#line 25 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_signal_new ("unregistered", GITG_EXT_TYPE_MESSAGE_BUS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, GITG_EXT_TYPE_MESSAGE_ID);
#line 25 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	g_signal_new ("dispatch", GITG_EXT_TYPE_MESSAGE_BUS, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GitgExtMessageBusClass, dispatch), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, GITG_EXT_TYPE_MESSAGE);
#line 2336 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_instance_init (GitgExtMessageBus * self) {
#line 25 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self->priv = GITG_EXT_MESSAGE_BUS_GET_PRIVATE (self);
#line 2343 "gitg-ext-message-bus.c"
}


static void gitg_ext_message_bus_finalize (GObject* obj) {
	GitgExtMessageBus * self;
#line 25 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, GITG_EXT_TYPE_MESSAGE_BUS, GitgExtMessageBus);
#line 67 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_g_hash_table_unref0 (self->priv->d_messages);
#line 68 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_g_hash_table_unref0 (self->priv->d_idmap);
#line 69 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	_g_hash_table_unref0 (self->priv->d_types);
#line 25 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-message-bus.vala"
	G_OBJECT_CLASS (gitg_ext_message_bus_parent_class)->finalize (obj);
#line 2359 "gitg-ext-message-bus.c"
}


GType gitg_ext_message_bus_get_type (void) {
	static volatile gsize gitg_ext_message_bus_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_ext_message_bus_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgExtMessageBusClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) gitg_ext_message_bus_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GitgExtMessageBus), 0, (GInstanceInitFunc) gitg_ext_message_bus_instance_init, NULL };
		GType gitg_ext_message_bus_type_id;
		gitg_ext_message_bus_type_id = g_type_register_static (G_TYPE_OBJECT, "GitgExtMessageBus", &g_define_type_info, 0);
		g_once_init_leave (&gitg_ext_message_bus_type_id__volatile, gitg_ext_message_bus_type_id);
	}
	return gitg_ext_message_bus_type_id__volatile;
}



