Segmentation fault when clicking a GtkWindow SOLVED



On 02/12/2017 09:00 PM, Hubert Mauchle wrote:
From a top level window I open a new, modal top level window
with some widgets in it. If I close the modal window using
the "x" in the top bar and re-open the modal window, I get
an empty window (without the defined widgets).
If I then click either the new window or the main window,
Gtk3 crashes with Segmentation fault:

gtk_widget_get_window: assertion 'GTK_IS_WIDGET (widget)' failed
Segmentation fault

I use Debian Linux Testing and my software stack has been updated
recently.

The MWE is attached as mwe.pl, the corresponding glade file is glade_versuch04.glade.

What am I missing? Any pointers are appreciated.

Regards,
Hubert


_______________________________________________
gtk-perl-list mailing list
gtk-perl-list gnome org
https://mail.gnome.org/mailman/listinfo/gtk-perl-list

I figured out by myself: The use of a nested main loop and
two separate glade files for each top level window solves my problem.

Regards,
Hubert


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]