changeset 311:9fa4459c08a9

Mgere the image loader back
author wycc
date Sun, 22 Feb 2009 14:20:39 +0800
parents 25a68d15e92f
children e4abe8e149de
files tools/mb_c_source.m4
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tools/mb_c_source.m4	Sun Feb 22 14:20:17 2009 +0800
+++ b/tools/mb_c_source.m4	Sun Feb 22 14:20:39 2009 +0800
@@ -495,9 +495,11 @@
 
 $1_t *$1_new(redraw_man_t *rdman, coord_t *parent_coord) {
     $1_t *obj;
+    mb_img_ldr_t *img_ldr = NULL;
     grad_stop_t *stops = NULL;]DECLARE_VARS
 $2[]dnl
 [
+    img_ldr = rdman_img_ldr(rdman);
     obj = ($1_t *)malloc(sizeof($1_t));
     if(obj == NULL) return NULL;