[vala/0.10] gtk+-2.0: Mark gtk_layout_new parameters nullable.
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.10] gtk+-2.0: Mark gtk_layout_new parameters nullable.
- Date: Sat, 22 Jan 2011 10:13:53 +0000 (UTC)
commit 6e2849ae649e09c675d46155a0abafedd6397e24
Author: Luca Bruno <lucabru src gnome org>
Date: Sat Jan 15 11:26:58 2011 +0100
gtk+-2.0: Mark gtk_layout_new parameters nullable.
Fixes bug 639156.
vapi/gtk+-2.0.vapi | 2 +-
vapi/packages/gtk+-2.0/gtk+-2.0.metadata | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index c7efc36..e843621 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -2259,7 +2259,7 @@ namespace Gtk {
public int scroll_y;
public Gdk.VisibilityState visibility;
[CCode (type = "GtkWidget*", has_construct_function = false)]
- public Layout (Gtk.Adjustment hadjustment, Gtk.Adjustment vadjustment);
+ public Layout (Gtk.Adjustment? hadjustment = null, Gtk.Adjustment? vadjustment = null);
public unowned Gdk.Window get_bin_window ();
public unowned Gtk.Adjustment get_hadjustment ();
public void get_size (out uint width, out uint height);
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index c7ace4d..a1d2b1f 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -261,6 +261,8 @@ GtkList::unselect_child has_emitter="1"
GtkLayout.children type_arguments="Widget"
gtk_layout_get_size.width is_out="1"
gtk_layout_get_size.height is_out="1"
+gtk_layout_new.hadjustment nullable="1" default_value="null"
+gtk_layout_new.vadjustment nullable="1" default_value="null"
gtk_list_store_new ellipsis="1" sentinel=""
gtk_list_store_newv.n_columns hidden="1"
gtk_list_store_newv.types array_length_pos="0.9"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]