[vala/staging] libvaladoc: Use non-deprecated GLib.ModuleFlags values



commit ce0814465e0d43269b8d4936eb185414a19cae30
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Fri Jun 14 07:11:17 2019 +0200

    libvaladoc: Use non-deprecated GLib.ModuleFlags values

 libvaladoc/errorreporter.vala | 2 +-
 libvaladoc/moduleloader.vala  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libvaladoc/errorreporter.vala b/libvaladoc/errorreporter.vala
index ec189528c..68b09a8ef 100644
--- a/libvaladoc/errorreporter.vala
+++ b/libvaladoc/errorreporter.vala
@@ -232,7 +232,7 @@ public class Valadoc.ErrorReporter : Object {
        private delegate int AttyFunc (int fd);
 
        private bool is_atty (int fd) {
-               Module module = Module.open (null, ModuleFlags.BIND_LAZY);
+               Module module = Module.open (null, ModuleFlags.LAZY);
                if (module == null) {
                        return false;
                }
diff --git a/libvaladoc/moduleloader.vala b/libvaladoc/moduleloader.vala
index d1631e7ec..ce981ca35 100644
--- a/libvaladoc/moduleloader.vala
+++ b/libvaladoc/moduleloader.vala
@@ -98,7 +98,7 @@ public class Valadoc.ModuleLoader : Object {
                if (data == null) {
                        void* function;
 
-                       Module? module = Module.open (Module.build_path (path, "libdoclet"), 
ModuleFlags.BIND_LAZY | ModuleFlags.BIND_LOCAL);
+                       Module? module = Module.open (Module.build_path (path, "libdoclet"), ModuleFlags.LAZY 
| ModuleFlags.LOCAL);
                        if (module == null) {
                                return null;
                        }


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