]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
vte, vte-2.90: fix Vte.Terminal.match_check binding
authorJacques-Pascal Deplaix <jp.deplaix@gmail.com>
Tue, 5 Jun 2012 21:46:42 +0000 (14:46 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Tue, 5 Jun 2012 21:46:42 +0000 (14:46 -0700)
Fixes bug 676882.

vapi/metadata/Vte-2.90.metadata
vapi/packages/vte/vte.metadata
vapi/vte-2.90.vapi
vapi/vte.vapi

index b4fcf1c9ba5174d55f302b5b11769b659a4291ba..0cc8d379b39e8bb041004d8d69fa461be3462e4a 100644 (file)
@@ -1,9 +1,13 @@
 // Deprecated from start
 Terminal.pty skip
 
+Terminal
+  .match_check nullable
+  .match_set_cursor.cursor nullable
+
 // Report upstream
 Vte cheader_filename="vte/vte.h"
 Pty.new_foreign.fd owned=false
-Terminal.get_cursor_position.* out
-Terminal.match_set_cursor.cursor nullable
+Terminal
+  .get_cursor_position.* out
 SelectionFunc.data closure=3
index 68e33eb8af7a497f8d098a1ec626e85e6d4fd13d..2ce441803153bb500894c73910740ffb5e951179 100644 (file)
@@ -17,4 +17,6 @@ vte_terminal_get_cursor_position.column is_out="1"
 vte_terminal_get_cursor_position.row is_out="1"
 vte_terminal_set_colors.palette is_array="1"
 vte_terminal_set_colors.palette_size hidden="1"
+vte_terminal_match_check nullable="1" transfer_ownership="1"
+vte_terminal_match_check.tag is_out="1"
 vte_terminal_pty_new transfer_ownership="1"
index f5460b54d9d77997fec1d8b3191690f4db3d864e..e298db70485c677dc64cb4f90d30d85a06069daa 100644 (file)
@@ -54,7 +54,7 @@ namespace Vte {
                public void im_append_menuitems (Gtk.MenuShell menushell);
                public bool is_word_char (unichar c);
                public int match_add_gregex (GLib.Regex regex, GLib.RegexMatchFlags flags);
-               public string match_check (long column, long row, out int tag);
+               public string? match_check (long column, long row, out int tag);
                public void match_clear_all ();
                public void match_remove (int tag);
                public void match_set_cursor (int tag, Gdk.Cursor? cursor);
index 66f60903466c4d246d51add76f7ca4d2bcf9f9c0..dae520e307457df76d1ffe7868899bf31ab72caf 100644 (file)
@@ -95,7 +95,7 @@ namespace Vte {
                public bool is_word_char (unichar c);
                public int match_add (string match);
                public int match_add_gregex (GLib.Regex regex, GLib.RegexMatchFlags flags);
-               public unowned string match_check (long column, long row, int tag);
+               public string? match_check (long column, long row, out int tag);
                public void match_clear_all ();
                public void match_remove (int tag);
                public void match_set_cursor (int tag, Gdk.Cursor cursor);