From: Emmanuel Rodriguez Date: Sun, 12 Jul 2009 09:03:23 +0000 (+0200) Subject: champlain_map_source_real_fill_tile() is no longer public. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=375760ca077a2f43e944e72675095b224668c4f3;p=libchamplain 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). --- 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