[go: up one dir, main page]

Add additional typelibs for Windows installations

Similar to MR !7353 (merged), this adds the introspection libraries for GTK4 to the Windows installation, which is required by certain extensions. Although Gtk-4.0.typelib was already present, if one attempted to import Gtk, it would fail since Gsk and its dependencies were missing.

import gi
gi.require_version("Gtk", "4.0")
from gi.repository import Gtk

Specifically, it adds Gsk-4.0.typelib, Graphene-1.0.typelib (cute name), and Gdk-4.0.typelib. Collectively, they add about 300 kB. I believe that Linux and MacOS should already have them.

Merge request reports

Loading