diff options
author | Christian Dywan <christian@twotoasts.de> | 2019-03-06 01:26:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-06 01:26:56 +0100 |
commit | 18299459900ff31bccfd3300ca738b54727773ed (patch) | |
tree | 5c89115253aa48a21c3c0edd935e6102b16c8905 | |
parent | 83159193bfbdd9a1afab6e4e03d972138a540126 (diff) | |
download | midori-git-18299459900ff31bccfd3300ca738b54727773ed.tar.gz |
Removed focus timeout in the callback (#290)
(midori:24581): GLib-CRITICAL **: 15:48:51.069: Source ID 58 was not found when attempting to remove it
-rw-r--r-- | core/browser.vala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/browser.vala b/core/browser.vala index 73d4e008..62e98e1c 100644 --- a/core/browser.vala +++ b/core/browser.vala @@ -305,6 +305,7 @@ namespace Midori { focus_timeout = 0; } focus_timeout = Timeout.add (500, () => { + focus_timeout = 0; tab.grab_focus (); goto_activated (); return Source.REMOVE; |