From: Rico Tzschichholz Date: Fri, 30 Sep 2016 05:04:17 +0000 (+0200) Subject: Fix 'static const' warnings with vala 0.33.1 X-Git-Tag: 0.37.1~3^2~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29d7bb08017ec8ecc4c361e1d76705fabdc03cad;p=thirdparty%2Fvala.git Fix 'static const' warnings with vala 0.33.1 --- diff --git a/src/doclets/gtkdoc/doclet.vala b/src/doclets/gtkdoc/doclet.vala index ae6066c84..2d000f6eb 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" },