diff options
author | Mike Gorse <mgorse@novell.com> | 2010-12-29 19:12:55 -0500 |
---|---|---|
committer | Mike Gorse <mgorse@novell.com> | 2010-12-29 19:12:55 -0500 |
commit | f8230043c35757edf02c2f8ce7217f51294e52e8 (patch) | |
tree | 236dc8f942d2b2d12eb3b3bc4ee525a7863ef9a8 /atspi/atspi-misc-private.h | |
parent | 92511ee7ab20a3781fc9a337b6933ab8ca20d2a2 (diff) | |
download | at-spi2-core-f8230043c35757edf02c2f8ce7217f51294e52e8.tar.gz |
Initial pass at adding i18n and proper object disposal
Objects are now "disposed" when RemoveAccessible is received or the application
goes away. This allows the objects to be dereferenced and properly cleaned up.
Also fix some related bugs and add i18n.
Some reference leaks remain, however.
Diffstat (limited to 'atspi/atspi-misc-private.h')
-rw-r--r-- | atspi/atspi-misc-private.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/atspi/atspi-misc-private.h b/atspi/atspi-misc-private.h index ec870494..4814719f 100644 --- a/atspi/atspi-misc-private.h +++ b/atspi/atspi-misc-private.h @@ -158,4 +158,24 @@ void _atspi_dbus_set_state (AtspiAccessible *accessible, DBusMessageIter *iter); dbus_message_unref (message); \ return (ret); \ } + + +/** + * ATSPI_ERROR: + * + * Error domain for AT-SPI IPC failures. Errors in this domain will + * be from the #ATSPIAtspiError enumeration. See #GError for information on + * error domains. + */ +#define ATSPI_ERROR atspi_error_quark() +GQuark atspi_error_quark (void); + +/** + * AtspiError: + * @ATSPI_APPLICATION_NO_LONGER_EXISTS: The application has quit. + */ +typedef enum +{ + ATSPI_ERROR_APPLICATION_GONE +} AtspiError; #endif /* _ATSPI_MISC_PRIVATE_H_ */ |