# HG changeset patch # User wycc # Date 1235283639 -28800 # Node ID 9fa4459c08a9b039db238246dbaa5f3027c021d4 # Parent 25a68d15e92f16c517cd1731d006c9db574a9b9f Mgere the image loader back diff -r 25a68d15e92f -r 9fa4459c08a9 tools/mb_c_source.m4 --- 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;