[libchamplain: 37/39] Use the accessors instead of setting properties
- From: Pierre-Luc Beaudoin <plbeaudoin src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libchamplain: 37/39] Use the accessors instead of setting properties
- Date: Mon, 21 Sep 2009 16:26:50 +0000 (UTC)
commit c71aac15c9943d4039a75d16764ffaffbdd2f864
Author: Emmanuel Rodriguez <emmanuel rodriguez gmail com>
Date: Fri Sep 18 22:55:17 2009 +0200
Use the accessors instead of setting properties
bindings/perl/Champlain/lib/Champlain.pm | 3 +--
1 files changed, 1 insertions(+), 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]