[guayadeque/f21] added timeline patch to avoid crash on pause or stop
Martin Gansser
martinkg at fedoraproject.org
Fri Mar 6 18:36:27 UTC 2015
commit 79dc203cb5c29b5164350f14b245906bda45e03e
Author: Martin Gansser <mgansser at alice.de>
Date: Fri Mar 6 19:36:23 2015 +0100
added timeline patch to avoid crash on pause or stop
guayadeque-timeline.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
---
diff --git a/guayadeque-timeline.patch b/guayadeque-timeline.patch
new file mode 100644
index 0000000..7d60a67
--- /dev/null
+++ b/guayadeque-timeline.patch
@@ -0,0 +1,11 @@
+--- src/TimeLine.h.orig 2015-01-09 10:31:12.510278569 +0100
++++ src/TimeLine.h 2015-01-09 10:31:54.642461348 +0100
+@@ -115,7 +115,7 @@
+
+ virtual void TimerEvent( void );
+ virtual int TimerCreate( void );
+- virtual void TimerDestroy( void ) { g_source_remove( m_TimerId ); }
++ virtual void TimerDestroy( void ) { int id = m_TimerId; m_TimerId = 0; if (id) g_source_remove( id ); }
+
+ };
+
More information about the scm-commits
mailing list