diff src/redraw_man.c @ 491:4291f16f3a09 Android_Skia

Remove rdman_paint_main()
author Thinker K.F. Li <thinker@branda.to>
date Mon, 23 Nov 2009 18:52:30 +0800
parents 5d0b2761f89c
children d186d1e24458
line wrap: on
line diff
--- a/src/redraw_man.c	Mon Nov 23 18:04:22 2009 +0800
+++ b/src/redraw_man.c	Mon Nov 23 18:52:30 2009 +0800
@@ -370,8 +370,6 @@
 	(member) = STAILQ_NEXT(paint_t, next, member))
 #define RM_PAINTMEMBER(paint, member)				\
     STAILQ_REMOVE((paint)->members, shnode_t, next, member)
-#define RM_PAINT(rdman, paint)					\
-    STAILQ_REMOVE((rdman)->paints, paint_t, pnt_next, paint)
 
 /*! \brief Sort a list of element by a unsigned integer.
  *
@@ -663,7 +661,6 @@
     rdman->backend = backend;
 
     STAILQ_INIT(rdman->shapes);
-    STAILQ_INIT(rdman->paints);
     
     /* \note To make root coord always have at leat one observer.
      * It triggers mouse interpreter to be installed on root.
@@ -919,7 +916,6 @@
 	shnode_free(rdman, saved_shnode);
     }
 
-    RM_PAINT(rdman, paint);
     paint->free(rdman, paint);
     return OK;
 }