[libchamplain] Fix void functions to not try and return a value. Fixes bug #612758.



commit 91dde81214b9314bee78e30b0de30c1198a7ce61
Author: Brian Cameron <Brian Cameron sun com>
Date:   Mon Mar 15 14:07:28 2010 -0500

    Fix void functions to not try and return a value.  Fixes bug #612758.

 champlain/champlain-tile-cache.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/champlain/champlain-tile-cache.c b/champlain/champlain-tile-cache.c
index c452bed..60159f7 100644
--- a/champlain/champlain-tile-cache.c
+++ b/champlain/champlain-tile-cache.c
@@ -27,7 +27,7 @@
 
 #include "champlain-tile-cache.h"
 
-G_DEFINE_TYPE (ChamplainTileCache, champlain_tile_cache, CHAMPLAIN_TYPE_MAP_SOURCE);
+G_DEFINE_TYPE (ChamplainTileCache, champlain_tile_cache, CHAMPLAIN_TYPE_MAP_SOURCE)
 
 #define GET_PRIVATE(obj)    (G_TYPE_INSTANCE_GET_PRIVATE((obj), CHAMPLAIN_TYPE_TILE_CACHE, ChamplainTileCachePrivate))
 
@@ -201,7 +201,7 @@ champlain_tile_cache_store_tile (ChamplainTileCache *tile_cache,
 {
   g_return_if_fail (CHAMPLAIN_IS_TILE_CACHE (tile_cache));
 
-  return CHAMPLAIN_TILE_CACHE_GET_CLASS (tile_cache)->store_tile (tile_cache, tile, contents, size);
+  CHAMPLAIN_TILE_CACHE_GET_CLASS (tile_cache)->store_tile (tile_cache, tile, contents, size);
 }
 
 /**
@@ -218,7 +218,7 @@ champlain_tile_cache_refresh_tile_time (ChamplainTileCache *tile_cache, Champlai
 {
   g_return_if_fail (CHAMPLAIN_IS_TILE_CACHE (tile_cache));
 
-  return CHAMPLAIN_TILE_CACHE_GET_CLASS (tile_cache)->refresh_tile_time (tile_cache, tile);
+  CHAMPLAIN_TILE_CACHE_GET_CLASS (tile_cache)->refresh_tile_time (tile_cache, tile);
 }
 
 /**
@@ -241,7 +241,7 @@ champlain_tile_cache_on_tile_filled (ChamplainTileCache *tile_cache, ChamplainTi
 {
   g_return_if_fail (CHAMPLAIN_IS_TILE_CACHE (tile_cache));
 
-  return CHAMPLAIN_TILE_CACHE_GET_CLASS (tile_cache)->on_tile_filled (tile_cache, tile);
+  CHAMPLAIN_TILE_CACHE_GET_CLASS (tile_cache)->on_tile_filled (tile_cache, tile);
 }
 
 /**
@@ -258,7 +258,7 @@ champlain_tile_cache_clean (ChamplainTileCache *tile_cache)
 {
   g_return_if_fail (CHAMPLAIN_IS_TILE_CACHE (tile_cache));
 
-  return CHAMPLAIN_TILE_CACHE_GET_CLASS (tile_cache)->clean (tile_cache);
+  CHAMPLAIN_TILE_CACHE_GET_CLASS (tile_cache)->clean (tile_cache);
 }
 
 static const gchar *



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]