[gnome-shell-extensions] app-menu: Remove unused function



commit a39aba409958a5818e65d043d8a25f8062bfbb20
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Mar 5 14:17:06 2015 +0100

    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

 extensions/apps-menu/extension.js |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/extensions/apps-menu/extension.js b/extensions/apps-menu/extension.js
index 515f77a..003f987 100644
--- a/extensions/apps-menu/extension.js
+++ b/extensions/apps-menu/extension.js
@@ -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));
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]