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:
@ -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() {
|
||||
|
Reference in New Issue
Block a user