Create a new hooks for the controlflow
authorYannick Brosseau <yannick.brosseau@gmail.com>
Wed, 15 Aug 2012 15:34:14 +0000 (11:34 -0400)
committerYannick Brosseau <yannick.brosseau@gmail.com>
Wed, 15 Aug 2012 15:34:14 +0000 (11:34 -0400)
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
lttv/modules/gui/controlflow/drawing.c

index c53f5f1ac2b23de2c534e335f5765c9485d2584c..ce70bc9fd1528d68698700020344c6c16ac1b054 100644 (file)
@@ -165,9 +165,7 @@ void drawing_data_request(Drawing_t *drawing,
                                        control_flow_data);
 
   {
-        LttvHooks *event_hook;
-//TODO "fdeslauriers : Is it the right way to get the hooks - july 11 2012"
-       event_hook = lttv_traceset_get_hooks(traceset);
+        LttvHooks *event_hook = lttv_hooks_new();
        g_assert(event_hook);
  
        lttv_hooks_add(event_hook,before_execmode_hook , control_flow_data, LTTV_PRIO_STATE-5);
This page took 0.024146 seconds and 4 git commands to generate.