[f-spot/cleanup-backend: 4/8] Replace usage of Photo to IBrowseableItem in PhotoTagMenu.cs
- From: Mike Gemünde <mgemuende src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [f-spot/cleanup-backend: 4/8] Replace usage of Photo to IBrowseableItem in PhotoTagMenu.cs
- Date: Fri, 9 Jul 2010 08:48:43 +0000 (UTC)
commit c5a4be76b9c3ef01bf4f2a6cf151cd602eee86a0
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]