From: Emmanuel Rodriguez Date: Thu, 4 Jun 2009 19:46:18 +0000 (+0200) Subject: champlain_network_map_source_fill_tile is no longer in the API X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f20fa96ce9e728c0e694a4e7d14dd3c04d0d6ebd;p=libchamplain champlain_network_map_source_fill_tile is no longer in the API Update the test and the XS file. --- diff --git a/bindings/perl/Champlain/t/ChamplainNetworkMapSource.t b/bindings/perl/Champlain/t/ChamplainNetworkMapSource.t index 16de35e..75453e1 100644 --- a/bindings/perl/Champlain/t/ChamplainNetworkMapSource.t +++ b/bindings/perl/Champlain/t/ChamplainNetworkMapSource.t @@ -3,7 +3,7 @@ use strict; use warnings; -use Clutter::TestHelper tests => 6; +use Clutter::TestHelper tests => 4; use Champlain ':coords'; @@ -39,9 +39,4 @@ sub test_all { 'http://www.it-is-free.org/tiles/3/100-200.png', "get_tile_uri()" ); - - my $tile = Champlain::Tile->new(); - is($tile->get_state(), 'init'); - $map_source->fill_tile($tile); - is($tile->get_state(), 'loading'); } diff --git a/bindings/perl/Champlain/xs/ChamplainNetworkMapSource.xs b/bindings/perl/Champlain/xs/ChamplainNetworkMapSource.xs index 3f8a1a6..cda8470 100644 --- a/bindings/perl/Champlain/xs/ChamplainNetworkMapSource.xs +++ b/bindings/perl/Champlain/xs/ChamplainNetworkMapSource.xs @@ -15,7 +15,3 @@ champlain_network_map_source_get_tile_uri (ChamplainNetworkMapSource *source, gi void champlain_network_map_source_set_uri_format (ChamplainNetworkMapSource *source, const gchar *uri_format) - - -void -champlain_network_map_source_fill_tile (ChamplainMapSource *source, ChamplainTile *tile)