[glib/wip/schemasource: 8/24] add internal g_settings_schema_get_name()
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/schemasource: 8/24] add internal g_settings_schema_get_name()
- Date: Tue, 15 Nov 2011 15:45:42 +0000 (UTC)
commit 7c4c24a425c323cb33be72c30e3df55a79d25822
Author: Ryan Lortie <desrt desrt ca>
Date: Mon Nov 14 17:02:04 2011 +0100
add internal g_settings_schema_get_name()
gio/gsettingsschema-internal.h | 2 ++
gio/gsettingsschema.c | 6 ++++++
2 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/gio/gsettingsschema-internal.h b/gio/gsettingsschema-internal.h
index 59384a9..2c38801 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 ea776fc..315a690 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;
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]