]> err.no Git - libchamplain/commitdiff
Rename Champlain::MapSourceFactory->get_default() to Champlain::MapSourceFactory...
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Sun, 7 Jun 2009 10:02:35 +0000 (12:02 +0200)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Tue, 9 Jun 2009 04:02:23 +0000 (00:02 -0400)
bindings/perl/Champlain/examples/gtk2.pl

index ca32066878beaeeece04895bcff0e8e83c308675..d146055b5d56e44f86099d3f51b0125710b6b37f 100755 (executable)
@@ -125,7 +125,7 @@ sub create_combo_box {
        my $active = 0; # Tells which map source is active
        my $index = 0;
        my $current_source = $map->get('map-source')->get_id;
-       my $factory = Champlain::MapSourceFactory->get_default;
+       my $factory = Champlain::MapSourceFactory->dup_default;
        foreach my $desc (sort { $a->{name} cmp $b->{name} } $factory->get_list) {
                my $iter = $model->append();
                $model->set($iter,