adium 4645:04605b9e9b83: Silence 2 warnings.
commits at adium.im
commits at adium.im
Thu Feb 2 12:54:52 UTC 2012
details: http://hg.adium.im/adium/rev/04605b9e9b83
revision: 4645:04605b9e9b83
branch: (none)
author: Adrian Godoroja <robotive at me.com>
date: Thu Feb 02 14:54:34 2012 +0200
Silence 2 warnings.
diffs (39 lines):
diff -r 105e5f02ac66 -r 04605b9e9b83 Frameworks/AIUtilities Framework/Source/AIDockingWindow.m
--- a/Frameworks/AIUtilities Framework/Source/AIDockingWindow.m Thu Feb 02 14:11:54 2012 +0200
+++ b/Frameworks/AIUtilities Framework/Source/AIDockingWindow.m Thu Feb 02 14:54:34 2012 +0200
@@ -16,6 +16,7 @@
#import "AIDockingWindow.h"
#import "AIEventAdditions.h"
+#import <AIUtilities/AIOSCompatibility.h>
#define WINDOW_DOCKING_DISTANCE 12 //Distance in pixels before the window is snapped to an edge
#define IGNORED_X_RESISTS 3
diff -r 105e5f02ac66 -r 04605b9e9b83 Frameworks/AIUtilities Framework/Source/AIOSCompatibility.h
--- a/Frameworks/AIUtilities Framework/Source/AIOSCompatibility.h Thu Feb 02 14:11:54 2012 +0200
+++ b/Frameworks/AIUtilities Framework/Source/AIOSCompatibility.h Thu Feb 02 14:54:34 2012 +0200
@@ -14,6 +14,8 @@
* write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+// XXX - Remove this on 10.7+ transition
+
#ifndef AILeopardCompatibility
#define AILeopardCompatibility
@@ -26,10 +28,15 @@
#if MAC_OS_X_VERSION_10_7 > MAC_OS_X_VERSION_MAX_ALLOWED
#ifdef __OBJC__
+
@interface NSScrollView (NewLionMethods)
- (void)setVerticalScrollElasticity:(NSInteger)elasticity;
@end
+ at interface NSWindow (NewLionMethods)
+- (void)setRestorable:(BOOL)flag;
+ at end
+
#endif
#else //Not compiling for 10.7
More information about the commits
mailing list