[libchamplain] champlain_map_source_real_fill_tile() is no longer public.



commit 375760ca077a2f43e944e72675095b224668c4f3
Author: Emmanuel Rodriguez <emmanuel rodriguez gmail com>
Date:   Sun Jul 12 11:03:23 2009 +0200

    champlain_map_source_real_fill_tile() is no longer public.
    
    The function champlain_map_source_real_fill_tile is a virtual method and
    shouldn't be public. The function isn't declared in the header files but it
    exported in libchamplain.so (nm lists it).

 champlain/champlain-map-source.c |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/champlain/champlain-map-source.c b/champlain/champlain-map-source.c
index 57535ba..2022fd2 100644
--- a/champlain/champlain-map-source.c
+++ b/champlain/champlain-map-source.c
@@ -89,6 +89,13 @@ struct _ChamplainMapSourcePrivate
 };
 
 static void
+real_fill_tile (ChamplainMapSource *map_source,
+    ChamplainTile *tile)
+{
+  g_error ("Should not be reached");
+}
+
+static void
 champlain_map_source_get_property (GObject *object,
     guint prop_id,
     GValue *value,
@@ -194,7 +201,7 @@ champlain_map_source_class_init (ChamplainMapSourceClass *klass)
   object_class->get_property = champlain_map_source_get_property;
   object_class->set_property = champlain_map_source_set_property;
 
-  klass->fill_tile = champlain_map_source_real_fill_tile;
+  klass->fill_tile = real_fill_tile;
 
   /**
   * ChamplainMapSource:id:
@@ -482,13 +489,6 @@ champlain_map_source_fill_tile (ChamplainMapSource *map_source,
   CHAMPLAIN_MAP_SOURCE_GET_CLASS (map_source)->fill_tile (map_source, tile);
 }
 
-void
-champlain_map_source_real_fill_tile (ChamplainMapSource *map_source,
-    ChamplainTile *tile)
-{
-  g_error ("Should not be reached");
-}
-
 /**
  * champlain_map_source_get_longitude:
  * @map_source: a #ChamplainMapSource



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