AccessibleTextChangedEvent_getChangeString (const AccessibleEvent *e)
{
const InternalEvent *foo = (InternalEvent *) e;
- /* TODO: check the event type? expensive... */
+ /* TODO: check the event type. */
return cspi_internal_event_get_text (foo);
}
AccessibleTextSelectionChangedEvent_getSelectionString (const AccessibleEvent *e)
{
const InternalEvent *foo = (InternalEvent *) e;
- /* TODO: check the event type? expensive... */
+ /* TODO: check the event type. */
return cspi_internal_event_get_text (foo);
}
AccessibleWindowEvent_getTitleString (const AccessibleEvent *e)
{
const InternalEvent *foo = (InternalEvent *) e;
- /* TODO: check the event type? expensive... */
+ /* TODO: check the event type. */
return cspi_internal_event_get_text (foo);
}
AccessibleTableCaptionChangedEvent_getCaptionString (const AccessibleEvent *e)
{
const InternalEvent *foo = (InternalEvent *) e;
- /* TODO: check the event type? expensive... */
+ /* TODO: check the event type. */
return cspi_internal_event_get_text (foo);
}
AccessibleTableRowDescriptionChangedEvent_getDescriptionString (const AccessibleEvent *e)
{
const InternalEvent *foo = (InternalEvent *) e;
- /* TODO: check the event type? expensive... */
+ /* TODO: check the event type. */
return cspi_internal_event_get_text (foo);
}
AccessibleTableColumnDescriptionChangedEvent_getDescriptionString (const AccessibleEvent *e)
{
const InternalEvent *foo = (InternalEvent *) e;
- /* TODO: check the event type? expensive... */
+ /* TODO: check the event type. */
return cspi_internal_event_get_text (foo);
}
AccessibleDescriptionChangedEvent_getDescriptionString (const AccessibleEvent *e)
{
const InternalEvent *foo = (InternalEvent *) e;
- /* TODO: check the event type? expensive... */
+ /* TODO: check the event type. */
return cspi_internal_event_get_text (foo);
}
{
event->ref_count--;
if (event->ref_count < 1)
- cspi_internal_event_remove (event);
+ {
+ cspi_internal_event_remove (event);
+ g_free ((gpointer)e->type);
+ Accessible_unref (e->source);
+ CORBA_free (event->data);
+ g_free ((gpointer)e);
+ }
}
}
}