diff options
author | Thomas Haller <thaller@redhat.com> | 2014-08-24 16:02:19 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-08-29 13:42:52 +0200 |
commit | d540a4e56589c1c6e6ba0bbe7558b1f7734c9879 (patch) | |
tree | 718be550a9738e6ed9151d5ad3c3d76f2803ebf2 | |
parent | 1731d6db5176f17f88fdcc48f99916101b8a12ae (diff) | |
download | network-manager-applet-d540a4e56589c1c6e6ba0bbe7558b1f7734c9879.tar.gz |
applet: don't call nm_secret_agent_register() explicitly for AppletAgent
We create the secret agent with 'auto-register' true. Hence
explicitly registering results in a race due to a bug in libnm.
The libnm bug was fixed by commit 86ffea8004980b9ab931d3f172e89fe192af6cd0 .
https://bugzilla.gnome.org/show_bug.cgi?id=727923
Signed-off-by: Thomas Haller <thaller@redhat.com>
-rw-r--r-- | src/applet.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/applet.c b/src/applet.c index f4817032..48b5f663 100644 --- a/src/applet.c +++ b/src/applet.c @@ -3541,7 +3541,6 @@ register_agent (NMApplet *applet) G_CALLBACK (applet_agent_get_secrets_cb), applet); g_signal_connect (applet->agent, APPLET_AGENT_CANCEL_SECRETS, G_CALLBACK (applet_agent_cancel_secrets_cb), applet); - nm_secret_agent_register (NM_SECRET_AGENT (applet->agent)); } static void |