From 74b549bd859ebc7addbb60e4da8fa4d4c90e16dd Mon Sep 17 00:00:00 2001 From: Emmanuel Rodriguez Date: Mon, 13 Apr 2009 21:52:39 +0200 Subject: [PATCH] new_with_image() is now new_from_file() --- bindings/perl/Champlain/examples/launcher.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/perl/Champlain/examples/launcher.pl b/bindings/perl/Champlain/examples/launcher.pl index c5cc5b7..b0e980a 100755 --- a/bindings/perl/Champlain/examples/launcher.pl +++ b/bindings/perl/Champlain/examples/launcher.pl @@ -117,7 +117,7 @@ sub create_marker_layer { my $file = File::Spec->catfile($FindBin::Bin, 'images', 'who.png'); eval { - $marker = Champlain::Marker->new_with_image($file); + $marker = Champlain::Marker->new_from_file($file); $marker->set_position(47.130885, -70.764141); $layer->add($marker); }; -- 2.39.5