mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-24 14:36:13 +01:00
docs: Move the GDBus name owning SECTION
Move it to a separate content page as there’s no struct to hang the docs off. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3037
This commit is contained in:
parent
f25ede6d1c
commit
beb56279ef
14
docs/reference/gio/dbus-name-owning.md
Normal file
14
docs/reference/gio/dbus-name-owning.md
Normal file
@ -0,0 +1,14 @@
|
||||
Title: D-Bus Name Owning
|
||||
SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
SPDX-FileCopyrightText: 2010 David Zeuthen
|
||||
|
||||
# D-Bus Name Owning
|
||||
|
||||
Convenience API for owning bus names.
|
||||
|
||||
A simple example for owning a name can be found in
|
||||
[`gdbus-example-own-name.c`](https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/gio/tests/gdbus-example-own-name.c).
|
||||
|
||||
The main API for owning names is:
|
||||
* [func@Gio.bus_own_name]
|
||||
* [func@Gio.bus_unown_name]
|
@ -45,6 +45,7 @@ content_files = [
|
||||
"tls-overview.md",
|
||||
"dbus-error.md",
|
||||
"dbus-introspection.md",
|
||||
"dbus-name-owning.md",
|
||||
|
||||
"migrating-gdbus.md",
|
||||
"migrating-gconf.md",
|
||||
|
@ -227,6 +227,7 @@ endif
|
||||
expand_content_files = [
|
||||
'dbus-error.md',
|
||||
'dbus-introspection.md',
|
||||
'dbus-name-owning.md',
|
||||
'file-attributes.md',
|
||||
'migrating-gconf.md',
|
||||
'migrating-gdbus.md',
|
||||
|
@ -32,18 +32,6 @@
|
||||
|
||||
#include "glibintl.h"
|
||||
|
||||
/**
|
||||
* SECTION:gdbusnameowning
|
||||
* @title: Owning Bus Names
|
||||
* @short_description: Simple API for owning bus names
|
||||
* @include: gio/gio.h
|
||||
*
|
||||
* Convenience API for owning bus names.
|
||||
*
|
||||
* A simple example for owning a name can be found in
|
||||
* [gdbus-example-own-name.c](https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/gio/tests/gdbus-example-own-name.c)
|
||||
*/
|
||||
|
||||
G_LOCK_DEFINE_STATIC (lock);
|
||||
|
||||
/* ---------------------------------------------------------------------------------------------------- */
|
||||
|
Loading…
Reference in New Issue
Block a user