Fix warnings in ctkTest and ctkVTKRenderViewEventTranslator test

Marking the function inline removes the "function unused" warning
Merge branch 'fix-compilation-warnings'

* fix-compilation-warnings:
  Fix warnings in ctkTest and ctkVTKRenderViewEventTranslator test