-
-
Notifications
You must be signed in to change notification settings - Fork 90
Creating ApplicationWindow in main causes segfault #84
Comments
I wonder if there is a way to prevent people to use this function outside of the signal... |
Why does it segfault though? Can you provide a backtrace of the crash and any critical warnings that are printed? |
|
Not sure what we can do here from our side. That looks like something that can only be caught easily inside GTK, but they will probably say that you just shouldn't do this. On the bindings side we could remember via TLS if we're currently inside the |
The crash happens with plain C too: https://gitlab.gnome.org/GNOME/gtk/-/issues/3310 |
Yeah, as expected and the response is also as expected :) See my comment above. In a perfect world we would set |
…cus-child gtk: fix widget's set_focus_child implementation
Dumb program that doesn't work cuz I forgot how to use gtk the right way (ie the activate signal):
The
gtk::ApplicationWindow::new
call causes a segfault though, in theg_object_new
call ofgtk::application_window::<impl gtk::auto::application_window::ApplicationWindow>::new
Versions are:
No feature flags for the versions.
The text was updated successfully, but these errors were encountered: