[gjs/esm/static-imports: 51/52] Use native byte array function for override.




commit 92ef95c67de5840d2a001c1e0faa07cb8c86cea0
Author: Evan Welsh <contact evanwelsh com>
Date:   Thu Jan 28 17:55:11 2021 -0800

    Use native byte array function for override.

 modules/core/overrides/GLib.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/modules/core/overrides/GLib.js b/modules/core/overrides/GLib.js
index 20ae7e04..5e3800a9 100644
--- a/modules/core/overrides/GLib.js
+++ b/modules/core/overrides/GLib.js
@@ -308,7 +308,7 @@ function _init() {
     };
 
     this.Bytes.prototype.toArray = function () {
-        return imports.byteArray.fromGBytes(this);
+        return imports._byteArrayNative.fromGBytes(this);
     };
 
     this.log_structured = function (logDomain, logLevel, stringFields) {


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