[tracker/gconf-dbus: 8/8] libtracker-common: Use variable names that are easier to evaluate
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/gconf-dbus: 8/8] libtracker-common: Use variable names that are easier to evaluate
- Date: Mon, 4 Apr 2011 11:03:29 +0000 (UTC)
commit ec07e0a9e3f2387ba58d43674dadce8baa850782
Author: Philip Van Hoof <philip codeminded be>
Date: Mon Apr 4 12:57:42 2011 +0200
libtracker-common: Use variable names that are easier to evaluate
src/libtracker-common/tracker-locale-gconfdbus.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/libtracker-common/tracker-locale-gconfdbus.c b/src/libtracker-common/tracker-locale-gconfdbus.c
index 7bc76a2..b598b5c 100644
--- a/src/libtracker-common/tracker-locale-gconfdbus.c
+++ b/src/libtracker-common/tracker-locale-gconfdbus.c
@@ -51,7 +51,7 @@ static guint watch_name_id = 0;
static guint registration_id = 0;
static GStaticMutex subscribers_mutex = G_STATIC_MUTEX_INIT;
GDBusNodeInfo *introspection_data = NULL;
-static gboolean non_maemo_mode = FALSE;
+static gboolean maemo_mode = TRUE;
/* gconf keys for tracker locales, as defined in:
* http://apidocs.meego.com/1.0/mtf/i18n.html
@@ -296,7 +296,7 @@ on_gconfd_dbus_disappeared (GDBusConnection *connection,
void
tracker_locale_gconfdbus_init (void)
{
- if (!g_getenv (TRACKER_DISABLE_MEEGOTOUCH_LOCALE_ENV) && !non_maemo_mode) {
+ if (!g_getenv (TRACKER_DISABLE_MEEGOTOUCH_LOCALE_ENV) && maemo_mode) {
GError *error = NULL;
GVariant *reply;
GDBusInterfaceVTable interface_vtable = {
@@ -338,7 +338,7 @@ tracker_locale_gconfdbus_init (void)
GCONF_DBUS_SERVER_OBJECT);
g_object_unref (connection);
connection = NULL;
- non_maemo_mode = TRUE;
+ maemo_mode = FALSE;
return;
} else {
g_critical ("%s", error->message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]