summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2012-04-16 17:33:26 +0200
committerTomas Bzatek <tbzatek@redhat.com>2012-07-31 11:58:21 +0200
commit844e47f33da18ee8246c09adc70194cdb183d277 (patch)
treeaae4bcb7da22d3367f13c507014c7c1061a29ab4 /common
parent55f336c94f9a365e8dda4acae876073eb3ef3a2f (diff)
downloadgvfs-844e47f33da18ee8246c09adc70194cdb183d277.tar.gz
gdbus: Port the OpenIconForRead operation
Diffstat (limited to 'common')
-rw-r--r--common/Makefile.am2
-rw-r--r--common/dbus-interfaces.xml3
2 files changed, 5 insertions, 0 deletions
diff --git a/common/Makefile.am b/common/Makefile.am
index 4755711d..f7809680 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -20,6 +20,8 @@ $(dbus_built_sources) : Makefile.am dbus-interfaces.xml
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 \
dbus-interfaces.xml \
$(NULL)
diff --git a/common/dbus-interfaces.xml b/common/dbus-interfaces.xml
index c3cfaac3..f80f9d77 100644
--- a/common/dbus-interfaces.xml
+++ b/common/dbus-interfaces.xml
@@ -319,6 +319,9 @@
<arg type='a(suu)' name='list' direction='out'/>
</method>
<method name="OpenIconForRead">
+ <arg type='ay' name='path_data' direction='in'/>
+ <arg type='u' name='fd_id' direction='out'/>
+ <arg type='b' name='can_seek' direction='out'/>
</method>
</interface>