[vala/0.16] gtk+-2.0, gtk+-3.0: fix Gtk.test_init
- From: JÃrg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.16] gtk+-2.0, gtk+-3.0: fix Gtk.test_init
- Date: Sat, 23 Jun 2012 15:53:50 +0000 (UTC)
commit 230f703f5ea3ddac9883fb6a29c65028ba08d90b
Author: David King <amigadave amigadave com>
Date: Thu Jun 7 18:02:44 2012 -0700
gtk+-2.0, gtk+-3.0: fix Gtk.test_init
Fixes bug 669767.
vapi/gtk+-2.0.vapi | 2 +-
vapi/gtk+-3.0.vapi | 2 +-
vapi/packages/gtk+-2.0/gtk+-2.0.metadata | 3 +++
vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 3 +++
4 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 205c192..5ffcb51 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -8271,7 +8271,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static unowned Gtk.Widget test_find_widget (Gtk.Widget widget, string label_pattern, GLib.Type widget_type);
[CCode (cheader_filename = "gtk/gtk.h")]
- public static void test_init (int argcp, out unowned string argvp);
+ public static void test_init ([CCode (array_length_pos = 0.9)] ref unowned string[] argvp, ...);
[CCode (cheader_filename = "gtk/gtk.h")]
public static unowned GLib.Type[] test_list_all_types (uint n_types);
[CCode (cheader_filename = "gtk/gtk.h")]
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 176ca90..3a25634 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -8453,7 +8453,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public static unowned Gtk.Widget test_find_widget (Gtk.Widget widget, string label_pattern, GLib.Type widget_type);
[CCode (cheader_filename = "gtk/gtk.h")]
- public static void test_init (int argcp, out unowned string argvp);
+ public static void test_init ([CCode (array_length_pos = 0.9)] ref unowned string[] argvp, ...);
[CCode (cheader_filename = "gtk/gtk.h")]
public static unowned GLib.Type[] test_list_all_types (uint n_types);
[CCode (cheader_filename = "gtk/gtk.h")]
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 8a014a1..037c109 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -584,6 +584,9 @@ gtk_target_list_new.targets is_array="1"
gtk_target_list_new.ntargets hidden="1"
gtk_target_table_new_from_list is_array="1" transfer_ownership="1"
gtk_target_table_new_from_list.n_targets hidden="1"
+gtk_test_init ellipsis="1"
+gtk_test_init.argcp hidden="1"
+gtk_test_init.argvp is_array="1" is_ref="1" array_length_pos="0.9"
gtk_text_attributes_copy transfer_ownership="1"
gtk_text_buffer_delete.start is_ref="1"
gtk_text_buffer_delete.end is_ref="1"
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index a13939c..fb0bda0 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -666,6 +666,9 @@ gtk_target_list_new.targets is_array="1"
gtk_target_list_new.ntargets hidden="1"
gtk_target_table_new_from_list is_array="1" transfer_ownership="1"
gtk_target_table_new_from_list.n_targets hidden="1"
+gtk_test_init ellipsis="1"
+gtk_test_init.argcp hidden="1"
+gtk_test_init.argvp is_array="1" is_ref="1" array_length_pos="0.9"
gtk_text_attributes_copy transfer_ownership="1"
gtk_text_buffer_delete.start is_ref="1"
gtk_text_buffer_delete.end is_ref="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]