]> err.no Git - libchamplain/commitdiff
Port to Clutter 1.0
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Fri, 18 Sep 2009 09:10:53 +0000 (11:10 +0200)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Mon, 21 Sep 2009 16:19:45 +0000 (12:19 -0400)
Clutter::Texture::Clone is now Clutter::Clone.

bindings/perl/Champlain/examples/flickr.pl

index 29c5b1101d24055c07edcfc96e96d7434ca8de96..18099d2a4c1b117cdda10eeeaa632cb9a1e2f7eb 100755 (executable)
@@ -136,7 +136,7 @@ sub flickr_photos_search_callback {
                my $longitude = $photo_node->getAttribute('longitude');
 
                # Add a marker for the image
-               my $icon = Clutter::Texture::Clone->new($data->{icon});
+               my $icon = Clutter::Clone->new($data->{icon});
                my $marker = Champlain::Marker->new_with_image($icon);
                $marker->set_position($latitude, $longitude);
                $data->{layer}->add($marker);