Commit 6e0566e
Make sure background tasks exits properly on newer versions of Ubuntu
Changed files (2)
Diff
@@ -501,9 +501,9 @@ public class GtkWindow : Gtk.Window, NativeWindow { thread = Thread.create<void*> (this.saving_thread, true); } catch (GLib.Error e) { warning (e.message);- }+ } }- + public void* saving_thread () { BirdFont.get_current_font ().save (); MenuTab.stop_background_thread ();@@ -869,7 +869,7 @@ public class TabBar : GLib.Object { } if (processing) {- timer = new TimeoutSource (50);+ timer = new TimeoutSource (250); timer.set_callback (() => { wheel_rotation += 0.008 * 2 * Math.PI;