]> git.armaanb.net Git - chorizo.git/commitdiff
Full content zoom is buggy... -_-
authorPeter Hofmann <scm@uninformativ.de>
Sun, 15 Jun 2014 15:45:30 +0000 (17:45 +0200)
committerPeter Hofmann <scm@uninformativ.de>
Sun, 15 Jun 2014 15:45:30 +0000 (17:45 +0200)
browser.c

index 480472698071fc6dc82b7147de8e3e7febe724f6..6877977f6b18d43cd6216525e1f31376fe4ff4bb 100644 (file)
--- 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);