Fix a typo

Its credentials, not crendentials
This commit is contained in:
Matthias Clasen 2010-07-30 23:44:30 -04:00
parent eb3e926b09
commit 116b945c94

View File

@ -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;
} }
/* ---------------------------------------------------------------------------------------------------- */ /* ---------------------------------------------------------------------------------------------------- */