Remove curly braces around one-line blocks

To fully follow GLib/GTK+ code conventions.