[blam] OOPS: Channel: use item.Id as id isn't a variable
- From: Carlos Martín Nieto <cmartin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [blam] OOPS: Channel: use item.Id as id isn't a variable
- Date: Fri, 15 Oct 2010 10:18:26 +0000 (UTC)
commit 8f3b1ce63da9d52fbed2df28e36560d409d6f702
Author: Carlos MartÃn Nieto <carlos cmartin tk>
Date: Thu Oct 14 22:37:52 2010 +0200
OOPS: Channel: use item.Id as id isn't a variable
src/Channel.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Channel.cs b/src/Channel.cs
index a376380..6af9322 100644
--- a/src/Channel.cs
+++ b/src/Channel.cs
@@ -233,7 +233,7 @@ namespace Imendio.Blam {
{
store.Add(item);
item_list.Add(item.Id);
- (store.Items[id] as Item).Updated += ItemUpdated;
+ (store.Items[item.Id] as Item).Updated += ItemUpdated;
}
/* Used to cross-mark as read */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]