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.
Test result
No error related to the port from GObject to GLib.
tonadev@TDPC:~/Documents/Work/OpenSource/code_in/sugarlabs/infoslicer$ sugar-activity
(sugar-activity:5708): Gtk-WARNING **: 13:11:20.483: Theme parsing error: gtk-widgets.css:16:32: The style property GtkExpander:expander-size is deprecated and shouldn't be used anymore. It will be removed in a future version
(sugar-activity:5708): Gtk-WARNING **: 13:11:20.483: Theme parsing error: gtk-widgets.css:17:35: The style property GtkExpander:expander-spacing is deprecated and shouldn't be used anymore. It will be removed in a future version
1540753881.566323 WARNING root: icon_size is deprecated. Use pixel_size instead.
1540753881.567308 WARNING root: icon_size is deprecated. Use pixel_size instead.
Explanation
This PR ports GObject based methods to GLib.
Reason
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.
Test result
No error related to the port from GObject to GLib.