From 84be00b29ffe362d425634113c63520ea5a7cc73 Mon Sep 17 00:00:00 2001 From: Andy Matuschak Date: Tue, 19 Aug 2008 21:13:15 -0700 Subject: [PATCH] Fixes 258991 The selector for the updaterWillRelaunchApplication delegate call had a typo in it, so it wasn't getting called. Oof. --- SUBasicUpdateDriver.m | 2 +- Sparkle.xcodeproj/project.pbxproj | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/SUBasicUpdateDriver.m b/SUBasicUpdateDriver.m index a3757252..d0143200 100644 --- a/SUBasicUpdateDriver.m +++ b/SUBasicUpdateDriver.m @@ -251,7 +251,7 @@ [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]) diff --git a/Sparkle.xcodeproj/project.pbxproj b/Sparkle.xcodeproj/project.pbxproj index 3010e105..1964d8cd 100644 --- a/Sparkle.xcodeproj/project.pbxproj +++ b/Sparkle.xcodeproj/project.pbxproj @@ -988,12 +988,14 @@ 1DEB91B208733DA50010E9CD /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { + WARNING_CFLAGS = "-Wundeclared-selector"; }; name = Debug; }; 1DEB91B308733DA50010E9CD /* Release */ = { isa = XCBuildConfiguration; buildSettings = { + WARNING_CFLAGS = "-Wundeclared-selector"; }; name = Release; }; @@ -1001,6 +1003,7 @@ isa = XCBuildConfiguration; buildSettings = { GCC_VERSION = ""; + WARNING_CFLAGS = "-Wundeclared-selector"; }; name = "Release (GC dual-mode; 10.5-only)"; };