Revision: 7114
http://skim-app.svn.sourceforge.net/skim-app/?rev=7114&view=rev
Author: hofman
Date: 2011-02-18 11:09:37 +0000 (Fri, 18 Feb 2011)
Log Message:
-----------
move warning for duplicate singletons
Modified Paths:
--------------
trunk/SKImageToolTipWindow.m
Modified: trunk/SKImageToolTipWindow.m
===================================================================
--- trunk/SKImageToolTipWindow.m 2011-02-18 11:09:24 UTC (rev 7113)
+++ trunk/SKImageToolTipWindow.m 2011-02-18 11:09:37 UTC (rev 7114)
@@ -60,12 +60,8 @@
return sharedToolTipWindow;
}
-+ (id)allocWithZone:(NSZone *)zone {
- if (sharedToolTipWindow) NSLog(@"Attempt to allocate second instance of
%@", self);
- return [super allocWithZone:zone];
-}
-
- (id)init {
+ if (sharedToolTipWindow) NSLog(@"Attempt to allocate second instance of
%@", self);
if (self = [super initWithContentRect:NSZeroRect]) {
[self setHidesOnDeactivate:NO];
[self setIgnoresMouseEvents:YES];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit