Re: Gtk3::Application and vfuncs causing segfault

Hi Marius,

On Mon, 4 Jun 2018 03:27:46 +0300
Marius Feraru <altblue gmail com> wrote:

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.  

Thanks for you swift response. Indeed, calling SUPER::STARTUP first
solves the problem.



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