]> gitweb.factorcode.org Git - factor.git/commitdiff
ui.backend.gtk: set the source priority to idle, fixes #1879
authorBjörn Lindqvist <bjourne@gmail.com>
Thu, 18 Jan 2018 22:24:48 +0000 (23:24 +0100)
committerBjörn Lindqvist <bjourne@gmail.com>
Thu, 18 Jan 2018 22:25:30 +0000 (23:25 +0100)
basis/ui/backend/gtk/gtk.factor

index e82edeb5605da3c86748088384547626ad29871b..0db4697367bbd7172ddf4ec6b134f7bb9cb1460c 100644 (file)
@@ -77,6 +77,7 @@ M: gtk-clipboard set-clipboard-contents
 :: with-timer ( quot -- )
     <timer-funcs> &free
     GSource heap-size g_source_new &g_source_unref :> source
+    source G_PRIORITY_DEFAULT_IDLE g_source_set_priority
     source f g_source_attach drop
     [ quot call( -- ) ]
     [ source g_source_destroy ] [ ] cleanup ;