aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib/enum-types.h.in
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-17 23:24:41 -0600
committerTed Gould <ted@gould.cx>2011-02-17 23:24:41 -0600
commit5c0f6f04e9be75e273049bf5b4134185c12d32c1 (patch)
tree8a8fa94402faba74a1a490e68f5e683fda9fb017 /libdbusmenu-glib/enum-types.h.in
parentf80eb0bcc21a8e1917b290b50ef400e2c8fb090f (diff)
downloadlibdbusmenu-5c0f6f04e9be75e273049bf5b4134185c12d32c1.tar.gz
libdbusmenu-5c0f6f04e9be75e273049bf5b4134185c12d32c1.tar.bz2
libdbusmenu-5c0f6f04e9be75e273049bf5b4134185c12d32c1.zip
Adding a get_nick function for our enums
Diffstat (limited to 'libdbusmenu-glib/enum-types.h.in')
-rw-r--r--libdbusmenu-glib/enum-types.h.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/libdbusmenu-glib/enum-types.h.in b/libdbusmenu-glib/enum-types.h.in
index 83b4bd2..eb24453 100644
--- a/libdbusmenu-glib/enum-types.h.in
+++ b/libdbusmenu-glib/enum-types.h.in
@@ -44,10 +44,12 @@ G_END_DECLS
/*** BEGIN file-production ***/
/* Enumerations from file: "@filename@" */
+#include "@filename@"
/*** 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;
#define DBUSMENU_TYPE_@ENUMSHORT@ (@enum_name@_get_type())
/*** END value-header ***/