[tracker] libtracker-data: Call restore callback directly



commit 6231b0589ded1fb6b7c8dbb3d72673c76214cea4
Author: Jürg Billeter <j bitron ch>
Date:   Thu Mar 18 08:54:50 2010 +0100

    libtracker-data: Call restore callback directly
    
    Call via mainloop not necessary for synchronous operation and
    problematic for testcase.

 src/libtracker-data/tracker-data-backup.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-data/tracker-data-backup.c b/src/libtracker-data/tracker-data-backup.c
index 0c89a26..e00e5ae 100644
--- a/src/libtracker-data/tracker-data-backup.c
+++ b/src/libtracker-data/tracker-data-backup.c
@@ -171,6 +171,6 @@ tracker_data_backup_restore (GFile *journal,
 		             "Backup file doesn't exist");
 	}
 
-	g_idle_add (on_restore_done, info);
+	on_restore_done (info);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]