mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Partial fix for #16453
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23985 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
564a2e859b
commit
6ae514bf25
2 changed files with 10 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-10-28 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Source/NSApplication.m (initialize_gnustep_backend): Use
|
||||
GSBackend class directly when backend is compiled as a library.
|
||||
(Partial fix for Bug #16453, see also gnustep-back).
|
||||
|
||||
2006-10-27 Matt Rice <ratmice@yahoo.com>
|
||||
|
||||
* Source/NSAlert.m: Add GSRunExceptionPanel function
|
||||
|
|
|
@ -296,11 +296,10 @@ initialize_gnustep_backend(void)
|
|||
}
|
||||
|
||||
#else
|
||||
/* GSBackend will be in a separate library, so use the runtime
|
||||
to find the class and avoid an unresolved reference problem */
|
||||
backend = [[NSBundle gnustepBundle] classNamed: @"GSBackend"];
|
||||
NSCAssert (backend, _(@"Can't find backend context"));
|
||||
[backend initializeBackend];
|
||||
/* GSBackend will be in a separate library linked in with the app.
|
||||
This would be cleaner with ...classNamed: @"GSBackend", but that
|
||||
doesn't work in some cases (Mac OS X for instance). */
|
||||
[GSBackend initializeBackend];
|
||||
#endif
|
||||
}
|
||||
return YES;
|
||||
|
|
Loading…
Reference in a new issue