int main(int argc, char *argv[])
{
- g_type_init ();
+#if !GLIB_CHECK_VERSION (2, 36, 0)
+ g_type_init();
+#endif
VikLayer *vl = vik_layer_create (VIK_LAYER_TRW, NULL, FALSE);
VikTrwLayer *trw = VIK_TRW_LAYER (vl);
a_gpx_read_file(trw, stdin);
int main(int argc, char *argv[])
{
+#if !GLIB_CHECK_VERSION (2, 36, 0)
g_type_init();
-
+#endif
+
VikGotoXmlTool *with_element = VIK_GOTO_XML_TOOL ( g_object_new ( VIK_GOTO_XML_TOOL_TYPE, "label", "OSM",
"url-format", "http://ws.geonames.org/search?q=%s&maxRows=1&lang=es&style=short",
"lat-path", "/geonames/geoname/lat",