[rygel/rygel-0-10] tracker: Declare sync call as such
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/rygel-0-10] tracker: Declare sync call as such
- Date: Fri, 17 Jun 2011 12:49:50 +0000 (UTC)
commit 022961024739b87004663f8b7ddad6a73a519faf
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 0ef9745..5e6c177 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]