gedit-view: Fix previous commit to build with gcc at least

We need {} to create a new block in which variables can be declared.