search-tool: Fix GTK+ deprecation warnings.