summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>2011-06-17 01:47:21 +0300
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>2011-06-17 15:34:36 +0300
commit022961024739b87004663f8b7ddad6a73a519faf (patch)
treee61a727c60f89e23a68cc1051a20f8a0c7c49d5d
parent09d5d0caca5ccf2232b963abae4fa7479f1859c9 (diff)
downloadrygel-022961024739b87004663f8b7ddad6a73a519faf.tar.gz
tracker: Declare sync call as such
We were calling a D-Bus method synchronously while it was declared 'async' which resulted in us not able to catch errors from it.
-rw-r--r--src/plugins/tracker/rygel-tracker-interfaces.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/tracker/rygel-tracker-interfaces.vala b/src/plugins/tracker/rygel-tracker-interfaces.vala
index 0ef97457..5e6c1770 100644
--- a/src/plugins/tracker/rygel-tracker-interfaces.vala
+++ b/src/plugins/tracker/rygel-tracker-interfaces.vala
@@ -30,7 +30,7 @@ public struct Event {
[DBus (name = "org.freedesktop.Tracker1.Statistics")]
public interface Rygel.Tracker.StatsIface : DBusProxy {
- public abstract async string[,] get_statistics () throws IOError;
+ public abstract string[,] get_statistics () throws IOError;
}
[DBus (name = "org.freedesktop.Tracker1.Resources")]