From: Emmanuel Rodriguez Date: Mon, 13 Apr 2009 19:52:39 +0000 (+0200) Subject: new_with_image() is now new_from_file() X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74b549bd859ebc7addbb60e4da8fa4d4c90e16dd;p=libchamplain new_with_image() is now new_from_file() --- 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); };