summaryrefslogtreecommitdiff
path: root/src/libtracker-common/tracker-locale.c
diff options
context:
space:
mode:
authorPhilip Van Hoof <philip@codeminded.be>2011-04-04 12:23:09 +0200
committerPhilip Van Hoof <philip@codeminded.be>2011-04-05 15:11:32 +0200
commitd608b287ea2f434a478c5bbd35eca38a8ed0f673 (patch)
treef93df236968e5ee943ed52887d0b5a2c41aa2075 /src/libtracker-common/tracker-locale.c
parentf5fbf8ae1da7ca8622f00dc849c3468566ba4b8a (diff)
downloadtracker-d608b287ea2f434a478c5bbd35eca38a8ed0f673.tar.gz
libtracker-common: Listen for changes on GConf using DBus directly for meegotouch locales
Fixes NB#240272.
Diffstat (limited to 'src/libtracker-common/tracker-locale.c')
-rw-r--r--src/libtracker-common/tracker-locale.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libtracker-common/tracker-locale.c b/src/libtracker-common/tracker-locale.c
index 82058aa45..f2e91fa1d 100644
--- a/src/libtracker-common/tracker-locale.c
+++ b/src/libtracker-common/tracker-locale.c
@@ -178,10 +178,20 @@ tracker_locale_notify_add (TrackerLocaleID id,
gpointer user_data,
GFreeFunc destroy_notify)
{
+#ifdef HAVE_MAEMO
+ return tracker_locale_gconfdbus_notify_add (id, func, user_data, destroy_notify);
+#else
+ /* If not using gconf locales, this is a no-op... */
return NULL;
+#endif /* HAVE_MAEMO */
}
void
tracker_locale_notify_remove (gpointer notification_id)
{
+#ifdef HAVE_MAEMO
+ return tracker_locale_gconfdbus_notify_remove (notification_id);
+#else
+ /* If not using gconf locales, this is a no-op... */
+#endif /* HAVE_MAEMO */
}