]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Fix wrong signature for GLib.Regex.check_replacement()
authorMario Daniel Ruiz Saavedra <desiderantes@rocketmail.com>
Wed, 13 Apr 2016 18:22:35 +0000 (13:22 -0500)
committerRico Tzschichholz <ricotz@ubuntu.com>
Wed, 15 Jun 2016 13:30:51 +0000 (15:30 +0200)
The signature was missing the replacement parameter.

https://bugzilla.gnome.org/show_bug.cgi?id=765013

vapi/glib-2.0.vapi

index aae31061bbacd1ec03469194f4272d917106f857..0fd30e979cb38615db4520284f6e01b4387fa943 100644 (file)
@@ -3799,7 +3799,7 @@ namespace GLib {
                public string replace (string str, ssize_t string_len, int start_position, string replacement, RegexMatchFlags match_options = 0) throws RegexError;
                public string replace_literal (string str, ssize_t string_len, int start_position, string replacement, RegexMatchFlags match_options = 0) throws RegexError;
                public string replace_eval (string str, ssize_t string_len, int start_position, RegexMatchFlags match_options, RegexEvalCallback eval) throws RegexError;
-               public static bool check_replacement (out bool has_references = null) throws RegexError;
+               public static bool check_replacement (string replacement, out bool has_references = null) throws RegexError;
        }
 
        [Version (since = "2.14")]