Hi,
I'm using gtkd 3.8.4 and I'm getting warnings like this:
(fviewer:6538): GLib-GObject-WARNING **: 18:02:01.422: g_object_remove_toggle_ref: couldn't find toggle ref 0x564cfec5ebb8(0x7f755db58240)
I've traced my app and all of them happen when reading the widgets of the GUI from the ui-file via GtkBuilder, more precisely they occur inside the call to opCast from getObject for each widget, i.e.:
private void createUI () {
theBuilder = new Builder();
if(!theBuilder.addFromFile(buildPath(pkguidir,"fviewer-b.ui")))
{
critical("Window ui-file cannot be found");
return;
}
HeaderBar headerBar = cast(HeaderBar) theBuilder.getObject("wHeaderBar"); // Produces the warning
Box wContent = cast(Box) theBuilder.getObject("wContent"); // Also warning here
....
In spite of the warnings the application works ok.
Any ideas about what I'm doing wrong or how could I prevent these warnings?
Thanks!