rem: wwarning(_("error loading image file \"%s\""), iconfile, RErrorString);
add: wwarning(_("error loading image file \"%s\""), iconfile, RMessageForError(RErrorCode));
context: wIconCreateWithIconFile(WScreen *scr, char *iconfile, int tile){    WIcon *icon;    unsigned long vmask = 0;    XSetWindowAttributes attribs;    icon = wmalloc(sizeof(WIcon));    memset(icon, 0, sizeof(WIcon));    icon->core = wCoreCreateTopLevel(scr, 0, 0, wPreferences.icon_size, 				     wPreferences.icon_size, 0);    if (wPreferences.use_saveunders) {	vmask = CWSaveUnder;	attribs.save_under = True;    }    /* a white border for selecting it */    vmask |= CWBorderPixel;    attribs.border_pixel = scr->white_pixel;	    XChangeWindowAttributes(dpy, icon->core->window, vmask, &attribs);    /* will be overriden if this is a application icon */    icon->core->descriptor.handle_mousedown = miniwindowMouseDown;    icon->core->descriptor.handle_expose = miniwindowExpose;    icon->core->descriptor.parent_type = WCLASS_MINIWINDOW;    icon->core->descriptor.parent = icon;    icon->core->stacking = wmalloc(sizeof(WStacking));    icon->core->stacking->above = NULL;    icon->core->stacking->under = NULL;    icon->core->stacking->window_level = WMNormalWindowLevel;    icon->core->stacking->child_of = NULL;    if (iconfile) {	icon->image = RLoadImage(scr->rcontext, iconfile, 0);	if (!icon->image) {	    wwarning(_("error loading image file \"%s\""), iconfile, RErrorString);	}	icon->image = wIconValidateIconSize(scr, icon->image);    	icon->file = wstrdup(iconfile);    }        icon->tile_type = tile;        wIconUpdate(icon);    return icon;}