From: compudj Date: Thu, 19 Aug 2004 04:28:59 +0000 (+0000) Subject: fix cell height X-Git-Tag: v0.12.20~2678 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=8388d7ec59902f8f4bba2c938bc90d96cb439db6;p=lttv.git fix cell height git-svn-id: http://ltt.polymtl.ca/svn@811 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c b/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c index 6648c957..c6d331f9 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c @@ -603,6 +603,7 @@ expose_event( GtkWidget *widget, GdkEventExpose *event, gpointer user_data ) event->area.x, event->area.y, event->area.width, event->area.height); #endif //0 + drawing->height = processlist_get_height(control_flow_data->process_list); copy_pixmap_to_screen(control_flow_data->process_list, widget->window, widget->style->fg_gc[GTK_WIDGET_STATE (widget)], @@ -611,7 +612,6 @@ expose_event( GtkWidget *widget, GdkEventExpose *event, gpointer user_data ) /* Erase the dotted lines left.. */ -#if 0 if(widget->allocation.height > drawing->height) { gdk_draw_rectangle (widget->window, @@ -621,7 +621,6 @@ expose_event( GtkWidget *widget, GdkEventExpose *event, gpointer user_data ) event->area.width, // do not overlap widget->allocation.height - drawing->height); } -#endif //0 if(ltt_time_compare(time_window.start_time, current_time) <= 0 && ltt_time_compare(window_end, current_time) >= 0) {