[sushi/wip/cosimoc/no-clutter: 20/67] mainWindow: remove unreachable code
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sushi/wip/cosimoc/no-clutter: 20/67] mainWindow: remove unreachable code
- Date: Mon, 30 Apr 2018 15:15:19 +0000 (UTC)
commit d6e2fc7f84934f6678a0cc81d51336b8fbc8cc9f
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Apr 3 12:30:10 2017 -0700
mainWindow: remove unreachable code
this._quitActor was removed a long time ago.
src/js/ui/mainWindow.js | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/js/ui/mainWindow.js b/src/js/ui/mainWindow.js
index baf1a8f..72cdbc0 100644
--- a/src/js/ui/mainWindow.js
+++ b/src/js/ui/mainWindow.js
@@ -148,8 +148,7 @@ const MainWindow = new Lang.Class({
let stageWin = ClutterGdk.get_stage_window(this._stage);
let win_coords = event.get_coords();
- if ((event.get_source() == this._quitActor) ||
- (event.get_source() == this._texture &&
+ if ((event.get_source() == this._texture &&
!this._renderer.moveOnClick)) {
return false;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]