projects
/
platform
/
core
/
uifw
/
at-spi2-atk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2001-08-24 Mark McLoughlin <mark@skynet.ie>
[platform/core/uifw/at-spi2-atk.git]
/
libspi
/
listener.c
diff --git
a/libspi/listener.c
b/libspi/listener.c
index
0a804e7
..
9dcdb1b
100644
(file)
--- a/
libspi/listener.c
+++ b/
libspi/listener.c
@@
-72,18
+72,25
@@
impl_notify_event (PortableServer_Servant servant,
CORBA_Environment *ev)
{
#ifdef SPI_DEBUG
CORBA_Environment *ev)
{
#ifdef SPI_DEBUG
- fprintf (stderr, "notify
...\n"
);
+ fprintf (stderr, "notify
%s...\n", e->type
);
fprintf (stderr, "source name: '%s'\n",
fprintf (stderr, "source name: '%s'\n",
- Accessibility_Accessible__get_name(e->
target
, ev));
+ Accessibility_Accessible__get_name(e->
source
, ev));
if (ev->_major != CORBA_NO_EXCEPTION) {
fprintf(stderr,
("Accessibility app error: exception during event notification: %s\n"),
CORBA_exception_id(ev));
exit(-1);
}
if (ev->_major != CORBA_NO_EXCEPTION) {
fprintf(stderr,
("Accessibility app error: exception during event notification: %s\n"),
CORBA_exception_id(ev));
exit(-1);
}
+ /*
+ fprintf (stderr, "source is component ? : %s\n",
+ Accessibility_Accessible_queryInterface (e->source,
+ "IDL:Accessibility/Component:1.0",
+ ev)
+ ? "yes" : "no");
+ */
+ /* TODO: free/deref the returned interface! */
#endif
#endif
- Accessibility_Accessible_unref(e->target, ev);
-
+ Bonobo_Unknown_unref (e->source, ev);
}
static void
}
static void