mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-22 08:58:54 +02:00
Fix a typo
Its credentials, not crendentials
This commit is contained in:
@@ -317,7 +317,7 @@ struct _GDBusConnection
|
|||||||
GDBusCapabilityFlags capabilities;
|
GDBusCapabilityFlags capabilities;
|
||||||
|
|
||||||
GDBusAuthObserver *authentication_observer;
|
GDBusAuthObserver *authentication_observer;
|
||||||
GCredentials *crendentials;
|
GCredentials *credentials;
|
||||||
|
|
||||||
/* set to TRUE when finalizing */
|
/* set to TRUE when finalizing */
|
||||||
gboolean finalizing;
|
gboolean finalizing;
|
||||||
@@ -2173,7 +2173,7 @@ initable_init (GInitable *initable,
|
|||||||
(connection->flags & G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS),
|
(connection->flags & G_DBUS_CONNECTION_FLAGS_AUTHENTICATION_ALLOW_ANONYMOUS),
|
||||||
get_offered_capabilities_max (connection),
|
get_offered_capabilities_max (connection),
|
||||||
&connection->capabilities,
|
&connection->capabilities,
|
||||||
&connection->crendentials,
|
&connection->credentials,
|
||||||
cancellable,
|
cancellable,
|
||||||
&connection->initialization_error))
|
&connection->initialization_error))
|
||||||
goto out;
|
goto out;
|
||||||
@@ -2649,7 +2649,7 @@ GCredentials *
|
|||||||
g_dbus_connection_get_peer_credentials (GDBusConnection *connection)
|
g_dbus_connection_get_peer_credentials (GDBusConnection *connection)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (G_IS_DBUS_CONNECTION (connection), NULL);
|
g_return_val_if_fail (G_IS_DBUS_CONNECTION (connection), NULL);
|
||||||
return connection->crendentials;
|
return connection->credentials;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------------------------------------- */
|
/* ---------------------------------------------------------------------------------------------------- */
|
||||||
|
Reference in New Issue
Block a user