Re: Embedding GSettings schema in binary
- Date: Wed, 7 Oct 2015 17:20:36 +0100
- From: Emmanuele Bassi <ebassi@xxxxxxxxx>
- Subject: Re: Embedding GSettings schema in binary
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:
[@] ebassi [@gmail.com]
gtk-list mailing list