about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorTodd Fries <todd@fries.net>2011-03-17 23:01:57 +0000
committerTodd Fries <todd@fries.net>2011-03-17 23:01:57 +0000
commitf4575bef1221c05d5eb5676de476224286334c19 (patch)
tree96e7fc231f1722234f3d598a85f0e493818ff92e
parent3f8d0db77387bad19acb743dc80b336ce0655d47 (diff)
downloadxombrero-f4575bef1221c05d5eb5676de476224286334c19.tar.gz
pre-emptive strike on the SSL priority knob so when libsoup has it we use it
ok marco@
-rw-r--r--xxxterm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/xxxterm.c b/xxxterm.c
index ba11bfb..35e9774 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -8093,6 +8093,7 @@ main(int argc, char *argv[])
 	FILE			*f = NULL;
 	struct karg		a;
 	struct sigaction	sact;
+	gchar			*priority = g_strdup("NORMAL");
 
 	start_argv = argv;
 
@@ -8280,6 +8281,11 @@ main(int argc, char *argv[])
 
 	/* cookies */
 	session = webkit_get_default_session();
+	/* XXX ssl-priority property not quite available yet */
+	if (is_g_object_setting(G_OBJECT(session),
+	    "ssl-priority"))
+		g_object_set(G_OBJECT(session), "ssl-priority", priority,
+		    (char *)NULL);
 	setup_cookies();
 
 	/* certs */