Don't pass an (out) argument to meta_window_get_outer_rect()

Mutter now has the needed (out) annotation, so we have to use the
return value instead of passing a reference to a rectangle.
This commit is contained in:
Milan Bouchet-Valat 2010-11-22 22:18:30 +01:00
parent b9eca84d34
commit 43d479c786

View File

@ -881,8 +881,7 @@ Workspace.prototype = {
xCenter = xCenter * global.screen_width;
let rect = new Meta.Rectangle();
metaWindow.get_outer_rect(rect);
let rect = metaWindow.get_outer_rect();
let buttonOuterHeight, captionHeight;
let buttonOuterWidth = 0;