X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2FguiControlFlow%2FEvent_Hooks.c;h=de41f0c64cc01948438bab4a23eb0724aa98f445;hb=bd24a9afb2b7ab792a7de77a2226009fd746ac18;hp=adc6d8a05d471b56db48a6d0324b2e3df872f0e5;hpb=432a7065f37c2e37192925c938216a8ceb152dc1;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/guiControlFlow/Event_Hooks.c b/ltt/branches/poly/lttv/modules/guiControlFlow/Event_Hooks.c index adc6d8a0..de41f0c6 100644 --- a/ltt/branches/poly/lttv/modules/guiControlFlow/Event_Hooks.c +++ b/ltt/branches/poly/lttv/modules/guiControlFlow/Event_Hooks.c @@ -616,9 +616,9 @@ void update_time_window_hook(void *hook_data, void *call_data) TimeWindow *Old_Time_Window = guicontrolflow_get_time_window(control_flow_data); TimeWindow *New_Time_Window = ((TimeWindow*)call_data); - + /* Two cases : zoom in/out or scrolling */ - + /* In order to make sure we can reuse the old drawing, the scale must * be the same and the new time interval being partly located in the * currently shown time interval. (reuse is only for scrolling) @@ -752,7 +752,7 @@ void update_time_window_hook(void *hook_data, void *call_data) /* Cannot reuse any part of the screen : far jump */ *Old_Time_Window = *New_Time_Window; - + gdk_draw_rectangle (control_flow_data->Drawing->Pixmap, control_flow_data->Drawing->Drawing_Area_V->style->white_gc, TRUE,