[tracker/collation-gconf-locale: 10/15] tracker-locale: If gconf_client_get() returns NULL, it's because there is no such key
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/collation-gconf-locale: 10/15] tracker-locale: If gconf_client_get() returns NULL, it's because there is no such key
- Date: Thu, 28 Oct 2010 16:40:15 +0000 (UTC)
commit ed81cb79d9d8afdd69c2022d569c66d5e552a39a
Author: Aleksander Morgado <aleksander lanedo com>
Date: Thu Oct 28 16:14:53 2010 +0200
tracker-locale: If gconf_client_get() returns NULL, it's because there is no such key
src/libtracker-common/tracker-locale.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-common/tracker-locale.c b/src/libtracker-common/tracker-locale.c
index 88cc2a6..b4c0dfb 100644
--- a/src/libtracker-common/tracker-locale.c
+++ b/src/libtracker-common/tracker-locale.c
@@ -268,7 +268,7 @@ tracker_locale_init (void)
"from gconf: '%s'"
" Defaulting to environment locale.",
gconf_locales[i],
- error ? error->message : "unknown error");
+ error ? error->message : "no such key");
g_clear_error (&error);
} else if (val->type != GCONF_VALUE_STRING) {
g_warning ("Wrong type for '%s' key in gconf..."
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]