[gnome-shell-extensions] auto-move-windows: Remove unused parameters
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions] auto-move-windows: Remove unused parameters
- Date: Thu, 24 Apr 2014 09:58:22 +0000 (UTC)
commit ec49693c6f478b17454324b6f2ada06a074952b8
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Apr 24 11:56:03 2014 +0200
auto-move-windows: Remove unused parameters
meta_window_change_workspace_by_index() lost its timestamp parameter
a while ago.
extensions/auto-move-windows/extension.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/extensions/auto-move-windows/extension.js b/extensions/auto-move-windows/extension.js
index a6943f5..fd416c6 100644
--- a/extensions/auto-move-windows/extension.js
+++ b/extensions/auto-move-windows/extension.js
@@ -40,7 +40,7 @@ const WindowMover = new Lang.Class({
_ensureAtLeastWorkspaces: function(num, window) {
for (let j = global.screen.n_workspaces; j <= num; j++) {
- window.change_workspace_by_index(j-1, false, global.get_current_time());
+ window.change_workspace_by_index(j-1, false);
global.screen.append_new_workspace(false, 0);
}
},
@@ -73,7 +73,7 @@ const WindowMover = new Lang.Class({
if (workspace_num >= global.screen.n_workspaces)
this._ensureAtLeastWorkspaces(workspace_num, window);
- window.change_workspace_by_index(workspace_num, false, global.get_current_time());
+ window.change_workspace_by_index(workspace_num, false);
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]