gedit-command-view: fix missing cast