summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2012-07-20 16:26:42 +0200
committerTomas Bzatek <tbzatek@redhat.com>2012-07-31 11:59:37 +0200
commit6f16f975afa7da91291bd6a0ab30d16823951dde (patch)
tree17cd915b7a61561fc271e2eb36ec597c558f2081 /common
parent8702019ec946d3ade84efa4f7e42e39f73f7bf6a (diff)
downloadgvfs-6f16f975afa7da91291bd6a0ab30d16823951dde.tar.gz
gdbus: Move annotations to the interface XML file
Diffstat (limited to 'common')
-rw-r--r--common/Makefile.am6
-rw-r--r--common/dbus-interfaces.xml3
2 files changed, 3 insertions, 6 deletions
diff --git a/common/Makefile.am b/common/Makefile.am
index 93e215fc..a98e883a 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -16,12 +16,6 @@ $(dbus_built_sources) : Makefile.am dbus-interfaces.xml
--interface-prefix org.gtk.vfs. \
--c-namespace GVfsDBus \
--generate-c-code gvfsdbus \
- --annotate "org.gtk.vfs.Mount.OpenForRead()" \
- org.gtk.GDBus.C.UnixFD true \
- --annotate "org.gtk.vfs.Mount.OpenForWrite()" \
- org.gtk.GDBus.C.UnixFD true \
- --annotate "org.gtk.vfs.Mount.OpenIconForRead()" \
- org.gtk.GDBus.C.UnixFD true \
$(srcdir)/dbus-interfaces.xml \
$(NULL)
diff --git a/common/dbus-interfaces.xml b/common/dbus-interfaces.xml
index c199623f..aa8e8299 100644
--- a/common/dbus-interfaces.xml
+++ b/common/dbus-interfaces.xml
@@ -183,6 +183,7 @@
<arg type='u' name='pid' direction='in'/>
<arg type='u' name='fd_id' direction='out'/>
<arg type='b' name='can_seek' direction='out'/>
+ <annotation name="org.gtk.GDBus.C.UnixFD" value="true"/>
</method>
<method name="OpenForWrite">
<arg type='ay' name='path_data' direction='in'/>
@@ -194,6 +195,7 @@
<arg type='u' name='fd_id' direction='out'/>
<arg type='b' name='can_seek' direction='out'/>
<arg type='t' name='initial_offset' direction='out'/>
+ <annotation name="org.gtk.GDBus.C.UnixFD" value="true"/>
</method>
<method name="QueryInfo">
<arg type='ay' name='path_data' direction='in'/>
@@ -322,6 +324,7 @@
<arg type='ay' name='path_data' direction='in'/>
<arg type='u' name='fd_id' direction='out'/>
<arg type='b' name='can_seek' direction='out'/>
+ <annotation name="org.gtk.GDBus.C.UnixFD" value="true"/>
</method>
</interface>