Move "active" code out of debug statements
[lttv.git] / lttv / modules / gui / detailedevents / events.c
index 22bb4208eb11c31c7500a6eda6ff7b11b64eda67..7c9b66accbab489e8ab12cf046d9016b709fb5fa 100644 (file)
@@ -1310,6 +1310,7 @@ static void get_events(double new_value, EventViewerData *event_viewer_data)
   LttvTracesetContext *tsc = (LttvTracesetContext*)tss;
   guint i;
   gboolean seek_by_time;
+  int retval;
   
   if(lttvwindow_preempt_count > 0) return;
 
@@ -1398,7 +1399,8 @@ static void get_events(double new_value, EventViewerData *event_viewer_data)
                                    pos);
        
       } else if(relative_position < 0) {
-        g_assert(lttv_process_traceset_seek_position(tsc, pos) == 0); 
+        retval= lttv_process_traceset_seek_position(tsc, pos);
+               g_assert_cmpint(retval, ==, 0);
       }
     } else {
       /* There is nothing in the list : simply seek to the time value. */
This page took 0.023992 seconds and 4 git commands to generate.