screenshot: Remove leftover code in property getter

According to Ivan (author of that piece of code), this is most likely a
leftover from a refactor and has no purpose anymore, so remove it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2753>
This commit is contained in:
Jonas Dreßler 2023-04-26 19:31:53 +02:00
parent ce8af73745
commit 6476e62bff

View File

@ -1980,9 +1980,6 @@ var ScreenshotUI = GObject.registerClass({
} }
get screencast_in_progress() { get screencast_in_progress() {
if (!('_screencastInProgress' in this))
return false;
return this._screencastInProgress; return this._screencastInProgress;
} }