[tracker] libtracker-common: Replace error code with enum
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-common: Replace error code with enum
- Date: Tue, 5 Apr 2011 13:12:29 +0000 (UTC)
commit d95206cd64de592f219e4bd5466226bb86fe5f18
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]