[libchamplain] Follow the new tile management policy



commit 2def8984b70296593679886b9b656571cb102a9f
Author: Simon Wenner <simon wenner ch>
Date:   Thu Aug 20 12:28:01 2009 +0200

    Follow the new tile management policy

 champlain/champlain-memphis-map-source.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/champlain/champlain-memphis-map-source.c b/champlain/champlain-memphis-map-source.c
index 0e469fa..3201915 100644
--- a/champlain/champlain-memphis-map-source.c
+++ b/champlain/champlain-memphis-map-source.c
@@ -269,7 +269,6 @@ fill_tile (ChamplainMapSource *map_source, ChamplainTile *tile)
           champlain_tile_get_zoom_level (tile));
 
       create_error_tile (tile);
-      g_object_unref (tile);
     }
   else
     {
@@ -322,7 +321,6 @@ set_tile_content (gpointer data)
 
   champlain_tile_set_state (tile, CHAMPLAIN_STATE_DONE);
   g_object_unref (tile);
-  g_object_unref (tile);
 
   g_free (tdata);
   return FALSE;



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