-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot load GTK 4 (3.96.0) #226
Comments
Line 23 is:
According to https://developer.gnome.org/gdk3/stable/gdk3-Threads.html#gdk-threads-set-lock-functions, The only way forward that I see is to just drop this lock-related code (just remove line 23 of said file) and update the documentation to point out explicitly that in GTK 4, we do not provide thread-safety, because GTK 4 provides (Note that removing line 23 will likely just uncover more problems. Line 24 tries to call |
Another thing to point out here, https://developer.gnome.org/gtk4/stable/ch41s02.html#id-1.7.4.4.29 The idea with this change was to simplify the creation of custom widgets, in addition to encouraging the concept of "composition over inheritance" and "everything is a widget" |
This is an old comment but I just wanted to add:
GTK has never been thread safe and the locks were never enough to be thread safe. |
any updates on this? |
para evitar fallos con GTK4 bug: lgi-devs/lgi#226
Yes please. I'm considering using Gtk4 for a new project but i need to have Lua scripting. |
I fiddled with this but it requires a decent amount more work I believe: TingPing@eeafbb5 |
is LGI ever going to support GTK4 at all? |
The text was updated successfully, but these errors were encountered: