mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
magnifier: Removed unused get*Color() methods
They use API from Clutter.Rectangle which hasn't been used in the
magnifier since commit c815979f, and has since been removed from
Clutter altogether.
Since the methods are unused, remove them instead of fixing them.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2037>
This commit is contained in:
parent
3cb1fb7428
commit
c3a764693d
1 changed files with 0 additions and 25 deletions
|
|
@ -407,21 +407,6 @@ export class Magnifier extends Signals.EventEmitter {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* getCrosshairsColor:
|
||||
* Get the color of the crosshairs.
|
||||
*
|
||||
* @returns {string} The color as a string, e.g. '#0000ffff' or 'blue'.
|
||||
*/
|
||||
getCrosshairsColor() {
|
||||
if (this._crossHairs) {
|
||||
let clutterColor = this._crossHairs.getColor();
|
||||
return clutterColor.to_string();
|
||||
} else {
|
||||
return '#00000000';
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* setCrosshairsThickness:
|
||||
*
|
||||
|
|
@ -1928,16 +1913,6 @@ class Crosshairs extends Clutter.Actor {
|
|||
this._vertBottomHair.background_color = clutterColor;
|
||||
}
|
||||
|
||||
/**
|
||||
* getColor:
|
||||
* Get the color of the crosshairs.
|
||||
*
|
||||
* @returns {ClutterColor} the crosshairs color
|
||||
*/
|
||||
getColor() {
|
||||
return this._horizLeftHair.get_color();
|
||||
}
|
||||
|
||||
/**
|
||||
* setThickness:
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue