mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:30:53 +00:00
Revert the relationship between NSToolbar and GSToolbarView,
now the toolbar retains the view. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27550 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e01cdd4cd1
commit
88160ba733
4 changed files with 27 additions and 37 deletions
|
@ -325,7 +325,6 @@ static void initSystemExtensionsColors(void)
|
|||
|
||||
[[NSNotificationCenter defaultCenter] removeObserver: self];
|
||||
|
||||
RELEASE(_toolbar);
|
||||
RELEASE(_clippedItemsMark);
|
||||
RELEASE(_clipView);
|
||||
|
||||
|
@ -567,11 +566,7 @@ static void initSystemExtensionsColors(void)
|
|||
if (_toolbar == toolbar)
|
||||
return;
|
||||
|
||||
// We unset the toolbar view from the previous toolbar
|
||||
[_toolbar _setToolbarView: nil];
|
||||
ASSIGN(_toolbar, toolbar);
|
||||
// We set the toolbar view on the new toolbar
|
||||
[_toolbar _setToolbarView: self];
|
||||
_toolbar = toolbar;
|
||||
|
||||
[_clippedItemsMark setToolbar: _toolbar];
|
||||
// Load the toolbar in the toolbar view
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue