2007-10-26 Dan Williams <dcbw@redhat.com>
* src/nm-activation-request.c - (dispose): clean up indentation; get the right DBusGProxy object to cancel the GetSecrets pending call on. Need to use the Secrets proxy, not the regular connection proxy. Otherwise the GetSecrets pending call doesn't get canceled, and pressing Cancel in the applet's password dialog could cause get_secrets_cb() to be called after the activation request has already been destroyed git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3028 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
10
ChangeLog
10
ChangeLog
@@ -1,3 +1,13 @@
|
||||
2007-10-26 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* src/nm-activation-request.c
|
||||
- (dispose): clean up indentation; get the right DBusGProxy object to
|
||||
cancel the GetSecrets pending call on. Need to use the Secrets
|
||||
proxy, not the regular connection proxy. Otherwise the GetSecrets
|
||||
pending call doesn't get canceled, and pressing Cancel in the
|
||||
applet's password dialog could cause get_secrets_cb() to be called
|
||||
after the activation request has already been destroyed
|
||||
|
||||
2007-10-24 Dan Williams <dcbw@redhat.com>
|
||||
|
||||
* src/supplicant-manager/nm-supplicant-config.c
|
||||
|
@@ -58,14 +58,14 @@ static void
|
||||
dispose (GObject *object)
|
||||
{
|
||||
NMActRequestPrivate *priv = NM_ACT_REQUEST_GET_PRIVATE (object);
|
||||
|
||||
|
||||
if (priv->connection) {
|
||||
DBusGProxy *proxy;
|
||||
DBusGProxyCall *call;
|
||||
|
||||
if (!priv->connection)
|
||||
goto out;
|
||||
|
||||
proxy = g_object_get_data (G_OBJECT (priv->connection),
|
||||
NM_MANAGER_CONNECTION_PROXY_TAG);
|
||||
NM_MANAGER_CONNECTION_SECRETS_PROXY_TAG);
|
||||
call = g_object_get_data (G_OBJECT (priv->connection),
|
||||
CONNECTION_GET_SECRETS_CALL_TAG);
|
||||
|
||||
@@ -75,7 +75,9 @@ dispose (GObject *object)
|
||||
g_object_set_data (G_OBJECT (priv->connection),
|
||||
CONNECTION_GET_SECRETS_CALL_TAG, NULL);
|
||||
g_object_unref (priv->connection);
|
||||
}
|
||||
|
||||
out:
|
||||
G_OBJECT_CLASS (nm_act_request_parent_class)->dispose (object);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Reference in New Issue
Block a user