[gtk+] Support for tracker 0.8 stable release
- From: Tomas Bzatek <tbzatek src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Support for tracker 0.8 stable release
- Date: Wed, 7 Apr 2010 13:06:38 +0000 (UTC)
commit a812fcb305a18db3efbbb168c8648dcaf0e08aed
Author: Tomas Bzatek <tbzatek redhat com>
Date: Wed Apr 7 15:02:18 2010 +0200
Support for tracker 0.8 stable release
gtk/gtksearchenginetracker.c | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtksearchenginetracker.c b/gtk/gtksearchenginetracker.c
index 7a8e26c..032f812 100644
--- a/gtk/gtksearchenginetracker.c
+++ b/gtk/gtksearchenginetracker.c
@@ -107,12 +107,17 @@ open_libtracker (void)
done = TRUE;
flags = G_MODULE_BIND_LAZY | G_MODULE_BIND_LOCAL;
- tracker = g_module_open ("libtracker-client-0.7.so.0", flags);
- version = TRACKER_0_7;
+ tracker = g_module_open ("libtracker-client-0.8.so.0", flags);
+ version = TRACKER_0_8;
- if (tracker && g_module_symbol (tracker, "tracker_resources_sparql_query_async", &x))
+ if (!tracker)
{
- version = TRACKER_0_8;
+ tracker = g_module_open ("libtracker-client-0.7.so.0", flags);
+
+ if (tracker && !g_module_symbol (tracker, "tracker_resources_sparql_query_async", &x))
+ {
+ version = TRACKER_0_7;
+ }
}
if (!tracker)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]