aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-03-04 09:33:17 -0600
committerTed Gould <ted@gould.cx>2011-03-04 09:33:17 -0600
commit1a1e6c4c24276b7d921d729c277e0c2fd7405d40 (patch)
tree3231e3feea02c708b466fd3e8aa55dc927ddfb1b /libdbusmenu-glib
parent5debce23eeb45e440a2e3be9f67c6eb2e2a78e31 (diff)
parentf753b6b03be3585bb9f96b276afffa0164a9a9e3 (diff)
downloadlibdbusmenu-1a1e6c4c24276b7d921d729c277e0c2fd7405d40.tar.gz
libdbusmenu-1a1e6c4c24276b7d921d729c277e0c2fd7405d40.tar.bz2
libdbusmenu-1a1e6c4c24276b7d921d729c277e0c2fd7405d40.zip
Fix the enum templates
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r--libdbusmenu-glib/enum-types.c.in2
-rw-r--r--libdbusmenu-glib/enum-types.h.in5
2 files changed, 5 insertions, 2 deletions
diff --git a/libdbusmenu-glib/enum-types.c.in b/libdbusmenu-glib/enum-types.c.in
index 9395f5f..40f1759 100644
--- a/libdbusmenu-glib/enum-types.c.in
+++ b/libdbusmenu-glib/enum-types.c.in
@@ -31,7 +31,7 @@ License version 3 and version 2.1 along with this program. If not, see
/*** END file-header ***/
/*** BEGIN file-production ***/
-#include "@filename@"
+#include "@basename@"
/*** END file-production ***/
/*** BEGIN value-header ***/
diff --git a/libdbusmenu-glib/enum-types.h.in b/libdbusmenu-glib/enum-types.h.in
index 488b615..5758438 100644
--- a/libdbusmenu-glib/enum-types.h.in
+++ b/libdbusmenu-glib/enum-types.h.in
@@ -44,13 +44,16 @@ G_END_DECLS
/*** BEGIN file-production ***/
/* Enumerations from file: "@filename@" */
-#include "@filename@"
+#include "@basename@"
+
/*** END file-production ***/
/*** BEGIN value-header ***/
+
GType @enum_name@_get_type (void) G_GNUC_CONST;
const gchar * @enum_name@_get_nick (@EnumName@ value) G_GNUC_CONST;
@EnumName@ @enum_name@_get_value_from_nick (const gchar * nick) G_GNUC_CONST;
+
/**
DBUSMENU_TYPE_@ENUMSHORT@: