about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2011-03-18 00:43:38 +0000
committerMarco Peereboom <marco@conformal.com>2011-03-18 00:43:38 +0000
commit60c9f1fbdec489e4ff38536ad260cf20ca31dfa1 (patch)
tree6fe54b01e7b3110bda300ac47583ca7b9015822e
parentf4575bef1221c05d5eb5676de476224286334c19 (diff)
downloadxombrero-60c9f1fbdec489e4ff38536ad260cf20ca31dfa1.tar.gz
add some warnings to annoy people so that they might help push the lack
of useful properties.
-rw-r--r--xxxterm.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/xxxterm.c b/xxxterm.c
index 35e9774..beadcd6 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -6945,10 +6945,11 @@ stop_cb(GtkWidget *w, struct tab *t)
 void
 setup_webkit(struct tab *t)
 {
-	if (is_g_object_setting(G_OBJECT(t->settings),
-	    "enable-dns-prefetching"))
+	if (is_g_object_setting(G_OBJECT(t->settings), "enable-dns-prefetching"))
 		g_object_set(G_OBJECT(t->settings), "enable-dns-prefetching",
 		    FALSE, (char *)NULL);
+	else
+		warnx("webkit does not have \"enable-dns-prefetching\" property");
 	g_object_set(G_OBJECT(t->settings),
 	    "user-agent", t->user_agent, (char *)NULL);
 	g_object_set(G_OBJECT(t->settings),
@@ -8282,10 +8283,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"))
+	if (is_g_object_setting(G_OBJECT(session), "ssl-priority"))
 		g_object_set(G_OBJECT(session), "ssl-priority", priority,
 		    (char *)NULL);
+	else
+		warnx("session does not have \"ssl-priority\" property");
 	setup_cookies();
 
 	/* certs */