From 6679794a2f92756d9c83aa04650322d5deae8327 Mon Sep 17 00:00:00 2001 From: "Andre A. Gomes" Date: Tue, 10 Sep 2024 12:35:27 +0300 Subject: [PATCH] renderer/gtk: Simplify. It serves no purpose since the view is instantiated on window instantiation. --- source/renderer/gtk.lisp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/source/renderer/gtk.lisp b/source/renderer/gtk.lisp index 327b0caef0d..b1ff8b4dd10 100644 --- a/source/renderer/gtk.lisp +++ b/source/renderer/gtk.lisp @@ -1005,16 +1005,7 @@ with this scheme.") "Make BUFFER with EXTRA-MODES. See `finalize-buffer'." (ffi-buffer-make buffer) - (finalize-buffer buffer :extra-modes extra-modes :no-hook-p no-hook-p) - (typecase buffer - (status-buffer - (%within-renderer-thread-async - (lambda () - (with-slots (gtk-object) buffer - (unless gtk-object - (setf gtk-object (make-web-view (profile buffer) buffer)) - (connect-signal-function buffer "decide-policy" - (make-decide-policy-handler buffer))))))))) + (finalize-buffer buffer :extra-modes extra-modes :no-hook-p no-hook-p)) (define-ffi-method ffi-buffer-url ((buffer gtk-buffer)) (quri:uri (webkit:webkit-web-view-uri (gtk-object buffer))))