[Xfce4-commits] <ristretto:master> Fix segfault with animated gifs (Bug #5422)
Stephan Arts
stephan at xfce.org
Wed Aug 12 12:20:31 CEST 2009
Updating branch refs/heads/master
to fd7996a3822de483c74595c7c9aa48ace04dddad (commit)
from dd00ffe411a25a8655cb4ee92d60b99edbd96445 (commit)
commit fd7996a3822de483c74595c7c9aa48ace04dddad
Author: Stephan Arts <stephan at xfce.org>
Date: Wed Jun 10 18:54:21 2009 +0200
Fix segfault with animated gifs (Bug #5422)
src/image.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/image.c b/src/image.c
index a7e2d80..ecc8d07 100644
--- a/src/image.c
+++ b/src/image.c
@@ -653,7 +653,7 @@ cb_rstto_image_update(RsttoImage *image)
image->priv->pixbuf = NULL;
}
- image->priv->pixbuf = gdk_pixbuf_animation_iter_get_pixbuf (image->priv->iter);
+ image->priv->pixbuf = gdk_pixbuf_copy (gdk_pixbuf_animation_iter_get_pixbuf (image->priv->iter));
}
timeout = gdk_pixbuf_animation_iter_get_delay_time (image->priv->iter);
More information about the Xfce4-commits
mailing list