Remove the unused ClutterEventFlags enum and the flags member of

the ClutterEvent structure. ClutterEvent objects are not added until
translated so they do not need a 'pending' state.
This commit is contained in:
Emmanuele Bassi 2007-03-25 11:48:02 +00:00
parent e3ab4b5e08
commit 922aafbd2d
2 changed files with 0 additions and 9 deletions

View File

@ -318,9 +318,7 @@ clutter_event_new (ClutterEventType type)
event_hash = g_hash_table_new (g_direct_hash, NULL); event_hash = g_hash_table_new (g_direct_hash, NULL);
new_event = g_slice_new0 (ClutterEvent); new_event = g_slice_new0 (ClutterEvent);
new_event->type = new_event->any.type = type; new_event->type = new_event->any.type = type;
new_event->flags = CLUTTER_EVENT_NONE;
g_hash_table_insert (event_hash, new_event, GUINT_TO_POINTER (1)); g_hash_table_insert (event_hash, new_event, GUINT_TO_POINTER (1));

View File

@ -60,12 +60,6 @@ typedef enum
CLUTTER_DESTROY_NOTIFY CLUTTER_DESTROY_NOTIFY
} ClutterEventType; } ClutterEventType;
typedef enum
{
CLUTTER_EVENT_NONE = 0,
CLUTTER_EVENT_PENDING = 1 << 0
} ClutterEventFlags;
typedef enum typedef enum
{ {
CLUTTER_SCROLL_UP, CLUTTER_SCROLL_UP,
@ -161,7 +155,6 @@ struct _ClutterStageStateEvent
union _ClutterEvent union _ClutterEvent
{ {
ClutterEventType type; ClutterEventType type;
ClutterEventFlags flags;
ClutterAnyEvent any; ClutterAnyEvent any;
ClutterButtonEvent button; ClutterButtonEvent button;