[libchamplain: 26/39] Give the MapView the same size as the stage
- From: Pierre-Luc Beaudoin <plbeaudoin src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [libchamplain: 26/39] Give the MapView the same size as the stage
- Date: Mon, 21 Sep 2009 16:25:54 +0000 (UTC)
commit d457c0ea178bde293109bd98212438fcfc36e841
Author: Emmanuel Rodriguez <emmanuel rodriguez gmail com>
Date: Fri Sep 18 10:53:38 2009 +0200
Give the MapView the same size as the stage
bindings/perl/Champlain/examples/flickr.pl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bindings/perl/Champlain/examples/flickr.pl b/bindings/perl/Champlain/examples/flickr.pl
index 983dd3e..29c5b11 100755
--- a/bindings/perl/Champlain/examples/flickr.pl
+++ b/bindings/perl/Champlain/examples/flickr.pl
@@ -52,7 +52,7 @@ sub main {
$map->center_on(47.130885, -70.764141);
$map->set_scroll_mode('kinetic');
$map->set_zoom_level(5);
- $map->set_size(640, 480);
+ $map->set_size($stage->get_size);
$stage->add($map);
# Create the markers and marker layer
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]