about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCody Wright <writecode@localhost.com>2011-10-02 13:30:51 +0200
committerMarco Peereboom <marco@conformal.com>2011-10-03 12:56:41 -0500
commit1f146bc014ebd09e3c8c6a49c3970dca02b39e03 (patch)
treea9241ebfef6ee11ef91ea1fe06077f0c80af0d00
parent91753121a62155ac50dce6994d841716791c6180 (diff)
downloadxombrero-1f146bc014ebd09e3c8c6a49c3970dca02b39e03.tar.gz
Use g_thread_create() instead of gdk_threads_add_idle_full()
This makes the browsing on slow connections more comfortable as the XXXTerm
interface now does not hang when loading HTTPS website.
-rw-r--r--xxxterm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xxxterm.c b/xxxterm.c
index 42ae8d8..68e22c1 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -6403,8 +6403,7 @@ show_ca_status(struct tab *t, const char *uri)
 		goto done;
 
 	/* thread the coloring of the address bar */
-	gdk_threads_add_idle_full(G_PRIORITY_DEFAULT_IDLE,
-	    color_address_bar, t, NULL);
+	g_thread_create((GThreadFunc)color_address_bar, t, FALSE, NULL);
 	return;
 
 done: