Skip to content

Commit bd140d5

Browse files
committed
Disable fix on macOS (redundant)
1 parent b282b7e commit bd140d5

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Sources/Gtk3Backend/Gtk3Backend.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@ public final class Gtk3Backend: AppBackend {
8787
guint(GTK_STYLE_PROVIDER_PRIORITY_APPLICATION)
8888
)
8989

90-
Self.mainRunLoopTicklingLoop()
90+
#if !os(macOS)
91+
Self.mainRunLoopTicklingLoop()
92+
#endif
9193
}
9294
}
9395

Sources/GtkBackend/GtkBackend.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ public final class GtkBackend: AppBackend {
6464
self.precreatedWindow = window
6565
callback()
6666

67-
Self.mainRunLoopTicklingLoop()
67+
#if !os(macOS)
68+
Self.mainRunLoopTicklingLoop()
69+
#endif
6870
}
6971
}
7072

0 commit comments

Comments
 (0)