correct currect time bar
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 19 Aug 2004 06:46:28 +0000 (06:46 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 19 Aug 2004 06:46:28 +0000 (06:46 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@821 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c

index 987e340918e8d1754bd675dd0e79ad6327aee6ab..ebba555e368a19d49be22acf108aa397b842c356 100644 (file)
@@ -657,11 +657,11 @@ expose_event( GtkWidget *widget, GdkEventExpose *event, gpointer user_data )
                         dash_list,
                         2);
     }
-    
+    gint height_tot = MAX(widget->allocation.height, drawing->height);
     gdk_draw_line(widget->window,
                   drawing->dotted_gc,
-                  cursor_x, event->area.y,
-                  cursor_x, widget->allocation.height);
+                  cursor_x, 0,
+                  cursor_x, height_tot);
   }
   return FALSE;
 }
This page took 0.029145 seconds and 4 git commands to generate.