The Birdfont Source Code
Fix hanging export and notification crash bug
These changes was commited to the Birdfont repository Sat, 18 Jun 2016 23:50:19 +0000.
Contributing
Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
Fix hanging export and notification crash bug
--- a/birdfont/GtkWindow.vala
+++ b/birdfont/GtkWindow.vala
@@ -43,8 +43,6 @@
Scrollbar scrollbar;
bool scrollbar_supress_signal = false;
-
- Gtk.Window tooltip_window = new Gtk.Window ();
ToolboxCanvas toolbox;
@@ -59,6 +57,7 @@
}
public void init () {
+ Notify.init ("BirdFont");
Signal.connect(this, "notify::is-active", (GLib.Callback) window_focus, null);
scrollbar.value_changed.connect (() => {
--- a/libbirdfont/TabBar.vala
+++ b/libbirdfont/TabBar.vala
@@ -869,7 +869,7 @@
}
if (processing) {
- timer = new TimeoutSource (50);
+ timer = new TimeoutSource (250);
timer.set_callback (() => {
wheel_rotation += 0.008 * 2 * Math.PI;
--- a/libbirdfont/Task.vala
+++ b/libbirdfont/Task.vala
@@ -69,6 +69,8 @@
}
task ();
+
+ warning ("Task is done.");
}
public void* perform_task() {