Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

giwebkit: Gtk.main() kill Ctrl^C

  • Loading branch information...
commit f941e899752765035fa72797fa9621804bc71596 1 parent 7dbc5ef
@xtfxme xtfxme authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  pyjs/runners/giwebkit.py
View
3  pyjs/runners/giwebkit.py
@@ -613,8 +613,6 @@ def addEventListener(self, element, event_name, cb):
self.listeners[listener] = element
def _delete_event_cb(self, window, event):
- #TODO: Gtk.main_quit() *should* work, but we are driving
- # the loop manually ... see below
while Gtk.events_pending():
Gtk.main_iteration_do(False)
window.unrealize()
@@ -654,7 +652,6 @@ def run(one_event=False, block=True):
sys.stdout.flush()
return Gtk.events_pending()
else:
- #TODO: Gtk.main() is probably fine too
try:
while wv._toplevel.get_realized():
Gtk.main_iteration()
Please sign in to comment.
Something went wrong with that request. Please try again.