diff options
author | Ryan Lortie <desrt@desrt.ca> | 2013-10-26 18:57:24 -0400 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2013-10-27 10:42:50 -0700 |
commit | 84fa07aeb1e3e41deac3508231712967366abfbd (patch) | |
tree | d17f59a7ff8091c3b37e2199fb2cd16e83eca212 /gio/gsettingsschema-internal.h | |
parent | 0ef43ba743d0b3d1f8c13cd7fc8e3abab5609c49 (diff) |
Make GSettingsSchemaKey public
Take this private API and make it public along with a boxed type and
ref/unref functions.
Future commits will add accessors with new functionality and some that
allow us to deprecate functions on GSettings itself (such as
g_settings_get_range).
https://bugzilla.gnome.org/show_bug.cgi?id=668232
Diffstat (limited to 'gio/gsettingsschema-internal.h')
-rw-r--r-- | gio/gsettingsschema-internal.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gio/gsettingsschema-internal.h b/gio/gsettingsschema-internal.h index 7b002c2be..d701f5ce2 100644 --- a/gio/gsettingsschema-internal.h +++ b/gio/gsettingsschema-internal.h @@ -22,7 +22,7 @@ #include "gsettingsschema.h" -typedef struct +struct _GSettingsSchemaKey { GSettingsSchema *schema; const gchar *name; @@ -39,7 +39,9 @@ typedef struct const GVariantType *type; GVariant *minimum, *maximum; GVariant *default_value; -} GSettingsSchemaKey; + + gint ref_count; +}; const gchar * g_settings_schema_get_gettext_domain (GSettingsSchema *schema); GVariantIter * g_settings_schema_get_value (GSettingsSchema *schema, |