tracker: Declare sync call as such
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Thu, 16 Jun 2011 22:47:21 +0000 (01:47 +0300)
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>
Thu, 16 Jun 2011 22:47:21 +0000 (01:47 +0300)
We were calling a D-Bus method synchronously while it was declared
'async' which resulted in us not able to catch errors from it.

src/plugins/tracker/rygel-tracker-interfaces.vala

index 59262e7..9f40722 100644 (file)
@@ -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")]