summaryrefslogtreecommitdiff
path: root/src/slideshow.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-04-30 19:12:54 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-04-30 19:12:54 +0200
commit65b5d9c1abaea7e8bfbc5d70d78a56af4be75c1a (patch)
tree5b3e774ffaada3167fcd7dfa70a4516d6b626afc /src/slideshow.c
parentf1f2df16bacebc8df1f1779a3a50e6035d488f5d (diff)
Initial support for in-image warning display (closes #43)
Diffstat (limited to 'src/slideshow.c')
-rw-r--r--src/slideshow.c6
1 files changed, 3 insertions, 3 deletions
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;