ui/gtk: Fix strcmp() logic