]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: Fix g_regex_get_pattern binding
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>
Thu, 1 Oct 2009 11:52:44 +0000 (13:52 +0200)
committerJürg Billeter <j@bitron.ch>
Thu, 1 Oct 2009 11:52:44 +0000 (13:52 +0200)
vapi/glib-2.0.vapi

index 4837bc6dae4d4135a2edc1027e9d019356f08dc8..3682e7f1462c7f763d202629a92fe7eb8152cc62 100644 (file)
@@ -2707,7 +2707,7 @@ namespace GLib {
        [CCode (ref_function = "g_regex_ref", unref_function = "g_regex_unref")]
        public class Regex {
                public Regex (string pattern, RegexCompileFlags compile_options = 0, RegexMatchFlags match_options = 0) throws RegexError;
-               public string get_pattern ();
+               public unowned string get_pattern ();
                public int get_max_backref ();
                public int get_capture_count ();
                public int get_string_number (string name);