mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-24 12:21:34 +00:00
ensure GSTheme is initialialised before determining whether to decorate windows
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@28982 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5286906961
commit
76b8a13298
1 changed files with 2 additions and 0 deletions
|
@ -48,6 +48,7 @@
|
||||||
#include <AppKit/NSText.h>
|
#include <AppKit/NSText.h>
|
||||||
#include <AppKit/NSTextField.h>
|
#include <AppKit/NSTextField.h>
|
||||||
#include <AppKit/DPSOperators.h>
|
#include <AppKit/DPSOperators.h>
|
||||||
|
#include <GNUstepGUI/GSTheme.h>
|
||||||
|
|
||||||
#include "win32/WIN32Server.h"
|
#include "win32/WIN32Server.h"
|
||||||
#include "win32/WIN32Geometry.h"
|
#include "win32/WIN32Geometry.h"
|
||||||
|
@ -260,6 +261,7 @@ NSLog(@"Callback");
|
||||||
[self setHandlesWindowDecorations: YES];
|
[self setHandlesWindowDecorations: YES];
|
||||||
[self setUsesNativeTaskbar: YES];
|
[self setUsesNativeTaskbar: YES];
|
||||||
|
|
||||||
|
[GSTheme theme];
|
||||||
{ // Check user defaults
|
{ // Check user defaults
|
||||||
NSUserDefaults *defs;
|
NSUserDefaults *defs;
|
||||||
defs = [NSUserDefaults standardUserDefaults];
|
defs = [NSUserDefaults standardUserDefaults];
|
||||||
|
|
Loading…
Reference in a new issue