]> err.no Git - libchamplain/commitdiff
Strings are const
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Mon, 23 Mar 2009 20:54:33 +0000 (21:54 +0100)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Wed, 25 Mar 2009 08:06:20 +0000 (10:06 +0200)
bindings/perl/Champlain/xs/ChamplainNetworkMapSource.xs
bindings/perl/Champlain/xs/ChamplainTile.xs

index 0d4c0a55e8f2cdebce3c8f4d249530cf5c39cdf1..f0570f4b59b8d2af93ce9ff70be9581fbb16db1d 100644 (file)
@@ -11,7 +11,7 @@ champlain_network_map_source_new_full (class, gchar *name, gchar *license, gchar
        C_ARGS: name, license, license_uri, min_zoom, map_zoom, tile_size, projection, uri_format
 
 
-gchar*
+const gchar*
 champlain_network_map_source_get_tile_uri (ChamplainNetworkMapSource *source, gint x, gint y, gint z)
 
 
index 54fb2422de8fcd6e90762b6acf5a678bc6e80a39..15f58f49fc4de9337bff796d6ae47cb24cad58c4 100644 (file)
@@ -36,11 +36,11 @@ ChamplainState
 champlain_tile_get_state (ChamplainTile *self)
 
 
-gchar*
+const gchar*
 champlain_tile_get_uri (ChamplainTile *self)
 
 
-gchar*
+const gchar*
 champlain_tile_get_filename (ChamplainTile *self)
 
 
@@ -69,11 +69,11 @@ champlain_tile_set_state (ChamplainTile *self, ChamplainState state)
 
 
 void
-champlain_tile_set_uri (ChamplainTile *self, gchar* uri)
+champlain_tile_set_uri (ChamplainTile *self, const gchar* uri)
 
 
 void
-champlain_tile_set_filename (ChamplainTile *self, gchar* filename)
+champlain_tile_set_filename (ChamplainTile *self, const gchar* filename)
 
 
 void