Fixed a bunch of warnings adium-1.5.11
authorEvan Schoenberg
Thu, 14 Nov 2019 21:09:06 -0500
branchadium-1.5.11
changeset 6016 325e2ab3406f
parent 6014 fcb71cb71a3d
child 6017 489d1e762237
Fixed a bunch of warnings
Adium.xcodeproj/project.pbxproj
Frameworks/AIUtilities Framework/Source/AIBorderlessWindow.m
Frameworks/AIUtilities Framework/Source/AIDockingWindow.m
Frameworks/AIUtilities Framework/Source/AIImageCollectionView.h
Frameworks/AIUtilities Framework/Source/AIImageCollectionView.m
Frameworks/AIUtilities Framework/Source/AIMenuAdditions.m
Frameworks/Adium Framework/Source/AIAbstractListController.m
Frameworks/Adium Framework/Source/AIListCell.h
Frameworks/Adium Framework/Source/AIListCell.m
Frameworks/Adium Framework/Source/AIXMLElement.m
Frameworks/Adium Framework/Source/JVFontPreviewField.m
Plugins/Image Uploading Plugin/AIGenericMultipartImageUploader.m
Source/AIAdvancedPreferences.h
Source/AIHoveringPopUpButton.m
Source/AIInterfaceController.m
Source/AIListWindowController.m
--- a/Adium.xcodeproj/project.pbxproj	Thu Nov 14 20:57:01 2019 -0500
+++ b/Adium.xcodeproj/project.pbxproj	Thu Nov 14 21:09:06 2019 -0500
@@ -1226,8 +1226,6 @@
 		633400B20F9C14C2003C77A9 /* AITabViewAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 6334FFE70F9C14C1003C77A9 /* AITabViewAdditions.m */; };
 		633400B30F9C14C2003C77A9 /* AITextAttachmentAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 6334FFE80F9C14C1003C77A9 /* AITextAttachmentAdditions.m */; };
 		633400B40F9C14C2003C77A9 /* AITextAttachmentAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 6334FFE90F9C14C1003C77A9 /* AITextAttachmentAdditions.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		633400B50F9C14C2003C77A9 /* AITextViewAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 6334FFEA0F9C14C1003C77A9 /* AITextViewAdditions.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		633400B60F9C14C2003C77A9 /* AITextViewAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 6334FFEB0F9C14C1003C77A9 /* AITextViewAdditions.m */; };
 		633400B70F9C14C2003C77A9 /* AIURLAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 6334FFEC0F9C14C1003C77A9 /* AIURLAdditions.h */; settings = {ATTRIBUTES = (Public, ); }; };
 		633400B80F9C14C2003C77A9 /* AIURLAdditions.m in Sources */ = {isa = PBXBuildFile; fileRef = 6334FFED0F9C14C1003C77A9 /* AIURLAdditions.m */; };
 		633400B90F9C14C2003C77A9 /* AIViewAdditions.h in Headers */ = {isa = PBXBuildFile; fileRef = 6334FFEE0F9C14C1003C77A9 /* AIViewAdditions.h */; settings = {ATTRIBUTES = (Public, ); }; };
@@ -4108,8 +4106,6 @@
 		6334FFE70F9C14C1003C77A9 /* AITabViewAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AITabViewAdditions.m; path = "Frameworks/AIUtilities Framework/Source/AITabViewAdditions.m"; sourceTree = "<group>"; };
 		6334FFE80F9C14C1003C77A9 /* AITextAttachmentAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AITextAttachmentAdditions.m; path = "Frameworks/AIUtilities Framework/Source/AITextAttachmentAdditions.m"; sourceTree = "<group>"; };
 		6334FFE90F9C14C1003C77A9 /* AITextAttachmentAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AITextAttachmentAdditions.h; path = "Frameworks/AIUtilities Framework/Source/AITextAttachmentAdditions.h"; sourceTree = "<group>"; };
-		6334FFEA0F9C14C1003C77A9 /* AITextViewAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AITextViewAdditions.h; path = "Frameworks/AIUtilities Framework/Source/AITextViewAdditions.h"; sourceTree = "<group>"; };
-		6334FFEB0F9C14C1003C77A9 /* AITextViewAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AITextViewAdditions.m; path = "Frameworks/AIUtilities Framework/Source/AITextViewAdditions.m"; sourceTree = "<group>"; };
 		6334FFEC0F9C14C1003C77A9 /* AIURLAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AIURLAdditions.h; path = "Frameworks/AIUtilities Framework/Source/AIURLAdditions.h"; sourceTree = "<group>"; };
 		6334FFED0F9C14C1003C77A9 /* AIURLAdditions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AIURLAdditions.m; path = "Frameworks/AIUtilities Framework/Source/AIURLAdditions.m"; sourceTree = "<group>"; };
 		6334FFEE0F9C14C1003C77A9 /* AIViewAdditions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AIViewAdditions.h; path = "Frameworks/AIUtilities Framework/Source/AIViewAdditions.h"; sourceTree = "<group>"; };
@@ -4836,12 +4832,8 @@
 		11EE1B480CDCFAF40097F246 /* libpurple_extensions */ = {
 			isa = PBXGroup;
 			children = (
-				34D8154913B663A80022C8C4 /* auth_fb.c */,
-				34D8154A13B663A80022C8C4 /* auth_fb.h */,
 				766F66A31ACBDF0D002079F2 /* auth_gtalk.c */,
 				766F66A41ACBDF0D002079F2 /* auth_gtalk.h */,
-				34D8154B13B663A80022C8C4 /* fbapi.c */,
-				34D8154C13B663A80022C8C4 /* fbapi.h */,
 				11EE1B490CDCFAF40097F246 /* oscar-adium.c */,
 				11EE1B4A0CDCFAF40097F246 /* oscar-adium.h */,
 				811033500CDE170B00EC6038 /* ssl-cdsa.c */,
@@ -7620,8 +7612,6 @@
 				6334FFE70F9C14C1003C77A9 /* AITabViewAdditions.m */,
 				6334FFE80F9C14C1003C77A9 /* AITextAttachmentAdditions.m */,
 				6334FFE90F9C14C1003C77A9 /* AITextAttachmentAdditions.h */,
-				6334FFEA0F9C14C1003C77A9 /* AITextViewAdditions.h */,
-				6334FFEB0F9C14C1003C77A9 /* AITextViewAdditions.m */,
 				6334FFEC0F9C14C1003C77A9 /* AIURLAdditions.h */,
 				6334FFED0F9C14C1003C77A9 /* AIURLAdditions.m */,
 				6334FFEE0F9C14C1003C77A9 /* AIViewAdditions.h */,
@@ -8840,7 +8830,6 @@
 				633400AF0F9C14C2003C77A9 /* AITableViewAdditions.h in Headers */,
 				633400B10F9C14C2003C77A9 /* AITabViewAdditions.h in Headers */,
 				633400B40F9C14C2003C77A9 /* AITextAttachmentAdditions.h in Headers */,
-				633400B50F9C14C2003C77A9 /* AITextViewAdditions.h in Headers */,
 				633400B70F9C14C2003C77A9 /* AIURLAdditions.h in Headers */,
 				633400B90F9C14C2003C77A9 /* AIViewAdditions.h in Headers */,
 				633400BB0F9C14C2003C77A9 /* AIWindowAdditions.h in Headers */,
@@ -10314,7 +10303,6 @@
 				633400B00F9C14C2003C77A9 /* AITableViewAdditions.m in Sources */,
 				633400B20F9C14C2003C77A9 /* AITabViewAdditions.m in Sources */,
 				633400B30F9C14C2003C77A9 /* AITextAttachmentAdditions.m in Sources */,
-				633400B60F9C14C2003C77A9 /* AITextViewAdditions.m in Sources */,
 				633400B80F9C14C2003C77A9 /* AIURLAdditions.m in Sources */,
 				633400BA0F9C14C2003C77A9 /* AIViewAdditions.m in Sources */,
 				633400BC0F9C14C2003C77A9 /* AIWindowAdditions.m in Sources */,
@@ -12160,8 +12148,8 @@
 					RELEASE_BUILD,
 					DEBUG_BUILD,
 				);
+				MACOSX_DEPLOYMENT_TARGET = 10.6;
 				PRODUCT_BUNDLE_IDENTIFIER = com.adiumX.adiumX;
-				MACOSX_DEPLOYMENT_TARGET = 10.6;
 			};
 			name = "Release-Debug";
 		};
--- a/Frameworks/AIUtilities Framework/Source/AIBorderlessWindow.m	Thu Nov 14 20:57:01 2019 -0500
+++ b/Frameworks/AIUtilities Framework/Source/AIBorderlessWindow.m	Thu Nov 14 21:09:06 2019 -0500
@@ -26,8 +26,8 @@
 
 @implementation AIBorderlessWindow
 
-- (id)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag {
-
+- (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSWindowStyleMask)style backing:(NSBackingStoreType)backingStoreType defer:(BOOL)flag
+{
     //Call NSWindow's version of this function, but pass in the all-important value of NSBorderlessWindowMask
     //for the styleMask so that the window doesn't have a title bar
    if ((self = [super initWithContentRect:contentRect 
@@ -169,25 +169,25 @@
 	BOOL	changed = NO;
 	
 	//Left
-	if ((labs(NSMinX((*inWindowFrame)) - NSMinX(inScreenFrame)) < BORDERLESS_WINDOW_DOCKING_DISTANCE)) {
+    if ((fabs(NSMinX((*inWindowFrame)) - NSMinX(inScreenFrame)) < BORDERLESS_WINDOW_DOCKING_DISTANCE)) {
 		(*inWindowFrame).origin.x = inScreenFrame.origin.x;
 		changed = YES;
 	}
 	
 	//Bottom
-	if ((labs(NSMinY(*inWindowFrame) - NSMinY(inScreenFrame)) < BORDERLESS_WINDOW_DOCKING_DISTANCE)) {
+    if ((fabs(NSMinY(*inWindowFrame) - NSMinY(inScreenFrame)) < BORDERLESS_WINDOW_DOCKING_DISTANCE)) {
 		(*inWindowFrame).origin.y = inScreenFrame.origin.y;
 		changed = YES;
 	}
 	
 	//Right
-	if ((labs(NSMaxX(*inWindowFrame) - NSMaxX(inScreenFrame)) < BORDERLESS_WINDOW_DOCKING_DISTANCE)) {
+    if ((fabs(NSMaxX(*inWindowFrame) - NSMaxX(inScreenFrame)) < BORDERLESS_WINDOW_DOCKING_DISTANCE)) {
 		(*inWindowFrame).origin.x -= NSMaxX(*inWindowFrame) - NSMaxX(inScreenFrame);
 		changed = YES;
 	}
 	
 	//Top
-	if ((labs(NSMaxY(*inWindowFrame) - NSMaxY(inScreenFrame)) < BORDERLESS_WINDOW_DOCKING_DISTANCE)) {
+    if ((fabs(NSMaxY(*inWindowFrame) - NSMaxY(inScreenFrame)) < BORDERLESS_WINDOW_DOCKING_DISTANCE)) {
 		(*inWindowFrame).origin.y -= NSMaxY(*inWindowFrame) - NSMaxY(inScreenFrame);
 		changed = YES;
 	}
--- a/Frameworks/AIUtilities Framework/Source/AIDockingWindow.m	Thu Nov 14 20:57:01 2019 -0500
+++ b/Frameworks/AIUtilities Framework/Source/AIDockingWindow.m	Thu Nov 14 21:09:06 2019 -0500
@@ -37,9 +37,9 @@
 
 @implementation AIDockingWindow
 
-- (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag
+- (instancetype)initWithContentRect:(NSRect)contentRect styleMask:(NSWindowStyleMask)style backing:(NSBackingStoreType)backingStoreType defer:(BOOL)flag
 {
-	if ((self = [super initWithContentRect:contentRect styleMask:aStyle backing:bufferingType defer:flag])) {
+	if ((self = [super initWithContentRect:contentRect styleMask:style backing:backingStoreType defer:flag])) {
 		[self _initDockingWindow];
 	}
 
@@ -157,22 +157,22 @@
 - (NSRect)dockWindowFrame:(NSRect)windowFrame toScreenFrame:(NSRect)screenFrame
 {
 	//Left
-	if (labs(NSMinX(windowFrame) - NSMinX(screenFrame)) < WINDOW_DOCKING_DISTANCE) {
+    if (fabs(NSMinX(windowFrame) - NSMinX(screenFrame)) < WINDOW_DOCKING_DISTANCE) {
 		windowFrame.origin.x = screenFrame.origin.x;
 	}
 	
 	//Bottom
-	if (labs(NSMinY(windowFrame) - NSMinY(screenFrame)) < WINDOW_DOCKING_DISTANCE) {
+    if (fabs(NSMinY(windowFrame) - NSMinY(screenFrame)) < WINDOW_DOCKING_DISTANCE) {
 		windowFrame.origin.y = screenFrame.origin.y;
 	}
 	
 	//Right
-	if (labs(NSMaxX(windowFrame) - NSMaxX(screenFrame)) < WINDOW_DOCKING_DISTANCE) {
+    if (fabs(NSMaxX(windowFrame) - NSMaxX(screenFrame)) < WINDOW_DOCKING_DISTANCE) {
 		windowFrame.origin.x -= NSMaxX(windowFrame) - NSMaxX(screenFrame);
 	}
 	
 	//Top
-	if (labs(NSMaxY(windowFrame) - NSMaxY(screenFrame)) < WINDOW_DOCKING_DISTANCE) {
+    if (fabs(NSMaxY(windowFrame) - NSMaxY(screenFrame)) < WINDOW_DOCKING_DISTANCE) {
 		windowFrame.origin.y -= NSMaxY(windowFrame) - NSMaxY(screenFrame);
 	}
 	
--- a/Frameworks/AIUtilities Framework/Source/AIImageCollectionView.h	Thu Nov 14 20:57:01 2019 -0500
+++ b/Frameworks/AIUtilities Framework/Source/AIImageCollectionView.h	Thu Nov 14 21:09:06 2019 -0500
@@ -27,9 +27,6 @@
  * supports item highlighting and selection
  */
 @interface AIImageCollectionView : NSCollectionView {
-
-	id <AIImageCollectionViewDelegate> delegate;
-
 @protected
 	IBOutlet NSArrayController *itemsController;
 	
@@ -40,7 +37,7 @@
 	NSUInteger highlightedIndex;
 }
 
-@property (readwrite, assign, nonatomic) id <AIImageCollectionViewDelegate> delegate;
+@property (readwrite, assign) id <AIImageCollectionViewDelegate, NSCollectionViewDelegate> delegate;
 
 @property (assign) IBOutlet NSArrayController *itemsController;
 
--- a/Frameworks/AIUtilities Framework/Source/AIImageCollectionView.m	Thu Nov 14 20:57:01 2019 -0500
+++ b/Frameworks/AIUtilities Framework/Source/AIImageCollectionView.m	Thu Nov 14 21:09:06 2019 -0500
@@ -34,8 +34,7 @@
 
 @implementation AIImageCollectionView
 
-
-@synthesize delegate;
+@dynamic delegate;
 @synthesize itemsController;
 @synthesize highlightStyle, highlightSize, highlightCornerRadius;
 @synthesize highlightedIndex;
--- a/Frameworks/AIUtilities Framework/Source/AIMenuAdditions.m	Thu Nov 14 20:57:01 2019 -0500
+++ b/Frameworks/AIUtilities Framework/Source/AIMenuAdditions.m	Thu Nov 14 21:09:06 2019 -0500
@@ -50,15 +50,6 @@
     return [theMenuItem autorelease];
 }
 
-
-- (void)removeAllItems
-{
-	NSInteger count = [self numberOfItems];
-	while (count--) {
-		[self removeItemAtIndex:0];
-	}
-}
-
 - (void)removeAllItemsButFirst
 {
 	NSInteger count = [self numberOfItems];
--- a/Frameworks/Adium Framework/Source/AIAbstractListController.m	Thu Nov 14 20:57:01 2019 -0500
+++ b/Frameworks/Adium Framework/Source/AIAbstractListController.m	Thu Nov 14 21:09:06 2019 -0500
@@ -649,7 +649,7 @@
 {
 	if ([outlineView isKindOfClass:[AIListOutlineView class]]) {
 		[(AIListCell *)cell setProxyListObject:item];
-		[(AIListCell *)cell setControlView:(AIListOutlineView *)outlineView];
+		[(AIListCell *)cell setOutlineControlView:(AIListOutlineView *)outlineView];
 		[(AIListCell *)cell setIndentation:indentationPerLevel[[outlineView levelForItem:item]]];
 	}
 }
--- a/Frameworks/Adium Framework/Source/AIListCell.h	Thu Nov 14 20:57:01 2019 -0500
+++ b/Frameworks/Adium Framework/Source/AIListCell.h	Thu Nov 14 21:09:06 2019 -0500
@@ -22,7 +22,7 @@
 #define DROP_HIGHLIGHT_HEIGHT_MARGIN 1.0f
 
 @interface AIListCell : NSCell {
-	AIListOutlineView	*controlView;
+	AIListOutlineView	*outlineControlView;
     AIProxyListObject	*proxyObject;
     BOOL				isGroup;
 	
@@ -52,7 +52,7 @@
 
 - (void)setProxyListObject:(AIProxyListObject *)inObject;
 @property (readonly, nonatomic) BOOL isGroup;
-@property (readwrite, assign, nonatomic) AIListOutlineView *controlView;
+@property (readwrite, assign, nonatomic) AIListOutlineView *outlineControlView;
 
 //Display options
 @property (readwrite, retain, nonatomic) NSFont *font;
--- a/Frameworks/Adium Framework/Source/AIListCell.m	Thu Nov 14 20:57:01 2019 -0500
+++ b/Frameworks/Adium Framework/Source/AIListCell.m	Thu Nov 14 21:09:06 2019 -0500
@@ -106,10 +106,10 @@
 	isGroup = [[proxyObject listObject] isKindOfClass:[AIListGroup class]];
 }
 
-@synthesize isGroup, controlView;
+@synthesize isGroup, outlineControlView;
 
 //Return that this cell is draggable
-- (NSUInteger)hitTestForEvent:(NSEvent *)event inRect:(NSRect)cellFrame ofView:(NSView *)controlView
+- (NSCellHitResult)hitTestForEvent:(NSEvent *)event inRect:(NSRect)cellFrame ofView:(NSView *)controlView
 {
 	return NSCellHitContentArea;
 }
@@ -370,8 +370,8 @@
 - (BOOL)cellIsSelected
 {
 	return ([self isHighlighted] &&
-		   [[controlView window] isKeyWindow] &&
-		   [[controlView window] firstResponder] == controlView);
+		   [[self.outlineControlView window] isKeyWindow] &&
+		   [[self.outlineControlView window] firstResponder] == self.outlineControlView);
 }
 
 //YES if a grid would be visible behind this cell (needs to be drawn)
@@ -384,10 +384,10 @@
 - (NSColor *)backgroundColor
 {
 	//We could just call backgroundColorForRow: but it's best to avoid doing a rowForItem lookup if there is no grid
-	if ([controlView usesAlternatingRowBackgroundColors]) {
-		return [controlView backgroundColorForRow:[controlView rowForItem:proxyObject]];
+	if ([self.outlineControlView usesAlternatingRowBackgroundColors]) {
+		return [self.outlineControlView backgroundColorForRow:[self.outlineControlView rowForItem:proxyObject]];
 	} else {
-		return [controlView backgroundColor];
+		return [self.outlineControlView backgroundColor];
 	}
 }
 
@@ -434,7 +434,7 @@
 		value = [self labelString];
 		
 	} else if ([attribute isEqualToString:NSAccessibilityWindowAttribute]) {
-		value = [controlView window];
+		value = [self.outlineControlView window];
                 
 	} else {
 		value = [super accessibilityAttributeValue:attribute];
--- a/Frameworks/Adium Framework/Source/AIXMLElement.m	Thu Nov 14 20:57:01 2019 -0500
+++ b/Frameworks/Adium Framework/Source/AIXMLElement.m	Thu Nov 14 21:09:06 2019 -0500
@@ -141,9 +141,9 @@
  */
 - (void)setAttributeNames:(NSArray *)newAttrNames values:(NSArray *)newAttrVals
 {
-	NSAssert2([newAttrNames count] == [newAttrVals count], @"Attribute names and values have different lengths, %ui and %ui respectively", [newAttrNames count], [newAttrVals count]);
+	NSAssert2([newAttrNames count] == [newAttrVals count], @"Attribute names and values have different lengths, %lui and %lui respectively", (unsigned long)[newAttrNames count], [newAttrVals count]);
 	NSUInteger numberOfDuplicates = [newAttrNames count] - [[NSSet setWithArray:newAttrNames] count];
-	NSAssert1(numberOfDuplicates == 0, @"Duplicate attributes are not allowed; found %ui duplicate(s)",  numberOfDuplicates);
+    NSAssert1(numberOfDuplicates == 0, @"Duplicate attributes are not allowed; found %lui duplicate(s)", (unsigned long)numberOfDuplicates);
 	
 	[attributeNames setArray:newAttrNames];
 	[attributeValues setArray:newAttrVals];
--- a/Frameworks/Adium Framework/Source/JVFontPreviewField.m	Thu Nov 14 20:57:01 2019 -0500
+++ b/Frameworks/Adium Framework/Source/JVFontPreviewField.m	Thu Nov 14 21:09:06 2019 -0500
@@ -67,7 +67,7 @@
 		[__delegate fontPreviewField:self didChangeToFont:font];
 }
 
-- (NSUInteger) validModesForFontPanel:(NSFontPanel *) fontPanel
+- (NSFontPanelModeMask)validModesForFontPanel:(NSFontPanel *)fontPanel
 {
 	unsigned int ret = NSFontPanelStandardModesMask;
 	if (!_showPointSize) ret ^= NSFontPanelSizeModeMask;
--- a/Plugins/Image Uploading Plugin/AIGenericMultipartImageUploader.m	Thu Nov 14 20:57:01 2019 -0500
+++ b/Plugins/Image Uploading Plugin/AIGenericMultipartImageUploader.m	Thu Nov 14 21:09:06 2019 -0500
@@ -128,8 +128,8 @@
 	
 	NSBitmapImageFileType bestType;
 	
-	NSData *pngRepresentation = [[image largestBitmapImageRep] representationUsingType:NSPNGFileType properties:nil];
-	NSData *jpgRepresentation = [[image largestBitmapImageRep] representationUsingType:NSJPEGFileType properties:nil];
+    NSData *pngRepresentation = [[image largestBitmapImageRep] representationUsingType:NSPNGFileType properties:@{}];
+	NSData *jpgRepresentation = [[image largestBitmapImageRep] representationUsingType:NSJPEGFileType properties:@{}];
 	NSData *imageRepresentation;
 	
 	if (pngRepresentation.length > jpgRepresentation.length) {
--- a/Source/AIAdvancedPreferences.h	Thu Nov 14 20:57:01 2019 -0500
+++ b/Source/AIAdvancedPreferences.h	Thu Nov 14 21:09:06 2019 -0500
@@ -24,7 +24,7 @@
 	IBOutlet NSTableView	*tableView_categories;
 	IBOutlet AIModularPaneCategoryView	*modularPane;
 	
-	NSMutableArray		    *loadedAdvancedPanes;
+	NSArray         		   *loadedAdvancedPanes;
 	NSArray                 *_advancedCategoryArray;
 }
 
--- a/Source/AIHoveringPopUpButton.m	Thu Nov 14 20:57:01 2019 -0500
+++ b/Source/AIHoveringPopUpButton.m	Thu Nov 14 21:09:06 2019 -0500
@@ -273,9 +273,9 @@
 
 		trackingTag = [self addTrackingRect:trackRect owner:self userData:nil assumeInside:mouseInside];
 		if (mouseInside) {
-			[self mouseEntered:nil];
+			[self mouseEntered:[[[NSEvent alloc] init] autorelease]];
 		} else {
-			[self mouseExited:nil];			
+			[self mouseExited:[[[NSEvent alloc] init] autorelease]];
 		}
 	}
 }
--- a/Source/AIInterfaceController.m	Thu Nov 14 20:57:01 2019 -0500
+++ b/Source/AIInterfaceController.m	Thu Nov 14 21:09:06 2019 -0500
@@ -1830,7 +1830,7 @@
 {
 	//Pass the print command to the window, which is responsible for routing it to the correct place or
 	//creating a view and printing.  Adium will not print from a window that does not respond to adiumPrint:
-	NSWindow	*keyWindowController = [[[NSApplication sharedApplication] keyWindow] windowController];
+	NSWindowController	*keyWindowController = [[[NSApplication sharedApplication] keyWindow] windowController];
 	if ([keyWindowController respondsToSelector:@selector(adiumPrint:)]) {
 		[keyWindowController performSelector:@selector(adiumPrint:)
 								  withObject:sender];
--- a/Source/AIListWindowController.m	Thu Nov 14 20:57:01 2019 -0500
+++ b/Source/AIListWindowController.m	Thu Nov 14 21:09:06 2019 -0500
@@ -578,7 +578,7 @@
 	//crash if we are deallocated.  A dirty, but functional fix is to temporarily retain ourself here.
     [self retain];
 
-    if ([self windowShouldClose:nil]) {
+    if ([self windowShouldClose:sender]) {
         [[self window] close];
     }