[gimp/wip/animation: 50/197] plug-ins: stop animation playback before quitting.



commit c008eaf4fc878907ff9526356bbe01fd5366434b
Author: Jehan <jehan girinstud io>
Date:   Wed Aug 19 16:12:55 2015 +0200

    plug-ins: stop animation playback before quitting.

 plug-ins/animation-play/animation-dialog.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/animation-play/animation-dialog.c b/plug-ins/animation-play/animation-dialog.c
index 4809576..8f87292 100755
--- a/plug-ins/animation-play/animation-dialog.c
+++ b/plug-ins/animation-play/animation-dialog.c
@@ -1118,9 +1118,12 @@ update_ui_sensitivity (AnimationDialog *dialog)
 /**** UI CALLBACKS ****/
 
 static void
-close_callback (GtkAction           *action,
+close_callback (GtkAction       *action,
                 AnimationDialog *dialog)
 {
+  AnimationDialogPrivate *priv = GET_PRIVATE (dialog);
+
+  animation_stop (priv->animation);
   gtk_widget_destroy (GTK_WIDGET (dialog));
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]