aboutsummaryrefslogtreecommitdiff
path: root/AppKit/GTMWindowSheetController.h
diff options
context:
space:
mode:
authorGravatar Thomas Van Lenten <thomasvl@google.com>2015-11-03 10:08:17 -0500
committerGravatar Thomas Van Lenten <thomasvl@google.com>2015-11-03 10:08:17 -0500
commitf2f8cc667b790dcd71709cb3a175944d38b1e78a (patch)
treea1ee53015afcff9e74d0b696401b0514b8b609c6 /AppKit/GTMWindowSheetController.h
parentd160301ee824d8c77bcef4af3f8265c8cb376a7c (diff)
Keep GTM building after clang r251041 when targeting 10.6
Diffstat (limited to 'AppKit/GTMWindowSheetController.h')
-rw-r--r--AppKit/GTMWindowSheetController.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/AppKit/GTMWindowSheetController.h b/AppKit/GTMWindowSheetController.h
index 7991112..2ef0198 100644
--- a/AppKit/GTMWindowSheetController.h
+++ b/AppKit/GTMWindowSheetController.h
@@ -17,6 +17,7 @@
//
#import <Cocoa/Cocoa.h>
+#import "GTMDefines.h"
// A class to manage multiple sheets for a window. Use it for tab-style
// interfaces, where each tab might need its own sheet.
@@ -56,9 +57,9 @@
@interface GTMWindowSheetController : NSObject {
@private
- __weak NSWindow* window_;
- __weak NSView* activeView_;
- __weak id <GTMWindowSheetControllerDelegate> delegate_;
+ GTM_WEAK NSWindow* window_;
+ GTM_WEAK NSView* activeView_;
+ GTM_WEAK id <GTMWindowSheetControllerDelegate> delegate_;
NSMutableDictionary* sheets_; // NSValue*(NSView*) -> SheetInfo*
}