gui: fix build with older gtk

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