[tracker/tracker-0.12: 152/202] thunderbird: Don't try to use older versions of Tracker
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.12: 152/202] thunderbird: Don't try to use older versions of Tracker
- Date: Thu, 6 Oct 2011 18:01:14 +0000 (UTC)
commit deee4a8f3c020404be1cf11edf92e227c524386c
Author: Martyn Russell <martyn lanedo com>
Date: Thu Sep 29 11:35:42 2011 +0100
thunderbird: Don't try to use older versions of Tracker
src/plugins/thunderbird/chrome/content/bindings.js | 12 +++---------
1 files changed, 3 insertions(+), 9 deletions(-)
---
diff --git a/src/plugins/thunderbird/chrome/content/bindings.js b/src/plugins/thunderbird/chrome/content/bindings.js
index 86b18ed..9b1bcf8 100644
--- a/src/plugins/thunderbird/chrome/content/bindings.js
+++ b/src/plugins/thunderbird/chrome/content/bindings.js
@@ -2,7 +2,7 @@ if (!org.bustany.TrackerBird.TrackerSparql || !org.bustany.TrackerBird.TrackerSp
org.bustany.TrackerBird.TrackerSparql = {
__initialized: true,
- _trackerSparqlPath: "libtracker-sparql-0.10.so.0",
+ _trackerSparqlPath: "libtracker-sparql-0.12.so.0",
_lib: null,
init: function () {
@@ -18,14 +18,8 @@ org.bustany.TrackerBird.TrackerSparql = {
try {
tracker._lib = ctypes.open (tracker._trackerSparqlPath);
} catch (e) {
- tracker._trackerSparqlPath = "libtracker-sparql-0.12.so.0";
-
- try {
- tracker._lib = ctypes.open (tracker._trackerSparqlPath);
- } catch (e) {
- dump ("Could not load libtracker-sparql 0.10 or 0.12: " + e + "\n");
- return false;
- }
+ dump ("Could not load libtracker-sparql 0.12: " + e + "\n");
+ return false;
}
// GLib types
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]