On 30-05-2019 22:02, Ron Tarrant wrote:
Hi Mike,
I thought I was doing something wrong, but from what I've been reading online, this is a GTK bug. But apparently it was supposed to have been fixed in 3.22, so I'm stumped. Perhaps I found a way to wake it up again?
Error:
Gtk-CRITICAL **: gtk_cell_layout_add_attribute: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
What this code boils down to is... I'm dynamically populating a TreeView with a list of PgFontDescriptions. But this isn't in a ScrolledWindow yet and so it just goes on for 300+ lines off-screen.
For the first error, move the call to addAttribute
after the call to super
so the parent class is properly initialized.