You are not logged in.

#1 2013-04-25 10:58:46

kris7t
Member
Registered: 2013-04-25
Posts: 20

[SOLVED] Gtk3 file open dialog Gio error

When opening a file open dialog in a Gtk3 app after the update to 3.8, programs fail with the following error:

GLib-GIO-ERROR **: attempting to create schema 'org.gtk.Settings.FileChooser' without a path

I tried running gsettings-data-convert and glib-compile-schemas manually with no avail. The file /usr/share/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml contains

<schema id='org.gtk.Settings.FileChooser' path='/org/gtk/settings/file-chooser/'>

so there is a path specified in the schema. Judging by the source of Gio, Passing NULL for the path to the GSettings constructor (which presumable happens here) should be legal in this case.

Anyone else having this problem?
Thanks.

Last edited by kris7t (2013-04-25 16:58:19)

Offline

#2 2013-04-25 16:58:06

kris7t
Member
Registered: 2013-04-25
Posts: 20

Re: [SOLVED] Gtk3 file open dialog Gio error

Ah, finally found the reason for this. I had an old-ish Gtk+ (git HEAD of branch gtk-3-6 from a few weeks before) installed from source in /usr/local. Somehow its schemas took precendence over 3.8, resulting in the error.

Offline

Board footer

Powered by FluxBB