summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2011-07-13 18:34:55 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2011-07-13 18:34:55 +0800
commit2fedaf76e63c1f7fbe5768e12ec33b9d1ae76f44 (patch)
tree3f8bf5e209bbec0e5fe3c65854bfb6c028535d4d
parent72bb9129806fe80cb52b1fe28df692185658b0f6 (diff)
downloadcompizconfig-backend-gsettings-2fedaf76e63c1f7fbe5768e12ec33b9d1ae76f44.tar.gz
compizconfig-backend-gsettings-2fedaf76e63c1f7fbe5768e12ec33b9d1ae76f44.tar.bz2
Added some extended debugging info when failing to read keys
-rw-r--r--src/gconf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gconf.c b/src/gconf.c
index fbdcebb..342e3b1 100644
--- a/src/gconf.c
+++ b/src/gconf.c
@@ -1298,8 +1298,8 @@ readOption (CCSSetting * setting)
ret = readListValue (setting, gconfValue);
break;
default:
- printf("GConf backend: attempt to read unsupported setting type %d!\n",
- setting->type);
+ printf("GConf backend: attempt to read unsupported setting type %d from path %s!\n",
+ setting->type, pathName);
break;
}
@@ -1399,8 +1399,8 @@ writeListValue (CCSSetting *setting,
}
break;
default:
- printf("GConf backend: attempt to write unsupported list type %d!\n",
- setting->info.forList.listType);
+ printf("GConf backend: attempt to write unsupported list type %d at path %s!\n",
+ setting->info.forList.listType, pathName);
valueType = GCONF_VALUE_INVALID;
break;
}