projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6f0249
)
Add schema name in error message
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 15 Feb 2011 00:13:09 +0000
(19:13 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 15 Feb 2011 00:20:44 +0000
(19:20 -0500)
Why not be helpful if it doesn't cost anything...
gio/gsettingsschema.c
patch
|
blob
|
history
diff --git
a/gio/gsettingsschema.c
b/gio/gsettingsschema.c
index
fdc1779
..
77eb119
100644
(file)
--- a/
gio/gsettingsschema.c
+++ b/
gio/gsettingsschema.c
@@
-306,7
+306,8
@@
g_settings_schema_get_value (GSettingsSchema *schema,
value = gvdb_table_get_raw_value (schema->priv->table, key);
if G_UNLIKELY (value == NULL)
- g_error ("schema does not contain a key named '%s'", key);
+ g_error ("Settings schema '%s' does not contain a key named '%s'",
+ schema->priv->name, key);
iter = g_variant_iter_new (value);
g_variant_unref (value);