diff --git a/gio/meson.build b/gio/meson.build index 5382d6a67..d0018673e 100644 --- a/gio/meson.build +++ b/gio/meson.build @@ -247,16 +247,6 @@ xdp_dbus_generated = custom_target('xdp-dbus', '--output-directory', '@OUTDIR@', '--generate-c-code', 'xdp-dbus', '--c-namespace', 'GXdp', - '--annotate', 'org.freedesktop.portal.Documents.Add()', - 'org.gtk.GDBus.C.UnixFD', 'true', - '--annotate', 'org.freedesktop.portal.Documents.AddNamed()', - 'org.gtk.GDBus.C.UnixFD', 'true', - '--annotate', 'org.freedesktop.portal.Documents.AddFull()', - 'org.gtk.GDBus.C.UnixFD', 'true', - '--annotate', 'org.freedesktop.portal.OpenURI.OpenFile()', - 'org.gtk.GDBus.C.UnixFD', 'true', - '--annotate', 'org.freedesktop.portal.Trash.TrashFile()', - 'org.gtk.GDBus.C.UnixFD', 'true', '@INPUT@']) # Generate gdbus-generated.{c,h} diff --git a/gio/org.freedesktop.portal.Documents.xml b/gio/org.freedesktop.portal.Documents.xml index d1cb73912..da2863043 100644 --- a/gio/org.freedesktop.portal.Documents.xml +++ b/gio/org.freedesktop.portal.Documents.xml @@ -8,7 +8,7 @@ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. + version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -45,6 +45,12 @@ The permissions that the application has for a document store entry (see org.freedesktop.portal.Documents.GrantPermissions()) are reflected in the POSIX mode bits in the fuse filesystem. + + The D-Bus interface for the document portal is available under the + bus name org.freedesktop.portal.Documents and the object path + /org/freedesktop/portal/documents. + + This documentation describes version 3 of this interface. --> @@ -72,6 +78,7 @@ access to the file. --> + @@ -89,6 +96,7 @@ Creates an entry in the document store for writing a new file. --> + @@ -99,7 +107,7 @@ + @@ -127,6 +141,43 @@ + + + + + + + + + + + + diff --git a/gio/org.freedesktop.portal.OpenURI.xml b/gio/org.freedesktop.portal.OpenURI.xml index 0cc79d1cc..5ed054cf1 100644 --- a/gio/org.freedesktop.portal.OpenURI.xml +++ b/gio/org.freedesktop.portal.OpenURI.xml @@ -5,7 +5,7 @@ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. + version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -26,25 +26,32 @@ The OpenURI portal allows sandboxed applications to open URIs (e.g. a http: link to the applications homepage) under the control of the user. + + This documentation describes version 3 of this interface. --> @@ -67,18 +83,23 @@ + + + + + + + + + + diff --git a/gio/org.freedesktop.portal.ProxyResolver.xml b/gio/org.freedesktop.portal.ProxyResolver.xml index c6e9ce9a2..4b39fc078 100644 --- a/gio/org.freedesktop.portal.ProxyResolver.xml +++ b/gio/org.freedesktop.portal.ProxyResolver.xml @@ -5,23 +5,45 @@ This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. + version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. - You should have received a copy of the GNU Lesser General Public License - along with this library; if not, see . + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see . Author: Matthias Clasen --> - + + + +