diff options
Diffstat (limited to 'chrome/content/topmenuservice.js')
-rw-r--r-- | chrome/content/topmenuservice.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/content/topmenuservice.js b/chrome/content/topmenuservice.js index ffafba8..494ea3e 100644 --- a/chrome/content/topmenuservice.js +++ b/chrome/content/topmenuservice.js @@ -572,7 +572,7 @@ WindowProxy.prototype.removeItem = function(item) { var gtkItem = item.topmenuData.gtkItem; gtk.gtk_widget_destroy(gtkItem); - gtkItem.forget(); + gtkItem.dispose(); delete item.topmenuData; } @@ -581,7 +581,7 @@ WindowProxy.prototype.removeMenu = function(menu) { var gtkMenu = menu.topmenuData.gtkMenu; gtk.gtk_widget_destroy(gtkMenu); - gtkMenu.forget(); + gtkMenu.dispose(); } WindowProxy.prototype.updateItem = function(item, changedAttr) { |