messageTray: Remove unused method parameter

The alignment of the arrow tip regarding the source actor is set with
setSourceAlignment() and its default is already 0.5 .

https://bugzilla.gnome.org/show_bug.cgi?id=678164
This commit is contained in:
Rui Matos 2012-06-14 19:46:21 +02:00
parent b4464929cb
commit 02428019fa

View File

@ -2490,11 +2490,10 @@ const MessageTray = new Lang.Class({
},
_adjustSummaryBoxPointerPosition: function() {
// The position of the arrow origin should be the same as center of this._clickedSummaryItem.actor
if (!this._clickedSummaryItem)
return;
this._summaryBoxPointer.setPosition(this._clickedSummaryItem.actor, 0, 0.5);
this._summaryBoxPointer.setPosition(this._clickedSummaryItem.actor, 0);
},
_unsetClickedSummaryItem: function() {