Merge branch 'dbus-typos' into 'master'

gio: Fix various typos of the name ‘D-Bus’

See merge request GNOME/glib!1722
This commit is contained in:
Sebastian Dröge 2020-10-26 15:14:46 +00:00
commit 98f2607006
8 changed files with 10 additions and 10 deletions

View File

@ -370,7 +370,7 @@ Gvfs is also heavily distributed and relies on a session bus to be present.
The #GVfs implementation for local files that is included in GIO The #GVfs implementation for local files that is included in GIO
has the name "local", the implementation in the gvfs module has has the name "local", the implementation in the gvfs module has
the name "gvfs". Most commonly, system software will set this to "local" the name "gvfs". Most commonly, system software will set this to "local"
to avoid having `GFile` APIs perform unnecessary DBus calls. to avoid having `GFile` APIs perform unnecessary D-Bus calls.
</para><para> </para><para>
The special value <literal>help</literal> can be used to print a list of The special value <literal>help</literal> can be used to print a list of
available implementations to standard output. available implementations to standard output.

View File

@ -532,8 +532,8 @@ value4 = g_variant_new ("x", G_GINT64_CONSTANT (998877665544332211));
<link linkend='gchar'>gchar</link> *)</code> and makes a copy of it. <link linkend='gchar'>gchar</link> *)</code> and makes a copy of it.
<link linkend='NULL:CAPS'><literal>NULL</literal></link> is not a valid string; use <link linkend='NULL:CAPS'><literal>NULL</literal></link> is not a valid string; use
<link linkend='gvariant-format-strings-maybe-types'>maybe types</link> to encode that. If the '<literal>o</literal>' or <link linkend='gvariant-format-strings-maybe-types'>maybe types</link> to encode that. If the '<literal>o</literal>' or
'<literal>g</literal>' characters are used, care must be taken to ensure that the passed string is a valid DBus '<literal>g</literal>' characters are used, care must be taken to ensure that the passed string is a valid D-Bus
object path or DBus type signature, respectively. object path or D-Bus type signature, respectively.
</para> </para>
<para> <para>
Upon encounting '<literal>s</literal>', '<literal>o</literal>' or '<literal>g</literal>', <link Upon encounting '<literal>s</literal>', '<literal>o</literal>' or '<literal>g</literal>', <link

View File

@ -523,7 +523,7 @@ g_application_command_line_get_options_dict (GApplicationCommandLine *cmdline)
* The #GInputStream can be used to read data passed to the standard * The #GInputStream can be used to read data passed to the standard
* input of the invoking process. * input of the invoking process.
* This doesn't work on all platforms. Presently, it is only available * This doesn't work on all platforms. Presently, it is only available
* on UNIX when using a DBus daemon capable of passing file descriptors. * on UNIX when using a D-Bus daemon capable of passing file descriptors.
* If stdin is not available then %NULL will be returned. In the * If stdin is not available then %NULL will be returned. In the
* future, support may be expanded to other platforms. * future, support may be expanded to other platforms.
* *

View File

@ -43,7 +43,7 @@
#include "gunixfdlist.h" #include "gunixfdlist.h"
#endif #endif
/* DBus Interface definition {{{1 */ /* D-Bus Interface definition {{{1 */
/* For documentation of these interfaces, see /* For documentation of these interfaces, see
* https://wiki.gnome.org/Projects/GLib/GApplication/DBusAPI * https://wiki.gnome.org/Projects/GLib/GApplication/DBusAPI
@ -640,7 +640,7 @@ g_application_impl_register (GApplication *application,
/* We are non-primary. Try to get the primary's list of actions. /* We are non-primary. Try to get the primary's list of actions.
* This also serves as a mechanism to ensure that the primary exists * This also serves as a mechanism to ensure that the primary exists
* (ie: DBus service files installed correctly, etc). * (ie: D-Bus service files installed correctly, etc).
*/ */
actions = g_dbus_action_group_get (impl->session_bus, impl->bus_name, impl->object_path); actions = g_dbus_action_group_get (impl->session_bus, impl->bus_name, impl->object_path);
if (!g_dbus_action_group_sync (actions, cancellable, error)) if (!g_dbus_action_group_sync (actions, cancellable, error))

View File

@ -71,7 +71,7 @@
* To just export an object on a well-known name on a message bus, such as the * To just export an object on a well-known name on a message bus, such as the
* session or system bus, you should instead use g_bus_own_name(). * session or system bus, you should instead use g_bus_own_name().
* *
* An example of peer-to-peer communication with G-DBus can be found * 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://git.gnome.org/browse/glib/tree/gio/tests/gdbus-example-peer.c).
* *
* Note that a minimal #GDBusServer will accept connections from any * Note that a minimal #GDBusServer will accept connections from any

View File

@ -1666,7 +1666,7 @@ g_variant_serialiser_is_string (gconstpointer data,
* *
* Performs the checks for being a valid string. * Performs the checks for being a valid string.
* *
* Also, ensures that @data is a valid DBus object path, as per the D-Bus * Also, ensures that @data is a valid D-Bus object path, as per the D-Bus
* specification. * specification.
*/ */
gboolean gboolean

View File

@ -49,7 +49,7 @@
* its type nor its content can be modified further. * its type nor its content can be modified further.
* *
* GVariant is useful whenever data needs to be serialized, for example when * GVariant is useful whenever data needs to be serialized, for example when
* sending method parameters in DBus, or when saving settings using GSettings. * sending method parameters in D-Bus, or when saving settings using GSettings.
* *
* When creating a new #GVariant, you pass the data you want to store in it * When creating a new #GVariant, you pass the data you want to store in it
* along with a string representing the type of data you wish to pass to it. * along with a string representing the type of data you wish to pass to it.

View File

@ -62,7 +62,7 @@
* *
* Just as in D-Bus, GVariant types are described with strings ("type * Just as in D-Bus, GVariant types are described with strings ("type
* strings"). Subject to the differences mentioned above, these strings * strings"). Subject to the differences mentioned above, these strings
* are of the same form as those found in DBus. Note, however: D-Bus * are of the same form as those found in D-Bus. Note, however: D-Bus
* always works in terms of messages and therefore individual type * always works in terms of messages and therefore individual type
* strings appear nowhere in its interface. Instead, "signatures" * strings appear nowhere in its interface. Instead, "signatures"
* are a concatenation of the strings of the type of each argument in a * are a concatenation of the strings of the type of each argument in a