[-Werror=unused-function]. First, because this is static function define it inline. Second, use GCC extension to fully cover possible cases with Clang. --HG-- branch : release
Only GUI thread can show message boxes. --HG-- branch : release