6
use Test::More tests => 1;
8
#------------------------------------------------------------------------------
16
return bless {}, $class;
19
my $mai_tai_store_called;
23
$mai_tai_store_called = 1;
26
#------------------------------------------------------------------------------
33
use Glib::Object::Subclass
35
properties => [ Glib::ParamSpec->int ('myprop',
40
[qw/writable readable/]),
45
tie $self->{'myprop'}, 'MaiTai';
48
#------------------------------------------------------------------------------
51
my $obj = MyObject->new;
53
$mai_tai_store_called = 0;
54
$obj->set (myprop => 50);
55
is ($mai_tai_store_called, 1,
56
'MaiTai tied store function called');