aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-10-17 22:25:10 -0500
committerTed Gould <ted@canonical.com>2009-10-17 22:25:10 -0500
commit72815e195b42b8c4ed94f09af4b86a0d94393e5e (patch)
tree0f462df1fa68bf689036afb5b413064a7bfb8a3a
parent06111bcb8f073c9e574d523d03ecf27f7a6d22e4 (diff)
downloadlibayatana-appindicator-72815e195b42b8c4ed94f09af4b86a0d94393e5e.tar.gz
libayatana-appindicator-72815e195b42b8c4ed94f09af4b86a0d94393e5e.tar.bz2
libayatana-appindicator-72815e195b42b8c4ed94f09af4b86a0d94393e5e.zip
Getting the name change into the templates properly.
-rw-r--r--src/libcustomindicator/custom-indicator-enum-types.c.in2
-rw-r--r--src/libcustomindicator/custom-indicator-enum-types.h.in6
2 files changed, 4 insertions, 4 deletions
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 ***/