/* gitg-ext-preferences.c generated by valac 0.30.0.38-a55d, the Vala compiler
 * generated from gitg-ext-preferences.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 <gtk/gtk.h>


#define GITG_EXT_TYPE_PREFERENCES (gitg_ext_preferences_get_type ())
#define GITG_EXT_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GITG_EXT_TYPE_PREFERENCES, GitgExtPreferences))
#define GITG_EXT_IS_PREFERENCES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GITG_EXT_TYPE_PREFERENCES))
#define GITG_EXT_PREFERENCES_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GITG_EXT_TYPE_PREFERENCES, GitgExtPreferencesIface))

typedef struct _GitgExtPreferences GitgExtPreferences;
typedef struct _GitgExtPreferencesIface GitgExtPreferencesIface;

struct _GitgExtPreferencesIface {
	GTypeInterface parent_iface;
	gchar* (*get_id) (GitgExtPreferences* self);
	gchar* (*get_display_name) (GitgExtPreferences* self);
	GtkWidget* (*get_widget) (GitgExtPreferences* self);
};



GType gitg_ext_preferences_get_type (void) G_GNUC_CONST;
gchar* gitg_ext_preferences_get_id (GitgExtPreferences* self);
gchar* gitg_ext_preferences_get_display_name (GitgExtPreferences* self);
GtkWidget* gitg_ext_preferences_get_widget (GitgExtPreferences* self);


gchar* gitg_ext_preferences_get_id (GitgExtPreferences* self) {
#line 24 "/home/nacho/checkout/gnome/gitg/libgitg-ext/gitg-ext-preferences.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 24 "/home/nacho/checkout/gnome/gitg/libgitg-ext/gitg-ext-preferences.vala"
	return GITG_EXT_PREFERENCES_GET_INTERFACE (self)->get_id (self);
#line 59 "gitg-ext-preferences.c"
}


gchar* gitg_ext_preferences_get_display_name (GitgExtPreferences* self) {
#line 25 "/home/nacho/checkout/gnome/gitg/libgitg-ext/gitg-ext-preferences.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 25 "/home/nacho/checkout/gnome/gitg/libgitg-ext/gitg-ext-preferences.vala"
	return GITG_EXT_PREFERENCES_GET_INTERFACE (self)->get_display_name (self);
#line 68 "gitg-ext-preferences.c"
}


GtkWidget* gitg_ext_preferences_get_widget (GitgExtPreferences* self) {
#line 26 "/home/nacho/checkout/gnome/gitg/libgitg-ext/gitg-ext-preferences.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 26 "/home/nacho/checkout/gnome/gitg/libgitg-ext/gitg-ext-preferences.vala"
	return GITG_EXT_PREFERENCES_GET_INTERFACE (self)->get_widget (self);
#line 77 "gitg-ext-preferences.c"
}


static void gitg_ext_preferences_base_init (GitgExtPreferencesIface * iface) {
#line 22 "/home/nacho/checkout/gnome/gitg/libgitg-ext/gitg-ext-preferences.vala"
	static gboolean initialized = FALSE;
#line 22 "/home/nacho/checkout/gnome/gitg/libgitg-ext/gitg-ext-preferences.vala"
	if (!initialized) {
#line 22 "/home/nacho/checkout/gnome/gitg/libgitg-ext/gitg-ext-preferences.vala"
		initialized = TRUE;
#line 22 "/home/nacho/checkout/gnome/gitg/libgitg-ext/gitg-ext-preferences.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 22 "/home/nacho/checkout/gnome/gitg/libgitg-ext/gitg-ext-preferences.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 22 "/home/nacho/checkout/gnome/gitg/libgitg-ext/gitg-ext-preferences.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 94 "gitg-ext-preferences.c"
	}
}


GType gitg_ext_preferences_get_type (void) {
	static volatile gsize gitg_ext_preferences_type_id__volatile = 0;
	if (g_once_init_enter (&gitg_ext_preferences_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GitgExtPreferencesIface), (GBaseInitFunc) gitg_ext_preferences_base_init, (GBaseFinalizeFunc) NULL, (GClassInitFunc) NULL, (GClassFinalizeFunc) NULL, NULL, 0, 0, (GInstanceInitFunc) NULL, NULL };
		GType gitg_ext_preferences_type_id;
		gitg_ext_preferences_type_id = g_type_register_static (G_TYPE_INTERFACE, "GitgExtPreferences", &g_define_type_info, 0);
		g_type_interface_add_prerequisite (gitg_ext_preferences_type_id, G_TYPE_OBJECT);
		g_once_init_leave (&gitg_ext_preferences_type_id__volatile, gitg_ext_preferences_type_id);
	}
	return gitg_ext_preferences_type_id__volatile;
}



