mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
Merge branch 'git-to-gitlab' into 'master'
docs: Replace git.gnome.org with gitlab.gnome.org urls See merge request GNOME/glib!2012
This commit is contained in:
commit
f078ba1fff
@ -155,13 +155,13 @@
|
||||
* respectively.
|
||||
*
|
||||
* For an example of opening files with a GApplication, see
|
||||
* [gapplication-example-open.c](https://git.gnome.org/browse/glib/tree/gio/tests/gapplication-example-open.c).
|
||||
* [gapplication-example-open.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gapplication-example-open.c).
|
||||
*
|
||||
* For an example of using actions with GApplication, see
|
||||
* [gapplication-example-actions.c](https://git.gnome.org/browse/glib/tree/gio/tests/gapplication-example-actions.c).
|
||||
* [gapplication-example-actions.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gapplication-example-actions.c).
|
||||
*
|
||||
* For an example of using extra D-Bus hooks with GApplication, see
|
||||
* [gapplication-example-dbushooks.c](https://git.gnome.org/browse/glib/tree/gio/tests/gapplication-example-dbushooks.c).
|
||||
* [gapplication-example-dbushooks.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gapplication-example-dbushooks.c).
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -104,7 +104,7 @@
|
||||
* }
|
||||
* ]|
|
||||
* The complete example can be found here:
|
||||
* [gapplication-example-cmdline.c](https://git.gnome.org/browse/glib/tree/gio/tests/gapplication-example-cmdline.c)
|
||||
* [gapplication-example-cmdline.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gapplication-example-cmdline.c)
|
||||
*
|
||||
* In more complicated cases, the handling of the comandline can be
|
||||
* split between the launcher and the primary instance.
|
||||
@ -155,7 +155,7 @@
|
||||
* instance.
|
||||
*
|
||||
* The complete example can be found here:
|
||||
* [gapplication-example-cmdline2.c](https://git.gnome.org/browse/glib/tree/gio/tests/gapplication-example-cmdline2.c)
|
||||
* [gapplication-example-cmdline2.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gapplication-example-cmdline2.c)
|
||||
*
|
||||
* If handling the commandline requires a lot of work, it may
|
||||
* be better to defer it.
|
||||
@ -197,7 +197,7 @@
|
||||
* hold the application until you are done with the commandline.
|
||||
*
|
||||
* The complete example can be found here:
|
||||
* [gapplication-example-cmdline3.c](https://git.gnome.org/browse/glib/tree/gio/tests/gapplication-example-cmdline3.c)
|
||||
* [gapplication-example-cmdline3.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gapplication-example-cmdline3.c)
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -166,22 +166,22 @@
|
||||
* ## An example D-Bus server # {#gdbus-server}
|
||||
*
|
||||
* Here is an example for a D-Bus server:
|
||||
* [gdbus-example-server.c](https://git.gnome.org/browse/glib/tree/gio/tests/gdbus-example-server.c)
|
||||
* [gdbus-example-server.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gdbus-example-server.c)
|
||||
*
|
||||
* ## An example for exporting a subtree # {#gdbus-subtree-server}
|
||||
*
|
||||
* Here is an example for exporting a subtree:
|
||||
* [gdbus-example-subtree.c](https://git.gnome.org/browse/glib/tree/gio/tests/gdbus-example-subtree.c)
|
||||
* [gdbus-example-subtree.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gdbus-example-subtree.c)
|
||||
*
|
||||
* ## An example for file descriptor passing # {#gdbus-unix-fd-client}
|
||||
*
|
||||
* Here is an example for passing UNIX file descriptors:
|
||||
* [gdbus-unix-fd-client.c](https://git.gnome.org/browse/glib/tree/gio/tests/gdbus-example-unix-fd-client.c)
|
||||
* [gdbus-unix-fd-client.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gdbus-example-unix-fd-client.c)
|
||||
*
|
||||
* ## An example for exporting a GObject # {#gdbus-export}
|
||||
*
|
||||
* Here is an example for exporting a #GObject:
|
||||
* [gdbus-example-export.c](https://git.gnome.org/browse/glib/tree/gio/tests/gdbus-example-export.c)
|
||||
* [gdbus-example-export.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gdbus-example-export.c)
|
||||
*/
|
||||
|
||||
/* ---------------------------------------------------------------------------------------------------- */
|
||||
|
@ -39,7 +39,7 @@
|
||||
* Convenience API for owning bus names.
|
||||
*
|
||||
* A simple example for owning a name can be found in
|
||||
* [gdbus-example-own-name.c](https://git.gnome.org/browse/glib/tree/gio/tests/gdbus-example-own-name.c)
|
||||
* [gdbus-example-own-name.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gdbus-example-own-name.c)
|
||||
*/
|
||||
|
||||
G_LOCK_DEFINE_STATIC (lock);
|
||||
|
@ -40,7 +40,7 @@
|
||||
* Convenience API for watching bus names.
|
||||
*
|
||||
* A simple example for watching a name can be found in
|
||||
* [gdbus-example-watch-name.c](https://git.gnome.org/browse/glib/tree/gio/tests/gdbus-example-watch-name.c)
|
||||
* [gdbus-example-watch-name.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gdbus-example-watch-name.c)
|
||||
*/
|
||||
|
||||
G_LOCK_DEFINE_STATIC (lock);
|
||||
|
@ -85,7 +85,7 @@
|
||||
* of the thread where the instance was constructed.
|
||||
*
|
||||
* An example using a proxy for a well-known name can be found in
|
||||
* [gdbus-example-watch-proxy.c](https://git.gnome.org/browse/glib/tree/gio/tests/gdbus-example-watch-proxy.c)
|
||||
* [gdbus-example-watch-proxy.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gdbus-example-watch-proxy.c)
|
||||
*/
|
||||
|
||||
/* lock protecting the mutable properties: name_owner, timeout_msec,
|
||||
|
@ -77,7 +77,7 @@
|
||||
* session or system bus, you should instead use g_bus_own_name().
|
||||
*
|
||||
* An example of peer-to-peer communication with GDBus can be found
|
||||
* in [gdbus-example-peer.c](https://git.gnome.org/browse/glib/tree/gio/tests/gdbus-example-peer.c).
|
||||
* in [gdbus-example-peer.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gdbus-example-peer.c).
|
||||
*
|
||||
* Note that a minimal #GDBusServer will accept connections from any
|
||||
* peer. In many use-cases it will be necessary to add a #GDBusAuthObserver
|
||||
|
@ -121,7 +121,7 @@
|
||||
* utility. The input is a schema description in an XML format.
|
||||
*
|
||||
* A DTD for the gschema XML format can be found here:
|
||||
* [gschema.dtd](https://git.gnome.org/browse/glib/tree/gio/gschema.dtd)
|
||||
* [gschema.dtd](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/gschema.dtd)
|
||||
*
|
||||
* The [glib-compile-schemas][glib-compile-schemas] tool expects schema
|
||||
* files to have the extension `.gschema.xml`.
|
||||
|
@ -204,7 +204,7 @@ g_socket_control_message_deserialize (int level,
|
||||
* example, the control message may be be discarded if it is deemed
|
||||
* empty, see e.g.
|
||||
*
|
||||
* http://git.gnome.org/browse/glib/commit/?id=ec91ed00f14c70cca9749347b8ebc19d72d9885b
|
||||
* https://gitlab.gnome.org/GNOME/glib/commit/ec91ed00f14c70cca9749347b8ebc19d72d9885b
|
||||
*
|
||||
* Therefore, it's not appropriate to print a warning about not
|
||||
* being able to deserialize the message.
|
||||
|
@ -380,7 +380,7 @@ _g_test_watcher_remove_pid (GPid pid)
|
||||
*
|
||||
* An example of a test fixture for D-Bus services can be found
|
||||
* here:
|
||||
* [gdbus-test-fixture.c](https://git.gnome.org/browse/glib/tree/gio/tests/gdbus-test-fixture.c)
|
||||
* [gdbus-test-fixture.c](https://gitlab.gnome.org/GNOME/glib/-/blob/master/gio/tests/gdbus-test-fixture.c)
|
||||
*
|
||||
* Note that these examples only deal with isolating the D-Bus aspect of your
|
||||
* service. To successfully run isolated unit tests on your service you may need
|
||||
|
@ -80,7 +80,7 @@
|
||||
* displaying the bookmark inside a GUI.
|
||||
*
|
||||
* Here is an example of a bookmark file:
|
||||
* [bookmarks.xbel](https://git.gnome.org/browse/glib/tree/glib/tests/bookmarks.xbel)
|
||||
* [bookmarks.xbel](https://gitlab.gnome.org/GNOME/glib/-/blob/master/glib/tests/bookmarks.xbel)
|
||||
*
|
||||
* A bookmark file might contain more than one bookmark; each bookmark
|
||||
* is accessed through its URI.
|
||||
|
Loading…
Reference in New Issue
Block a user