mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
scripting: Fix argument list of createTestWindow()
Commit f285f2c6 changed Scripting.createTestWindow() to accept a parameter
object instead of a parameter list but forgot to remove the width and height
arguments. This breaks the "core" test as all windows are created with default
settings.
This commit is contained in:
parent
fbc03cc262
commit
581b38ecf4
2 changed files with 3 additions and 5 deletions
|
|
@ -133,7 +133,7 @@ function _callRemote(obj, method, ...args) {
|
|||
* because of the normal X asynchronous mapping process, to actually wait
|
||||
* until the window has been mapped and exposed, use waitTestWindows().
|
||||
*/
|
||||
function createTestWindow(width, height, params) {
|
||||
function createTestWindow(params) {
|
||||
params = Params.parse(params, { width: 640,
|
||||
height: 480,
|
||||
alpha: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue