Skip to content

Commit b9abd8a

Browse files
author
jan.nijtmans
committed
Merge 9.0
2 parents 4b1f6d2 + 5afc560 commit b9abd8a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Diff for: tests/filebox.test

+2-2
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,8 @@ foreach mode $modes {
282282
test fileDialog-2.7-$mode {"tk_getOpenFile: bad extension" -body {
283283
#ToPressButton $parent cancel
284284
set filename [tk_getOpenFile -filetypes {
285-
{"Invalid extension" {x.y}}
286-
{"All files" {*}}
285+
{"Invalid extension" {x.y}}
286+
{"All files" {*}}
287287
}]
288288
} -result {}
289289
}

Diff for: unix/tkUnixSysTray.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ DisplayIcon(
914914
icon->offscreenImage = XGetImage(Tk_Display(icon->drawingWin),
915915
icon->offscreenPixmap, 0, 0, w, h, AllPlanes, ZPixmap);
916916
}
917-
if (icon->offscreenGC == None) {
917+
if (icon->offscreenGC == NULL) {
918918
XGCValues gcv;
919919
gcv.function = GXcopy;
920920
gcv.plane_mask = AllPlanes;

Diff for: win/tkWinWm.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -8361,12 +8361,12 @@ TkpWinToplevelWithDraw(
83618361
&& !(wmPtr->flags & TK_EMBEDDED)
83628362
&& !(wmPtr->flags & WM_NEVER_MAPPED)
83638363
&& (wmPtr->containerPtr != NULL)) {
8364-
exStyle = GetWindowLongPtrW(wmPtr->wrapper, GWL_EXSTYLE);
8365-
if ( !(exStyle & WS_EX_TOOLWINDOW) ) {
8364+
exStyle = GetWindowLongPtrW(wmPtr->wrapper, GWL_EXSTYLE);
8365+
if ( !(exStyle & WS_EX_TOOLWINDOW) ) {
83668366
SetWindowLongPtrW(wmPtr->wrapper, GWL_EXSTYLE,
83678367
exStyle | WS_EX_TOOLWINDOW);
83688368
resetTempStyle=1;
8369-
}
8369+
}
83708370
}
83718371

83728372
wmPtr->flags |= WM_WITHDRAWN;

0 commit comments

Comments
 (0)