aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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