Skip to content

util: use Gio.Settings.new_full()

Christian Hergert requested to merge wip/chergert/fix-settings into main

With recent changes in GNOME/GJS!873 the code to create a Gio.Settings from a Gio.SettingsSchema and path broke. This can be seen on GNOME OS in that gnome-characters fails to launch.

  JS ERROR: Error: Value of property 'settings_schema' is not of type Gio.SettingsSchema
  _init@resource:///org/gnome/gjs/modules/core/overrides/Gio.js:747:23
  getSettings@resource:///org/gnome/Characters/js/util.js:72:16
  vfunc_startup@resource:///org/gnome/Characters/js/main.js:83:25
  main@resource:///org/gnome/Characters/js/main.js:121:32
  run@resource:///org/gnome/gjs/modules/script/package.js:206:19
  @/home/christian/.local/bin/gnome-characters:6:17

Fixes #131 (closed)

Edited by Christian Hergert

Merge request reports