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



commit b8cb2c5c9763e134c6ff9d6d8d273fca09e79b7d
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 f481703..48b5f66 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


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