From 8a8625ecd631a0c5ee46e62fc99bc35afe9d8101 Mon Sep 17 00:00:00 2001 From: Benoit Pierre Date: Tue, 7 Mar 2017 09:11:58 +0100 Subject: [PATCH] drop unused patch --- fix_wx_pynotify_crash.patch | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 fix_wx_pynotify_crash.patch diff --git a/fix_wx_pynotify_crash.patch b/fix_wx_pynotify_crash.patch deleted file mode 100644 index b793068af782..000000000000 --- a/fix_wx_pynotify_crash.patch +++ /dev/null @@ -1,31 +0,0 @@ -commit 0f8e617b8f215561ec8a9d735d02bac8b27f602d -Author: Benoit Pierre -Date: Wed May 11 15:04:16 2016 +0200 - - gui/log_dbus: fix possible crash - - pynotify uses gtk, and importing gtk before wx can trigger a crash: - see http://trac.wxwidgets.org/ticket/15898 - -diff --git a/plover/gui/log_dbus.py b/plover/gui/log_dbus.py -index c0a2e0f..fcc724a 100644 ---- a/plover/gui/log_dbus.py -+++ b/plover/gui/log_dbus.py -@@ -1,8 +1,15 @@ - --from plover import log, __name__ as __software_name__ --import pynotify - import logging - -+# Fix a possible crash... -+# See: http://trac.wxwidgets.org/ticket/15898 -+import gtk -+gtk.remove_log_handlers() -+ -+import pynotify -+ -+from plover import log, __name__ as __software_name__ -+ - - pynotify.init(__software_name__.capitalize()) -