[valadoc] Fix 'static const' warnings with vala 0.33.1



commit 29d7bb08017ec8ecc4c361e1d76705fabdc03cad
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Fri Sep 30 07:04:17 2016 +0200

    Fix 'static const' warnings with vala 0.33.1

 src/doclets/gtkdoc/doclet.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/doclets/gtkdoc/doclet.vala b/src/doclets/gtkdoc/doclet.vala
index ae6066c..2d000f6 100644
--- a/src/doclets/gtkdoc/doclet.vala
+++ b/src/doclets/gtkdoc/doclet.vala
@@ -35,7 +35,7 @@ namespace Gtkdoc.Config {
        public static string deprecated_guards;
        public static string ignore_decorators;
 
-       private static const GLib.OptionEntry[] options = {
+       private const GLib.OptionEntry[] options = {
                        { "library", 'l', 0, OptionArg.FILENAME_ARRAY, ref library_filenames, "Shared library 
path", "FILENAME" },
                        { "ignore-headers", 'x', 0, OptionArg.FILENAME_ARRAY, ref ignore_headers, "A list of 
header files to not scan", "FILES" },
                        { "deprecated-guards", 'd', 0, OptionArg.STRING, ref deprecated_guards, "A 
|-separated list of symbols used as deprecation guards", "GUARDS" },


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