From cf49fc308aaa65028d38a2dffec74a5c7ef8dc53 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Sat, 18 Apr 2009 20:41:59 +0000 Subject: Fix build warnings complaining about duplicate definitions of display: in NSView.h and DOMCSS.h (via Webkit.h). Fixed by defining the connect sheet's status text to be of type NSTextField as opposed to the generic id type. --- Interfaces/English.lproj/DBView.xib | 60 +++++++++++++++++-------------------- Source/TableDocument.h | 4 +-- 2 files changed, 30 insertions(+), 34 deletions(-) diff --git a/Interfaces/English.lproj/DBView.xib b/Interfaces/English.lproj/DBView.xib index ab95bca4..362583b6 100644 --- a/Interfaces/English.lproj/DBView.xib +++ b/Interfaces/English.lproj/DBView.xib @@ -8,7 +8,7 @@ 353.00 YES - + YES @@ -45,7 +45,7 @@ {3.40282e+38, 3.40282e+38} {780, 480} - + 256 YES @@ -175,7 +175,6 @@ {{1, 1}, {212, 393}} - 6 @@ -207,7 +206,6 @@ {214, 395} - 530 @@ -292,7 +290,6 @@ {{1, 1}, {212, 123}} - 4 @@ -319,7 +316,6 @@ {{0, 404}, {214, 125}} - 530 @@ -371,7 +367,7 @@ -2042609409 35 - + NSImage button_action @@ -386,10 +382,7 @@ 1048576 2147483647 - - NSImage - button_action - + _popUpItemAction: @@ -1993,7 +1986,6 @@ {{1, 17}, {688, 454}} - 2 @@ -2026,7 +2018,6 @@ {{1, 0}, {688, 17}} - 4 @@ -2035,7 +2026,6 @@ {{6, 32}, {690, 472}} - 562 @@ -2930,7 +2920,10 @@ -2042609409 35 - + + NSImage + button_action + 400 @@ -2942,7 +2935,7 @@ 1048576 2147483647 - + _popUpItemAction: @@ -3676,7 +3669,6 @@ {944, 550} - {{0, 0}, {1440, 878}} {780, 502} @@ -3696,7 +3688,7 @@ {3.40282e+38, 3.40282e+38} {256, 191} - + 256 YES @@ -4193,6 +4185,7 @@ {{0, 17}, {215, 164}} + 4 @@ -4225,6 +4218,7 @@ {215, 17} + 4 @@ -4233,6 +4227,7 @@ {{-1, 22}, {215, 181}} + 560 @@ -4370,6 +4365,7 @@ {519, 347} + {{0, 0}, {1440, 878}} {256, 213} @@ -11394,14 +11390,6 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 1958 - - - connectProgressStatusText - - - - 2275 - argumentField @@ -12686,6 +12674,14 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 5419 + + + connectProgressStatusText + + + + 5420 + @@ -19961,8 +19957,8 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{693, 499}, {519, 347}} - {{693, 499}, {519, 347}} + {{666, 233}, {519, 347}} + {{666, 233}, {519, 347}} {{136, 447}, {519, 335}} @@ -20415,8 +20411,8 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{291, 188}, {944, 550}} - {{291, 188}, {944, 550}} + {{308, 141}, {944, 550}} + {{308, 141}, {944, 550}} {{62, 352}, {845, 504}} @@ -20981,7 +20977,7 @@ Y2hhbmdlIHRoZSBvcmRlcg - 5419 + 5420 @@ -21617,7 +21613,7 @@ Y2hhbmdlIHRoZSBvcmRlcg id NSTableView id - id + NSTextField id NSWindow id diff --git a/Source/TableDocument.h b/Source/TableDocument.h index 10b780a5..031a7943 100644 --- a/Source/TableDocument.h +++ b/Source/TableDocument.h @@ -25,7 +25,7 @@ #import #import -#import +#import @class CMMCPConnection, CMMCPResult; @@ -63,7 +63,7 @@ IBOutlet id databaseField; IBOutlet id connectProgressBar; - IBOutlet id connectProgressStatusText; + IBOutlet NSTextField *connectProgressStatusText; IBOutlet id databaseNameField; IBOutlet id databaseEncodingButton; IBOutlet id addDatabaseButton; -- cgit v1.2.3