[vala] gtk+-3.0: Fix gtk_application_new binding
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] gtk+-3.0: Fix gtk_application_new binding
- Date: Wed, 16 Jun 2010 19:49:27 +0000 (UTC)
commit 82ed322519c2aa5a25ccd8178f47a4eaee8abac2
Author: Michael Terry <michael terry canonical com>
Date: Wed Jun 16 21:47:41 2010 +0200
gtk+-3.0: Fix gtk_application_new binding
Fixes bug 621323.
vapi/gtk+-3.0.vapi | 2 +-
vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 8172703..1881381 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -278,7 +278,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public class Application : GLib.Application {
[CCode (has_construct_function = false)]
- public Application (int argc, string argv, string appid);
+ public Application ([CCode (array_length_pos = 0.9)] ref unowned string[] argv, string appid);
public void add_window (Gtk.Window window);
public unowned Gtk.Window get_window ();
public void quit ();
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index d340044..302b123 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -43,6 +43,8 @@ gtk_alignment_get_padding.padding_bottom is_out="1"
gtk_alignment_get_padding.padding_left is_out="1"
gtk_alignment_get_padding.padding_right is_out="1"
GtkAllocation is_value_type="1"
+gtk_application_new.argc hidden="1"
+gtk_application_new.argv is_array="1" is_ref="1" array_length_pos="0.9"
GtkArg.d hidden="1"
GtkAssistant.apply hidden="1"
GtkAssistant.cancel hidden="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]