panelMenu: Remove the gicon parameter from addIndicator, and make private

There's only two uses of the parameter left, which can easily be added as a
separate line below. Since it's really a private interface meant for the
indicators, make it private as well so external users are less likely to
use it.

https://bugzilla.gnome.org/show_bug.cgi?id=705845
This commit is contained in:
Jasper St. Pierre
2013-07-19 06:05:47 -04:00
parent 37487c243e
commit 73e1f238cf
5 changed files with 8 additions and 8 deletions

View File

@@ -30,7 +30,7 @@ const Indicator = new Lang.Class({
_init: function() {
this.parent();
this._indicator = this.addIndicator(null);
this._indicator = this._addIndicator();
this._proxy = new PowerManagerProxy(Gio.DBus.session, BUS_NAME, OBJECT_PATH,
Lang.bind(this, function(proxy, error) {