[Gorm, -gui] fix for #46317

Graham Lee <[email protected]>
Newsgroups gmane.comp.lib.gnustep.bugs
Message-ID <[email protected]>
Bug: https://savannah.gnu.org/bugs/?46317

The fix is to always return an image with the correct name, instead of -nil, from -[NSImage initWithCoder:].

Steps to reproduce: open the .gorm file in this project: https://github.com/iamleeg/test-nsimage-name

Changelog entry:

2017-10-28  Graham Lee  <[email protected]>

    * Source/NSImage.m (initWithCoder:): restore image name when
    loading an archived image with a name that can't be resolved at
    load time. Fixes Gorm bug #46317.

Patch: https://github.com/gnustep/libs-gui/pull/12 / https://github.com/gnustep/libs-gui/pull/12.patch

Cheers,
Graham.

_______________________________________________
Bug-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gnustep
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.