diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2012-03-06 14:51:08 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2012-03-06 14:51:08 (GMT) |
commit | 5aeab071e373d17102925a8a87c10c2e1fec61ef (patch) | |
tree | 0230497674a655c16726c4847510adce5c262a5b /epubview | |
parent | c94773d68f7810a54aba28031d7f6aabff39a668 (diff) |
Import only the needed backend
The activity only open one tipe of file at time, but was importing
all the backends. Now import the needed backend after having the mimetype,
to have better startup times and lower memory use.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Diffstat (limited to 'epubview')
-rw-r--r-- | epubview/__init__.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/epubview/__init__.py b/epubview/__init__.py index adff032..20d9fc6 100644 --- a/epubview/__init__.py +++ b/epubview/__init__.py @@ -15,10 +15,6 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -from gi.repository import GObject - -GObject.threads_init() - from epub import _Epub as Epub from epubview import _View as EpubView from jobs import _JobFind as JobFind |