Skip to content

Commit 64c69a9

Browse files
committed
beginCriticalSheet replaced with beginSheet on AppKitBackend
1 parent 45a34bd commit 64c69a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/AppKitBackend/AppKitBackend.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1729,7 +1729,7 @@ public final class AppKitBackend: AppBackend {
17291729
// Critical sheets stack. beginSheet only shows a nested sheet
17301730
// after its parent gets dismissed.
17311731
let window = sheetParent as! NSCustomWindow
1732-
window.beginCriticalSheet(sheet)
1732+
window.beginSheet(sheet)
17331733
window.managedAttachedSheet = sheet
17341734
}
17351735

Sources/GtkBackend/GtkBackend.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1585,7 +1585,7 @@ public final class GtkBackend: AppBackend {
15851585

15861586
return properties
15871587
}
1588-
1588+
15891589
public func createSheet(content: Widget) -> Gtk.Window {
15901590
let sheet = Gtk.Window()
15911591
sheet.setChild(content)

0 commit comments

Comments
 (0)