]> err.no Git - libchamplain/commitdiff
Port to Clutter 1.0
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Fri, 4 Sep 2009 18:17:14 +0000 (20:17 +0200)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Mon, 21 Sep 2009 16:19:43 +0000 (12:19 -0400)
Clutter::Label is now replaced by Clutter::Text in Clutter 1.0.

bindings/perl/Champlain/examples/polygons.pl

index 9330978e1ba1896cde496e8b5917bbcfd7f89544..1440d6ee59b27f1aabdf12db348cffa898637555 100755 (executable)
@@ -117,7 +117,7 @@ sub make_button {
        $button_bg->set_opacity(0xcc);
 
        my $black = Clutter::Color->new(0x00, 0x00, 0x00, 0xff);
-       my $button_text = Clutter::Label->new("Sans 10", $text, $black);
+       my $button_text = Clutter::Text->new("Sans 10", $text, $black);
        $button->add($button_text);
        my ($width, $height) = $button_text->get_size();