X-Git-Url: https://git.street.me.uk/andy/viking.git/blobdiff_plain/41f4abac2125c3551d0056e6a7c67f93b0437eb1..c2cf03332f51a9fa992220124635f737399fba91:/src/viktrwlayer_geotag.c diff --git a/src/viktrwlayer_geotag.c b/src/viktrwlayer_geotag.c index bf653472..09f15166 100644 --- a/src/viktrwlayer_geotag.c +++ b/src/viktrwlayer_geotag.c @@ -516,13 +516,14 @@ static void trw_layer_geotag_response_cb ( GtkDialog *dialog, gint resp, GeoTagW gchar *tmp = g_strdup_printf ( _("Geotagging %d Images..."), len ); // Processing lots of files can take time - so run a background effort - a_background_thread ( VIK_GTK_WINDOW_FROM_LAYER(options->vtl), - tmp, - (vik_thr_func) trw_layer_geotag_thread, - options, - (vik_thr_free_func) trw_layer_geotag_thread_free, - NULL, - len ); + a_background_thread ( BACKGROUND_POOL_LOCAL, + VIK_GTK_WINDOW_FROM_LAYER(options->vtl), + tmp, + (vik_thr_func) trw_layer_geotag_thread, + options, + (vik_thr_free_func) trw_layer_geotag_thread_free, + NULL, + len ); g_free ( tmp );