Re: gtk3: FileChooser schema not found



On Sun, 13 Feb 2011, Allin Cottrell wrote:

I have glib 2.28.0 installed, along with gtk 2.24.0 and gtk 3.0.0.
Calls to the FileChooser in my app work as expected in 2.24, but
in 3.0.0 they produce:

GLib-GIO-ERROR **: Settings schema 'org.gtk.Settings.FileChooser'
is not installed

and the program aborts. The file
org.gtk.Settings.FileChooser.gschema.xml is installed in
$prefix/share/glib-2.0/schemas (2133 bytes).

Solution: $prefix/share is not searched by default. This path must
be present in XDG_DATA_DIRS if the FileChooser is to work, as in
XDG_DATA_DIRS=/opt/gtk3/share:/usr/share...

Allin Cottrell



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]