1 /*** BEGIN file-header ***/
3 #include "gtkprivate.h"
4 #include "gtkprivatetypebuiltins.h"
6 /*** END file-header ***/
8 /*** BEGIN file-production ***/
9 /* enumerations from "@filename@" */
10 /*** END file-production ***/
12 /*** BEGIN value-header ***/
14 _@enum_name@_get_type (void)
16 static GType etype = 0;
17 if (G_UNLIKELY(etype == 0)) {
18 static const G@Type@Value values[] = {
19 /*** END value-header ***/
21 /*** BEGIN value-production ***/
22 { @VALUENAME@, "@VALUENAME@", "@valuenick@" },
23 /*** END value-production ***/
25 /*** BEGIN value-tail ***/
28 etype = g_@type@_register_static (g_intern_static_string ("@EnumName@"), values);
33 /*** END value-tail ***/
35 /*** BEGIN file-tail ***/
37 /*** END file-tail ***/