diff --git a/plugins/sip/calls-sip-enums.c.in b/plugins/sip/calls-sip-enums.c.in deleted file mode 100644 index a0f7b25..0000000 --- a/plugins/sip/calls-sip-enums.c.in +++ /dev/null @@ -1,40 +0,0 @@ -/*** BEGIN file-header ***/ - -#include "config.h" - -#include "calls-sip-util.h" - -#include "calls-sip-enums.h" - -/*** END file-header ***/ - -/*** BEGIN file-production ***/ -/* enumerations from "@filename@" */ -/*** END file-production ***/ - -/*** BEGIN value-header ***/ -GType -@enum_name@_get_type (void) -{ - static GType etype = 0; - if (G_UNLIKELY(etype == 0)) { - static const G@Type@Value values[] = { -/*** END value-header ***/ - -/*** BEGIN value-production ***/ - { @VALUENAME@, "@VALUENAME@", "@valuenick@" }, -/*** END value-production ***/ - -/*** BEGIN value-tail ***/ - { 0, NULL, NULL } - }; - etype = g_@type@_register_static (g_intern_static_string ("@EnumName@"), values); - } - return etype; -} - -/*** END value-tail ***/ - -/*** BEGIN file-tail ***/ - -/*** END file-tail ***/ diff --git a/plugins/sip/calls-sip-enums.h.in b/plugins/sip/calls-sip-enums.h.in deleted file mode 100644 index 2070d01..0000000 --- a/plugins/sip/calls-sip-enums.h.in +++ /dev/null @@ -1,21 +0,0 @@ -/*** BEGIN file-header ***/ -#pragma once - -#include - -G_BEGIN_DECLS -/*** END file-header ***/ - -/*** BEGIN file-production ***/ - -/* enumerations from "@basename@" */ -/*** END file-production ***/ - -/*** BEGIN value-header ***/ -GType @enum_name@_get_type (void); -#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ()) -/*** END value-header ***/ - -/*** BEGIN file-tail ***/ -G_END_DECLS -/*** END file-tail ***/ diff --git a/plugins/sip/meson.build b/plugins/sip/meson.build index 872dfd5..f092d15 100644 --- a/plugins/sip/meson.build +++ b/plugins/sip/meson.build @@ -59,10 +59,8 @@ sip_enum_headers = [ 'calls-sip-util.h', ] -sip_enums = gnome.mkenums('calls-sip-enums', - h_template: 'calls-sip-enums.h.in', - c_template: 'calls-sip-enums.c.in', - sources: sip_enum_headers, +sip_enums = gnome.mkenums_simple('calls-sip-enums', + sources: sip_enum_headers, ) sip_sources += sip_enums