[gnome-shell] backgroundMenu: drop cursor object with rest of menu actors



commit dc9871147751d814cad8dcfbd47cf6aff8a6cd60
Author: Ray Strode <rstrode redhat com>
Date:   Thu Apr 4 16:37:13 2013 -0400

    backgroundMenu: drop cursor object with rest of menu actors
    
    https://bugzilla.gnome.org/show_bug.cgi?id=697395

 js/ui/backgroundMenu.js |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/backgroundMenu.js b/js/ui/backgroundMenu.js
index 538abd5..1328b3f 100644
--- a/js/ui/backgroundMenu.js
+++ b/js/ui/backgroundMenu.js
@@ -60,5 +60,7 @@ function addBackgroundMenu(actor) {
                       actor._backgroundMenu.destroy();
                       actor._backgroundMenu = null;
                       actor._backgroundManager = null;
+
+                      cursor.destroy();
                   });
 }


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