From 2241ad12a8418b9c4560c27e3987f49a476980c0 Mon Sep 17 00:00:00 2001 From: Rob Norris Date: Mon, 3 Jun 2013 19:10:07 +0100 Subject: [PATCH] [QA] Fix incorrect comment Recent commit SHA1:82c4d69225945223917c65e3ce73adee7118951c fixes the issue. --- src/osm.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/osm.c b/src/osm.c index b185f49e..d919288d 100644 --- a/src/osm.c +++ b/src/osm.c @@ -129,9 +129,7 @@ void osm_init () { vik_ext_tools_register ( VIK_EXT_TOOL ( webtoolbounds ) ); g_object_unref ( webtoolbounds ); - // NB: THERE MUST BE AT LEAST ONE VikWebtoolDatasource defined otherwise the parsing of the datasource.xml will fail - // since it won't know about such a GObject type existing! - // (in fact this is a problem in the vikgobjectbuilder -> g_markup_parse_context_parse -> _start_element -> g_type_from_name ) + // Datasource VikWebtoolDatasource *vwtds = NULL; vwtds = vik_webtool_datasource_new_with_members ( _("OpenStreetMap Notes"), "http://api.openstreetmap.org/api/0.6/notes.gpx?bbox=%s,%s,%s,%s&closed=0", "LBRT", NULL ); vik_ext_tool_datasources_register ( VIK_EXT_TOOL ( vwtds ) ); -- 2.39.5