Re: Embedding GSettings schema in binary



Hi;

On 3 October 2015 at 20:45, George Barrett <bob bob131 so> 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]


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