@@ -147,10 +147,7 @@ iimage_save(Model *model, xmlNode *xnode)
147147
148148 /* We always rebuild the value from the expr ... don't save.
149149 */
150- if (!set_iprop (xthis , "image_left" , iimage -> image_left ) ||
151- !set_iprop (xthis , "image_top" , iimage -> image_top ) ||
152- !set_iprop (xthis , "image_mag" , iimage -> image_mag ) ||
153- !set_sprop (xthis , "show_status" , bool_to_char (iimage -> show_status )) ||
150+ if (!set_sprop (xthis , "show_status" , bool_to_char (iimage -> show_status )) ||
154151 !set_sprop (xthis , "show_convert" , bool_to_char (iimage -> show_convert )))
155152 return NULL ;
156153
@@ -175,9 +172,6 @@ iimage_load(Model *model,
175172
176173 g_assert (IS_RHS (parent ));
177174
178- (void ) get_iprop (xnode , "image_left" , & iimage -> image_left );
179- (void ) get_iprop (xnode , "image_top" , & iimage -> image_top );
180- (void ) get_iprop (xnode , "image_mag" , & iimage -> image_mag );
181175 (void ) get_bprop (xnode , "show_status" , & iimage -> show_status );
182176 (void ) get_bprop (xnode , "show_paintbox" , & iimage -> show_paintbox );
183177 (void ) get_bprop (xnode , "show_convert" , & iimage -> show_convert );
@@ -407,10 +401,6 @@ iimage_init(iImage *iimage)
407401
408402 iimage -> views = NULL ;
409403
410- iimage -> image_left = 0 ;
411- iimage -> image_top = 0 ;
412- iimage -> image_mag = 0 ;
413-
414404 iimage -> show_status = FALSE;
415405 iimage -> show_paintbox = FALSE;
416406 iimage -> show_convert = FALSE;
0 commit comments