diff src/filedata.c @ 1498:5f49f305a6b6

improved debug messages
author nadvornik
date Tue, 31 Mar 2009 20:05:16 +0000
parents 2441a90c4bcf
children 4eed0789a828
line wrap: on
line diff
--- a/src/filedata.c	Tue Mar 31 19:34:39 2009 +0000
+++ b/src/filedata.c	Tue Mar 31 20:05:16 2009 +0000
@@ -2281,7 +2281,7 @@
 	nd->priority = priority;
 
 	notify_func_list = g_list_insert_sorted(notify_func_list, nd, file_data_notify_sort);
-	DEBUG_1("Notify func registered: %p", nd);
+	DEBUG_2("Notify func registered: %p", nd);
 	
 	return TRUE;
 }
@@ -2298,7 +2298,7 @@
 			{
 			notify_func_list = g_list_delete_link(notify_func_list, work);
 			g_free(nd);
-			DEBUG_1("Notify func unregistered: %p", nd);
+			DEBUG_2("Notify func unregistered: %p", nd);
 			return TRUE;
 			}
 		work = work->next;
@@ -2316,7 +2316,6 @@
 		{
 		NotifyData *nd = (NotifyData *)work->data;
 		
-		DEBUG_1("Notify func calling: %p %s", nd, fd->path);
 		nd->func(fd, type, nd->data);
 		work = work->next;
 		}