comparison flatpak/main_loop.patch @ 132:d7761eb3f20b

flatpak: Flatpak manifests for backend and active frontends, first draft
author Goffi <goffi@goffi.org>
date Sun, 15 Jul 2018 11:48:08 +0200
parents
children
comparison
equal deleted inserted replaced
131:8b4c3ff88985 132:d7761eb3f20b
1 diff --git a/urwid/main_loop.py b/urwid/main_loop.py
2 index 10ea5e1..59252bf 100755
3 --- a/urwid/main_loop.py
4 +++ b/urwid/main_loop.py
5 @@ -130,10 +130,11 @@ class MainLoop(object):
6 event_loop = SelectEventLoop()
7 self.event_loop = event_loop
8
9 - if hasattr(self.screen, 'signal_handler_setter'):
10 - # Tell the screen what function it must use to set
11 - # signal handlers
12 - self.screen.signal_handler_setter = self.event_loop.set_signal_handler
13 + # disabled to work around outdated GLib version in org.freedesktop.Platform
14 + # if hasattr(self.screen, 'signal_handler_setter'):
15 + # # Tell the screen what function it must use to set
16 + # # signal handlers
17 + # self.screen.signal_handler_setter = self.event_loop.set_signal_handler
18
19 self._watch_pipes = {}
20