[gnome-documents] documents.js: Use decimal instead of octal literal



commit e9f0a045ea132492ff81dafef07eed90d69077e5
Author: Colin Walters <walters verbum org>
Date:   Thu Nov 7 20:23:27 2013 -0500

    documents.js: Use decimal instead of octal literal
    
    The latter are deprecated and cause gjs to spew.

 src/documents.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/documents.js b/src/documents.js
index c600067..5c9934b 100644
--- a/src/documents.js
+++ b/src/documents.js
@@ -761,7 +761,7 @@ const GoogleDocument = new Lang.Class({
                 let checksum = new GLib.Checksum(GLib.ChecksumType.MD5);
                 checksum.update(this.uri, -1);
                 let dirPath = GLib.build_filenamev([GLib.get_user_cache_dir(), "thumbnails", "normal"]);
-                GLib.mkdir_with_parents(dirPath, 0700);
+                GLib.mkdir_with_parents(dirPath, 448);
                 let basename = checksum.get_string() + '.png';
                 let path = GLib.build_filenamev([dirPath, basename])
 


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