]> gitweb.factorcode.org Git - factor.git/commitdiff
ui.backend.gtk: don't initialize io event source when deploying with io level 1 and 2
authorPhilipp Brüschweiler <blei42@gmail.com>
Mon, 26 Jul 2010 17:27:27 +0000 (19:27 +0200)
committerPhilipp Brüschweiler <blei42@gmail.com>
Mon, 26 Jul 2010 17:27:27 +0000 (19:27 +0200)
basis/ui/backend/gtk/gtk.factor
extra/hello-ui/deploy.factor

index 441e02a04fd91de6943159bc7d677c39efe6f7a7..2285453e5f3ea6fde76eb036d2df1ce786017c9a 100644 (file)
@@ -229,8 +229,8 @@ CONSTANT: poll-fd-events
 
 HOOK: init-io-event-source io-backend ( -- )
 
-M: c-io-backend init-io-event-source
-    ;
+M: f init-io-event-source ;
+M: c-io-backend init-io-event-source ;
 
 M: object init-io-event-source
     GSourceFuncs malloc-struct &free
index cf851f5a95e9f7c9201607a437f72dfa93212d86..ceff9857cb4b9e77e1af419521a67526281b7a4e 100644 (file)
@@ -5,7 +5,7 @@ H{
     { deploy-c-types? f }
     { deploy-unicode? f }
     { "stop-after-last-window?" t }
-    { deploy-io 2 }
+    { deploy-io 1 }
     { deploy-reflection 1 }
     { deploy-word-props? f }
     { deploy-math? t }