diff options
author | Laurent Napias <[email protected]> | 2019-06-29 10:37:28 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-07-02 12:54:24 +0200 |
commit | 9af2a92113fe00820224b2b16205872713c59e86 (patch) | |
tree | e50406b44a0eca71462125c97f74b73c9e3eb7ff /src/eom-image.c | |
parent | 0e119e78d43695674a4ca22fa601252e94bf8da0 (diff) | |
download | eom-9af2a92113fe00820224b2b16205872713c59e86.tar.bz2 eom-9af2a92113fe00820224b2b16205872713c59e86.tar.xz |
Remove trailing whitespaces
Diffstat (limited to 'src/eom-image.c')
-rw-r--r-- | src/eom-image.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/eom-image.c b/src/eom-image.c index 1cd2690..a6f07e4 100644 --- a/src/eom-image.c +++ b/src/eom-image.c @@ -1102,7 +1102,7 @@ eom_image_real_load (EomImage *img, priv->image = rsvg_handle_get_pixbuf (priv->svg); } else #endif - + { priv->anim = gdk_pixbuf_loader_get_animation (loader); @@ -2246,7 +2246,7 @@ eom_image_iter_advance (EomImage *img) priv = img->priv; - if ((new_frame = gdk_pixbuf_animation_iter_advance (img->priv->anim_iter, NULL)) == TRUE) { + if ((new_frame = gdk_pixbuf_animation_iter_advance (img->priv->anim_iter, NULL)) == TRUE) { g_mutex_lock (&priv->status_mutex); g_object_unref (priv->image); priv->image = gdk_pixbuf_animation_iter_get_pixbuf (priv->anim_iter); @@ -2275,7 +2275,7 @@ eom_image_iter_advance (EomImage *img) * Checks whether a given image is animated. * * Returns: #TRUE if it is an animated image, #FALSE otherwise. - * + * **/ gboolean eom_image_is_animation (EomImage *img) @@ -2290,7 +2290,7 @@ private_timeout (gpointer data) EomImage *img = EOM_IMAGE (data); EomImagePrivate *priv = img->priv; - if (eom_image_is_animation (img) && + if (eom_image_is_animation (img) && !g_source_is_destroyed (g_main_current_source ()) && priv->is_playing) { while (eom_image_iter_advance (img) != TRUE) {}; /* cpu-sucking ? */ |