~foxtrotgps-team/foxtrotgps/trunk

« back to all changes in this revision

Viewing changes to src/geo_photos.c

  • Committer: Paul Wise
  • Author(s): Jesse Gardner
  • Date: 2021-08-17 06:01:48 UTC
  • Revision ID: pabs3@bonedaddy.net-20210817060148-340rbstk87jrj6zw
Added g_thread_unref wherever g_thead_new is used

Fixes: https://bazaar.launchpad.net/~foxtrotgps-team/foxtrotgps/trunk/revision/315
Cleanup-by: Paul Wise <pabs3@bonedaddy.net>

Show diffs side-by-side

added added

removed removed

Lines of Context:
687
687
        gtk_widget_hide(dialog_photo_correlate);
688
688
 
689
689
#if GLIB_CHECK_VERSION(2,34,0)
690
 
        g_thread_new("geocode thread", geocode_thread, (gpointer) NULL);
 
690
        g_thread_unref(g_thread_new("geocode thread", geocode_thread, (gpointer) NULL));
691
691
#else
692
692
        g_thread_create(geocode_thread, NULL, FALSE, NULL);
693
693
#endif