[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] SOC - remarks 3 [FIX]
From: |
Dominic Sacré |
Subject: |
Re: [Denemo-devel] SOC - remarks 3 [FIX] |
Date: |
Thu, 4 Aug 2011 21:38:39 +0200 |
User-agent: |
KMail/1.13.5 (Linux/2.6.32-33-generic; KDE/4.4.5; i686; ; ) |
On Thursday 04 August 2011 21:06:16 Ralf Mattes wrote:
> On Thu, 04 Aug 2011 19:00:51 +0000, Ralf Mattes wrote:
> > Another little buglet: during playback, two notes are highlighed,
> > the one playing and the one before.
>
> Found it: the call to gtk_main() should be protected by
> gdk_thread_enter/leave I've fixed that in view.c (will be commited
> to soc). BTW, I'd rather prefer that gtk_init happens within that
> protection as well, but unfortunately that function is called in
> main instead of inner main. This should be cleaned up soon.
Interesting... I had been experimenting with this, but it didn't seem to
help (and the GTK documentation is pretty vague about these things).
In fact, even the master branch of Denemo, which is essentially single-
threaded (!), sometimes exhibited this double-playhead issue as well.
I'll see if I can still reproduce it...
Dominic