From 65b5d9c1abaea7e8bfbc5d70d78a56af4be75c1a Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 30 Apr 2011 19:12:54 +0200 Subject: Initial support for in-image warning display (closes #43) --- src/slideshow.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/slideshow.c') diff --git a/src/slideshow.c b/src/slideshow.c index 79b931f..6d39d2c 100644 --- a/src/slideshow.c +++ b/src/slideshow.c @@ -104,7 +104,7 @@ void feh_reload_image(winwidget w, int resize, int force_new) int old_w, old_h; if (!w->file) { - weprintf("couldn't reload, this image has no file associated with it."); + im_weprintf(w, "couldn't reload, this image has no file associated with it."); return; } @@ -130,7 +130,7 @@ void feh_reload_image(winwidget w, int resize, int force_new) if (force_new) { eprintf("failed to reload image\n"); } else { - weprintf("Couldn't reload image. Is it still there?"); + im_weprintf(w, "Couldn't reload image. Is it still there?"); } winwidget_rename(w, title); free(title); @@ -474,7 +474,7 @@ void slideshow_save_image(winwidget win) gib_imlib_save_image_with_error_return(win->im, tmpname, &err); if (err) - weprintf("Can't save image %s:", tmpname); + im_weprintf(win, "Can't save image %s:", tmpname); free(tmpname); return; -- cgit v1.2.3