mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 13:06:14 +01:00
change GSettingsBackend.list() API
This commit is contained in:
parent
1b7f645492
commit
84a0605342
@ -65,35 +65,37 @@ struct _GSettingsBackendClass
|
||||
{
|
||||
GObjectClass parent_class;
|
||||
|
||||
gboolean (*supports_context) (const gchar *context);
|
||||
gboolean (*supports_context) (const gchar *context);
|
||||
|
||||
GVariant * (*read) (GSettingsBackend *backend,
|
||||
const gchar *key,
|
||||
const GVariantType *expected_type,
|
||||
gboolean default_value);
|
||||
gchar ** (*list) (GSettingsBackend *backend,
|
||||
const gchar *path,
|
||||
gsize *length);
|
||||
gboolean (*write) (GSettingsBackend *backend,
|
||||
const gchar *key,
|
||||
GVariant *value,
|
||||
gpointer origin_tag);
|
||||
gboolean (*write_keys) (GSettingsBackend *backend,
|
||||
GTree *tree,
|
||||
gpointer origin_tag);
|
||||
void (*reset) (GSettingsBackend *backend,
|
||||
const gchar *key,
|
||||
gpointer origin_tag);
|
||||
void (*reset_path) (GSettingsBackend *backend,
|
||||
const gchar *path,
|
||||
gpointer origin_tag);
|
||||
gboolean (*get_writable) (GSettingsBackend *backend,
|
||||
const gchar *key);
|
||||
void (*subscribe) (GSettingsBackend *backend,
|
||||
const gchar *name);
|
||||
void (*unsubscribe) (GSettingsBackend *backend,
|
||||
const gchar *name);
|
||||
void (*sync) (GSettingsBackend *backend);
|
||||
GVariant * (*read) (GSettingsBackend *backend,
|
||||
const gchar *key,
|
||||
const GVariantType *expected_type,
|
||||
gboolean default_value);
|
||||
gchar ** (*list) (GSettingsBackend *backend,
|
||||
const gchar *path,
|
||||
gchar **resets,
|
||||
gsize n_resets,
|
||||
gsize *length);
|
||||
gboolean (*write) (GSettingsBackend *backend,
|
||||
const gchar *key,
|
||||
GVariant *value,
|
||||
gpointer origin_tag);
|
||||
gboolean (*write_keys) (GSettingsBackend *backend,
|
||||
GTree *tree,
|
||||
gpointer origin_tag);
|
||||
void (*reset) (GSettingsBackend *backend,
|
||||
const gchar *key,
|
||||
gpointer origin_tag);
|
||||
void (*reset_path) (GSettingsBackend *backend,
|
||||
const gchar *path,
|
||||
gpointer origin_tag);
|
||||
gboolean (*get_writable) (GSettingsBackend *backend,
|
||||
const gchar *key);
|
||||
void (*subscribe) (GSettingsBackend *backend,
|
||||
const gchar *name);
|
||||
void (*unsubscribe) (GSettingsBackend *backend,
|
||||
const gchar *name);
|
||||
void (*sync) (GSettingsBackend *backend);
|
||||
|
||||
gpointer padding[8];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user