diff options
Diffstat (limited to '02_compatibility_glib-2.41.patch')
-rw-r--r-- | 02_compatibility_glib-2.41.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/02_compatibility_glib-2.41.patch b/02_compatibility_glib-2.41.patch deleted file mode 100644 index 90464cd5d3eb..000000000000 --- a/02_compatibility_glib-2.41.patch +++ /dev/null @@ -1,31 +0,0 @@ -Description: Avoid crash during startup - This patch allow compatibility with the new versions of - glib2.0 removing gtk.gdk.threads_init() because this is now deprecated. -Forwarded: no -Author: Elías Alejandro Año Mendoza <ealmdz@gmail.com> -Last-Update: 2014-09-25 - -Index: radiotray/src/SysTray.py -=================================================================== ---- radiotray.orig/src/SysTray.py 2014-09-25 18:15:12.000000000 -0500 -+++ radiotray/src/SysTray.py 2014-09-25 18:21:49.000000000 -0500 -@@ -46,6 +46,7 @@ - from AppIndicatorGui import AppIndicatorGui - from TooltipManager import TooltipManager - from Context import Context -+from glib import glib_version - - import dbus - import textwrap -@@ -182,8 +183,9 @@ - - - def run(self): -- gtk.gdk.threads_init() -- gtk.main() -+ if glib_version < (2, 41, 0): -+ gtk.gdk.threads_init() -+ gtk.main() - - - |