[tracker/libtracker-bus: 13/50] tracker-miner-rss: Fixed compiler errors and use new libtracker-sparql
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/libtracker-bus: 13/50] tracker-miner-rss: Fixed compiler errors and use new libtracker-sparql
- Date: Fri, 6 Aug 2010 11:18:46 +0000 (UTC)
commit 5ed620ab3b9939aa7946b09b6e2f6193fb3ba615
Author: Martyn Russell <martyn lanedo com>
Date: Tue Jul 20 13:12:48 2010 +0100
tracker-miner-rss: Fixed compiler errors and use new libtracker-sparql
src/libtracker-bus/tracker-bus.vala | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/src/libtracker-bus/tracker-bus.vala b/src/libtracker-bus/tracker-bus.vala
index cf1d75a..480abed 100644
--- a/src/libtracker-bus/tracker-bus.vala
+++ b/src/libtracker-bus/tracker-bus.vala
@@ -17,12 +17,8 @@
* Boston, MA 02110-1301, USA.
*/
-public const string TRACKER_DBUS_SERVICE = "org.freedesktop.Tracker1";
-public const string TRACKER_DBUS_INTERFACE_RESOURCES = TRACKER_DBUS_SERVICE + ".Resources";
-public const string TRACKER_DBUS_OBJECT_RESOURCES = "/org/freedesktop/Tracker1/Resources";
-public const string TRACKER_DBUS_INTERFACE_STEROIDS = TRACKER_DBUS_SERVICE + ".Steroids";
-public const string TRACKER_DBUS_OBJECT_STEROIDS = "/org/freedesktop/Tracker1/Steroids";
-
+// Note: DBus name below can NOT be a defined string as above, compiler error
+// due to the order Vala evaluates strings and interfaces apparently.
[DBus (name = "org.freedesktop.Tracker1.Resources")]
private interface Tracker.Bus.Resources : GLib.Object {
public abstract string[,] sparql_query (string query) throws DBus.Error;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]