convert from svn repository: remove tags directory
[lttv.git] / trunk / lttv / lttv / modules / gui / histogram / histoeventhooks.c
index f0a61ca4794cd4af941d50037747965a10f70feb..05ef78dbf194469bd9a17e051925c4e011a7b570 100644 (file)
@@ -302,7 +302,7 @@ void histo_request_event( HistoControlFlowData *histocontrol_flow_data, guint x,
        histo_events_request->before_chunk_trace    = NULL; 
        histo_events_request->before_chunk_tracefile= NULL; 
        histo_events_request->event                 = histo_count_event_hooks; 
-       histo_events_request->event_by_id           = NULL;//histo_event_by_id;//NULL; 
+       histo_events_request->event_by_id_channel   = NULL;//histo_event_by_id;//NULL; 
        histo_events_request->after_chunk_tracefile = NULL; 
        histo_events_request->after_chunk_trace     = NULL;   
        histo_events_request->after_chunk_traceset  = histo_after_chunk_traceset;//NULL; 
@@ -615,7 +615,7 @@ gint histo_update_time_window_hook(void *hook_data, void *call_data)
 
   histo_drawing_update_vertical_ruler(drawing);
 
-
+#if 0
 
 /*//  if( histo_new_time_window->time_width.tv_sec == histo_old_time_window->time_width.tv_sec
   && histo_new_time_window->time_width.tv_nsec == histo_old_time_window->time_width.tv_nsec)
@@ -834,6 +834,8 @@ gint histo_update_time_window_hook(void *hook_data, void *call_data)
 
   histo_drawing_update_vertical_ruler(drawing);
 */
+#endif
+
 //disabled for histogram, always redraw whole screen. 
   return 0;
 }
@@ -1111,7 +1113,9 @@ int histo_after_chunk(void *hook_data, void *call_data)
 
   histoDrawing_t *drawing = histocontrol_flow_data->drawing;
 
-  if(!histocontrol_flow_data->chunk_has_begun) return;
+  if(!histocontrol_flow_data->chunk_has_begun)
+         return 0;
+
   histocontrol_flow_data->chunk_has_begun = TRUE;
 
   if(tfc != NULL)
This page took 0.02399 seconds and 4 git commands to generate.