gui: fix build errors introduced in the previous commit

Fixes commit 8190657d9fb808277f29e5535983a0a1f55badcf

Signed-off-by: Jakub Filak <jfilak@redhat.com>