projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d26963
)
src/Palete/ValaSource.vala
author
Alan Knowles
<alan@roojs.com>
Thu, 21 May 2015 07:14:22 +0000
(15:14 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 21 May 2015 07:14:22 +0000
(15:14 +0800)
src/Palete/ValaSource.vala
patch
|
blob
|
history
diff --git
a/src/Palete/ValaSource.vala
b/src/Palete/ValaSource.vala
index
1431dd9
..
a18c1bf
100644
(file)
--- a/
src/Palete/ValaSource.vala
+++ b/
src/Palete/ValaSource.vala
@@
-236,7
+236,17
@@
namespace Palete {
return;
}
- this.file = file;
+ FileIOStream iostream;
+ var tmpfile = File.new_tmp ("test-XXXXXX.vala", out iostream);
+ tmpfile.ref();
+
+ OutputStream ostream = iostream.output_stream;
+ DataOutputStream dostream = new DataOutputStream (ostream);
+ dostream.put_string (contents);
+
+
+
+ this.file = null;
this.line_offset = 0;
string[] args = {};