Skip to content

Commit

Permalink
Enums: remove unused from_gdk_window_state
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed Sep 5, 2024
1 parent e339a37 commit 7a9faa3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions libcore/Enums.vala
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,6 @@ namespace Files {
return "Marlin.WindowState.INVALID";
}
}

public static Files.WindowState from_gdk_window_state (Gdk.WindowState state) {
if (Gdk.WindowState.MAXIMIZED in state || Gdk.WindowState.FULLSCREEN in state) {
return Files.WindowState.MAXIMIZED;
} else {
return Files.WindowState.NORMAL;
}
}
}

public enum ViewMode {
Expand Down

0 comments on commit 7a9faa3

Please sign in to comment.