summaryrefslogtreecommitdiff
path: root/atspi/atspi-types.h
diff options
context:
space:
mode:
authorMike Gorse <mgorse@novell.com>2010-12-29 11:44:01 -0500
committerMike Gorse <mgorse@novell.com>2010-12-29 11:44:01 -0500
commit92511ee7ab20a3781fc9a337b6933ab8ca20d2a2 (patch)
treeff61e72768b235e1995f64db78ca8246d31f5164 /atspi/atspi-types.h
parent1f2fe76d6fe2f708ad20b75c07aaaf177249382a (diff)
downloadat-spi2-core-92511ee7ab20a3781fc9a337b6933ab8ca20d2a2.tar.gz
Revert "Send an event type as a struct rather than a concatenated string"
This reverts commit 1e08268e94a4143f4b6f4bd29e08c9f1a868bb45.
Diffstat (limited to 'atspi/atspi-types.h')
-rw-r--r--atspi/atspi-types.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/atspi/atspi-types.h b/atspi/atspi-types.h
index f1ad80cd..e56f93f0 100644
--- a/atspi/atspi-types.h
+++ b/atspi/atspi-types.h
@@ -54,7 +54,7 @@ typedef guint AtspiDeviceEventMask;
typedef struct _AtspiDeviceEvent AtspiDeviceEvent;
struct _AtspiDeviceEvent
{
- AtspiDeviceEventType type;
+ AtspiEventType type;
guint id;
gushort hw_code;
gushort modifiers;
@@ -80,18 +80,10 @@ struct _AtspiKeyDefinition
gint unused;
};
-typedef struct _AtspiEventType AtspiEventType;
-struct _AtspiEventType
-{
- gchar *klass;
- gchar *major;
- gchar *minor;
-};
-
typedef struct _AtspiEvent AtspiEvent;
struct _AtspiEvent
{
- AtspiEventType type;
+ gchar *type;
AtspiAccessible *source;
gint detail1;
gint detail2;