diff src/X_main.c @ 73:9ab15ebc9061

Observer for mouse events
author Thinker K.F. Li <thinker@branda.to>
date Mon, 18 Aug 2008 01:59:26 +0800
parents 1ca417f741f1
children a6763f080da5
line wrap: on
line diff
--- a/src/X_main.c	Wed Aug 13 09:25:57 2008 +0800
+++ b/src/X_main.c	Mon Aug 18 01:59:26 2008 +0800
@@ -250,10 +250,10 @@
     text_stroke->free(text_stroke);
     text_fill->free(text_fill);
     redraw_man_destroy(&rdman);
-    sh_path_free(path1);
-    sh_path_free(path2);
-    sh_rect_free(rect);
-    sh_text_free(text);
+    path1->free(path1);
+    path2->free(path2);
+    rect->free(rect);
+    text->free(text);
     cairo_destroy(tmpcr);
     cairo_surface_destroy(tmpsuf);
 }