[f-spot/rubenv-gsoc-2009: 74/86] Kill some of the debug spew.



commit 5c07adf219e78d09345334c40ee7f641afcf2486
Author: Ruben Vermeersch <ruben savanne be>
Date:   Wed Aug 12 17:26:24 2009 +0200

    Kill some of the debug spew.

 src/Loaders/GdkImageLoader.cs    |    5 -----
 src/Loaders/LibrawImageLoader.cs |    5 -----
 src/PhotoImageView.cs            |    2 --
 3 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/src/Loaders/GdkImageLoader.cs b/src/Loaders/GdkImageLoader.cs
index 323b7b2..bc3079a 100644
--- a/src/Loaders/GdkImageLoader.cs
+++ b/src/Loaders/GdkImageLoader.cs
@@ -251,11 +251,9 @@ namespace FSpot.Loaders {
 		void WaitForCompletion (ImageLoaderItem items)
 		{
 			while (!ItemsCompleted.Contains(items)) {
-				Log.Debug ("Waiting for completion of {0} (done: {1})", ItemsRequested, ItemsCompleted);
 				Monitor.Enter (sync_handle);
 				Monitor.Wait (sync_handle);
 				Monitor.Exit (sync_handle);
-				Log.Debug ("Woke up after waiting for {0} (done: {1})", ItemsRequested, ItemsCompleted);
 			}
 		}
 
@@ -295,14 +293,11 @@ namespace FSpot.Loaders {
 		void SignalItemCompleted (ImageLoaderItem item)
 		{
 			ItemsCompleted |= item;
-			Log.Debug ("Notifying completion of {0} (done: {1}, requested: {2})", item, ItemsCompleted, ItemsRequested);
 
 			Monitor.Enter (sync_handle);
 			Monitor.PulseAll (sync_handle);
 			Monitor.Exit (sync_handle);
 
-			Log.Debug ("Signalled!");
-
 			EventHandler<ItemsCompletedEventArgs> eh = Completed;
 			if (eh != null)
 				GLib.Idle.Add (delegate {
diff --git a/src/Loaders/LibrawImageLoader.cs b/src/Loaders/LibrawImageLoader.cs
index e4c12a8..fdc0747 100644
--- a/src/Loaders/LibrawImageLoader.cs
+++ b/src/Loaders/LibrawImageLoader.cs
@@ -274,11 +274,9 @@ namespace FSpot.Loaders {
 		void WaitForCompletion (ImageLoaderItem items)
 		{
 			while (!ItemsCompleted.Contains(items)) {
-				Log.Debug ("Waiting for completion of {0} (done: {1})", ItemsRequested, ItemsCompleted);
 				Monitor.Enter (sync_handle);
 				Monitor.Wait (sync_handle);
 				Monitor.Exit (sync_handle);
-				Log.Debug ("Woke up after waiting for {0} (done: {1})", ItemsRequested, ItemsCompleted);
 			}
 		}
 
@@ -318,14 +316,11 @@ namespace FSpot.Loaders {
 		void SignalItemCompleted (ImageLoaderItem item)
 		{
 			ItemsCompleted |= item;
-			Log.Debug ("Notifying completion of {0} (done: {1}, requested: {2})", item, ItemsCompleted, ItemsRequested);
 
 			Monitor.Enter (sync_handle);
 			Monitor.PulseAll (sync_handle);
 			Monitor.Exit (sync_handle);
 
-			Log.Debug ("Signalled!");
-
 			EventHandler<ItemsCompletedEventArgs> eh = Completed;
 			if (eh != null)
 				GLib.Idle.Add (delegate {
diff --git a/src/PhotoImageView.cs b/src/PhotoImageView.cs
index 28f14dd..cff0e22 100644
--- a/src/PhotoImageView.cs
+++ b/src/PhotoImageView.cs
@@ -261,8 +261,6 @@ namespace FSpot.Widgets {
 				return;
 
 			current_item = args.Item.Largest ();
-			Log.Debug ("Switched to new item: {0}", current_item);
-			Log.Debug ("Prepared is new: {0}", prepared_is_new);
 
 			Gdk.Pixbuf prev = Pixbuf;
 			PixbufOrientation orientation = Accelerometer.GetViewOrientation (Loader.PixbufOrientation (current_item));



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