summaryrefslogtreecommitdiff
path: root/src/libtracker-bus/tracker-bus.vala
diff options
context:
space:
mode:
authorMartyn Russell <martyn@lanedo.com>2010-07-22 10:28:33 +0100
committerJürg Billeter <j@bitron.ch>2010-08-13 17:45:07 +0200
commitd94b000b26d863c0aa112632552681253072c620 (patch)
tree09a968e9c36ecbc596bd877f8ae4caeacc75cbe0 /src/libtracker-bus/tracker-bus.vala
parent2ca6bec976ae9ac9eafb5db71684078eff6392dd (diff)
downloadtracker-d94b000b26d863c0aa112632552681253072c620.tar.gz
libtracker-bus: Fixed compilation without FD PASSING enabled
Diffstat (limited to 'src/libtracker-bus/tracker-bus.vala')
-rw-r--r--src/libtracker-bus/tracker-bus.vala7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libtracker-bus/tracker-bus.vala b/src/libtracker-bus/tracker-bus.vala
index a68387184..ab859ab1b 100644
--- a/src/libtracker-bus/tracker-bus.vala
+++ b/src/libtracker-bus/tracker-bus.vala
@@ -55,7 +55,12 @@ public class Tracker.Bus.Connection : Tracker.Sparql.Connection {
initialized = true;
try {
- use_steroids = Config.HAVE_DBUS_FD_PASSING;
+ if (Config.HAVE_DBUS_FD_PASSING_IN_VALA) {
+ use_steroids = true;
+ } else {
+ use_steroids = false;
+ }
+ critical ("use steroids = %s", use_steroids ? "yes" : "no");
connection = DBus.Bus.get (DBus.BusType.SESSION);