]> gitweb.factorcode.org Git - factor.git/commitdiff
Revert "gtk.ffi: Find the right gtk library in a startup-hook. Necessary because...
authorDoug Coleman <doug.coleman@gmail.com>
Wed, 5 Nov 2014 20:03:05 +0000 (12:03 -0800)
committerDoug Coleman <doug.coleman@gmail.com>
Wed, 5 Nov 2014 20:03:05 +0000 (12:03 -0800)
This reverts commit 0ef942e400951bdce9924446f621bf4c0049fc40.

basis/gtk/ffi/ffi.factor

index 424125d7c49fd32f103c2bb56aa56af7b2a9b2e9..e9b3238ba72bd3f002ea930a7a27595e4945467d 100644 (file)
@@ -2,8 +2,8 @@
 ! See http://factorcode.org/license.txt for BSD license.
 USING: alien alien.c-types alien.destructors alien.libraries
 alien.libraries.finder alien.syntax assocs gobject-introspection
-gobject-introspection.standard-types init kernel pango.ffi
-system vocabs ;
+gobject-introspection.standard-types kernel pango.ffi system
+vocabs ;
 IN: gtk.ffi
 
 <<
@@ -14,12 +14,10 @@ IN: gtk.ffi
 LIBRARY: gtk
 
 <<
-[
-    "gtk" {
-        { linux "gtk-x11-2.0" }
-        { windows "libgtk-win32-2.0-0" }
-    } os of [ find-library cdecl add-library ] [ drop ] if*
-] "find-gtk" add-startup-hook
+"gtk" {
+    { linux "gtk-x11-2.0" }
+    { windows "libgtk-win32-2.0-0" }
+} os of [ find-library cdecl add-library ] [ drop ] if*
 >>
 
 IMPLEMENT-STRUCTS: GtkTreeIter ;