Remove an accident dot

https://bugzilla.gnome.org/show_bug.cgi?id=720736
Improve the code format

https://bugzilla.gnome.org/show_bug.cgi?id=720736