{
int done;
bool do_move;
+ guint timer;
TrCore * core;
GSList * torrent_ids;
GtkWidget * message_dialog;
data_free (gpointer gdata)
{
struct relocate_dialog_data * data = gdata;
+ g_source_remove (data->timer);
g_slist_free (data->torrent_ids);
g_free (data);
}
/* start the move and periodically check its status */
data->message_dialog = w;
data->done = TR_LOC_DONE;
+ data->timer = gdk_threads_add_timeout_seconds (1, onTimer, data);
onTimer (data);
- gdk_threads_add_timeout_seconds (1, onTimer, data);
}
else
{