get name only if necessary
[lttv.git] / ltt / branches / poly / lttv / modules / gui / controlflow / drawing.c
index 265c68d5563d8461c1f10946523a75d683e8aaf2..bcda5b22f0a1babaf03af4222393d909819b0c5e 100644 (file)
@@ -144,6 +144,8 @@ void drawing_data_request(Drawing_t *drawing,
   convert_pixels_to_time(drawing->width, x+width,
         time_window,
         &time_end);
+  time_end = ltt_time_add(time_end, ltt_time_one); // because main window
+                                                   // doesn't deliver end time.
 
   lttvwindow_events_request_remove_all(tab,
                                        control_flow_data);
@@ -921,7 +923,7 @@ GtkWidget *drawing_get_widget(Drawing_t *drawing)
  *
  * Convert from window pixel and time interval to an absolute time.
  */
-__inline void convert_pixels_to_time(
+__inline__ void convert_pixels_to_time(
     gint width,
     guint x,
     TimeWindow time_window,
@@ -936,7 +938,7 @@ __inline void convert_pixels_to_time(
 }
 
 
-__inline void convert_time_to_pixels(
+__inline__ void convert_time_to_pixels(
     TimeWindow time_window,
     LttTime time,
     int width,
This page took 0.032587 seconds and 4 git commands to generate.