GoogleGotoTool *gototool = google_goto_tool_new ( );
vik_goto_register ( VIK_GOTO_TOOL ( gototool ) );
g_object_unref ( gototool );
+}
+/**
+ * Delayed initialization part as the check for gpsbabel availability needs to have been performed
+ */
+void google_post_init ()
+{
// Routing
/* Google Directions service as routing engine.
*
#define __VIKING_GOOGLE_H
void google_init();
+void google_post_init();
#endif
* modules_post_init:
*
* Secondary stage initialization
- * Can now use a_get_preferences()
+ * Can now use a_get_preferences() and a_babel_available()
*/
void modules_post_init ()
{
+#ifdef VIK_CONFIG_GOOGLE
+ google_post_init();
+#endif
#ifdef HAVE_LIBMAPNIK
vik_mapnik_layer_post_init();
#endif