]> git.street.me.uk Git - andy/viking.git/commitdiff
Fix datasource acquiring waypoints from geotag images.
authorRob Norris <rw_norris@hotmail.com>
Tue, 26 Feb 2013 23:15:31 +0000 (23:15 +0000)
committerRob Norris <rw_norris@hotmail.com>
Sun, 3 Mar 2013 11:05:22 +0000 (11:05 +0000)
Still need to return something for the 'command'.
I think in some personnel reworking to the acquire.c method I stopped requiring the command to have a value, thus I removed it.
Unfortunately I shouldn't have checked in this change to the geotag datasource, as in the end the acquire rework didn't include this hoped for simplification.

src/datasource_geotag.c

index 58b572e1abeb5a1a9ecd8293277221b1b216275c..b3621dcf32a6b5e0a52530f6de53567592c37a7f 100644 (file)
@@ -137,8 +137,10 @@ static void datasource_geotag_get_cmd_string ( gpointer user_data, gchar **babel
 
        /* TODO Memorize the file filter for later use... */
        //GtkFileFilter *filter = gtk_file_chooser_get_filter ( GTK_FILE_CHOOSER(userdata->files) );
-}
 
+       // return some value so *thread* processing will continue
+       *babelargs_or_shellcmd = g_strdup ("fake command"); // Not really used, thus no translations
+}
 
 /**
  * Process selected files and try to generate waypoints storing them in the given vtl