Permalink
Browse files

Fixed a RegexKitLite linking issue

  • Loading branch information...
1 parent 639a3a0 commit d1c4202a2923f2e5a6bbd7a6fcdf4081b96dbca7 Tyler Hall committed Aug 28, 2010
Showing with 4 additions and 20 deletions.
  1. +2 −2 Gmail-Info.plist
  2. +2 −1 Gmail.xcodeproj/project.pbxproj
  3. +0 −1 GmailAppDelegate.h
  4. +0 −16 GmailAppDelegate.m
View
@@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>0.2</string>
+ <string>0.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
- <string>0.2</string>
+ <string>0.3</string>
<key>LSMinimumSystemVersion</key>
<string>${MACOSX_DEPLOYMENT_TARGET}</string>
<key>NSMainNibFile</key>
@@ -309,6 +309,7 @@
GCC_PREFIX_HEADER = Gmail_Prefix.pch;
INFOPLIST_FILE = "Gmail-Info.plist";
INSTALL_PATH = "$(HOME)/Applications";
+ OTHER_LDFLAGS = "-licucore";
PRODUCT_NAME = Gmail;
};
name = Debug;
@@ -327,7 +328,7 @@
GCC_PREFIX_HEADER = Gmail_Prefix.pch;
INFOPLIST_FILE = "Gmail-Info.plist";
INSTALL_PATH = "$(HOME)/Applications";
- OTHER_LDFLAGS = "";
+ OTHER_LDFLAGS = "-licucore";
PRODUCT_NAME = Gmail;
};
name = Release;
View
@@ -19,7 +19,6 @@
}
- (IBAction)showMainWindow:(id)sender;
-- (void)overlayImageNamed:(NSString *)imageName;
- (void)incomingVideo:(NSNotification *)notification;
- (void)incomingCall:(NSNotification *)notification;
- (void)incomingChat:(NSNotification *)notification;
View
@@ -88,22 +88,6 @@ - (void)unreadCountChanged:(NSNotification *)notification {
}
-- (void)overlayImageNamed:(NSString *)imageName {
- float size = [[NSApp dockTile] size].width * .5;
- float offset = [[NSApp dockTile] size].width - size;
-
- NSImage *overlay = [NSImage imageNamed:@"phone"];
- NSImage *icon = [NSApp applicationIconImage];
- [icon lockFocus];
- CGContextRef ctxt = [[NSGraphicsContext currentContext] graphicsPort];
- CGImageSourceRef source;
- source = CGImageSourceCreateWithData((CFDataRef)[overlay TIFFRepresentation], NULL);
- CGImageRef maskRef = CGImageSourceCreateImageAtIndex(source, 0, NULL);
- CGContextDrawImage(ctxt, NSMakeRect(offset, offset, size, size), maskRef);
- [icon unlockFocus];
- [NSApp setApplicationIconImage:icon];
-}
-
- (void)applicationDidBecomeActive:(NSNotification *)notification {
[NSApp setApplicationIconImage:[NSImage imageNamed:@"Icon"]];
voiceBounce = YES;

0 comments on commit d1c4202

Please sign in to comment.