mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-02 22:10:58 +00:00
Use copy instead of NSArchiver as suggested on the list.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32601 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8cf1cd3bab
commit
9fb7317eef
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2011-03-16 06:30-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||||
|
|
||||||
|
* Source/GSThemeMenu.m: Use copy in setMenu:forWindow: instead of
|
||||||
|
NSArchiver.
|
||||||
|
|
||||||
2011-03-14 Fred Kiefer <FredKiefer@gmx.de>
|
2011-03-14 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* ColorPickers/GSNamedColorPicker.m
|
* ColorPickers/GSNamedColorPicker.m
|
||||||
|
|
|
@ -62,8 +62,8 @@
|
||||||
GSWindowDecorationView *wv = [window windowView];
|
GSWindowDecorationView *wv = [window windowView];
|
||||||
if ([window menu] == nil && menu != nil)
|
if ([window menu] == nil && menu != nil)
|
||||||
{
|
{
|
||||||
NSData *data = [NSArchiver archivedDataWithRootObject: menu]; // copy the view...
|
// NSData *data = [NSArchiver archivedDataWithRootObject: menu]; // copy the view...
|
||||||
NSMenu *newMenu = [NSUnarchiver unarchiveObjectWithData: data];
|
NSMenu *newMenu = [menu copy]; // [NSUnarchiver unarchiveObjectWithData: data];
|
||||||
NSMenuView *menuView = nil;
|
NSMenuView *menuView = nil;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue