From 3e4440f53e4a156c464190fb96c96a1b58f95bd9 Mon Sep 17 00:00:00 2001 From: Sonny Date: Wed, 20 Mar 2024 11:01:49 +0100 Subject: [PATCH] Update VTE 0.76 (#911) --- build-aux/modules/vte.json | 4 ++-- src/cli/main.js | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/build-aux/modules/vte.json b/build-aux/modules/vte.json index 44fe5091b..1061118d7 100644 --- a/build-aux/modules/vte.json +++ b/build-aux/modules/vte.json @@ -11,8 +11,8 @@ "sources": [ { "type": "archive", - "url": "https://download.gnome.org/sources/vte/0.75/vte-0.75.92.tar.xz", - "sha256": "3e805c9ac0fcdf3a11b51d77dd8a98efadba74cfade385951c3d378d156c7023" + "url": "https://download.gnome.org/sources/vte/0.76/vte-0.76.0.tar.xz", + "sha256": "bbce30b8f504370b12d6439c07a82993e97d7e9afe2dd367817cd58ff029ffda" } ] } diff --git a/src/cli/main.js b/src/cli/main.js index c00efabae..cde56a8dd 100644 --- a/src/cli/main.js +++ b/src/cli/main.js @@ -9,6 +9,7 @@ import Gtk from "gi://Gtk"; import Adw from "gi://Adw"; import GObject from "gi://GObject"; import Shumate from "gi://Shumate"; +import WebKit from "gi://WebKit"; import { parse } from "../langs/xml/xml.js"; import { LSPError, diagnostic_severities } from "../lsp/LSP.js"; @@ -23,6 +24,7 @@ import lint, { waitForDiagnostics } from "./lint.js"; import format, { formatting } from "./format.js"; GObject.type_ensure(Shumate.SimpleMap); +GObject.type_ensure(WebKit.WebView); export async function main([action, ...args]) { const current_dir = Gio.File.new_for_path(GLib.get_current_dir());