about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2012-05-15 17:27:00 -0500
committerMarco Peereboom <marco@conformal.com>2012-05-15 17:27:00 -0500
commitb8723f134d16fc27718729aef3f55dcdb7547af5 (patch)
tree07447beb4e44bf8a61e7a8a06654e8c8509c9c92
parentc5b8795f9e3202205974fd18a3846ae0ebbf708a (diff)
downloadxombrero-b8723f134d16fc27718729aef3f55dcdb7547af5.tar.gz
add some links as to where all this magic came from
-rw-r--r--xxxterm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xxxterm.c b/xxxterm.c
index b084bff..e3e1542 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -7687,12 +7687,16 @@ main(int argc, char **argv)
 
 	/* prepare gtk */
 #ifdef USE_THREADS
+	/* http://web.archiveorange.com/archive/v/UsPjxkX5PsaXBIoOjqxf */
 	XInitThreads();
+
+	/* http://developer.gnome.org/gdk/stable/gdk-Threads.html */
 	g_thread_init(NULL);
 	gdk_threads_set_lock_functions(mtx_lock, mtx_unlock);
 	gdk_threads_init();
 	gdk_threads_enter();
 
+	/* http://www.gnupg.org/documentation/manuals/gcrypt/Multi_002dThreading.html */
 	gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread);
 #endif
 	gtk_init(&argc, &argv);