tracker r1779 - branches/xesam-support/src/libtracker-db



Author: mottela
Date: Thu Jun 26 14:00:05 2008
New Revision: 1779
URL: http://svn.gnome.org/viewvc/tracker?rev=1779&view=rev

Log:
Removed the unnecessary g_critical about attached connection

Modified:
   branches/xesam-support/src/libtracker-db/tracker-db-manager.c

Modified: branches/xesam-support/src/libtracker-db/tracker-db-manager.c
==============================================================================
--- branches/xesam-support/src/libtracker-db/tracker-db-manager.c	(original)
+++ branches/xesam-support/src/libtracker-db/tracker-db-manager.c	Thu Jun 26 14:00:05 2008
@@ -2136,15 +2136,6 @@
 
 	iface = db_interface_get (TRACKER_DB_XESAM, &create);
 
-	if (!attach_iface) {
-		g_critical ("XESAM database could not be set up because "
-			    "there is no TrackerDBInterface with all connections "
-			    "attached. The common database is needed to create "
-			    "the xesam database correctly!");
-		g_object_unref (iface);
-		return NULL;
-	}
-
 	if (create) {
 		tracker_db_interface_start_transaction (iface);
 		load_sql_file (iface, "sqlite-xesam.sql", NULL);



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