fix incorrect webkit_web_view_set_zoom_level call

Sun, 12 Oct 2025 17:37:16 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 12 Oct 2025 17:37:16 +0200
changeset 842
2ba50231b255
parent 840
f74250eda598
child 843
9d958108c415

fix incorrect webkit_web_view_set_zoom_level call

ui/gtk/webview.c file | annotate | diff | comparison | revisions
--- a/ui/gtk/webview.c	Sun Oct 12 09:17:37 2025 +0200
+++ b/ui/gtk/webview.c	Sun Oct 12 17:37:16 2025 +0200
@@ -96,7 +96,7 @@
     }
     
     ui_webview_enable_javascript(g, data->javascript);
-    webkit_web_view_set_zoom_level(data->webview, data->zoom);
+    ui_webview_set_zoom(g, data->zoom);
     
     return 0;
 }

mercurial