Hi Jeffrey,

On Sun, Jun 3, 2018 at 9:28 PM Jeffrey Ratcliffe <jf...@posteo.net> wrote:

> However, if I rewrite the vfunc version to build the UI in the startup
> method, it segfaults during the Gtk3::ApplicationWindow->new($app) call.
>

Call SUPER::STARTUP before that; quoting
Gtk-3.0→Application→Constructors→new docs:

> Concretely, gtk_init() is called in the default handler for the
> GApplication::startup signal. Therefore, GtkApplication subclasses should
> chain up in their GApplication::startup handler before using any GTK+ API.


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

Reply via email to