aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-16 22:55:41 -0600
committerTed Gould <ted@gould.cx>2011-02-16 22:55:41 -0600
commit093bb7435efaf19668a194d4fda5eae691e784eb (patch)
treef79f255077949c8b08c0eb20eb6617d698af2f75
parent52a86fa21af7177cd4adb71a1d5d034d30f91eaa (diff)
downloadlibdbusmenu-093bb7435efaf19668a194d4fda5eae691e784eb.tar.gz
libdbusmenu-093bb7435efaf19668a194d4fda5eae691e784eb.tar.bz2
libdbusmenu-093bb7435efaf19668a194d4fda5eae691e784eb.zip
Changing the definition style to make mkenums happy.
-rw-r--r--libdbusmenu-glib/types.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libdbusmenu-glib/types.h b/libdbusmenu-glib/types.h
index aec8573..f6d8daf 100644
--- a/libdbusmenu-glib/types.h
+++ b/libdbusmenu-glib/types.h
@@ -41,12 +41,11 @@ G_BEGIN_DECLS
The direction of text that the strings that this server
will be sending strings as.
*/
-typedef enum _DbusmenuTextDirection DbusmenuTextDirection;
-enum _DbusmenuTextDirection { /*< prefix=DBUSMENU >*/
+typedef enum { /*< prefix=DBUSMENU_TEXT_DIRECTION >*/
DBUSMENU_TEXT_DIRECTION_NONE, /*< nick=none >*/
DBUSMENU_TEXT_DIRECTION_LTR, /*< nick=ltr >*/
DBUSMENU_TEXT_DIRECTION_RTL /*< nick=rtl >*/
-};
+} DbusmenuTextDirection;
G_END_DECLS