From 72815e195b42b8c4ed94f09af4b86a0d94393e5e Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Sat, 17 Oct 2009 22:25:10 -0500 Subject: Getting the name change into the templates properly. --- src/libcustomindicator/custom-indicator-enum-types.c.in | 2 +- src/libcustomindicator/custom-indicator-enum-types.h.in | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libcustomindicator') diff --git a/src/libcustomindicator/custom-indicator-enum-types.c.in b/src/libcustomindicator/custom-indicator-enum-types.c.in index 3f97040..51512f6 100644 --- a/src/libcustomindicator/custom-indicator-enum-types.c.in +++ b/src/libcustomindicator/custom-indicator-enum-types.c.in @@ -9,7 +9,7 @@ /*** BEGIN value-header ***/ GType -@EnumName@_get_type (void) +@enum_name@_get_type (void) { static GType etype = 0; if (G_UNLIKELY(etype == 0)) { diff --git a/src/libcustomindicator/custom-indicator-enum-types.h.in b/src/libcustomindicator/custom-indicator-enum-types.h.in index 4a6c9bd..e037be7 100644 --- a/src/libcustomindicator/custom-indicator-enum-types.h.in +++ b/src/libcustomindicator/custom-indicator-enum-types.h.in @@ -21,13 +21,13 @@ G_END_DECLS /*** BEGIN value-header ***/ /** - @EnumName@_get_type: + @enum_name@_get_type: Builds a glib type for the @EnumName@ enumeration. Return value: A registered type for the enum */ -GType @EnumName@_get_type (void) G_GNUC_CONST; -#define CUSTOM_INDICATOR_TYPE_@ENUMSHORT@ (@EnumName@_get_type()) +GType @enum_name@_get_type (void) G_GNUC_CONST; +#define CUSTOM_INDICATOR_TYPE_@ENUMSHORT@ (@enum_name@_get_type()) /*** END value-header ***/ -- cgit v1.2.3