js: Don't pass extra arguments to add_actor

It's clear that this was supposed to be passed to our own 'add' monkey
patch, but we missed. Remove the ignored arguments.

https://bugzilla.gnome.org/show_bug.cgi?id=680216
This commit is contained in:
Jasper St. Pierre
2012-07-18 20:15:04 -04:00
parent ef218c95fc
commit 19e4c953ef
3 changed files with 11 additions and 48 deletions

View File

@ -279,11 +279,7 @@ const EndSessionDialog = new Lang.Class({
scrollView.hide();
this._applicationList = new St.BoxLayout({ vertical: true });
scrollView.add_actor(this._applicationList,
{ x_fill: true,
y_fill: true,
x_align: St.Align.START,
y_align: St.Align.MIDDLE });
scrollView.add_actor(this._applicationList);
this._applicationList.connect('actor-added',
Lang.bind(this, function() {