--- hello_world.pl
+++ hello_world.pl
@@ -7,10 +7,10 @@
my $stage = Clutter::Stage->get_default();
$stage->set_size(600, 400);
-$stage->set_color(Clutter::Color->parse('DarkSlateGray'));
+$stage->set_color(Clutter::Color->from_string('DarkSlateGray'));
-my $label = Clutter::Label->new("Sans 30", "Hello, World!");
-$label->set_color(Clutter::Color->parse('#f4961bff'));
+my $label = Clutter::Text->new("Sans 30", "Hello, World!");
+$label->set_color(Clutter::Color->from_string('#f4961bff'));
$label->set_anchor_point(0, 0);
$label->set_position(10, 10);
$stage->add($label);