[f-spot/backend-cleanup: 5/8] Replace usage of Photo to IBrowseableItem in PhotoTagMenu.cs



commit 5c289d31f546e8e1393e991f2f7dba81e7a3c4c5
Author: Mike Gemünde <mike gemuende de>
Date:   Tue Jul 6 15:50:42 2010 +0200

    Replace usage of Photo to IBrowseableItem in PhotoTagMenu.cs

 src/PhotoTagMenu.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/PhotoTagMenu.cs b/src/PhotoTagMenu.cs
index 1349422..dedb060 100644
--- a/src/PhotoTagMenu.cs
+++ b/src/PhotoTagMenu.cs
@@ -40,10 +40,10 @@ public class PhotoTagMenu : Menu {
 	
 	protected PhotoTagMenu (IntPtr raw) : base (raw) {}
 
-	public void Populate (Photo [] photos) {
+	public void Populate (IBrowsableItem [] photos) {
 		Hashtable hash = new Hashtable ();
 		if (photos != null) {
-			foreach (Photo p in photos) {
+			foreach (IBrowsableItem p in photos) {
 				foreach (Tag t in p.Tags) {
 					if (!hash.Contains (t.Id)) {
 						hash.Add (t.Id, t);



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