mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-23 10:27:51 +02:00
GDBus: Rename ::deny-authentication-peer to ::authorize-authenticated-peer
This commit is contained in:
@@ -1132,15 +1132,15 @@ _g_dbus_auth_run_server (GDBusAuth *auth,
|
||||
{
|
||||
case G_DBUS_AUTH_MECHANISM_STATE_ACCEPTED:
|
||||
if (observer != NULL &&
|
||||
g_dbus_auth_observer_deny_authenticated_peer (observer,
|
||||
auth->priv->stream,
|
||||
credentials))
|
||||
!g_dbus_auth_observer_authorize_authenticated_peer (observer,
|
||||
auth->priv->stream,
|
||||
credentials))
|
||||
{
|
||||
/* disconnect */
|
||||
g_set_error_literal (error,
|
||||
G_IO_ERROR,
|
||||
G_IO_ERROR_FAILED,
|
||||
_("Cancelled via GDBusAuthObserver::deny-authenticated-peer"));
|
||||
_("Cancelled via GDBusAuthObserver::authorize-authenticated-peer"));
|
||||
goto out;
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user