Giter Site home page Giter Site logo

Comments (4)

diamondburned avatar diamondburned commented on June 4, 2024

As far as glib.Variant goes, you need to import
github.com/diamondburned/gotk4/pkg/core/glib for it, because the GVariant
code was primarily hand-written.

The most straightforward solution to fix this confusion would be to have a
generation edge case, but currently, the library only allows ignoring the type
during both generation and resolving, and edge cases to that must be hard-coded
in the type resolver.

As a sidenote, just compiling GTK4 by itself should be faster, since GTK3 takes
longer to compile. You could also try applying certain Go patches listed in
.nix/overlay.nix that tries to multithread the Cgo build process.

from gotk4.

diamondburned avatar diamondburned commented on June 4, 2024

As of commit 579eec99a, callbacks should be using pkg/glib/v2.Variant instead of pkg/core/glib.Variant.

I'll be closing this issue since it's kind of fixed.

from gotk4.

diamondburned avatar diamondburned commented on June 4, 2024

Reopening since the commit didn't actually work. I'll fix it in a minute.

from gotk4.

diamondburned avatar diamondburned commented on June 4, 2024

Fixed in b63160e.

from gotk4.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.