[libchamplain: 7/39] Port to Clutter 1.0



commit 51169d8141f17a74b28115aab8879ef9343bbaee
Author: Emmanuel Rodriguez <emmanuel rodriguez gmail com>
Date:   Fri Sep 4 20:21:34 2009 +0200

    Port to Clutter 1.0
    
    Clutter::Label is now replaced by Clutter::Text in Clutter 1.0.

 bindings/perl/Champlain/examples/launcher.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/bindings/perl/Champlain/examples/launcher.pl b/bindings/perl/Champlain/examples/launcher.pl
index 693391e..fbe718c 100755
--- a/bindings/perl/Champlain/examples/launcher.pl
+++ b/bindings/perl/Champlain/examples/launcher.pl
@@ -80,7 +80,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();
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]