[seahorse] vala: out is a reerverd keyword - rename "out" file to "outfile".



commit c9804cdb807d139149db539afe12fc2f1c8acad1
Author: Alban Browaeys <prahal yahoo com>
Date:   Sun Apr 28 15:19:34 2013 +0200

    vala: out is a reerverd keyword - rename "out" file to "outfile".

 common/seahorse-exporter.vala |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/common/seahorse-exporter.vala b/common/seahorse-exporter.vala
index 219c7d0..cac7220 100644
--- a/common/seahorse-exporter.vala
+++ b/common/seahorse-exporter.vala
@@ -77,7 +77,7 @@ public interface Exporter : GLib.Object {
                                         GLib.Cancellable? cancellable) throws GLib.Error {
 
                uchar[] bytes;
-               GLib.File out = file;
+               GLib.File outfile = file;
 
                bytes = yield this.export(cancellable);
 
@@ -90,14 +90,14 @@ public interface Exporter : GLib.Object {
                while (true) {
                        uint unique = 0;
                        try {
-                               yield out.replace_contents_async(bytes, overwrite ? null : "invalid etag",
+                               yield outfile.replace_contents_async(bytes, overwrite ? null : "invalid etag",
                                                                 false, GLib.FileCreateFlags.PRIVATE,
                                                                 cancellable, null);
                                return true;
 
                        } catch (GLib.IOError err) {
                                if (err is GLib.IOError.WRONG_ETAG) {
-                                       out = file_increment_unique(file, ref unique);
+                                       outfile = file_increment_unique(file, ref unique);
                                        continue;
                                }
                                throw err;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]