mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-26 04:02:09 +01:00
docs: Move the GDBus name watching 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
beb56279ef
commit
6492dd7054
14
docs/reference/gio/dbus-name-watching.md
Normal file
14
docs/reference/gio/dbus-name-watching.md
Normal file
@ -0,0 +1,14 @@
|
||||
Title: D-Bus Name Watching
|
||||
SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
SPDX-FileCopyrightText: 2010 David Zeuthen
|
||||
|
||||
# D-Bus Name Watching
|
||||
|
||||
Convenience API for watching bus names.
|
||||
|
||||
A simple example for watching a name can be found in
|
||||
[`gdbus-example-watch-name.c`](https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/gio/tests/gdbus-example-watch-name.c).
|
||||
|
||||
The main API for watching names is:
|
||||
* [func@Gio.bus_watch_name]
|
||||
* [func@Gio.bus_unwatch_name]
|
@ -46,6 +46,7 @@ content_files = [
|
||||
"dbus-error.md",
|
||||
"dbus-introspection.md",
|
||||
"dbus-name-owning.md",
|
||||
"dbus-name-watching.md",
|
||||
|
||||
"migrating-gdbus.md",
|
||||
"migrating-gconf.md",
|
||||
|
@ -228,6 +228,7 @@ expand_content_files = [
|
||||
'dbus-error.md',
|
||||
'dbus-introspection.md',
|
||||
'dbus-name-owning.md',
|
||||
'dbus-name-watching.md',
|
||||
'file-attributes.md',
|
||||
'migrating-gconf.md',
|
||||
'migrating-gdbus.md',
|
||||
|
@ -33,18 +33,6 @@
|
||||
|
||||
#include "glibintl.h"
|
||||
|
||||
/**
|
||||
* SECTION:gdbusnamewatching
|
||||
* @title: Watching Bus Names
|
||||
* @short_description: Simple API for watching bus names
|
||||
* @include: gio/gio.h
|
||||
*
|
||||
* Convenience API for watching bus names.
|
||||
*
|
||||
* A simple example for watching a name can be found in
|
||||
* [gdbus-example-watch-name.c](https://gitlab.gnome.org/GNOME/glib/-/blob/HEAD/gio/tests/gdbus-example-watch-name.c)
|
||||
*/
|
||||
|
||||
G_LOCK_DEFINE_STATIC (lock);
|
||||
|
||||
/* ---------------------------------------------------------------------------------------------------- */
|
||||
|
Loading…
x
Reference in New Issue
Block a user