diff src/shape_image.c @ 672:cbad519226d4

Make sh_image_t managed, and init property store for managed shapes
author Thinker K.F. Li <thinker@branda.to>
date Thu, 05 Aug 2010 18:00:46 +0800
parents ba64f928542b
children 61c217f8cec8
line wrap: on
line diff
--- a/src/shape_image.c	Thu Aug 05 17:43:33 2010 +0800
+++ b/src/shape_image.c	Thu Aug 05 18:00:46 2010 +0800
@@ -86,6 +86,8 @@
     img->y = y;
     img->w = w;
     img->h = h;
+
+    rdman_shape_man(rdman, (shape_t *)img);
     
     return (shape_t *)img;
 }