]> git.street.me.uk Git - andy/viking.git/blobdiff - src/acquire.c
Remove unused define
[andy/viking.git] / src / acquire.c
index 4be3243b6a79af546c531f2bb41df9805d0013c1..0e10c1ab3c37b409f2b0571298cba968caae9bce 100644 (file)
@@ -40,6 +40,7 @@
 extern VikDataSourceInterface vik_datasource_bfilter_simplify_interface;
 extern VikDataSourceInterface vik_datasource_bfilter_compress_interface;
 extern VikDataSourceInterface vik_datasource_bfilter_dup_interface;
+extern VikDataSourceInterface vik_datasource_bfilter_manual_interface;
 
 /*** Input is a track and a TRWLayer ***/
 extern VikDataSourceInterface vik_datasource_bfilter_polygon_interface;
@@ -51,6 +52,7 @@ const VikDataSourceInterface *filters[] = {
   &vik_datasource_bfilter_simplify_interface,
   &vik_datasource_bfilter_compress_interface,
   &vik_datasource_bfilter_dup_interface,
+  &vik_datasource_bfilter_manual_interface,
   &vik_datasource_bfilter_polygon_interface,
   &vik_datasource_bfilter_exclude_polygon_interface,
 };
@@ -67,7 +69,7 @@ typedef struct {
   ProcessOptions *po;
   gboolean creating_new_layer;
   VikTrwLayer *vtl;
-  gpointer options;
+  DownloadFileOptions *options;
 } w_and_interface_t;
 
 
@@ -208,7 +210,7 @@ static void acquire ( VikWindow *vw,
   gchar *fd_off = NULL;
   acq_dialog_widgets_t *w;
   gpointer user_data;
-  gpointer options = NULL;
+  DownloadFileOptions *options = g_malloc0 ( sizeof(DownloadFileOptions) );
 
   acq_vik_t avt;
   avt.vlp = vlp;
@@ -304,7 +306,7 @@ static void acquire ( VikWindow *vw,
 
     g_free ( name_src_track );
   } else if ( source_interface->get_process_options_func )
-    source_interface->get_process_options_func ( pass_along_data, po, &options, NULL, NULL );
+    source_interface->get_process_options_func ( pass_along_data, po, options, NULL, NULL );
 
   /* Get data for Off command */
   if ( source_interface->off_func ) {