diff --git a/doc/index.rst b/doc/index.rst index 9310e4b53..35757d2f2 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -31,7 +31,7 @@ This documentation is made up of the following sections: reasons to use portals on your apps. * :doc:`Common conventions `: coding patterns and principles common when **app and desktop developers** are working with portal APIs. -* :doc:`Application API `: portal APIs that **apps** can use to +* :doc:`Application API `: portal APIs that **apps** can use to interact with the host system. * :doc:`Portal backends `: interfaces and configuration files that **desktop developers** can implement and install in order to write a portal diff --git a/doc/window-identifiers.rst b/doc/window-identifiers.rst index 017192ccb..fd9a16bab 100644 --- a/doc/window-identifiers.rst +++ b/doc/window-identifiers.rst @@ -12,7 +12,7 @@ For example, ``x11:1234``. Under Wayland, it should have the form ``wayland:``, where ```` is a surface handle obtained with the `xdg_foreign -`_ +`_ protocol. For example, ``wayland:~12l9jdl.-a``. For other windowing systems, or if you don't have a suitable handle, just pass diff --git a/document-portal/document-portal-fuse.c b/document-portal/document-portal-fuse.c index 8d2e107d6..ac2014a10 100644 --- a/document-portal/document-portal-fuse.c +++ b/document-portal/document-portal-fuse.c @@ -109,7 +109,7 @@ * referenced by the dcache (Directory Entry Cache) (even though we * will not really use the dcache info due to the 0 valid time). This * is unfortunate, because it means we will keep a lot of file - * descriptor open. But, we can not know if the kernel needs the inode + * descriptors open. But, we can not know if the kernel needs the inode * for some non-dcache use so we can't close the file descriptors. * * To work around this we regularly emit entry invalidation calls @@ -947,7 +947,7 @@ verify_doc_dir_devino (int dirfd, XdpDomain *doc_domain) return -ENOENT; return 0; - } +} /* Only for toplevel dirs, not this is a bit weird for toplevel dir inodes as it returns the dir itself which isn't really the dirfd @@ -1659,7 +1659,7 @@ ensure_docdir_inode (XdpInode *parent, inode->domain_root_inode = xdp_inode_ref (parent->domain_root_inode); else inode->domain_root_inode = xdp_inode_ref (parent); - g_hash_table_insert (domain->inodes, physical, inode); + g_hash_table_insert (domain->inodes, physical, inode); } G_UNLOCK(domain_inodes); @@ -2360,7 +2360,7 @@ xdp_fuse_opendir (fuse_req_t req, } } - fi->fh = (gsize)d; + fi->fh = (gsize)d; if (fuse_reply_open (req, fi) == -ENOENT) {