[tracker/tracker-0.10] libtracker-common: Replace error code with enum
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] libtracker-common: Replace error code with enum
- Date: Thu, 7 Apr 2011 13:44:16 +0000 (UTC)
commit bdaf43d7bca3b5a60d6f8e8dd0215e267ef39b1f
Author: Philip Van Hoof <philip codeminded be>
Date: Mon Apr 4 13:50:02 2011 +0200
libtracker-common: Replace error code with enum
src/libtracker-common/tracker-locale-gconfdbus.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-common/tracker-locale-gconfdbus.c b/src/libtracker-common/tracker-locale-gconfdbus.c
index b598b5c..6296666 100644
--- a/src/libtracker-common/tracker-locale-gconfdbus.c
+++ b/src/libtracker-common/tracker-locale-gconfdbus.c
@@ -331,7 +331,7 @@ tracker_locale_gconfdbus_init (void)
if (error) {
- if (error->code == 19) {
+ if (error->code == G_DBUS_ERROR_UNKNOWN_METHOD) {
g_message ("GetDefaultDatabase doesn't exist on %s, this GConf "
"doesn't look like a gconf-dbus.\n"
"Continuing in non-maemo mode",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]