static void goto_tool_finalize ( GObject *gob );
static gchar *goto_tool_get_label ( VikGotoTool *vw );
-static DownloadOptions *goto_tool_get_download_options ( VikGotoTool *self );
+static DownloadMapOptions *goto_tool_get_download_options ( VikGotoTool *self );
typedef struct _VikGotoToolPrivate VikGotoToolPrivate;
return g_strdup ( priv->label );
}
-static DownloadOptions *goto_tool_get_download_options ( VikGotoTool *self )
+static DownloadMapOptions *goto_tool_get_download_options ( VikGotoTool *self )
{
// Default: return NULL
return NULL;
return VIK_GOTO_TOOL_GET_CLASS( self )->get_url_format( self );
}
-DownloadOptions *vik_goto_tool_get_download_options ( VikGotoTool *self )
+DownloadMapOptions *vik_goto_tool_get_download_options ( VikGotoTool *self )
{
return VIK_GOTO_TOOL_GET_CLASS( self )->get_download_options( self );
}
uri = g_strdup_printf(vik_goto_tool_get_url_format(self), escaped_srch_str);
/* TODO: curl may not be available */
- if (curl_download_uri(uri, tmp_file, vik_goto_tool_get_download_options(self))) { /* error */
+ if (curl_download_uri(uri, tmp_file, vik_goto_tool_get_download_options(self), 0, NULL)) { /* error */
fclose(tmp_file);
tmp_file = NULL;
ret = -1;