$OpenBSD: patch-src_main_c,v 1.1.1.1 2012/10/12 14:50:45 kirby Exp $

Properly call gdk_threads_enter() and gdk_threads_leave() to prevent
abort() on startup due to gtk trying to unlock a uninitialized
mutex

--- src/main.c.orig	Thu Jun 14 08:41:11 2012
+++ src/main.c	Fri Oct 12 17:52:45 2012
@@ -200,7 +200,9 @@ main (int argc, char *argv[])
 	
 	init();
 	
+	gdk_threads_enter();
 	gtk_main ();
+	gdk_threads_leave();
 
 
 	
