add internal g_settings_schema_get_name()

This commit is contained in:
Ryan Lortie 2011-11-14 17:02:04 +01:00
parent e6b4074e41
commit 10907cafc3
2 changed files with 8 additions and 0 deletions

View File

@ -31,6 +31,8 @@ GSettingsSchema * g_settings_schema_ref (GSettin
G_GNUC_INTERNAL G_GNUC_INTERNAL
void g_settings_schema_unref (GSettingsSchema *schema); void g_settings_schema_unref (GSettingsSchema *schema);
G_GNUC_INTERNAL G_GNUC_INTERNAL
const gchar * g_settings_schema_get_name (GSettingsSchema *schema);
G_GNUC_INTERNAL
const gchar * g_settings_schema_get_path (GSettingsSchema *schema); const gchar * g_settings_schema_get_path (GSettingsSchema *schema);
G_GNUC_INTERNAL G_GNUC_INTERNAL
const gchar * g_settings_schema_get_gettext_domain (GSettingsSchema *schema); const gchar * g_settings_schema_get_gettext_domain (GSettingsSchema *schema);

View File

@ -356,3 +356,9 @@ g_settings_schema_list (GSettingsSchema *schema,
*n_items = schema->n_items; *n_items = schema->n_items;
return schema->items; return schema->items;
} }
const gchar *
g_settings_schema_get_name (GSettingsSchema *schema)
{
return schema->name;
}