]> err.no Git - libchamplain/commitdiff
new_with_image() is now new_from_file()
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Mon, 13 Apr 2009 19:52:39 +0000 (21:52 +0200)
committerEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Mon, 13 Apr 2009 19:57:56 +0000 (21:57 +0200)
bindings/perl/Champlain/examples/launcher.pl

index c5cc5b707de084e635ba0375a5498dc00e6492e5..b0e980a6d06ba7d7bdbd248afb4061e7c450ef83 100755 (executable)
@@ -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);
        };