AtspiEventListenerCb is currently defined as (transfer
full), so the caller owns the struct and needs to free it, so it should not be const.
}
static void
-remove_datum (const AtspiEvent *event, void *user_data)
+remove_datum (AtspiEvent *event, void *user_data)
{
AtspiEventListenerSimpleCB cb = user_data;
cb (event);
* A function prototype for callbacks via which clients are notified of AT-SPI events.
*
**/
-typedef void (*AtspiEventListenerCB) (const AtspiEvent *event,
+typedef void (*AtspiEventListenerCB) (AtspiEvent *event,
void *user_data);
/**
g_boxed_free (ATSPI_TYPE_EVENT, event);
}
+int
main()
{
atspi_init ();