$OpenBSD: patch-src_main_c,v 1.1 2013/02/01 17:26:16 ajacoutot Exp $

Make sure we do not unlock an unitialized mutex.

--- src/main.c.orig	Fri Feb  1 18:24:33 2013
+++ src/main.c	Fri Feb  1 18:24:10 2013
@@ -459,7 +459,9 @@ main ( int argc, char *argv[] )
 
     if( G_LIKELY( main_window || appSettings.showDesktop ) )
     {
+        gdk_threads_enter();
         gtk_main(); /* if folder windows or desktop icons are showed. */
+        gdk_threads_leave();
     }
     else
     {
