Deepin/DeepinWindowSwitcher.vala:694.31-694.83: error: Assignment: Cannot convert from `GLib.List<weak Meta.WindowActor>?' to `GLib.List<Meta.WindowActor>?'
unowned List<WindowActor>? window_actors = Compositor.get_window_actors (screen);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Deepin/DeepinWindowSwitcher.vala:695.26-695.38: error: The name `window_actors' does not exist in the context of `Gala.DeepinWindowSwitcher.restore_windows'
foreach (var actor in window_actors) {
^^^^^^^^^^^^^
InternalUtils.vala:202.30-202.93: error: Assignment: Cannot convert from `GLib.List<weak Meta.WindowActor>?' to `GLib.List<Meta.WindowActor>?'
unowned List<WindowActor> actors = Compositor.get_window_actors (new_window.get_screen ());
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
InternalUtils.vala:209.26-209.31: error: The name `actors' does not exist in the context of `Gala.InternalUtils.insert_workspace_with_window'
foreach (var actor in actors) {
^^^^^^
InternalUtils.vala:301.35-301.56: error: Assignment: Cannot convert from `GLib.List<weak Gala.InternalUtils.TilableWindow?>' to `GLib.List<Gala.InternalUtils.TilableWindow?>?'
unowned List<TilableWindow?> link = tmplist.nth (0);
^^^^^^^^^^^^^^^^^^^^^^
InternalUtils.vala:302.19-302.22: error: The name `link' does not exist in the context of `Gala.InternalUtils.calculate_grid_placement'
var window = link.data;
^^^^
InternalUtils.vala:303.17-303.22: error: The name `window' does not exist in the context of `Gala.InternalUtils.calculate_grid_placement'
var rect = window.rect;
^^^^^^
InternalUtils.vala:307.29-307.32: error: The name `rect' does not exist in the context of `Gala.InternalUtils.calculate_grid_placement'
var pos = rect_center (rect);
^^^^
InternalUtils.vala:314.36-314.38: error: The name `pos' does not exist in the context of `Gala.InternalUtils.calculate_grid_placement'
var dist = squared_distance (pos, slot_centers[i]);
^^^
InternalUtils.vala:316.11-316.14: error: The name `dist' does not exist in the context of `Gala.InternalUtils.calculate_grid_placement'
if (dist < slot_candidate_distance) {
^^^^
InternalUtils.vala:319.24-319.29: error: The name `window' does not exist in the context of `Gala.InternalUtils.calculate_grid_placement'
if (occupier == window)
^^^^^^
InternalUtils.vala:322.32-322.35: error: The name `dist' does not exist in the context of `Gala.InternalUtils.calculate_grid_placement'
if (occupier == null || dist < squared_distance (rect_center (occupier.rect), slot_centers[i])) {
^^^^
InternalUtils.vala:325.35-325.38: error: The name `dist' does not exist in the context of `Gala.InternalUtils.calculate_grid_placement'
slot_candidate_distance = dist;
^^^^
InternalUtils.vala:336.27-336.30: error: The name `link' does not exist in the context of `Gala.InternalUtils.calculate_grid_placement'
tmplist.remove_link (link);
^^^^
InternalUtils.vala:337.36-337.41: error: The name `window' does not exist in the context of `Gala.InternalUtils.calculate_grid_placement'
taken_slots[slot_candidate] = window;
^^^^^^
Widgets/WindowCloneContainer.vala:74.60-74.66: error: Argument 1: Cannot convert from `unowned GLib.SList<weak Meta.Window>?' to `unowned GLib.SList<Meta.Window>'
var windows_ordered = display.sort_windows_by_stacking (windows);
^^^^^^^
Widgets/WindowCloneContainer.vala:84.38-84.52: error: The name `windows_ordered' does not exist in the context of `Gala.WindowCloneContainer.add_window'
foreach (unowned Meta.Window w in windows_ordered) {
^^^^^^^^^^^^^^^
Widgets/WindowCloneContainer.vala:158.60-158.66: error: Argument 1: Cannot convert from `unowned GLib.SList<weak Meta.Window>?' to `unowned GLib.SList<Meta.Window>'
var windows_ordered = display.sort_windows_by_stacking (windows);
^^^^^^^
Widgets/WindowCloneContainer.vala:159.4-159.18: error: The name `windows_ordered' does not exist in the context of `Gala.WindowCloneContainer.restack_windows'
windows_ordered.reverse ();
^^^^^^^^^^^^^^^
Widgets/WindowCloneContainer.vala:161.43-161.57: error: The name `windows_ordered' does not exist in the context of `Gala.WindowCloneContainer.restack_windows'
foreach (unowned Meta.Window window in windows_ordered) {
^^^^^^^^^^^^^^^
Widgets/MultitaskingView.vala:503.31-503.76: error: Assignment: Cannot convert from `GLib.List<weak Meta.WindowActor>?' to `GLib.List<Meta.WindowActor>?'
unowned List<WindowActor> actors = Compositor.get_window_actors (screen);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Widgets/MultitaskingView.vala:505.27-505.32: error: The name `actors' does not exist in the context of `Gala.MultitaskingView.toggle'
foreach (var actor in actors) {
^^^^^^
Deepin/DeepinWindowBaseContainer.vala:190.60-190.66: error: Argument 1: Cannot convert from `unowned GLib.SList<weak Meta.Window>' to `unowned GLib.SList<Meta.Window>'
var windows_ordered = display.sort_windows_by_stacking (windows);
^^^^^^^
Deepin/DeepinWindowBaseContainer.vala:206.16-206.30: error: The name `windows_ordered' does not exist in the context of `Gala.DeepinWindowBaseContainer.add_window'
int index = windows_ordered.index (window);
^^^^^^^^^^^^^^^
Deepin/DeepinWindowBaseContainer.vala:207.39-207.43: error: The name `index' does not exist in the context of `Gala.DeepinWindowBaseContainer.add_window'
insert_child_at_index (new_window, index);
^^^^^
Deepin/DeepinWindowBaseContainer.vala:350.60-350.66: error: Argument 1: Cannot convert from `unowned GLib.SList<weak Meta.Window>' to `unowned GLib.SList<Meta.Window>'
var windows_ordered = display.sort_windows_by_stacking (windows);
^^^^^^^
Deepin/DeepinWindowBaseContainer.vala:353.27-353.41: error: The name `windows_ordered' does not exist in the context of `Gala.DeepinWindowBaseContainer.restack_windows'
foreach (var window in windows_ordered) {
^^^^^^^^^^^^^^^
Deepin/DeepinWorkspaceIndicator.vala:120.60-120.66: error: Argument 1: Cannot convert from `unowned GLib.SList<weak Meta.Window>' to `unowned GLib.SList<Meta.Window>'
var windows_ordered = display.sort_windows_by_stacking (windows);
^^^^^^^
Deepin/DeepinWorkspaceIndicator.vala:123.27-123.41: error: The name `windows_ordered' does not exist in the context of `Gala.DeepinWindowSnapshotContainer.restack_windows'
foreach (var window in windows_ordered) {
^^^^^^^^^^^^^^^
Deepin/DeepinIMText.vala:210.39-210.84: error: Assignment: Cannot convert from `GLib.List<weak Meta.WindowActor>?' to `GLib.List<Meta.WindowActor>?'
unowned List<WindowActor> actors = Compositor.get_window_actors (screen);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Deepin/DeepinIMText.vala:212.35-212.40: error: The name `actors' does not exist in the context of `Gala.DeepinIMText.scan_impanel'
foreach (var actor in actors) {
^^^^^^
make[2]: *** [Makefile:1967: gala_vala.stamp] Error 1
RPM build errors:
make[1]: *** [Makefile:490: all-recursive] Error 1
make: *** [Makefile:421: all] Error 2
@felixonmars
versions
error log