Clone in a terminal:
Commit 6e0566e
Johan Mattsson - 2016-06-18T18:24:50+00:00
6e0566e3bd180abd970e0a15364968f434be5da1johan.mattsson.m@gmail.com

Make sure background tasks exits properly on newer versions of Ubuntu

Changed files (2)

Diff

diff --git a/birdfont/GtkWindow.vala b/birdfont/GtkWindow.valaindex ce5b702..94c0c85 100644--- a/birdfont/GtkWindow.vala+++ b/birdfont/GtkWindow.vala@@ -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 ();diff --git a/libbirdfont/TabBar.vala b/libbirdfont/TabBar.valaindex 97642d0..e78f226 100644--- a/libbirdfont/TabBar.vala+++ b/libbirdfont/TabBar.vala@@ -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; 				

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112