summaryrefslogtreecommitdiff
path: root/image
diff options
context:
space:
mode:
Diffstat (limited to 'image')
-rw-r--r--image/bmp.c2
-rw-r--r--image/gif.c2
-rw-r--r--image/ico.c2
-rw-r--r--image/jpeg.c2
-rw-r--r--image/mng.c2
-rw-r--r--image/rsvg.c2
-rw-r--r--image/svg.c2
7 files changed, 14 insertions, 0 deletions
diff --git a/image/bmp.c b/image/bmp.c
index ed1ea6c02..74b03e77b 100644
--- a/image/bmp.c
+++ b/image/bmp.c
@@ -84,6 +84,8 @@ bool nsbmp_convert(struct content *c, int iwidth, int iheight) {
/* exit as a success */
c->bitmap = bmp->bitmap;
c->status = CONTENT_STATUS_DONE;
+ /* Done: update status bar */
+ content_set_status(c, "");
return true;
}
diff --git a/image/gif.c b/image/gif.c
index 657f1a666..02cb89bcb 100644
--- a/image/gif.c
+++ b/image/gif.c
@@ -122,6 +122,8 @@ bool nsgif_convert(struct content *c, int iwidth, int iheight) {
*/
c->bitmap = gif->frame_image;
c->status = CONTENT_STATUS_DONE;
+ /* Done: update status bar */
+ content_set_status(c, "");
return true;
}
diff --git a/image/ico.c b/image/ico.c
index 45d445000..fa82c1619 100644
--- a/image/ico.c
+++ b/image/ico.c
@@ -87,6 +87,8 @@ bool nsico_convert(struct content *c, int iwidth, int iheight) {
assert(bmp);
c->bitmap = bmp->bitmap;
c->status = CONTENT_STATUS_DONE;
+ /* Done: update status bar */
+ content_set_status(c, "");
return true;
}
diff --git a/image/jpeg.c b/image/jpeg.c
index 523a52fce..57c70213e 100644
--- a/image/jpeg.c
+++ b/image/jpeg.c
@@ -153,6 +153,8 @@ bool nsjpeg_convert(struct content *c, int w, int h)
width, height, c->source_size);
c->size += height * rowstride + 100;
c->status = CONTENT_STATUS_DONE;
+ /* Done: update status bar */
+ content_set_status(c, "");
return true;
}
diff --git a/image/mng.c b/image/mng.c
index 450e038ae..857b0d585 100644
--- a/image/mng.c
+++ b/image/mng.c
@@ -291,6 +291,8 @@ bool nsmng_convert(struct content *c, int width, int height) {
c->size += c->width * c->height * 4 + 100;
c->status = CONTENT_STATUS_DONE;
+ /* Done: update status bar */
+ content_set_status(c, "");
/* jmb: I'm really not sure that this should be here.
* The *_convert functions are for converting a content into a
diff --git a/image/rsvg.c b/image/rsvg.c
index 812a1889e..740d2cc7d 100644
--- a/image/rsvg.c
+++ b/image/rsvg.c
@@ -172,6 +172,8 @@ bool rsvg_convert(struct content *c, int iwidth, int iheight)
c->bitmap = d->bitmap;
c->status = CONTENT_STATUS_DONE;
+ /* Done: update status bar */
+ content_set_status(c, "");
return true;
}
diff --git a/image/svg.c b/image/svg.c
index 9f39cd61f..ee33c1c46 100644
--- a/image/svg.c
+++ b/image/svg.c
@@ -73,6 +73,8 @@ bool svg_convert(struct content *c, int w, int h)
width, height, c->source_size);*/
//c->size += ?;
c->status = CONTENT_STATUS_DONE;
+ /* Done: update status bar */
+ content_set_status(c, "");
return true;
}