From: Duncan C. <dun...@us...> - 2004-12-09 18:26:23
|
Update of /cvsroot/gtk2hs/gtk2hs/gtk/glib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28179/gtk/glib Modified Files: GObject.chs.pp GType.chs Log Message: Change some import modules to use modern hierarchical modules so we no longer need the LocalData or LocalControl modules, nor the data or lang packages. This should still work all the way back to ghc 5.04.x, though it needs testing. Index: GType.chs =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/glib/GType.chs,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- GType.chs 23 May 2004 16:00:53 -0000 1.5 +++ GType.chs 9 Dec 2004 18:26:01 -0000 1.6 @@ -31,7 +31,7 @@ import Monad (liftM) import FFI -import LocalData (unsafePerformIO) +import Foreign (unsafePerformIO) {# context lib="glib" prefix="g" #} Index: GObject.chs.pp =================================================================== RCS file: /cvsroot/gtk2hs/gtk2hs/gtk/glib/GObject.chs.pp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- GObject.chs.pp 21 Nov 2004 15:06:14 -0000 1.1 +++ GObject.chs.pp 9 Dec 2004 18:26:01 -0000 1.2 @@ -37,7 +37,7 @@ import Monad (liftM) import FFI -import LocalData (newIORef, readIORef, writeIORef) +import Data.IORef (newIORef, readIORef, writeIORef) import Hierarchy (GObjectClass, GObject(..), mkGObject, toGObject, unGObject) import GValue (GValue) |