[gvfs/gdbus-core: 31/33] gdbus: Move annotations to the interface XML file
- From: Tomas Bzatek <tbzatek src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs/gdbus-core: 31/33] gdbus: Move annotations to the interface XML file
- Date: Fri, 20 Jul 2012 16:37:31 +0000 (UTC)
commit 8012521532dd85945525df89f1b48aa197715a8f
Author: Tomas Bzatek <tbzatek redhat com>
Date: Fri Jul 20 16:26:42 2012 +0200
gdbus: Move annotations to the interface XML file
common/Makefile.am | 6 ------
common/dbus-interfaces.xml | 3 +++
2 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/common/Makefile.am b/common/Makefile.am
index 93e215f..a98e883 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 c199623..aa8e829 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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]