From: pmf Date: Tue, 31 Jul 2007 19:46:14 +0000 (+0000) Subject: don't forget to initialize the irq handler colors X-Git-Tag: v0.12.20~924 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=885dc404583ce03297a0c8e2e4717b921e239642;p=lttv.git don't forget to initialize the irq handler colors git-svn-id: http://ltt.polymtl.ca/svn@2565 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/modules/gui/resourceview/drawing.c b/ltt/branches/poly/lttv/modules/gui/resourceview/drawing.c index ab9de32c..a40743f3 100644 --- a/ltt/branches/poly/lttv/modules/gui/resourceview/drawing.c +++ b/ltt/branches/poly/lttv/modules/gui/resourceview/drawing.c @@ -97,7 +97,7 @@ GdkColor drawing_colors_irq[NUM_COLORS_IRQ] = { /* Pixel, R, G, B */ { 0, 0x0000, 0x0000, 0x0000 }, /* COL_IRQ_UNKNOWN */ { 0, 0xBBBB, 0xBBBB, 0xBBBB }, /* COL_IRQ_IDLE */ - { 0, 0xFFFF, 0xFFFF, 0xFFFF }, /* COL_IRQ_BUSY */ + { 0, 0xFFFF, 0x5E00, 0x0000 }, /* COL_IRQ_BUSY */ }; /***************************************************************************** @@ -1075,6 +1075,8 @@ Drawing_t *drawing_construct(ControlFlowData *control_flow_data) TRUE, success); gdk_colormap_alloc_colors(colormap, drawing_colors_cpu, NUM_COLORS_CPU, FALSE, TRUE, success); + gdk_colormap_alloc_colors(colormap, drawing_colors_irq, NUM_COLORS_IRQ, FALSE, + TRUE, success); drawing->gc = gdk_gc_new(GDK_DRAWABLE(main_window_get_widget(control_flow_data->tab)->window));