[gnome-documents] view: Remove duplicate signal connection
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] view: Remove duplicate signal connection
- Date: Thu, 20 Aug 2015 05:31:57 +0000 (UTC)
commit 49acd2a6c50f31505e83707e6a8736c75047e154
Author: Debarshi Ray <debarshir gnome org>
Date: Wed Aug 19 13:55:25 2015 +0200
view: Remove duplicate signal connection
We have already connected to info-updated by the time _addItem is
called. Hence, no need to do it again.
Fall out from 4c7ffba09ac512c2814d4518cc2a63b61f942334
https://bugzilla.gnome.org/show_bug.cgi?id=726450
src/view.js | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/view.js b/src/view.js
index 7e7f617..dc04de6 100644
--- a/src/view.js
+++ b/src/view.js
@@ -134,8 +134,6 @@ const ViewModel = new Lang.Class({
let treePath = this.get_path(iter);
let treeRowRef = Gtk.TreeRowReference.new(this, treePath);
doc.rowRefs[this._rowRefKey] = treeRowRef;
-
- doc.connect('info-updated', Lang.bind(this, this._onInfoUpdated));
},
_removeItem: function(doc) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]