about summary refs log tree commit diff stats
path: root/xxxterm.c
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 /xxxterm.c
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.
Diffstat (limited to 'xxxterm.c')
-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:
ef='#n133'>133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200