From 83ab53c4adb79069f748e595240c1133e08e744b Mon Sep 17 00:00:00 2001 From: compudj Date: Tue, 30 Nov 2004 15:36:03 +0000 Subject: [PATCH] dotted gc bugfix git-svn-id: http://ltt.polymtl.ca/svn@845 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c b/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c index 4a1c9c94..a67acc5a 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/drawing.c @@ -927,7 +927,7 @@ void drawing_destroy(Drawing_t *drawing) gdk_gc_unref(drawing->gc); g_free(drawing->pango_layout); - if(!drawing->dotted_gc) gdk_gc_unref(drawing->dotted_gc); + if(drawing->dotted_gc != NULL) gdk_gc_unref(drawing->dotted_gc); g_free(drawing); g_info("drawing_destroy end"); } -- 2.34.1