Sugar Labs
Port GObject based methods and constants references to GLib in Panorama-activity
Thousands of PyGIDeprecationWarning occur in shell.log and activity logs when using PyGObject development releases, because of our use of GObject instead of GLib for certain methods. These should be changed. Examples include;
GObject.idle_add
toGLib.idle_add
,GObject.timeout_add
toGLib.timeout_add
,GObject.source_remove
toGLib.source_remove
,GObject.PRIORITY_HIGH
toGLib.PRIORITY_HIGH
, Also a few other warnings occur within GObject alone;GObject.property
is to change toGObject.Property
,GObject.PARAM_*
is to change toGObject.ParamFlags.*
,
Also positional arguments with the GObject constructor have been deprecated, we must use keywords instead, reference: https://wiki.gnome.org/PyGObject/InitializerDeprecations
To understand the task better, refer to items in the Done Section.
For background information check here.
Task tags
Students who completed this task
Alejandro Garcia