diff options
author | Xu Jie <xujie04@gmail.com> | 2014-12-01 17:53:24 +0800 |
---|---|---|
committer | Xu Jie <xujie04@gmail.com> | 2014-12-01 17:53:24 +0800 |
commit | 5195ce158690ef1fb39869a6727c3de4b110b496 (patch) | |
tree | 522616ea735cf79c3af15f7cad6226d19ab384ec /Source | |
parent | 1af7e143385e716b5b0154854dda22a9c270ccad (diff) | |
download | sequelpro-5195ce158690ef1fb39869a6727c3de4b110b496.tar.gz sequelpro-5195ce158690ef1fb39869a6727c3de4b110b496.tar.bz2 sequelpro-5195ce158690ef1fb39869a6727c3de4b110b496.zip |
Remove a private API in PSMTabBarCell
Directly assigning to _controlView of a NSActionCell is private and not allowed by Mac App Store.
An _customControlView is used to replace _controlView in PSMTabBarCell to avoid direct assigning to _controlView.
This should be the last private API to remove before going to Mac App Store.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/SPWindowController.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPWindowController.m b/Source/SPWindowController.m index 96a27d0a..f90b423d 100644 --- a/Source/SPWindowController.m +++ b/Source/SPWindowController.m @@ -259,7 +259,7 @@ enum { //rebind the selected cell to the new control [control bindPropertiesForCell:selectedCell andTabViewItem:selectedTabViewItem]; - [selectedCell setControlView:control]; + [selectedCell setCustomControlView:control]; [[tabBar tabView] removeTabViewItem:[selectedCell representedObject]]; |