From 4ddc3582d00c9268e92d73511953a325a134f2c1 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Tue, 29 May 2012 00:53:44 +0000 Subject: [PATCH] silence 2 warnings --- Transmission.xcodeproj/project.pbxproj | 2 +- macosx/PrefsController.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Transmission.xcodeproj/project.pbxproj b/Transmission.xcodeproj/project.pbxproj index a97cb81de..6d6d87303 100644 --- a/Transmission.xcodeproj/project.pbxproj +++ b/Transmission.xcodeproj/project.pbxproj @@ -736,7 +736,7 @@ A2623B3E0D3DC5930045D19A /* PauseHover.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = PauseHover.png; path = macosx/Images/PauseHover.png; sourceTree = ""; }; A2623B4D0D3DC6DF0045D19A /* ActionHover.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = ActionHover.png; path = macosx/Images/ActionHover.png; sourceTree = ""; }; A263C5651560A35B0082A3D1 /* da */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = da; path = macosx/da.lproj/MainMenu.xib; sourceTree = ""; }; - A263C5661560A3CF0082A3D1 /* da */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = da; path = macosx/da.lproj/Localizable.strings; sourceTree = ""; }; + A263C5661560A3CF0082A3D1 /* da */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = da; path = macosx/da.lproj/Localizable.strings; sourceTree = ""; }; A263C5671560A4210082A3D1 /* da */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = da; path = macosx/da.lproj/InfoPlist.strings; sourceTree = ""; }; A263C5681560A4290082A3D1 /* da */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = da; path = macosx/da.lproj/PrefsWindow.xib; sourceTree = ""; }; A263C5691560A4310082A3D1 /* da */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = da; path = macosx/da.lproj/Creator.xib; sourceTree = ""; }; diff --git a/macosx/PrefsController.m b/macosx/PrefsController.m index 1d5c4a171..e542efbed 100644 --- a/macosx/PrefsController.m +++ b/macosx/PrefsController.m @@ -744,7 +744,7 @@ tr_session * fHandle; - (IBAction) setBuiltInGrowlEnabled: (id) sender { - const BOOL enable = [sender state] == NSOnState; + const BOOL enable = [(NSButton *)sender state] == NSOnState; [fDefaults setBool: enable forKey: @"DisplayNotifications"]; [GrowlApplicationBridge setShouldUseBuiltInNotifications: enable]; } -- 2.40.0