parcellite 1.1.7 fails to start on freebsd
Brought to you by:
rickyrockrat
A call to g_mutex_unlock() on a mutex that is not locked causes the application to crash on startup on FreeBSD. Attached patch first makes sure the mutex is locked (either by the current thread or another) before unlocking (a better understanding of the code might actually yield the removal of g_mutex_unlock() in parcellite_init(), instead of adding trylock(), but I lack that knowledge and this patch works for me).
Yes with this patch start and works good in FreeBSD, Please add this patch in next version.
Ticket moved from /p/parcellite/patches/32/
Duplicate of bug 111, and fixed in SVN.