Skip to content

Commit 041114b

Browse files
authored
window_filter_func: add requires
1 parent 8927073 commit 041114b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Widgets/WindowOverview.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public class Gala.WindowOverview : ActorTarget, RootTarget, ActivatableComponent
166166
return true;
167167
}
168168

169-
private bool window_filter_func (Object obj) {
169+
private bool window_filter_func (Object obj) requires (obj is Meta.Window) {
170170
var window = (Meta.Window) obj;
171171
return window_ids == null || (window.get_id () in window_ids);
172172
}

0 commit comments

Comments
 (0)