[gnome-documents] searchbar: remove dead code
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] searchbar: remove dead code
- Date: Thu, 19 Jul 2012 03:29:58 +0000 (UTC)
commit 75c5b0d688e03eb5c40e3ed591ca219c71b94913
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Tue Jul 17 21:46:33 2012 -0400
searchbar: remove dead code
src/searchbar.js | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/searchbar.js b/src/searchbar.js
index 19e05cc..ee7b8d4 100644
--- a/src/searchbar.js
+++ b/src/searchbar.js
@@ -355,7 +355,6 @@ const Searchbar = new Lang.Class({
_init: function() {
this._searchEventId = 0;
- this._searchFocusId = 0;
this._searchEntryTimeout = 0;
this._sourcesId = 0;
this._searchTypeId = 0;
@@ -457,11 +456,6 @@ const Searchbar = new Lang.Class({
},
destroy: function() {
- if (this._searchFocusId != 0) {
- Global.searchController.disconnect(this._searchFocusId);
- this._searchFocusId = 0;
- }
-
if (this._searchEventId != 0) {
Global.searchController.disconnect(this._searchEventId);
this._searchEventId = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]