[tracker/ttl: 4/8] libtracker-data: Call restore callback directly



commit 6decb1dc6a6cf8439c4b9d21e47bdc59aefd4b63
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]