[gnome-shell] popupMenu: Remove unused function
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] popupMenu: Remove unused function
- Date: Tue, 19 Aug 2014 13:24:14 +0000 (UTC)
commit 7d806471706e06ecb0078f17db153c75592a699a
Author: Florian Müllner <fmuellner gnome org>
Date: Tue Aug 19 12:08:51 2014 +0200
popupMenu: Remove unused function
js/ui/popupMenu.js | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
---
diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js
index 470df0c..0e9e0c4 100644
--- a/js/ui/popupMenu.js
+++ b/js/ui/popupMenu.js
@@ -21,17 +21,6 @@ const Ornament = {
CHECK: 2,
};
-function _ensureStyle(actor) {
- if (actor.get_children) {
- let children = actor.get_children();
- for (let i = 0; i < children.length; i++)
- _ensureStyle(children[i]);
- }
-
- if (actor instanceof St.Widget)
- actor.ensure_style();
-}
-
function isPopupMenuItemVisible(child) {
if (child._delegate instanceof PopupMenuSection)
if (child._delegate.isEmpty())
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]