2001-12-08 Michael Meeks <michael@ximian.com>
authormichael <michael@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Sat, 8 Dec 2001 19:17:17 +0000 (19:17 +0000)
committermichael <michael@e2bd861d-eb25-0410-b326-f6ed22b6b98c>
Sat, 8 Dec 2001 19:17:17 +0000 (19:17 +0000)
commit8d44f439f509885221b67efc841a1b429cdd8236
tree2ba87074bba15fcbf7bf14b524285e2d60e0c190
parent30c91ea7d7aa7f1d4f2e0f662c739e26f85b5497
2001-12-08  Michael Meeks  <michael@ximian.com>

* at-bridge/bridge.c (bridge_focus_tracker),
(emit_eventv): fix the same ref. leak.
(register_atk_event_listeners): don't leak.

* cspi/spi-listener-impl.c (cspi_event): more
protection from client code.

* test/test-simple.c (test_desktop): unref the app.

* test/Makefile.am: upd. TESTS.

* at-bridge/bridge.c (bridge_exit_func): release the registry.

* test/keysynth-demo.c (keysynth_exit): unref the listeners.

* cspi/spi_accessible.c (Accessible_queryInterface): constify.

* cspi/spi_registry.c: constify in strings.
(deregisterGlobalEventListenerAll): don't release the ref.

* cspi/spi.h: start removing redundant / conflicting
gtkdoc comments, making the API readable at a glance :-)

* cspi/spi_event.c (AccessibleEventListener_unref): impl.

* test/keysynth-demo.c (keysynth_exit, main): upd.

* test/simple-at.c (main, simple_at_exit): upd.

* test/test-simple.c (unutterable_horror): kill.
(utterable_normal_derefs): kill.
(main): upd & do a setenv before gtk_init, so that we
can use memprof - and to save the pain of remembering
this, if we're running under memprof - don't exit.

* cspi/spi_main.c (SPI_exit): return exit status
for cspi.
(SPI_event_quit): impl.
(SPI_event_main): simplify.
(cspi_is_gnome_app): kill.
(SPI_init): kill isGNOMEapp arg.

* at-bridge/bridge.c (register_atk_event_listeners):
re-instate the unref.
(bridge_exit_func): don't re-activate the registry,
protect vs. theoretical re-entry, use the
AT_BRIDGE_SHUTDOWN env. var to determine whether to
assert a clean shutdown - for regression tests.

git-svn-id: http://svn.gnome.org/svn/at-spi/trunk@150 e2bd861d-eb25-0410-b326-f6ed22b6b98c
16 files changed:
ChangeLog
at-bridge/bridge.c
atk-bridge/bridge.c
cspi/bonobo/cspi-bonobo-listener.c
cspi/spi-listener-impl.c
cspi/spi.h
cspi/spi_accessible.c
cspi/spi_event.c
cspi/spi_main.c
cspi/spi_registry.c
libspi/base.c
test/Makefile.am
test/keysynth-demo.c
test/simple-at.c
test/test-simple.c
util/magnifier.c