/* gitg-ext-ui-element.c generated by valac 0.32.1, the Vala compiler
 * generated from gitg-ext-ui-element.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 <libgit2-glib/ggit.h>
#include <stdlib.h>
#include <string.h>
#include <gio/gio.h>
#include <gtk/gtk.h>
#include "libgitg/libgitg.h"
#include <gee.h>


#define GITG_EXT_TYPE_UI_ELEMENT (gitg_ext_ui_element_get_type ())
#define GITG_EXT_UI_ELEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_EXT_TYPE_UI_ELEMENT, GitgExtUIElement))
#define GITG_EXT_IS_UI_ELEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_EXT_TYPE_UI_ELEMENT))
#define GITG_EXT_UI_ELEMENT_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GITG_EXT_TYPE_UI_ELEMENT, GitgExtUIElementIface))

typedef struct _GitgExtUIElement GitgExtUIElement;
typedef struct _GitgExtUIElementIface GitgExtUIElementIface;

#define GITG_EXT_TYPE_APPLICATION (gitg_ext_application_get_type ())
#define GITG_EXT_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_EXT_TYPE_APPLICATION, GitgExtApplication))
#define GITG_EXT_IS_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_EXT_TYPE_APPLICATION))
#define GITG_EXT_APPLICATION_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GITG_EXT_TYPE_APPLICATION, GitgExtApplicationIface))

typedef struct _GitgExtApplication GitgExtApplication;
typedef struct _GitgExtApplicationIface GitgExtApplicationIface;

#define GITG_EXT_TYPE_ACTIVITY (gitg_ext_activity_get_type ())
#define GITG_EXT_ACTIVITY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_EXT_TYPE_ACTIVITY, GitgExtActivity))
#define GITG_EXT_IS_ACTIVITY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_EXT_TYPE_ACTIVITY))
#define GITG_EXT_ACTIVITY_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GITG_EXT_TYPE_ACTIVITY, GitgExtActivityIface))

typedef struct _GitgExtActivity GitgExtActivity;
typedef struct _GitgExtActivityIface GitgExtActivityIface;

#define GITG_EXT_TYPE_USER_QUERY (gitg_ext_user_query_get_type ())
#define GITG_EXT_USER_QUERY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_EXT_TYPE_USER_QUERY, GitgExtUserQuery))
#define GITG_EXT_USER_QUERY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GITG_EXT_TYPE_USER_QUERY, GitgExtUserQueryClass))
#define GITG_EXT_IS_USER_QUERY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_EXT_TYPE_USER_QUERY))
#define GITG_EXT_IS_USER_QUERY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GITG_EXT_TYPE_USER_QUERY))
#define GITG_EXT_USER_QUERY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GITG_EXT_TYPE_USER_QUERY, GitgExtUserQueryClass))

typedef struct _GitgExtUserQuery GitgExtUserQuery;
typedef struct _GitgExtUserQueryClass GitgExtUserQueryClass;

#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;

#define GITG_EXT_TYPE_NOTIFICATIONS (gitg_ext_notifications_get_type ())
#define GITG_EXT_NOTIFICATIONS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_EXT_TYPE_NOTIFICATIONS, GitgExtNotifications))
#define GITG_EXT_IS_NOTIFICATIONS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_EXT_TYPE_NOTIFICATIONS))
#define GITG_EXT_NOTIFICATIONS_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GITG_EXT_TYPE_NOTIFICATIONS, GitgExtNotificationsIface))

typedef struct _GitgExtNotifications GitgExtNotifications;
typedef struct _GitgExtNotificationsIface GitgExtNotificationsIface;

#define GITG_EXT_TYPE_NOTIFICATION (gitg_ext_notification_get_type ())
#define GITG_EXT_NOTIFICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_EXT_TYPE_NOTIFICATION, GitgExtNotification))
#define GITG_EXT_IS_NOTIFICATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_EXT_TYPE_NOTIFICATION))
#define GITG_EXT_NOTIFICATION_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GITG_EXT_TYPE_NOTIFICATION, GitgExtNotificationIface))

typedef struct _GitgExtNotification GitgExtNotification;
typedef struct _GitgExtNotificationIface GitgExtNotificationIface;

#define GITG_EXT_TYPE_REMOTE_LOOKUP (gitg_ext_remote_lookup_get_type ())
#define GITG_EXT_REMOTE_LOOKUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_EXT_TYPE_REMOTE_LOOKUP, GitgExtRemoteLookup))
#define GITG_EXT_IS_REMOTE_LOOKUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_EXT_TYPE_REMOTE_LOOKUP))
#define GITG_EXT_REMOTE_LOOKUP_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GITG_EXT_TYPE_REMOTE_LOOKUP, GitgExtRemoteLookupIface))

typedef struct _GitgExtRemoteLookup GitgExtRemoteLookup;
typedef struct _GitgExtRemoteLookupIface GitgExtRemoteLookupIface;

struct _GitgExtActivityIface {
	GTypeInterface parent_iface;
	gboolean (*is_default_for) (GitgExtActivity* self, const gchar* action);
};

struct _GitgExtNotificationIface {
	GTypeInterface parent_iface;
	GtkWidget* (*get_widget) (GitgExtNotification* self);
};

struct _GitgExtNotificationsIface {
	GTypeInterface parent_iface;
	void (*add) (GitgExtNotifications* self, GitgExtNotification* notification);
	void (*remove) (GitgExtNotifications* self, GitgExtNotification* notification, guint delay);
};

struct _GitgExtRemoteLookupIface {
	GTypeInterface parent_iface;
	GitgRemote* (*lookup) (GitgExtRemoteLookup* self, const gchar* name);
};

struct _GitgExtApplicationIface {
	GTypeInterface parent_iface;
	GgitSignature* (*get_verified_committer) (GitgExtApplication* self);
	GitgExtActivity* (*get_activity_by_id) (GitgExtApplication* self, const gchar* id);
	GitgExtActivity* (*set_activity_by_id) (GitgExtApplication* self, const gchar* id);
	void (*user_query) (GitgExtApplication* self, GitgExtUserQuery* query);
	void (*user_query_async) (GitgExtApplication* self, GitgExtUserQuery* query, GAsyncReadyCallback _callback_, gpointer _user_data_);
	GtkResponseType (*user_query_finish) (GitgExtApplication* self, GAsyncResult* _res_);
	void (*show_infobar) (GitgExtApplication* self, const gchar* primary_msg, const gchar* secondary_msg, GtkMessageType type);
	GitgExtApplication* (*open_new) (GitgExtApplication* self, GgitRepository* repository, const gchar* hint);
	void (*open_repository) (GitgExtApplication* self, GFile* path);
	GitgRepository* (*get_repository) (GitgExtApplication* self);
	void (*set_repository) (GitgExtApplication* self, GitgRepository* value);
	GitgExtMessageBus* (*get_message_bus) (GitgExtApplication* self);
	GitgExtActivity* (*get_current_activity) (GitgExtApplication* self);
	GeeMap* (*get_environment) (GitgExtApplication* self);
	GitgExtNotifications* (*get_notifications) (GitgExtApplication* self);
	gboolean (*get_busy) (GitgExtApplication* self);
	void (*set_busy) (GitgExtApplication* self, gboolean value);
	GitgExtRemoteLookup* (*get_remote_lookup) (GitgExtApplication* self);
};

struct _GitgExtUIElementIface {
	GTypeInterface parent_iface;
	gint (*negotiate_order) (GitgExtUIElement* self, GitgExtUIElement* other);
	void (*activate) (GitgExtUIElement* self);
	GitgExtApplication* (*get_application) (GitgExtUIElement* self);
	void (*set_application) (GitgExtUIElement* self, GitgExtApplication* value);
	gchar* (*get_id) (GitgExtUIElement* self);
	gchar* (*get_display_name) (GitgExtUIElement* self);
	gchar* (*get_description) (GitgExtUIElement* self);
	gchar* (*get_icon) (GitgExtUIElement* self);
	GtkWidget* (*get_widget) (GitgExtUIElement* self);
	gboolean (*get_available) (GitgExtUIElement* self);
	gboolean (*get_enabled) (GitgExtUIElement* self);
};



GType gitg_ext_activity_get_type (void) G_GNUC_CONST;
GType gitg_ext_user_query_get_type (void) G_GNUC_CONST;
GType gitg_ext_message_bus_get_type (void) G_GNUC_CONST;
GType gitg_ext_notification_get_type (void) G_GNUC_CONST;
GType gitg_ext_notifications_get_type (void) G_GNUC_CONST;
GType gitg_ext_remote_lookup_get_type (void) G_GNUC_CONST;
GType gitg_ext_application_get_type (void) G_GNUC_CONST;
GType gitg_ext_ui_element_get_type (void) G_GNUC_CONST;
gint gitg_ext_ui_element_negotiate_order (GitgExtUIElement* self, GitgExtUIElement* other);
static gint gitg_ext_ui_element_real_negotiate_order (GitgExtUIElement* self, GitgExtUIElement* other);
GitgExtApplication* gitg_ext_ui_element_get_application (GitgExtUIElement* self);
void gitg_ext_ui_element_set_application (GitgExtUIElement* self, GitgExtApplication* value);
gchar* gitg_ext_ui_element_get_id (GitgExtUIElement* self);
gchar* gitg_ext_ui_element_get_display_name (GitgExtUIElement* self);
gchar* gitg_ext_ui_element_get_description (GitgExtUIElement* self);
gchar* gitg_ext_ui_element_get_icon (GitgExtUIElement* self);
GtkWidget* gitg_ext_ui_element_get_widget (GitgExtUIElement* self);
gboolean gitg_ext_ui_element_get_available (GitgExtUIElement* self);
gboolean gitg_ext_ui_element_get_enabled (GitgExtUIElement* self);
static void gitg_ext_ui_element_real_activate (GitgExtUIElement* self);


/**
 * Negotiate the order with another UIElement.
 *
 * This method is used to determine the order in which elements need to
 * appear in the UI.
 *
 * @return -1 if the element should appear before @other, 1 if the
 *          element should appear after @other and 0 if the order is
 *          unimportant.
 *
 */
static gint gitg_ext_ui_element_real_negotiate_order (GitgExtUIElement* self, GitgExtUIElement* other) {
	gint result = 0;
#line 119 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	g_return_val_if_fail (other != NULL, 0);
#line 121 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	result = 0;
#line 121 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	return result;
#line 204 "gitg-ext-ui-element.c"
}


gint gitg_ext_ui_element_negotiate_order (GitgExtUIElement* self, GitgExtUIElement* other) {
#line 119 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	g_return_val_if_fail (self != NULL, 0);
#line 119 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	return GITG_EXT_UI_ELEMENT_GET_INTERFACE (self)->negotiate_order (self, other);
#line 213 "gitg-ext-ui-element.c"
}


GitgExtApplication* gitg_ext_ui_element_get_application (GitgExtUIElement* self) {
#line 36 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 36 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	return GITG_EXT_UI_ELEMENT_GET_INTERFACE (self)->get_application (self);
#line 222 "gitg-ext-ui-element.c"
}


void gitg_ext_ui_element_set_application (GitgExtUIElement* self, GitgExtApplication* value) {
#line 36 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	g_return_if_fail (self != NULL);
#line 36 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	GITG_EXT_UI_ELEMENT_GET_INTERFACE (self)->set_application (self, value);
#line 231 "gitg-ext-ui-element.c"
}


gchar* gitg_ext_ui_element_get_id (GitgExtUIElement* self) {
#line 43 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 43 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	return GITG_EXT_UI_ELEMENT_GET_INTERFACE (self)->get_id (self);
#line 240 "gitg-ext-ui-element.c"
}


gchar* gitg_ext_ui_element_get_display_name (GitgExtUIElement* self) {
#line 51 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 51 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	return GITG_EXT_UI_ELEMENT_GET_INTERFACE (self)->get_display_name (self);
#line 249 "gitg-ext-ui-element.c"
}


gchar* gitg_ext_ui_element_get_description (GitgExtUIElement* self) {
#line 59 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 59 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	return GITG_EXT_UI_ELEMENT_GET_INTERFACE (self)->get_description (self);
#line 258 "gitg-ext-ui-element.c"
}


gchar* gitg_ext_ui_element_get_icon (GitgExtUIElement* self) {
#line 69 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 69 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	return GITG_EXT_UI_ELEMENT_GET_INTERFACE (self)->get_icon (self);
#line 267 "gitg-ext-ui-element.c"
}


static gchar* gitg_ext_ui_element_real_get_icon (GitgExtUIElement* base) {
	gchar* result;
	GitgExtUIElement* self;
#line 69 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	self = base;
#line 69 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	result = NULL;
#line 69 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	return result;
#line 280 "gitg-ext-ui-element.c"
}


GtkWidget* gitg_ext_ui_element_get_widget (GitgExtUIElement* self) {
#line 80 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 80 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	return GITG_EXT_UI_ELEMENT_GET_INTERFACE (self)->get_widget (self);
#line 289 "gitg-ext-ui-element.c"
}


static GtkWidget* gitg_ext_ui_element_real_get_widget (GitgExtUIElement* base) {
	GtkWidget* result;
	GitgExtUIElement* self;
#line 80 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	self = base;
#line 80 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	result = NULL;
#line 80 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	return result;
#line 302 "gitg-ext-ui-element.c"
}


gboolean gitg_ext_ui_element_get_available (GitgExtUIElement* self) {
#line 93 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 93 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	return GITG_EXT_UI_ELEMENT_GET_INTERFACE (self)->get_available (self);
#line 311 "gitg-ext-ui-element.c"
}


static gboolean gitg_ext_ui_element_real_get_available (GitgExtUIElement* base) {
	gboolean result;
	GitgExtUIElement* self;
#line 93 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	self = base;
#line 93 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	result = TRUE;
#line 93 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	return result;
#line 324 "gitg-ext-ui-element.c"
}


gboolean gitg_ext_ui_element_get_enabled (GitgExtUIElement* self) {
#line 105 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 105 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	return GITG_EXT_UI_ELEMENT_GET_INTERFACE (self)->get_enabled (self);
#line 333 "gitg-ext-ui-element.c"
}


static gboolean gitg_ext_ui_element_real_get_enabled (GitgExtUIElement* base) {
	gboolean result;
	GitgExtUIElement* self;
#line 105 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	self = base;
#line 105 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	result = TRUE;
#line 105 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	return result;
#line 346 "gitg-ext-ui-element.c"
}


static void gitg_ext_ui_element_real_activate (GitgExtUIElement* self) {
}


static void gitg_ext_ui_element_base_init (GitgExtUIElementIface * iface) {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	static gboolean initialized = FALSE;
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
	if (!initialized) {
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
		initialized = TRUE;
#line 361 "gitg-ext-ui-element.c"
		/**
		 * The main gitg application interface.
		 *
		 * This property is a "construct"
		 * property and will be automatically set when an instance of the ui element
		 * object is created.
		 */
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
		g_object_interface_install_property (iface, g_param_spec_object ("application", "application", "application", GITG_EXT_TYPE_APPLICATION, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
#line 371 "gitg-ext-ui-element.c"
		/**
		 * A unique id for the ui element.
		 *
		 * Ids in gitg are normally of the form /org/gnome/gitg/...
		 */
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
		g_object_interface_install_property (iface, g_param_spec_string ("id", "id", "id", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 379 "gitg-ext-ui-element.c"
		/**
		 * The display name of the ui element.
		 *
		 * This should result in a string which can
		 * be displayed in the gitg UI to identify the element.
		 */
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
		g_object_interface_install_property (iface, g_param_spec_string ("display-name", "display-name", "display-name", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 388 "gitg-ext-ui-element.c"
		/**
		 * The description of the ui element.
		 *
		 * This should result in a string which can
		 * be displayed in the gitg UI to describe the element.
		 */
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
		g_object_interface_install_property (iface, g_param_spec_string ("description", "description", "description", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
		iface->activate = gitg_ext_ui_element_real_activate;
#line 399 "gitg-ext-ui-element.c"
		/**
		 * Activate the UIELement.
		 *
		 * This signal is emitted when the UIElement has been activated.
		 * Implementations can override the default handler to do any necessary
		 * setup when the ui element is activated.
		 */
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
		g_signal_new ("activate", GITG_EXT_TYPE_UI_ELEMENT, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GitgExtUIElementIface, activate), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
		iface->negotiate_order = gitg_ext_ui_element_real_negotiate_order;
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
		iface->get_icon = gitg_ext_ui_element_real_get_icon;
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
		iface->get_widget = gitg_ext_ui_element_real_get_widget;
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
		iface->get_available = gitg_ext_ui_element_real_get_available;
#line 27 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-ui-element.vala"
		iface->get_enabled = gitg_ext_ui_element_real_get_enabled;
#line 419 "gitg-ext-ui-element.c"
	}
}


/**
 * gitg UIElement interface.
 *
 */
GType gitg_ext_ui_element_get_type (void) {
	static volatile gsize gitg_ext_ui_element_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_ext_ui_element_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgExtUIElementIface), (GBaseInitFunc) gitg_ext_ui_element_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
		GType gitg_ext_ui_element_type_id;
		gitg_ext_ui_element_type_id = g_type_register_static (G_TYPE_INTERFACE, "GitgExtUIElement", &g_define_type_info, 0);
		g_type_interface_add_prerequisite (gitg_ext_ui_element_type_id, G_TYPE_OBJECT);
		g_once_init_leave (&gitg_ext_ui_element_type_id__volatile, gitg_ext_ui_element_type_id);
	}
	return gitg_ext_ui_element_type_id__volatile;
}



