From c71aac15c9943d4039a75d16764ffaffbdd2f864 Mon Sep 17 00:00:00 2001 From: Emmanuel Rodriguez Date: Fri, 18 Sep 2009 22:55:17 +0200 Subject: [PATCH] Use the accessors instead of setting properties --- bindings/perl/Champlain/lib/Champlain.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bindings/perl/Champlain/lib/Champlain.pm b/bindings/perl/Champlain/lib/Champlain.pm index 4185fb9..698e719 100644 --- a/bindings/perl/Champlain/lib/Champlain.pm +++ b/bindings/perl/Champlain/lib/Champlain.pm @@ -15,9 +15,8 @@ Champlain - Map rendering canvas # Create the map view and set some properties my $map = Champlain::View->new(); - $map->set('scroll-mode', 'kinetic'); $map->set_size($stage->get_size); - $map->set_property('zoom-level', 7); + $map->set_zoom_level(7); $map->center_on(45.466, -73.75); # Pack the actors -- 2.39.5