sugarlabs / sugar

Sugar GTK shell
GNU General Public License v3.0
253 stars 241 forks source link

PyGIDeprecationWarning #866

Closed quozl closed 4 years ago

quozl commented 4 years ago

On Ubuntu 19.04 shell.log contains

/usr/lib/python3.7/dist-packages/jarabe/main.py:341: PyGIDeprecationWarning: Since version 3.11, calling threads_init is no longer needed. See: https://wiki.gnome.org/PyGObject/Threading
  GLib.threads_init()
/usr/lib/python3.7/dist-packages/jarabe/main.py:249: PyGIDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "schema" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  settings = Gio.Settings('org.sugarlabs.date')
/usr/lib/python3.7/dist-packages/jarabe/main.py:256: PyGIDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "schema" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  settings = Gio.Settings('org.sugarlabs.font')
/usr/lib/python3.7/dist-packages/jarabe/main.py:270: PyGIDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. Please specify keyword(s) for "schema" or use a class specific constructor. See: https://wiki.gnome.org/PyGObject/InitializerDeprecations
  g_mode = Gio.Settings('org.sugarlabs.system.proxy').get_string('mode')

No functional impact.

quozl commented 4 years ago

Fixed in a private branch.