summaryrefslogtreecommitdiff
path: root/browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'browser.c')
-rw-r--r--browser.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/browser.c b/browser.c
index 4804726..6877977 100644
--- a/browser.c
+++ b/browser.c
@@ -205,7 +205,14 @@ client_new(const gchar *uri)
gtk_window_set_title(GTK_WINDOW(c->win), __NAME__);
c->web_view = webkit_web_view_new();
- webkit_web_view_set_full_content_zoom(WEBKIT_WEB_VIEW(c->web_view), TRUE);
+
+ /* XXX I really do want to enable this option. However, I get
+ * reproducable crashes with it enabled. I've seen bug reports from
+ * 2010 about this... WebKit crashes in libpixman, so maybe it's not
+ * a WebKit issue.
+ * Yeah, well. I'll turn it off for now. */
+ /*webkit_web_view_set_full_content_zoom(WEBKIT_WEB_VIEW(c->web_view), TRUE);*/
+
webkit_web_view_set_zoom_level(WEBKIT_WEB_VIEW(c->web_view), global_zoom);
g_signal_connect(G_OBJECT(c->web_view), "notify::title",
G_CALLBACK(changed_title), c);