From 910c8dcda4630863d743589b4e5862ec6968be14 Mon Sep 17 00:00:00 2001 From: Emmanuel Rodriguez Date: Fri, 4 Sep 2009 20:17:14 +0200 Subject: [PATCH] Port to Clutter 1.0 Clutter::Label is now replaced by Clutter::Text in Clutter 1.0. --- bindings/perl/Champlain/examples/polygons.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/perl/Champlain/examples/polygons.pl b/bindings/perl/Champlain/examples/polygons.pl index 9330978..1440d6e 100755 --- a/bindings/perl/Champlain/examples/polygons.pl +++ b/bindings/perl/Champlain/examples/polygons.pl @@ -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(); -- 2.39.5