thumb-tool: replace g_error