From 1b38cd4afa45b9f7895021b861dfea9add97c70b Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Fri, 2 Sep 2005 16:44:57 +0000 Subject: [PATCH] gst/gstelement.h: Add magical pixie dust to make glib-mkenums consider this enum an enum and not a flags. Original commit message from CVS: 2005-09-02 Andy Wingo * gst/gstelement.h: Add magical pixie dust to make glib-mkenums consider this enum an enum and not a flags. --- ChangeLog | 5 +++++ gst/gstelement.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index dea768edc4..6f1dd74795 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-09-02 Andy Wingo + + * gst/gstelement.h: Add magical pixie dust to make glib-mkenums + consider this enum an enum and not a flags. + 2005-09-02 Stefan Kost * docs/gst/gstreamer-docs.sgml: diff --git a/gst/gstelement.h b/gst/gstelement.h index cdb885a210..e6c7dfab67 100644 --- a/gst/gstelement.h +++ b/gst/gstelement.h @@ -98,7 +98,7 @@ _gst_element_get_state_change (GstElement *e) #endif /* FIXME: How to deal with lost_state ? */ -typedef enum +typedef enum /*< flags=0 >*/ { GST_STATE_CHANGE_NULL_TO_READY = 1<<(GST_STATE_NULL+8) | 1<