Merge lp:~marcus-lundgren/maya/fix-1021860 into lp:~elementary-apps/maya/trunk

Proposed by Marcus Lundgren
Status: Merged
Merged at revision: 328
Proposed branch: lp:~marcus-lundgren/maya/fix-1021860
Merge into: lp:~elementary-apps/maya/trunk
Diff against target: 15 lines (+4/-1)
1 file modified
Maya/Utils.vala (+4/-1)
To merge this branch: bzr merge lp:~marcus-lundgren/maya/fix-1021860
Reviewer Review Type Date Requested Status
Niels Avonds (community) Approve
Review via email: mp+116302@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Niels Avonds (niels-avonds) wrote :

This looks good to me. I'm currently not able to test / merge it since I'm not at home until the end of august. I hope someone does it before then. Thanks for the fixes :)

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Maya/Utils.vala'
2--- Maya/Utils.vala 2012-06-24 22:09:16 +0000
3+++ Maya/Utils.vala 2012-07-23 14:58:19 +0000
4@@ -433,7 +433,10 @@
5
6 }
7 try {
8- GLib.FileUtils.set_contents (path, output);
9+ GLib.File file = GLib.File.new_for_path (path);
10+ uint8[] data = output.data;
11+ string s;
12+ file.replace_contents (data, null, false, 0, out s);
13 } catch (GLib.Error e){
14 warning (e.message);
15 }

Subscribers

People subscribed via source and target branches