diff --git a/gio/gsettingsschema-internal.h b/gio/gsettingsschema-internal.h index 59384a97e..2c3880150 100644 --- a/gio/gsettingsschema-internal.h +++ b/gio/gsettingsschema-internal.h @@ -31,6 +31,8 @@ GSettingsSchema * g_settings_schema_ref (GSettin G_GNUC_INTERNAL void g_settings_schema_unref (GSettingsSchema *schema); G_GNUC_INTERNAL +const gchar * g_settings_schema_get_name (GSettingsSchema *schema); +G_GNUC_INTERNAL const gchar * g_settings_schema_get_path (GSettingsSchema *schema); G_GNUC_INTERNAL const gchar * g_settings_schema_get_gettext_domain (GSettingsSchema *schema); diff --git a/gio/gsettingsschema.c b/gio/gsettingsschema.c index ea776fcba..315a690cc 100644 --- a/gio/gsettingsschema.c +++ b/gio/gsettingsschema.c @@ -356,3 +356,9 @@ g_settings_schema_list (GSettingsSchema *schema, *n_items = schema->n_items; return schema->items; } + +const gchar * +g_settings_schema_get_name (GSettingsSchema *schema) +{ + return schema->name; +}