glib2: remove trailing spaces