Re: Embedding GSettings schema in binary

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

 



Hi;

On 3 October 2015 at 20:45, George Barrett <bob@xxxxxxxxx> wrote:
> Hi, I was curious about the possibility of adding a gschema to an
> application's GResources (or something similar). I'm using the GSettings API
> for a small command-line application that uses the keyfile GSettingsBackend,
> no (intentional) interaction with dconf, and feel that the need to add the
> app's gschema to the system's store is a bit of an onerous un-necessity.
> Does anyone have any tips they can offer me?

No, currently it's not possible to include schemas inside a gresource.

There's some discussion on allowing creating a GSettingsSchemaSource
from a GResource on this bug:
https://bugzilla.gnome.org/show_bug.cgi?id=667937

Ciao,
 Emmanuele.

-- 
https://www.bassi.io
[@] ebassi [@gmail.com]
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list



[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux