[Xfce4-commits] r25504 - squeeze/trunk/libsqueeze

Stephan Arts stephan at xfce.org
Tue Apr 10 00:11:49 CEST 2007


Author: stephan
Date: 2007-04-09 22:11:49 +0000 (Mon, 09 Apr 2007)
New Revision: 25504

Modified:
   squeeze/trunk/libsqueeze/archive-iter.c
Log:
fixed bug 3095 ( i think )

Modified: squeeze/trunk/libsqueeze/archive-iter.c
===================================================================
--- squeeze/trunk/libsqueeze/archive-iter.c	2007-04-09 20:58:00 UTC (rev 25503)
+++ squeeze/trunk/libsqueeze/archive-iter.c	2007-04-09 22:11:49 UTC (rev 25504)
@@ -160,8 +160,12 @@
 	guint i;
 	for(i = 0; i < pool->size; ++i)
 	{
+		/* we don't need to remove unexisting entries, just clean the pool */
+		/*
 		if(!lsq_archive_iter_is_real(pool->pool[i]))
 			lsq_archive_entry_free(pool->pool[i]->archive, pool->pool[i]->entry);
+		*/
+			
 #ifdef USE_LSQITER_SLICES
 		/* Cleaning up the whole pool */
 		/* Now we can free the iters  */
@@ -421,6 +425,9 @@
 
 	lsq_archive_iter_pool_remove_iter(iter->archive->pool, iter);
 
+	const gchar *filename = lsq_archive_entry_get_filename(iter->entry);
+	g_debug("%s: %s", __FUNCTION__, filename);
+
 	/* free the entry if it doesn't exist */
 	if(!lsq_archive_iter_is_real(iter))
 		lsq_archive_entry_free(iter->archive, iter->entry);



More information about the Xfce4-commits mailing list