From 375760ca077a2f43e944e72675095b224668c4f3 Mon Sep 17 00:00:00 2001 From: Emmanuel Rodriguez Date: Sun, 12 Jul 2009 11:03:23 +0200 Subject: [PATCH] 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 file 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 @@ -88,6 +88,13 @@ struct _ChamplainMapSourcePrivate ChamplainMapProjection map_projection; }; +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, @@ -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 -- 2.39.5