Permalink
Browse files

Fixes 258991

The selector for the updaterWillRelaunchApplication delegate call had a typo in it, so it wasn't getting called. Oof.
  • Loading branch information...
1 parent d064b58 commit 84be00b29ffe362d425634113c63520ea5a7cc73 @andymatuschak andymatuschak committed Aug 20, 2008
Showing with 4 additions and 1 deletion.
  1. +1 −1 SUBasicUpdateDriver.m
  2. +3 −0 Sparkle.xcodeproj/project.pbxproj
View
2 SUBasicUpdateDriver.m
@@ -251,7 +251,7 @@ - (void)relaunchHostApp
[self cleanUp]; // Clean up the download and extracted files.
[[NSNotificationCenter defaultCenter] postNotificationName:SUUpdaterWillRestartNotification object:self];
- if ([[updater delegate] respondsToSelector:@selector(updaterWillRelaunchApplication)])
+ if ([[updater delegate] respondsToSelector:@selector(updaterWillRelaunchApplication:)])
[[updater delegate] updaterWillRelaunchApplication:updater];
if(!relaunchPath || ![[NSFileManager defaultManager] fileExistsAtPath:relaunchPath])
View
3 Sparkle.xcodeproj/project.pbxproj
@@ -988,19 +988,22 @@
1DEB91B208733DA50010E9CD /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ WARNING_CFLAGS = "-Wundeclared-selector";
};
name = Debug;
};
1DEB91B308733DA50010E9CD /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ WARNING_CFLAGS = "-Wundeclared-selector";
};
name = Release;
};
61072EAD0DF263BD008FE88B /* Release (GC dual-mode; 10.5-only) */ = {
isa = XCBuildConfiguration;
buildSettings = {
GCC_VERSION = "";
+ WARNING_CFLAGS = "-Wundeclared-selector";
};
name = "Release (GC dual-mode; 10.5-only)";
};

0 comments on commit 84be00b

Please sign in to comment.