[nemiver/varobjs-support] Add some comments to variable utils calls.



commit a1ac0262fbb2ed51323100abf3a50c8ae9830464
Author: Dodji Seketeli <dodji redhat com>
Date:   Sat Apr 18 21:17:38 2009 +0200

    Add some comments to variable utils calls.
    
    	* src/persp/dbgperspective/nmv-local-vars-inspector2.cc:
    	(LocalVarsInspector2::Priv::update_a_local_variable): Add some
    	comments to the call to variable_utils::update_a_variable.
    	* (LocalVarsInspector2::Priv::update_a_local_variable): Likewise.
---
 .../dbgperspective/nmv-local-vars-inspector2.cc    |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/persp/dbgperspective/nmv-local-vars-inspector2.cc b/src/persp/dbgperspective/nmv-local-vars-inspector2.cc
index 4c24dd3..22e5809 100644
--- a/src/persp/dbgperspective/nmv-local-vars-inspector2.cc
+++ b/src/persp/dbgperspective/nmv-local-vars-inspector2.cc
@@ -313,7 +313,8 @@ public:
         if (get_local_variables_row_iterator (parent_row_it)) {
             vutil::update_a_variable (a_var, *tree_view,
                                       parent_row_it,
-                                      true, false);
+                                      true /* handle highlight */,
+                                      false /* is not a new frame */);
         }
     }
 
@@ -330,8 +331,8 @@ public:
             return vutil::update_a_variable (a_var,
                                              *tree_view,
                                              parent_row_it,
-                                             true,
-                                             false);
+                                             true /* handle highlight */,
+                                             false /* is not a new frame */);
         }
         return false;
     }



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