spacefm: make this work with glib>=2.41 (close #563).
This commit is contained in:
parent
5a4c552fec
commit
da0b44d2f5
|
@ -0,0 +1,13 @@
|
||||||
|
glib-2.41 is stricter checking for (un)locking mutexes, and aborts()
|
||||||
|
when attempting to unrelease an unlocked mutex.
|
||||||
|
|
||||||
|
--- src/main.c.orig 2014-09-25 11:34:24.970339238 +0200
|
||||||
|
+++ src/main.c 2014-09-25 11:34:39.034443191 +0200
|
||||||
|
@@ -1442,6 +1442,7 @@ int main ( int argc, char *argv[] )
|
||||||
|
#endif
|
||||||
|
g_thread_init( NULL );
|
||||||
|
gdk_threads_init ();
|
||||||
|
+ gdk_threads_enter ();
|
||||||
|
|
||||||
|
#if HAVE_HAL
|
||||||
|
/* If the user wants to mount/umount/eject a device */
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'spacefm'
|
# Template file for 'spacefm'
|
||||||
pkgname=spacefm
|
pkgname=spacefm
|
||||||
version=0.9.4
|
version=0.9.4
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="pkg-config intltool"
|
hostmakedepends="pkg-config intltool"
|
||||||
makedepends="gtk+-devel startup-notification-devel libudev-devel"
|
makedepends="gtk+-devel startup-notification-devel libudev-devel"
|
||||||
|
|
Loading…
Reference in New Issue