adium 3685:6489b31bd796: This file is not part of Adium.framewor...

commits at adium.im commits at adium.im
Thu Feb 24 13:57:59 UTC 2011


details:	http://hg.adium.im/adium/rev/6489b31bd796
revision:	3685:6489b31bd796
author:		Thijs Alkemade <thijsalkemade at gmail.com>
date:		Thu Feb 24 14:57:42 2011 +0100

This file is not part of Adium.framework, so this ivar shouldn't be here.

diffs (41 lines):

diff -r 9c874e70c2d1 -r 6489b31bd796 Frameworks/Adium Framework/Source/AIChat.h
--- a/Frameworks/Adium Framework/Source/AIChat.h	Wed Feb 23 23:21:51 2011 +0100
+++ b/Frameworks/Adium Framework/Source/AIChat.h	Thu Feb 24 14:57:42 2011 +0100
@@ -19,8 +19,6 @@
 #import <Adium/AIListObject.h>
 #import <Adium/AIInterfaceControllerProtocol.h>
 
-#import "AIMessageTabViewItem.h"
-
 @class AIAccount, AIListObject, AIListContact, AIContentObject, AIEmoticon;
 
 #define Chat_OrderDidChange						@"Chat_OrderDidChange"
@@ -136,8 +134,6 @@
 	NSInteger			unviewedMention;
 	NSInteger			unviewedContent;
 	
-	AIMessageTabViewItem *messageTabViewItem;
-	
 	NSTimer				*enteredTextTimer;
 	
 	NSInteger			ourTypingState;
diff -r 9c874e70c2d1 -r 6489b31bd796 Frameworks/Adium Framework/Source/AIChat.m
--- a/Frameworks/Adium Framework/Source/AIChat.m	Wed Feb 23 23:21:51 2011 +0100
+++ b/Frameworks/Adium Framework/Source/AIChat.m	Thu Feb 24 14:57:42 2011 +0100
@@ -104,7 +104,6 @@
 	
 	[tabStateIcon release]; tabStateIcon = nil;
     [chatCreationInfo release]; chatCreationInfo = nil;
-    [messageTabViewItem release]; messageTabViewItem = nil;
     [enteredTextTimer release]; enteredTextTimer = nil;
     [securityDetails release]; securityDetails = nil;
 	
@@ -937,7 +936,7 @@
 
 - (id <AIChatContainer>)chatContainer
 {
-	return messageTabViewItem;
+	return [self valueForProperty:@"messageTabViewItem"];
 }
 
 - (id)handleCloseScriptCommand:(NSCloseCommand *)closeCommand




More information about the commits mailing list