Fix typo in method to set parent window of a child, optimise color handling in themes.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@27742 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2009-01-31 09:59:32 +00:00
parent 9c1d6c5c86
commit 37e80a9462
3 changed files with 11 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2009-01-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/WIN32Server.m: fix typo
* Source/x11/XGServerWindow.m: ditto
2009-01-29 Fred Kiefer <FredKiefer@gmx.de>
* Source/win32/WIN32Server.m (-setPartentWindow:forChildWindow:),

View file

@ -1563,10 +1563,10 @@ NSLog(@"Callback");
SetCursor((HCURSOR)cid);
}
- (void) setPartentWindow: (int)partentWin
forChildWindow: (int)childWin
- (void) setParentWindow: (int)parentWin
forChildWindow: (int)childWin
{
SetParent((HWND)childWin, (HWND)partentWin);
SetParent((HWND)childWin, (HWND)parentWin);
}
@end

View file

@ -4622,8 +4622,8 @@ _computeDepth(int class, int bpp)
return NO;
}
- (void) setPartentWindow: (int)partentWin
forChildWindow: (int)childWin
- (void) setParentWindow: (int)parentWin
forChildWindow: (int)childWin
{
gswindow_device_t *cwindow;
gswindow_device_t *pwindow;
@ -4633,7 +4633,7 @@ _computeDepth(int class, int bpp)
if (!cwindow)
return;
pwindow = WINDOW_WITH_TAG(partentWin);
pwindow = WINDOW_WITH_TAG(parentWin);
if (!pwindow)
p = None;
else