From 04e09e0b61a9c6385bc5bff4e7af042592adc8d5 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 20 Feb 2012 14:50:54 +0000 Subject: [PATCH] Monotone-Parent: 04bea15431a5d37d2c52ccda4a30d78b57741793 Monotone-Revision: 1446e7383727bc0d371dfafcec06697f030f7117 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-02-20T14:50:54 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 6 ++++++ OpenChange/MAPIStoreObject.h | 6 ------ OpenChange/MAPIStoreObject.m | 11 ----------- 3 files changed, 6 insertions(+), 17 deletions(-) diff --git a/ChangeLog b/ChangeLog index e7bff64c7..41f884f33 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-02-20 Wolfgang Sourdeau + + * OpenChange/MAPIStoreObject.m (-setMAPIRetainCount) + (-retainCount): removed accessors as well as the corresponding + "mapiRetainCount" ivar as this was part of an unused feature. + 2012-02-16 Francis Lachapelle * UI/WebServerResources/UIxAttendeesEditor.js (checkAttendee): diff --git a/OpenChange/MAPIStoreObject.h b/OpenChange/MAPIStoreObject.h index 773db8bd4..31e21fee9 100644 --- a/OpenChange/MAPIStoreObject.h +++ b/OpenChange/MAPIStoreObject.h @@ -45,8 +45,6 @@ { const IMP *classGetters; - uint32_t mapiRetainCount; - NSMutableArray *parentContainersBag; MAPIStoreObject *container; id sogoObject; @@ -62,10 +60,6 @@ - (id) initWithSOGoObject: (id) newSOGoObject inContainer: (MAPIStoreObject *) newFolder; -/* HACK: MAPI retain count */ -- (void) setMAPIRetainCount: (uint32_t) newCount; -- (uint32_t) mapiRetainCount; - - (void) setIsNew: (BOOL) newIsNew; - (BOOL) isNew; diff --git a/OpenChange/MAPIStoreObject.m b/OpenChange/MAPIStoreObject.m index d064aca30..c9d71d1ef 100644 --- a/OpenChange/MAPIStoreObject.m +++ b/OpenChange/MAPIStoreObject.m @@ -100,7 +100,6 @@ static Class NSExceptionK, MAPIStoreFolderK; { if ((self = [super init])) { - mapiRetainCount = 0; classGetters = (IMP *) MAPIStorePropertyGettersForClass (isa); parentContainersBag = [NSMutableArray new]; container = nil; @@ -136,16 +135,6 @@ static Class NSExceptionK, MAPIStoreFolderK; [super dealloc]; } -- (void) setMAPIRetainCount: (uint32_t) newCount -{ - mapiRetainCount = newCount; -} - -- (uint32_t) mapiRetainCount -{ - return mapiRetainCount; -} - - (void) setIsNew: (BOOL) newIsNew { isNew = newIsNew;