[network-manager-applet/rm-userset] applet: make sure secrets request has valid agent



commit 06618c2200a0c60b099503ebfc1df4bf15ef330e
Author: Dan Williams <dcbw redhat com>
Date:   Wed Jan 19 17:26:03 2011 -0600

    applet: make sure secrets request has valid agent
    
    Otherwise we'd crash.  An oversight from earlier.

 src/applet-agent.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/applet-agent.c b/src/applet-agent.c
index 1d462fb..1aa56e1 100644
--- a/src/applet-agent.c
+++ b/src/applet-agent.c
@@ -118,6 +118,7 @@ request_new (NMSecretAgent *agent,
 
 	r = g_slice_new0 (Request);
 	r->id = counter++;
+	r->agent = agent;
 	r->connection = g_object_ref (connection);
 	r->path = g_strdup (connection_path);
 	r->setting_name = g_strdup (setting_name);



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