summaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorportix <none@none>2013-01-07 23:39:51 +0100
committerportix <none@none>2013-01-07 23:39:51 +0100
commita086ab66867e10bc7dfc8361d4ad174b9fa76b22 (patch)
tree73e42bafbe1f6bda6c657aabea123888b4aa1048 /src/config.h
parent7932a6209201d03609e125ccc5280ce4dc12d2d3 (diff)
downloaddwb-a086ab66867e10bc7dfc8361d4ad174b9fa76b22.zip
Expand ~ in user-stylesheet-uri; don't throw exceptions when an argument is missing
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h
index d902c864..ec726f91 100644
--- a/src/config.h
+++ b/src/config.h
@@ -941,7 +941,7 @@ static WebSettings DWB_SETTINGS[] = {
{ { "user-agent", "The user agent string", },
SETTING_PER_VIEW, CHAR, { .p = NULL }, (S_Func) dwb_set_user_agent, { 0 }, },
{ { "user-stylesheet-uri", "The uri of a stylsheet applied to every page", },
- SETTING_BUILTIN, CHAR, { .p = NULL }, (S_Func) dwb_webkit_setting, { 0 }, },
+ SETTING_BUILTIN, CHAR, { .p = NULL }, (S_Func) dwb_set_user_stylesheet, { 0 }, },
{ { "zoom-step", "The zoom step", },
SETTING_BUILTIN, DOUBLE, { .d = 0.1 }, (S_Func) dwb_webkit_setting, { 0 }, },
{ { "custom-encoding", "The custom encoding of the tab", },