Re: Gtk3::Application and vfuncs causing segfault
- From: Jeffrey Ratcliffe <jffry posteo net>
- To: Marius Feraru <altblue gmail com>
- Cc: "gtk-perl-list gnome org List" <gtk-perl-list gnome org>
- Subject: Re: Gtk3::Application and vfuncs causing segfault
- Date: Tue, 5 Jun 2018 13:21:07 +0200
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.
Regards
Jeff
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]