From 320c7259e81a30a0eaa10bdd8d9b0d1e39df46cd Mon Sep 17 00:00:00 2001 From: compudj Date: Thu, 12 Aug 2004 21:48:52 +0000 Subject: [PATCH] fix colors git-svn-id: http://ltt.polymtl.ca/svn@720 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c b/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c index 28934be2..18407dd8 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c @@ -860,10 +860,9 @@ Drawing_t *drawing_construct(ControlFlowData *control_flow_data) /* Allocate the colors */ GdkColormap* colormap = gdk_colormap_get_system(); - + gboolean success[NUM_COLORS]; gdk_colormap_alloc_colors(colormap, drawing_colors, NUM_COLORS, FALSE, - TRUE, NULL); - + TRUE, success); return drawing; } -- 2.34.1