From: Pierre-Luc Beaudoin Date: Sat, 2 May 2009 06:04:59 +0000 (-0400) Subject: Update documentation X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebde18435afbbe983cdf2ba057d847f1c8a6cf75;p=libchamplain Update documentation --- diff --git a/champlain/champlain-cache.c b/champlain/champlain-cache.c index 32d934c..820ea68 100644 --- a/champlain/champlain-cache.c +++ b/champlain/champlain-cache.c @@ -188,7 +188,7 @@ cleanup: /** * champlain_cache_get_default: * - * Return the #ChamplainCache singleton + * Returns the #ChamplainCache singleton * * Since: 0.4 */ @@ -405,7 +405,7 @@ delete_tile (ChamplainCache *self, * champlain_cache_update_tile: * @self: the #ChamplainCache * @tile: the #ChamplainTile to fill - * @size: the filesize on the disk + * @filesize: the filesize on the disk * * Update the tile's information in the cache such as Etag and filesize. * Also increase the tile's popularity. @@ -415,7 +415,7 @@ delete_tile (ChamplainCache *self, void champlain_cache_update_tile (ChamplainCache *self, ChamplainTile *tile, - guint size) + guint filesize) { g_return_if_fail (CHAMPLAIN_CACHE (self)); gchar *query, *error = NULL; @@ -425,7 +425,7 @@ champlain_cache_update_tile (ChamplainCache *self, query = g_strdup_printf ("REPLACE INTO tiles (filename, etag, size) VALUES ('%s', '%s', %d);", champlain_tile_get_filename (tile), champlain_tile_get_etag (tile), - size); + filesize); sqlite3_exec (priv->data, query, NULL, NULL, &error); if (error != NULL) { diff --git a/docs/reference/libchamplain-docs.sgml b/docs/reference/libchamplain-docs.sgml index 6425c24..236498b 100644 --- a/docs/reference/libchamplain-docs.sgml +++ b/docs/reference/libchamplain-docs.sgml @@ -52,7 +52,7 @@ - + Index diff --git a/docs/reference/libchamplain-gtk-docs.sgml b/docs/reference/libchamplain-gtk-docs.sgml deleted file mode 100644 index 5358797..0000000 --- a/docs/reference/libchamplain-gtk-docs.sgml +++ /dev/null @@ -1,20 +0,0 @@ - - -]> - - - libchamplain-gtk Reference Manual - - for libchamplain-gtk &version; - The latest version of this documentation can be found on-line at - http://blog.pierlux.com/projects/libchamplain/. - - - - - I. API Reference - - - diff --git a/docs/reference/libchamplain-gtk-sections.txt b/docs/reference/libchamplain-gtk-sections.txt deleted file mode 100644 index a04f9c2..0000000 --- a/docs/reference/libchamplain-gtk-sections.txt +++ /dev/null @@ -1,19 +0,0 @@ -
-champlainviewembed -ChamplainViewEmbed -champlain_view_embed_new -champlain_view_embed_get_view - -CHAMPLAIN_VIEW_EMBED -CHAMPLAIN_IS_VIEW_EMBED -CHAMPLAIN_TYPE_VIEW_EMBED -champlain_view_embed_get_type -CHAMPLAIN_VIEW_EMBED_CLASS -CHAMPLAIN_IS_VIEW_EMBED_CLASS -CHAMPLAIN_VIEW_EMBED_GET_CLASS -
- -
-champlain-gtk-marshal -
- diff --git a/docs/reference/libchamplain-sections.txt b/docs/reference/libchamplain-sections.txt index bccf7d0..cc5a44a 100644 --- a/docs/reference/libchamplain-sections.txt +++ b/docs/reference/libchamplain-sections.txt @@ -294,3 +294,18 @@ CHAMPLAIN_PARAM_READWRITE ChamplainState +
+champlain-cache +ChamplainCache +ChamplainCacheClass +champlain_cache_fill_tile +champlain_cache_get_default +champlain_cache_get_size_limit +champlain_cache_get_type +champlain_cache_purge +champlain_cache_purge_on_idle +champlain_cache_set_size_limit +champlain_cache_tile_is_expired +champlain_cache_update_tile +
+ diff --git a/docs/reference/libchamplain.types b/docs/reference/libchamplain.types index f13ddb4..db39995 100644 --- a/docs/reference/libchamplain.types +++ b/docs/reference/libchamplain.types @@ -1,10 +1,10 @@ #include champlain_view_get_type -champlain_marker_get_type champlain_base_marker_get_type +champlain_marker_get_type champlain_layer_get_type champlain_map_source_get_type champlain_network_map_source_get_type -champlain_zoom_level_get_type champlain_tile_get_type +champlain_cache_get_type