[libhandy/wip/haecker-felix/flap-widget] fixup! animation: Add HdyAnimation



commit adf40eff7234c72559d2f7251076e0a49775fcb6
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Nov 19 19:01:54 2020 +0500

    fixup! animation: Add HdyAnimation

 src/hdy-animation.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/hdy-animation.c b/src/hdy-animation.c
index 91d504e9..c94e851d 100644
--- a/src/hdy-animation.c
+++ b/src/hdy-animation.c
@@ -61,6 +61,9 @@ tick_cb (GtkWidget     *widget,
     self->tick_cb_id = 0;
 
     set_value (self, self->value_to);
+
+    g_signal_handlers_disconnect_by_func (self->widget, hdy_animation_stop, self);
+
     self->done_cb (self->user_data);
 
     return G_SOURCE_REMOVE;


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