/* reset-gamepad-mapping-dialog.c generated by valac 0.36.12.13-3ae08, the Vala compiler
 * generated from reset-gamepad-mapping-dialog.vala, do not modify */

/* This file is part of GNOME Games. License: GPL-3.0+.*/

#include <glib.h>
#include <glib-object.h>
#include <gtk/gtk.h>


#define GAMES_TYPE_RESET_GAMEPAD_MAPPING_DIALOG (games_reset_gamepad_mapping_dialog_get_type ())
#define GAMES_RESET_GAMEPAD_MAPPING_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAMES_TYPE_RESET_GAMEPAD_MAPPING_DIALOG, GamesResetGamepadMappingDialog))
#define GAMES_RESET_GAMEPAD_MAPPING_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GAMES_TYPE_RESET_GAMEPAD_MAPPING_DIALOG, GamesResetGamepadMappingDialogClass))
#define GAMES_IS_RESET_GAMEPAD_MAPPING_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAMES_TYPE_RESET_GAMEPAD_MAPPING_DIALOG))
#define GAMES_IS_RESET_GAMEPAD_MAPPING_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GAMES_TYPE_RESET_GAMEPAD_MAPPING_DIALOG))
#define GAMES_RESET_GAMEPAD_MAPPING_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GAMES_TYPE_RESET_GAMEPAD_MAPPING_DIALOG, GamesResetGamepadMappingDialogClass))

typedef struct _GamesResetGamepadMappingDialog GamesResetGamepadMappingDialog;
typedef struct _GamesResetGamepadMappingDialogClass GamesResetGamepadMappingDialogClass;
typedef struct _GamesResetGamepadMappingDialogPrivate GamesResetGamepadMappingDialogPrivate;

struct _GamesResetGamepadMappingDialog {
	GtkMessageDialog parent_instance;
	GamesResetGamepadMappingDialogPrivate * priv;
};

struct _GamesResetGamepadMappingDialogClass {
	GtkMessageDialogClass parent_class;
};


static gpointer games_reset_gamepad_mapping_dialog_parent_class = NULL;

GType games_reset_gamepad_mapping_dialog_get_type (void) G_GNUC_CONST;
enum  {
	GAMES_RESET_GAMEPAD_MAPPING_DIALOG_0_PROPERTY
};
GamesResetGamepadMappingDialog* games_reset_gamepad_mapping_dialog_new (void);
GamesResetGamepadMappingDialog* games_reset_gamepad_mapping_dialog_construct (GType object_type);


GamesResetGamepadMappingDialog* games_reset_gamepad_mapping_dialog_construct (GType object_type) {
	GamesResetGamepadMappingDialog * self = NULL;
	self = (GamesResetGamepadMappingDialog*) g_object_new (object_type, NULL);
	return self;
}


GamesResetGamepadMappingDialog* games_reset_gamepad_mapping_dialog_new (void) {
	return games_reset_gamepad_mapping_dialog_construct (GAMES_TYPE_RESET_GAMEPAD_MAPPING_DIALOG);
}


static void games_reset_gamepad_mapping_dialog_class_init (GamesResetGamepadMappingDialogClass * klass) {
	games_reset_gamepad_mapping_dialog_parent_class = g_type_class_peek_parent (klass);
	gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/Games/ui/reset-gamepad-mapping-dialog.ui");
}


static void games_reset_gamepad_mapping_dialog_instance_init (GamesResetGamepadMappingDialog * self) {
	gtk_widget_init_template (GTK_WIDGET (self));
}


GType games_reset_gamepad_mapping_dialog_get_type (void) {
	static volatile gsize games_reset_gamepad_mapping_dialog_type_id__volatile = 0;
	if (g_once_init_enter (&games_reset_gamepad_mapping_dialog_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (GamesResetGamepadMappingDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) games_reset_gamepad_mapping_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (GamesResetGamepadMappingDialog), 0, (GInstanceInitFunc) games_reset_gamepad_mapping_dialog_instance_init, NULL };
		GType games_reset_gamepad_mapping_dialog_type_id;
		games_reset_gamepad_mapping_dialog_type_id = g_type_register_static (gtk_message_dialog_get_type (), "GamesResetGamepadMappingDialog", &g_define_type_info, 0);
		g_once_init_leave (&games_reset_gamepad_mapping_dialog_type_id__volatile, games_reset_gamepad_mapping_dialog_type_id);
	}
	return games_reset_gamepad_mapping_dialog_type_id__volatile;
}



