From dcd4c07827d3e8ee9586ed12088735065311fd92 Mon Sep 17 00:00:00 2001 From: Emmanuel Rodriguez Date: Mon, 13 Apr 2009 22:14:05 +0200 Subject: [PATCH] The constructor new_with_actor() is now named new_with_image() --- bindings/perl/Champlain/examples/image.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bindings/perl/Champlain/examples/image.pl b/bindings/perl/Champlain/examples/image.pl index 02a3b73..ca81b00 100755 --- a/bindings/perl/Champlain/examples/image.pl +++ b/bindings/perl/Champlain/examples/image.pl @@ -65,10 +65,9 @@ sub create_marker_layer { my $layer = Champlain::Layer->new(); # Download the image as an actor (Clutter::Texture) - my $actor = download_texture('http://hexten.net/cpan-faces/potyl.jpg'); + my $texture = download_texture('http://hexten.net/cpan-faces/potyl.jpg'); - # Transform the pixbuf into a Clutter texture - my $marker = Champlain::Marker->new_with_actor($actor); + my $marker = Champlain::Marker->new_with_image($texture); $marker->set_position(47.130885, -70.764141); $layer->add($marker); -- 2.39.5