[gedit-latex] Do not call assure_init, this was removed some time ago.



commit ff07c097b44e609d75bf53604f9b5b93d93cc7bd
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sun Jul 10 19:26:44 2011 +0200

    Do not call assure_init, this was removed some time ago.

 latex/bibtex/views.py |    1 -
 latex/tools/views.py  |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/latex/bibtex/views.py b/latex/bibtex/views.py
index 555cf7a..279004a 100644
--- a/latex/bibtex/views.py
+++ b/latex/bibtex/views.py
@@ -119,7 +119,6 @@ class BibTeXOutlineView(BaseOutlineView):
         """
         self._outline = outline
 
-        self.assure_init()
         self._save_state()
         self._update()
         self._restore_state()
diff --git a/latex/tools/views.py b/latex/tools/views.py
index 7f5f5d4..dd86775 100644
--- a/latex/tools/views.py
+++ b/latex/tools/views.py
@@ -132,7 +132,6 @@ class ToolView(PanelView, IStructuredIssueHandler):
                 self._log.error("No Editor object for calling select_lines")
 
     def clear(self):
-        self.assure_init()
         self._store.clear()
 
     def set_abort_enabled(self, enabled, method):



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