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

/*
 * This file is part of gitg
 *
 * Copyright (C) 2015 - 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 <gtk/gtk.h>


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

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



GType gitg_ext_notification_get_type (void) G_GNUC_CONST;
GtkWidget* gitg_ext_notification_get_widget (GitgExtNotification* self);


GtkWidget* gitg_ext_notification_get_widget (GitgExtNotification* self) {
#line 26 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-notification.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 26 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-notification.vala"
	return GITG_EXT_NOTIFICATION_GET_INTERFACE (self)->get_widget (self);
#line 53 "gitg-ext-notification.c"
}


static void gitg_ext_notification_base_init (GitgExtNotificationIface * iface) {
#line 23 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-notification.vala"
	static gboolean initialized = FALSE;
#line 23 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-notification.vala"
	if (!initialized) {
#line 23 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-notification.vala"
		initialized = TRUE;
#line 23 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-notification.vala"
		g_object_interface_install_property (iface, g_param_spec_object ("widget", "widget", "widget", gtk_widget_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 23 "/home/jesse/dev/gitg/libgitg-ext/gitg-ext-notification.vala"
		g_signal_new ("close", GITG_EXT_TYPE_NOTIFICATION, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__UINT, G_TYPE_NONE, 1, G_TYPE_UINT);
#line 68 "gitg-ext-notification.c"
	}
}


GType gitg_ext_notification_get_type (void) {
	static volatile gsize gitg_ext_notification_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_ext_notification_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgExtNotificationIface), (GBaseInitFunc) gitg_ext_notification_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
		GType gitg_ext_notification_type_id;
		gitg_ext_notification_type_id = g_type_register_static (G_TYPE_INTERFACE, "GitgExtNotification", &g_define_type_info, 0);
		g_type_interface_add_prerequisite (gitg_ext_notification_type_id, G_TYPE_OBJECT);
		g_once_init_leave (&gitg_ext_notification_type_id__volatile, gitg_ext_notification_type_id);
	}
	return gitg_ext_notification_type_id__volatile;
}



