[vala] glib-2.0: Fix wrong signature for GLib.Regex.check_replacement()



commit e2c084eb6e629e11ef1685a70364ee8c6c18ad86
Author: Mario Daniel Ruiz Saavedra <desiderantes rocketmail com>
Date:   Wed Apr 13 13:22:35 2016 -0500

    glib-2.0: Fix wrong signature for GLib.Regex.check_replacement()
    
    The signature was missing the replacement parameter.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=765013

 vapi/glib-2.0.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index aae3106..0fd30e9 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -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")]


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