From 10907cafc39958fc65b8c8082cbbe08b53e96659 Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Mon, 14 Nov 2011 17:02:04 +0100 Subject: [PATCH] add internal g_settings_schema_get_name() --- gio/gsettingsschema-internal.h | 2 ++ gio/gsettingsschema.c | 6 ++++++ 2 files changed, 8 insertions(+) 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; +}