Re: Embedding GSettings schema in binary
- From: Emmanuele Bassi <ebassi gmail com>
- To: George Barrett <bob bob131 so>
- Cc: ML-gtk <gtk-list gnome org>
- Subject: Re: Embedding GSettings schema in binary
- Date: Wed, 7 Oct 2015 17:20:36 +0100
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]