diff options
author | Travis Reitter <travis.reitter@collabora.co.uk> | 2011-06-07 11:21:53 -0700 |
---|---|---|
committer | Travis Reitter <travis.reitter@collabora.co.uk> | 2011-06-23 09:34:20 -0700 |
commit | ba83c9014931c9bbf897de14d7dbaa2876ccea32 (patch) | |
tree | daab3280a33370506f16dddfb9193977cb570779 | |
parent | 627643e93b4b38a1904684f9361b498d0fe7ec3a (diff) |
Use the GLib definition for ObjectPath.
Helps: bgo#629716 - Migrate Folks to GDBus
-rw-r--r-- | backends/telepathy/lib/tpf-logger.vala | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/backends/telepathy/lib/tpf-logger.vala b/backends/telepathy/lib/tpf-logger.vala index e930638..11fa748 100644 --- a/backends/telepathy/lib/tpf-logger.vala +++ b/backends/telepathy/lib/tpf-logger.vala @@ -25,7 +25,7 @@ using Folks; private struct AccountFavourites { - DBus.ObjectPath account_path; + ObjectPath account_path; string[] ids; } @@ -35,12 +35,12 @@ private interface LoggerIface : DBus.Object public abstract async AccountFavourites[] get_favourite_contacts () throws DBus.Error; public abstract async void add_favourite_contact ( - DBus.ObjectPath account_path, string id) throws DBus.Error; + ObjectPath account_path, string id) throws DBus.Error; public abstract async void remove_favourite_contact ( - DBus.ObjectPath account_path, string id) throws DBus.Error; + ObjectPath account_path, string id) throws DBus.Error; public abstract signal void favourite_contacts_changed ( - DBus.ObjectPath account_path, string[] added, string[] removed); + ObjectPath account_path, string[] added, string[] removed); } internal class Logger : GLib.Object @@ -125,7 +125,7 @@ internal class Logger : GLib.Object return; yield this._logger.add_favourite_contact ( - new DBus.ObjectPath (this._account_path), id); + new ObjectPath (this._account_path), id); } public async void remove_favourite_contact (string id) throws DBus.Error @@ -135,6 +135,6 @@ internal class Logger : GLib.Object return; yield this._logger.remove_favourite_contact ( - new DBus.ObjectPath (this._account_path), id); + new ObjectPath (this._account_path), id); } } |