docs: Mention GioUnix-2.0 GIR namespace alongside gio-unix-2.0.pc

This should clarify things a little for users of language bindings, who
don’t directly use `.pc` files.

Signed-off-by: Philip Withnall <pwithnall@gnome.org>
This commit is contained in:
Philip Withnall 2024-02-06 15:41:11 +00:00
parent c498c9a8c9
commit 434d3ff524
7 changed files with 8 additions and 8 deletions

View File

@ -234,8 +234,8 @@ information on how to use pkg-config to compile your application.
If you are using GIO on UNIX-like systems, you may want to use UNIX-specific
GIO interfaces such as `GUnixInputStream`, `GUnixOutputStream`, `GUnixMount`
or `GDesktopAppInfo`. To do so, use the `gio-unix-2.0.pc` file instead of
`gio-2.0.pc`.
or `GDesktopAppInfo`. To do so, use the `gio-unix-2.0.pc` file as well as
`gio-2.0.pc` (or, in GIR namespace terms, `GioUnix-2.0` as well as `Gio-2.0`).
## Running GIO applications

View File

@ -9,7 +9,7 @@ Routines for managing mounted UNIX mount points and paths.
Note that `<gio/gunixmounts.h>` belongs to the UNIX-specific GIO
interfaces, thus you have to use the `gio-unix-2.0.pc` pkg-config
file when using it.
file or the `GioUnix-2.0` GIR namespace when using it.
There are three main classes:

View File

@ -70,7 +70,7 @@
*
* Note that `<gio/gdesktopappinfo.h>` belongs to the UNIX-specific
* GIO interfaces, thus you have to use the `gio-unix-2.0.pc` pkg-config
* file when using it.
* file or the `GioUnix-2.0` GIR namespace when using it.
*/
#define DEFAULT_APPLICATIONS_GROUP "Default Applications"

View File

@ -35,7 +35,7 @@
*
* Note that `<gio/gfiledescriptorbased.h>` belongs to the UNIX-specific
* GIO interfaces, thus you have to use the `gio-unix-2.0.pc` pkg-config
* file when using it.
* file or the `GioUnix-2.0` GIR namespace when using it.
*
* Since: 2.24
**/

View File

@ -29,7 +29,7 @@
*
* Note that `<gio/gunixfdmessage.h>` belongs to the UNIX-specific GIO
* interfaces, thus you have to use the `gio-unix-2.0.pc` pkg-config
* file when using it.
* file or the `GioUnix-2.0` GIR namespace when using it.
*/
#include "config.h"

View File

@ -49,7 +49,7 @@
*
* Note that `<gio/gunixinputstream.h>` belongs to the UNIX-specific GIO
* interfaces, thus you have to use the `gio-unix-2.0.pc` pkg-config
* file when using it.
* file or the `GioUnix-2.0` GIR namespace when using it.
*/
enum {

View File

@ -51,7 +51,7 @@
*
* Note that `<gio/gunixoutputstream.h>` belongs to the UNIX-specific GIO
* interfaces, thus you have to use the `gio-unix-2.0.pc` pkg-config file
* when using it.
* file or the `GioUnix-2.0` GIR namespace when using it.
*/
enum {