mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
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
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user