[tracker] libtracker-miner: don't use g_return_val_if_fail() in private methods



commit 81de5a09bf12c1b1a4421f0651337e6a852dbf3a
Author: Aleksander Morgado <aleksander lanedo com>
Date:   Fri Dec 17 18:07:31 2010 +0100

    libtracker-miner: don't use g_return_val_if_fail() in private methods

 src/libtracker-miner/tracker-monitor.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-monitor.c b/src/libtracker-miner/tracker-monitor.c
index afbb1d5..08c5fe7 100644
--- a/src/libtracker-miner/tracker-monitor.c
+++ b/src/libtracker-miner/tracker-monitor.c
@@ -1379,9 +1379,6 @@ monitor_cancel_recursively (TrackerMonitor *monitor,
 	gpointer iter_file, iter_file_monitor;
 	guint items_cancelled = 0;
 
-	g_return_val_if_fail (TRACKER_IS_MONITOR (monitor), FALSE);
-	g_return_val_if_fail (G_IS_FILE (file), FALSE);
-
 	g_hash_table_iter_init (&iter, monitor->private->monitors);
 	while (g_hash_table_iter_next (&iter, &iter_file, &iter_file_monitor)) {
 		gchar *uri;



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