GObject.MainLoop is deprecated