Subject: | GooCanvas2 segfaults when using goo_canvas_item_model_scale() |
Please find below a minimal working example of the problem, which produces
GLib-GObject-CRITICAL **: g_value_set_object: assertion 'g_value_type_compatible (G_OBJECT_TYPE (v_object), G_VALUE_TYPE (value))' failed at /usr/lib/x86_64-linux-gnu/perl5/5.30/Glib.pm line 222.
Segmentation fault
#!/usr/bin/perl
use warnings;
use strict;
use GooCanvas2;
use Glib::Object::Introspection;
my $canvas = GooCanvas2::Canvas->new();
my $root = GooCanvas2::CanvasGroupModel->new();
$canvas->set_root_item_model($root);
$root->scale(2, 1);
#Glib::Object::Introspection->invoke( 'GooCanvas2', 'item_model', 'scale', $root, "2.", "1.");