Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Nessus: commits

NessusClient/nessus/prefs_dialog prefs_dialog_plugins_prefs.c, 1.18, 1.19

 

 

Nessus commits RSS feed   Index | Next | Previous | View Threaded


bh at nessus

Jul 3, 2006, 7:39 AM

Post #1 of 1 (759 views)
Permalink
NessusClient/nessus/prefs_dialog prefs_dialog_plugins_prefs.c, 1.18, 1.19

Update of /usr/local/cvs/NessusClient/nessus/prefs_dialog
In directory raccoon.nessus.org:/tmp/cvs-serv79513/nessus/prefs_dialog

Modified Files:
prefs_dialog_plugins_prefs.c
Log Message:
Treat the widget stored in the context's plugin_prefs_cred_vbox like the
widgets in plugin_prefs_widget and plugin_prefs_cred_swindow. I.e. only
use if it's not NULL and g_object_ref it before storing it in the
context.


Index: prefs_dialog_plugins_prefs.c
===================================================================
RCS file: /usr/local/cvs/NessusClient/nessus/prefs_dialog/prefs_dialog_plugins_prefs.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- prefs_dialog_plugins_prefs.c 3 Jul 2006 14:04:53 -0000 1.18
+++ prefs_dialog_plugins_prefs.c 3 Jul 2006 14:39:10 -0000 1.19
@@ -265,7 +265,7 @@
plugin_prefs = context->plugin_prefs_widget;
cred_s_window = context->plugin_prefs_cred_swindow;
cred_vbox = context->plugin_prefs_cred_vbox;
- if(plugin_prefs != NULL && cred_s_window != NULL )
+ if(plugin_prefs != NULL && cred_s_window != NULL && cred_vbox != NULL)
{
arg_set_value(ctrls, "PLUGIN_PREFS", -1, plugin_prefs);
arg_set_value(ctrls, "SCROLLED_WINDOW_CREDENTIALS", -1, cred_s_window);
@@ -283,6 +283,7 @@
{
g_object_ref(plugin_prefs);
g_object_ref(cred_s_window);
+ g_object_ref(cred_vbox);
context->plugin_prefs_widget = plugin_prefs;
context->plugin_prefs_cred_swindow = cred_s_window;
context->plugin_prefs_cred_vbox = cred_vbox;

_______________________________________________
Nessus-cvs mailing list
Nessus-cvs [at] list
http://mail.nessus.org/mailman/listinfo/nessus-cvs

Nessus commits RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.