[network-manager-applet/nma-0-9-8] applet: don't call nm_secret_agent_register() explicitly for AppletAgent



commit 40d6df069862216ed9985cf922f57d3af84c44d7
Author: Thomas Haller <thaller redhat com>
Date:   Sun Aug 24 16:02:19 2014 +0200

    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>
    (cherry picked from commit d540a4e56589c1c6e6ba0bbe7558b1f7734c9879)

 src/applet.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/applet.c b/src/applet.c
index acd92d3..f990fa5 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -3334,7 +3334,6 @@ applet_start_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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]