Replaced "import gobject" old syntax with "from gi.repository import ..."