about summary refs log tree commit diff
path: root/surf.c
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2013-03-14 06:35:42 +0100
committerChristoph Lohmann <20h@r-36.net>2013-03-14 06:35:42 +0100
commitd02f73d9902b953e6d815856844c79e3755c26fd (patch)
tree30188490a81273ba0a8bd5049360801efd175f0a /surf.c
parentFix output redirection in surf-open.sh (diff)
downloadsurf-d02f73d9902b953e6d815856844c79e3755c26fd.tar.gz
surf-d02f73d9902b953e6d815856844c79e3755c26fd.tar.bz2
surf-d02f73d9902b953e6d815856844c79e3755c26fd.zip
Adding a default font size option.
Thanks Alexander Sedov <alex0player@gmail.com>!
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/surf.c b/surf.c
index ee4ab75..830665a 100644
--- a/surf.c
+++ b/surf.c
@@ -752,6 +752,8 @@ newclient(void) {
 			enableinspector, NULL);
 	g_object_set(G_OBJECT(settings), "enable-default-context-menu",
 			kioskmode ^ 1, NULL);
+	g_object_set(G_OBJECT(settings), "default-font-size",
+			defaultfontsize, NULL);
 
 	if(enableinspector) {
 		c->inspector = WEBKIT_WEB_INSPECTOR(