[vala] gtk+-2.0: Mark adjustment argument to GtkV/HScrollbar as nullable.



commit 0d23686628db2b14c32e31c8c05dfca8bd13e758
Author: Evan Nemerson <evan coeus-group com>
Date:   Fri Nov 13 10:45:21 2009 -0800

    gtk+-2.0: Mark adjustment argument to GtkV/HScrollbar as nullable.
    
    Fixes bug 597622.

 vapi/gtk+-2.0.vapi                       |    4 ++--
 vapi/packages/gtk+-2.0/gtk+-2.0.metadata |    2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gtk+-2.0.vapi b/vapi/gtk+-2.0.vapi
index 43dbe65..6777762 100644
--- a/vapi/gtk+-2.0.vapi
+++ b/vapi/gtk+-2.0.vapi
@@ -1673,7 +1673,7 @@ namespace Gtk {
 	[CCode (cheader_filename = "gtk/gtk.h")]
 	public class HScrollbar : Gtk.Scrollbar, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
 		[CCode (type = "GtkWidget*", has_construct_function = false)]
-		public HScrollbar (Gtk.Adjustment adjustment);
+		public HScrollbar (Gtk.Adjustment? adjustment);
 	}
 	[CCode (cheader_filename = "gtk/gtk.h")]
 	public class HSeparator : Gtk.Separator, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
@@ -5041,7 +5041,7 @@ namespace Gtk {
 	[CCode (cheader_filename = "gtk/gtk.h")]
 	public class VScrollbar : Gtk.Scrollbar, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
 		[CCode (type = "GtkWidget*", has_construct_function = false)]
-		public VScrollbar (Gtk.Adjustment adjustment);
+		public VScrollbar (Gtk.Adjustment? adjustment);
 	}
 	[CCode (cheader_filename = "gtk/gtk.h")]
 	public class VSeparator : Gtk.Separator, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
diff --git a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
index 33c5f9d..dd3f1da 100644
--- a/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
+++ b/vapi/packages/gtk+-2.0/gtk+-2.0.metadata
@@ -159,6 +159,7 @@ gtk_hscale_new.adjustment nullable="1"
 GtkInfoBar::response has_emitter="1"
 gtk_get_current_event transfer_ownership="1"
 gtk_get_option_group transfer_ownership="1"
+gtk_hscrollbar_new.adjustment nullable="1"
 gtk_icon_info_copy transfer_ownership="1"
 gtk_icon_info_get_embedded_rect.rectangle is_out="1"
 gtk_icon_info_load_icon transfer_ownership="1"
@@ -617,6 +618,7 @@ gtk_ui_manager_new_merge_id hidden="1"
 gtk_viewport_new.hadjustment nullable="1"
 gtk_viewport_new.vadjustment nullable="1"
 gtk_vscale_new.adjustment nullable="1"
+gtk_vscrollbar_new.adjustment nullable="1"
 GtkWidget::can_activate_accel has_emitter="1"
 GtkWidget:can-focus accessor_method="0"
 gtk_widget_class_path.path_length is_out="1"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]