Addressing some PyGObject initializer deprecations

https://wiki.gnome.org/action/show/Projects/PyGObject/InitializerDeprecations