Skip to content
This repository has been archived by the owner on Oct 17, 2024. It is now read-only.

Commit

Permalink
Fix not compiling on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
david-swift committed May 18, 2024
1 parent c07b071 commit e9094b9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ public class GTUIAboutWindow: GTUIWindow {
public init(filePath: String? = nil) {
super.init(fields: [:])
if let filePath {
#if os(Windows)
pointer = adw_about_window_new()?.cast()
#else
pointer = adw_about_window_new_from_appdata(filePath, nil)?.cast()
#endif
} else {
pointer = adw_about_window_new()?.cast()
}
Expand Down

0 comments on commit e9094b9

Please sign in to comment.