[gnome-documents/gnome-3-14] application: Clean up OffsetController signals
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents/gnome-3-14] application: Clean up OffsetController signals
- Date: Thu, 12 Mar 2015 23:21:13 +0000 (UTC)
commit 1c77f36fdc0640e1a5ff89385ad2bef0f2f27a31
Author: Debarshi Ray <debarshir gnome org>
Date: Thu Mar 12 10:16:27 2015 +0100
application: Clean up OffsetController signals
Failure to clean up the OffsetController signals led to
Embed._onItemCountChanged and, ultimately, Embed._hideNoResultsPage
being called with an invalid GtkStack if launch-search was received
before the inactivity-timeout expired. This is why we got this WARNING
in the console:
Child name 'view' not found in GtkStack
https://bugzilla.gnome.org/show_bug.cgi?id=744643
src/application.js | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index a25fc1f..e31c643 100644
--- a/src/application.js
+++ b/src/application.js
@@ -591,6 +591,7 @@ const Application = new Lang.Class({
// clean up signals
changeMonitor.disconnectAll();
documentManager.disconnectAll();
+ offsetController.disconnectAll();
trackerController.disconnectAll();
selectionController.disconnectAll();
modeController.disconnectAll();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]