diff options
-rw-r--r-- | po/es.po | 2 | ||||
-rw-r--r-- | po/pt_BR.po | 2 | ||||
-rw-r--r-- | wikipedia/views/domain_wiki_view.js | 11 |
3 files changed, 2 insertions, 13 deletions
@@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: eos-sdk\n" "Report-Msgid-Bugs-To: philip@endlessm.com\n" -"POT-Creation-Date: 2014-03-05 06:31+0000\n" +"POT-Creation-Date: 2014-03-11 05:49+0000\n" "PO-Revision-Date: 2014-03-05 06:31+0000\n" "Last-Translator: endlessmobile_build <philip@endlessm.com>\n" "Language-Team: Spanish (http://www.transifex.com/projects/p/teams/language/es/)\n" diff --git a/po/pt_BR.po b/po/pt_BR.po index e9f655d..0f899d9 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -11,7 +11,7 @@ msgid "" msgstr "" "Project-Id-Version: eos-sdk\n" "Report-Msgid-Bugs-To: philip@endlessm.com\n" -"POT-Creation-Date: 2014-03-05 06:31+0000\n" +"POT-Creation-Date: 2014-03-11 05:49+0000\n" "PO-Revision-Date: 2014-03-05 06:31+0000\n" "Last-Translator: endlessmobile_build <philip@endlessm.com>\n" "Language-Team: Portuguese (http://www.transifex.com/projects/p/teams/language/pt/)\n" diff --git a/wikipedia/views/domain_wiki_view.js b/wikipedia/views/domain_wiki_view.js index 7483767..a2f7419 100644 --- a/wikipedia/views/domain_wiki_view.js +++ b/wikipedia/views/domain_wiki_view.js @@ -1,6 +1,5 @@ const EndlessWikipedia = imports.wikipedia.EndlessWikipedia; const Lang = imports.lang; -const System = imports.system; const GObject = imports.gi.GObject; const Gtk = imports.gi.Gtk; const Gdk = imports.gi.Gdk; @@ -57,16 +56,6 @@ const DomainWikiView = new Lang.Class({ }) this._window.show_all(); - - // A temporary measure to prevent memory usage from blowing up. The app - // will sometimes allocate pixbufs as part of its draw function and gjs - // will not cleanup unused pixbufs unless we force it to. - this._window.connect_after("draw", function () { - Gdk.threads_add_idle(GLib.PRIORITY_LOW, function () { - System.gc(); - return false; - }); - }); }, create_front_page: function(){ |