dotted gc bugfix
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 30 Nov 2004 15:36:03 +0000 (15:36 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Tue, 30 Nov 2004 15:36:03 +0000 (15:36 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@845 04897980-b3bd-0310-b5e0-8ef037075253

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

index 4a1c9c94f7064d0867404724c05feae12fa703b0..a67acc5a09edf2b26036740b8fe88cef00a62729 100644 (file)
@@ -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");
 }
This page took 0.024396 seconds and 4 git commands to generate.