]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gdk-2.0, gdk-3.0: Fix Keymap.get_entries_for_keycode binding
authorLuca Bruno <lucabru@src.gnome.org>
Sat, 30 Apr 2011 15:28:15 +0000 (17:28 +0200)
committerJürg Billeter <j@bitron.ch>
Sun, 29 May 2011 09:25:36 +0000 (11:25 +0200)
Fixes bug 649013.

vapi/gdk-2.0.vapi
vapi/gdk-3.0.vapi
vapi/packages/gdk-2.0/gdk-2.0.metadata
vapi/packages/gdk-3.0/gdk-3.0.metadata

index e89808e8abbcc5cf0ca913284fb8dff3e2a00802..ac2ebe5dea038bd34ee1acc5d02ac8966f146bf8 100644 (file)
@@ -408,7 +408,7 @@ namespace Gdk {
                public bool get_caps_lock_state ();
                public static unowned Gdk.Keymap get_default ();
                public Pango.Direction get_direction ();
-               public bool get_entries_for_keycode (uint hardware_keycode, out unowned Gdk.KeymapKey[] keys, out unowned uint[] keyvals, int n_entries);
+               public bool get_entries_for_keycode (uint hardware_keycode, [CCode (array_length = false)] out Gdk.KeymapKey[] keys, [CCode (array_length = false)] out uint[] keyvals, out int n_entries);
                public bool get_entries_for_keyval (uint keyval, out unowned Gdk.KeymapKey[] keys);
                public static unowned Gdk.Keymap get_for_display (Gdk.Display display);
                public bool have_bidi_layouts ();
index c46bf856910fb76b974c22a6f9aef21236897360..3f48b73c85096fccf20372b2b7455f87de2a0fe4 100644 (file)
@@ -227,7 +227,7 @@ namespace Gdk {
                public bool get_caps_lock_state ();
                public static unowned Gdk.Keymap get_default ();
                public Pango.Direction get_direction ();
-               public bool get_entries_for_keycode (uint hardware_keycode, out unowned Gdk.KeymapKey[] keys, out unowned uint[] keyvals, int n_entries);
+               public bool get_entries_for_keycode (uint hardware_keycode, [CCode (array_length = false)] out Gdk.KeymapKey[] keys, [CCode (array_length = false)] out uint[] keyvals, out int n_entries);
                public bool get_entries_for_keyval (uint keyval, out unowned Gdk.KeymapKey[] keys);
                public static unowned Gdk.Keymap get_for_display (Gdk.Display display);
                public bool get_num_lock_state ();
index df5140b5fe8fd49382ebfb1a6778a131e657692a..379cee8d0c8b7cff0405cc19cb1dab103aeb37fd 100644 (file)
@@ -65,8 +65,9 @@ gdk_init.argc hidden="1"
 gdk_init.argv is_array="1" is_ref="1" array_length_pos="0.9"
 gdk_init_check.argc hidden="1"
 gdk_init_check.argv is_array="1" is_ref="1" array_length_pos="0.9"
-gdk_keymap_get_entries_for_keycode.keys is_array="1" is_out="1"
-gdk_keymap_get_entries_for_keycode.keyvals is_array="1" is_out="1"
+gdk_keymap_get_entries_for_keycode.keys is_array="1" is_out="1" transfer_ownership="1" no_array_length="1"
+gdk_keymap_get_entries_for_keycode.keyvals is_array="1" is_out="1" transfer_ownership="1" no_array_length="1"
+gdk_keymap_get_entries_for_keycode.n_entries is_out="1"
 gdk_keymap_get_entries_for_keyval.keys is_array="1" is_out="1"
 GdkKeymapKey is_value_type="1"
 GdkNativeWindow is_value_type="1" simple_type="1"
index 17174abc994c2facfd9523684fa2a3ba3da3fe53..c293f7122e02b14f3fa6bf3d98f7e3e017b97490 100644 (file)
@@ -64,8 +64,9 @@ gdk_init.argc hidden="1"
 gdk_init.argv is_array="1" is_ref="1" array_length_pos="0.9"
 gdk_init_check.argc hidden="1"
 gdk_init_check.argv is_array="1" is_ref="1" array_length_pos="0.9"
-gdk_keymap_get_entries_for_keycode.keys is_array="1" is_out="1"
-gdk_keymap_get_entries_for_keycode.keyvals is_array="1" is_out="1"
+gdk_keymap_get_entries_for_keycode.keys is_array="1" is_out="1" transfer_ownership="1" no_array_length="1"
+gdk_keymap_get_entries_for_keycode.keyvals is_array="1" is_out="1" transfer_ownership="1" no_array_length="1"
+gdk_keymap_get_entries_for_keycode.n_entries is_out="1"
 gdk_keymap_get_entries_for_keyval.keys is_array="1" is_out="1"
 GdkKeymapKey is_value_type="1"
 GdkNativeWindow is_value_type="1" simple_type="1"