app-menu: Remove unused function

This was an override for a parent function that hasn't existed
since summer 2013 ...

https://bugzilla.gnome.org/show_bug.cgi?id=745670
This commit is contained in:
Florian Müllner
2015-03-05 14:17:06 +01:00
parent 2c914571b5
commit a39aba4099

View File

@@ -86,10 +86,6 @@ const ApplicationMenuItem = new Lang.Class({
this.parent(active, params);
},
_getPreferredWidth: function(actor, forHeight, alloc) {
alloc.min_size = alloc.natural_size = -1;
},
_updateIcon: function() {
this._iconBin.set_child(this._app.create_icon_texture(APPLICATION_ICON_SIZE));
}