aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/backup-restore/backup.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/backup-restore/backup.c')
-rw-r--r--plugins/backup-restore/backup.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/backup-restore/backup.c b/plugins/backup-restore/backup.c
index ca7ab293ee..3da8755bf0 100644
--- a/plugins/backup-restore/backup.c
+++ b/plugins/backup-restore/backup.c
@@ -358,15 +358,13 @@ thread_start (gpointer data)
static gboolean
idle_cb(gpointer data)
{
- GThread *t;
-
if (gui_arg) {
/* Show progress dialog */
gtk_progress_bar_pulse ((GtkProgressBar *)pbar);
g_timeout_add (50, pbar_update, NULL);
}
- t = g_thread_create (thread_start, NULL, FALSE, NULL);
+ g_thread_create (thread_start, NULL, FALSE, NULL);
return FALSE;
}