[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: Sun, 20 Jun 2010 00:07:11 +0000 (UTC)
commit 09d61a1b6d8d10b13a58ef968cebf58f5528683d
Author: Jürg Billeter <j bitron ch>
Date: Sun Jun 20 02:04:15 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, 2 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index ea4819b..efa5e5d 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -277,7 +277,7 @@ namespace Gtk {
[CCode (cheader_filename = "gtk/gtk.h")]
public class Application : GLib.Application, GLib.Initable {
[CCode (has_construct_function = false)]
- public Application (string appid, [CCode (array_length_pos = 0.9)] ref unowned string[] argv);
+ public Application (string appid, [CCode (array_length_pos = 1.9)] ref unowned string[]? argv = null);
public void add_window (Gtk.Window window);
public virtual unowned Gtk.Window create_window ();
public unowned Gtk.Window get_window ();
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 0916906..78ead59 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -44,7 +44,7 @@ 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"
+gtk_application_new.argv is_array="1" is_ref="1" array_length_pos="1.9" nullable="1" default_value="null"
GtkApplication::quit has_emitter="1"
GtkArg.d hidden="1"
GtkAssistant.apply hidden="1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]