Re: Segmentation fault when passing Poppler objects

2018-11-06 Thread Emmanuele Bassi via gtk-app-devel-list
On Tue, 6 Nov 2018 at 09:55, Радомир Хаџић via gtk-app-devel-list < gtk-app-devel-list@gnome.org> wrote: > Hi. I get segmentation fault if I try to access a Poppler object whose > pointer is passed through g_signal_connect. There is no such problem > with normal pointers, though. This: > void

Segmentation fault when passing Poppler objects

2018-11-06 Thread Радомир Хаџић via gtk-app-devel-list
Hi. I get segmentation fault if I try to access a Poppler object whose pointer is passed through g_signal_connect. There is no such problem with normal pointers, though. For example, if I run the following code... #include struct Colors { double red; double green; double