[gthumb] fixed animations not running when zoommed out
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] fixed animations not running when zoommed out
- Date: Sat, 19 Jan 2013 18:35:52 +0000 (UTC)
commit 8b05c94c7b2fe775a91695e5eab648d3b4509e9e
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sat Jan 19 18:59:28 2013 +0100
fixed animations not running when zoommed out
gthumb/gth-image-dragger.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/gth-image-dragger.c b/gthumb/gth-image-dragger.c
index 5053ea4..79976da 100644
--- a/gthumb/gth-image-dragger.c
+++ b/gthumb/gth-image-dragger.c
@@ -304,6 +304,9 @@ _gth_image_dragger_update_scaled_image (GthImageDragger *self)
_cairo_clear_surface (&self->priv->scaled);
self->priv->scaled = NULL;
+ if (gth_image_viewer_is_animation (self->priv->viewer))
+ return;
+
image = gth_image_viewer_get_current_image (self->priv->viewer);
if (image == NULL)
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]