From 3ddf85f38b3b29637d4d49cd10571019af27c609 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Wed, 6 Jul 2016 10:17:42 +0000 Subject: [PATCH] Remove generated enumtypes files --- wmud/enumtypes.c | 35 ----------------------------------- wmud/enumtypes.h | 17 ----------------- 2 files changed, 52 deletions(-) delete mode 100644 wmud/enumtypes.c delete mode 100644 wmud/enumtypes.h diff --git a/wmud/enumtypes.c b/wmud/enumtypes.c deleted file mode 100644 index e52e7a4..0000000 --- a/wmud/enumtypes.c +++ /dev/null @@ -1,35 +0,0 @@ - -/* Generated data (by glib-mkenums) */ - -#include "enumtypes.h" -#include "wmudclientstate.h" - -/* enumerations from "wmudclientstate.h" */ -GType -wmud_client_state_get_type(void) -{ - static volatile gsize g_define_type_id__volatile = 0; - - if (g_once_init_enter(&g_define_type_id__volatile)) { - static const GEnumValue values[] = { - { WMUD_CLIENT_STATE_FRESH, "WMUD_CLIENT_STATE_FRESH", "fresh" }, - { WMUD_CLIENT_STATE_PASSWAIT, "WMUD_CLIENT_STATE_PASSWAIT", "passwait" }, - { WMUD_CLIENT_STATE_MENU, "WMUD_CLIENT_STATE_MENU", "menu" }, - { WMUD_CLIENT_STATE_INGAME, "WMUD_CLIENT_STATE_INGAME", "ingame" }, - { WMUD_CLIENT_STATE_YESNO, "WMUD_CLIENT_STATE_YESNO", "yesno" }, - { WMUD_CLIENT_STATE_REGISTERING, "WMUD_CLIENT_STATE_REGISTERING", "registering" }, - { WMUD_CLIENT_STATE_REGEMAIL_CONFIRM, "WMUD_CLIENT_STATE_REGEMAIL_CONFIRM", "regemail-confirm" }, - { 0, NULL, NULL } - }; - - GType g_define_type_id = g_enum_register_static(g_intern_static_string("WmudClientState"), values); - - g_once_init_leave(&g_define_type_id__volatile, g_define_type_id); - } - - return g_define_type_id__volatile; -} - - -/* Generated data ends here */ - diff --git a/wmud/enumtypes.h b/wmud/enumtypes.h deleted file mode 100644 index 089855a..0000000 --- a/wmud/enumtypes.h +++ /dev/null @@ -1,17 +0,0 @@ - -/* Generated data (by glib-mkenums) */ - -#ifndef __WMUD_ENUM_TYPES_H__ -#define __WMUD_ENUM_TYPES_H__ - -#include - - -/* enumerations from "wmudclientstate.h" */ -GType wmud_client_state_get_type(void); -#define WMUD_TYPE_CLIENT_STATE (wmud_client_state_get_type()) - -#endif /* __WMUD_ENUM_TYPES_H__ */ - -/* Generated data ends here */ -