[tracker/writeback-activate: 3/4] data/dbus: Change from signal to method for Writeback



commit 30a6cc8323360cf1fd3f409058ddbabd565dc10d
Author: Philip Van Hoof <philip codeminded be>
Date:   Tue Nov 30 12:01:17 2010 +0100

    data/dbus: Change from signal to method for Writeback

 data/dbus/tracker-resources.xml |    4 ----
 data/dbus/tracker-writeback.xml |    5 ++++-
 2 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/data/dbus/tracker-resources.xml b/data/dbus/tracker-resources.xml
index 6c1287f..e260ff3 100644
--- a/data/dbus/tracker-resources.xml
+++ b/data/dbus/tracker-resources.xml
@@ -50,10 +50,6 @@
       <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/>
     </method>
 
-   <signal name="Writeback">
-      <arg type="a{iai}" name="subjects" />
-   </signal>
-
    <signal name="GraphUpdated">
       <arg type="s" name ="classname" />
       <arg type="a(iiii)" name="deletes" />
diff --git a/data/dbus/tracker-writeback.xml b/data/dbus/tracker-writeback.xml
index e67cf70..448dc90 100644
--- a/data/dbus/tracker-writeback.xml
+++ b/data/dbus/tracker-writeback.xml
@@ -3,6 +3,9 @@
 <node name="/">
   <interface name="org.freedesktop.Tracker1.Writeback">
     <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="tracker_writeback_dbus"/>
-
+    <method name="Writeback">
+      <annotation name="org.freedesktop.DBus.GLib.Async"  value="true"/>
+      <arg type="a{iai}" name="subjects" />
+    </method>
   </interface>
 </node>



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