diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-06-05 04:53:10 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:26 +0800 |
commit | e7954c3f251aabbf95d099159709c8c66dfedc44 (patch) | |
tree | 08b6fbba02f05aa622cd54f45da223ef43066bb3 /shell/es-event.h | |
parent | dcaf6c52082765c2586a7d35b56b3dc417aa988d (diff) | |
download | gsoc2013-evolution-e7954c3f251aabbf95d099159709c8c66dfedc44.tar.gz gsoc2013-evolution-e7954c3f251aabbf95d099159709c8c66dfedc44.tar.zst gsoc2013-evolution-e7954c3f251aabbf95d099159709c8c66dfedc44.zip |
Coding style and whitespace cleanups.
Diffstat (limited to 'shell/es-event.h')
-rw-r--r-- | shell/es-event.h | 38 |
1 files changed, 1 insertions, 37 deletions
diff --git a/shell/es-event.h b/shell/es-event.h index 31823d118f..eba3f3d6b6 100644 --- a/shell/es-event.h +++ b/shell/es-event.h @@ -33,32 +33,10 @@ typedef struct _ESEventClass ESEventClass; /* Current target description */ enum _es_event_target_t { - ES_EVENT_TARGET_STATE, - ES_EVENT_TARGET_UPGRADE, - ES_EVENT_TARGET_SHELL, - ES_EVENT_TARGET_COMPONENT + ES_EVENT_TARGET_UPGRADE }; -/* Flags that qualify TARGET_STATE */ -enum { - ES_EVENT_STATE_ONLINE = 1<<0, - ES_EVENT_STATE_OFFLINE = 1<<1 -}; - -typedef struct _ESEventTargetState ESEventTargetState; typedef struct _ESEventTargetUpgrade ESEventTargetUpgrade; -typedef struct _ESEventTargetShell ESEventTargetShell; -typedef struct _ESEventTargetComponent ESEventTargetComponent; - -struct _ESEventTargetShell { - EEventTarget target; -}; - -struct _ESEventTargetState { - EEventTarget target; - - gint state; -}; struct _ESEventTargetUpgrade { EEventTarget target; @@ -68,12 +46,6 @@ struct _ESEventTargetUpgrade { gint revision; }; -struct _ESEventTargetComponent { - EEventTarget target; - - const gchar *id; -}; - typedef struct _EEventItem ESEventItem; /* The object */ @@ -89,19 +61,11 @@ struct _ESEventClass { GType es_event_get_type (void); ESEvent * es_event_peek (void); -ESEventTargetShell * - es_event_target_new (ESEvent *eme); -ESEventTargetState * - es_event_target_new_state (ESEvent *emp, - gint state); ESEventTargetUpgrade * es_event_target_new_upgrade (ESEvent *event, gint major, gint minor, gint revision); -ESEventTargetComponent * - es_event_target_new_component (ESEvent *event, - const gchar *id); /* ********************************************************************** */ |