diff options
author | Dan Winship <danw@gnome.org> | 2013-11-05 14:36:38 -0500 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2013-12-03 16:39:45 -0500 |
commit | f3c2851c2bced480e918d83d0b6372ae2c891dfb (patch) | |
tree | 69beb190f4f2c1d78adeab3dae362074e3c5fd49 /src/nm-active-connection.c | |
parent | 37b8983c39d8dcb8402da186dbd3245b019af7a9 (diff) | |
download | NetworkManager-f3c2851c2bced480e918d83d0b6372ae2c891dfb.tar.gz |
settings: port NMAgentManager, etc, to use NMAuthSubject
Rather than explicitly passing around a UID and a flag saying whether
or not it's relevant.
(This also fixes a bug where the wrong UID was being recorded in
nm-settings-connection.c::auth_start(), which caused problems such as
agent-owned secrets not getting saved because of a perceived UID
mismatch.)
Diffstat (limited to 'src/nm-active-connection.c')
-rw-r--r-- | src/nm-active-connection.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/nm-active-connection.c b/src/nm-active-connection.c index 44ff71624c..6a825bc0d7 100644 --- a/src/nm-active-connection.c +++ b/src/nm-active-connection.c @@ -282,17 +282,6 @@ nm_active_connection_get_user_requested (NMActiveConnection *self) return !nm_auth_subject_get_internal (NM_ACTIVE_CONNECTION_GET_PRIVATE (self)->subject); } -gulong -nm_active_connection_get_user_uid (NMActiveConnection *self) -{ - NMActiveConnectionPrivate *priv; - - g_return_val_if_fail (NM_IS_ACTIVE_CONNECTION (self), G_MAXULONG); - priv = NM_ACTIVE_CONNECTION_GET_PRIVATE (self); - - return nm_auth_subject_get_uid (priv->subject); -} - NMDevice * nm_active_connection_get_device (NMActiveConnection *self) { |