gui: fix mismatched return macros