[rygel] tracker: Declare sync call as such



commit 9ba4cf63e8fc2d44aa8c2e2446588b0134b29c55
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Fri Jun 17 01:47:21 2011 +0300

    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.

 src/plugins/tracker/rygel-tracker-interfaces.vala |    2 +-
 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 59262e7..9f40722 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")]



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]