The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

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
author Johan Mattsson <johan.mattsson.m@gmail.com>
Sat, 18 Jun 2016 23:50:19 +0000 (01:50 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Sat, 18 Jun 2016 23:50:19 +0000 (01:50 +0200)
commit e469e2ccd53ad763490b65bb06613a2afbefbc96
tree c2894de5307cc4eb213b8251b525315a34fb0d19
parent 0a4fc977200bc889f19c3b2b5e101334ab7a8646
Fix hanging export and notification crash bug

birdfont/GtkWindow.vala
libbirdfont/TabBar.vala
libbirdfont/Task.vala
--- 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() {