src/Pure/ProofGeneral/proof_general_pgip.ML
changeset 24067 69b51bc5ce06
parent 23913 fcfacb6670ed
child 24079 3ba5d68e076b
--- a/src/Pure/ProofGeneral/proof_general_pgip.ML	Sun Jul 29 22:41:59 2007 +0200
+++ b/src/Pure/ProofGeneral/proof_general_pgip.ML	Sun Jul 29 22:42:00 2007 +0200
@@ -692,14 +692,14 @@
 
         fun filerefs f =
             let val thy = thy_name f
-                val (_, (_,filerefs)) = ThyLoad.deps_thy (Path.dir f) thy true
+                val filerefs = #uses (ThyLoad.deps_thy (Path.dir f) thy true)
             in
                 issue_pgip (Setrefs {url=url, thyname=NONE, objtype=SOME PgipTypes.ObjFile,
                                      name=NONE, idtables=[], fileurls=filerefs})
             end
 
         fun thyrefs thy =
-            let val (_, (thyrefs,_)) = ThyLoad.deps_thy Path.current thy true
+            let val thyrefs = #imports (ThyLoad.deps_thy Path.current thy true)
             in
                 issue_pgip (Setrefs {url=url, thyname=thyname, objtype=SOME PgipTypes.ObjTheory,
                                      name=NONE, idtables=[{context=NONE, objtype=PgipTypes.ObjTheory,