From: Emmanuel Rodriguez Date: Mon, 13 Apr 2009 20:14:05 +0000 (+0200) Subject: The constructor new_with_actor() is now named new_with_image() X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcd4c07827d3e8ee9586ed12088735065311fd92;p=libchamplain The constructor new_with_actor() is now named new_with_image() --- 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);