cleanup: Adapt to removed ClutterColor
It was replaced by CoglColor Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3142>
This commit is contained in:

committed by
Marge Bot

parent
55027bb084
commit
7f0b1e98cf
@ -1,6 +1,7 @@
|
||||
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
|
||||
|
||||
import Clutter from 'gi://Clutter';
|
||||
import Cogl from 'gi://Cogl';
|
||||
import GLib from 'gi://GLib';
|
||||
import GObject from 'gi://GObject';
|
||||
import Gio from 'gi://Gio';
|
||||
@ -54,8 +55,8 @@ const DRAG_PAGE_SWITCH_REPEAT_TIMEOUT = 1000;
|
||||
|
||||
const DELAYED_MOVE_TIMEOUT = 200;
|
||||
|
||||
const DIALOG_SHADE_NORMAL = new Clutter.Color({red: 0, green: 0, blue: 0, alpha: 204});
|
||||
const DIALOG_SHADE_HIGHLIGHT = new Clutter.Color({red: 0, green: 0, blue: 0, alpha: 85});
|
||||
const DIALOG_SHADE_NORMAL = new Cogl.Color({red: 0, green: 0, blue: 0, alpha: 204});
|
||||
const DIALOG_SHADE_HIGHLIGHT = new Cogl.Color({red: 0, green: 0, blue: 0, alpha: 85});
|
||||
|
||||
const DEFAULT_FOLDERS = {
|
||||
'Utilities': {
|
||||
@ -2732,7 +2733,7 @@ export const AppFolderDialog = GObject.registerClass({
|
||||
this.child.get_transformed_position();
|
||||
|
||||
this.ease({
|
||||
background_color: new Clutter.Color({red: 0, green: 0, blue: 0, alpha: 0}),
|
||||
background_color: new Cogl.Color({red: 0, green: 0, blue: 0, alpha: 0}),
|
||||
duration: FOLDER_DIALOG_ANIMATION_TIME,
|
||||
mode: Clutter.AnimationMode.EASE_OUT_QUAD,
|
||||
});
|
||||
|
Reference in New Issue
Block a user