E_KEYBOARD_SERVICE_NAVI_IFC_NAME, NULL, signals
};
-static gboolean async_keyboard_cb(const AtspiDeviceEvent *stroke, void *data)
+static gboolean async_keyboard_cb(AtspiDeviceEvent *stroke, void *data)
{
DEBUG("AT-SPI DEVICE EVENT: ID(%d) STRING(%s) TYPE(%d) HW_CODE(%d) MODIFIERS(%d) TIMESTAMP(%d)", stroke->id, stroke->event_string, stroke->type, stroke->hw_code, stroke->modifiers, stroke->timestamp);
}
/* There is bug in the api. stroke does not point to const values */
- g_boxed_free(ATSPI_TYPE_DEVICE_EVENT, (AtspiDeviceEvent*)stroke);
+ g_boxed_free(ATSPI_TYPE_DEVICE_EVENT, stroke);
return result;
}