]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-2.0: Mark adjustment argument to GtkV/HScrollbar as nullable.
authorEvan Nemerson <evan@coeus-group.com>
Fri, 13 Nov 2009 18:45:21 +0000 (10:45 -0800)
committerEvan Nemerson <evan@coeus-group.com>
Fri, 13 Nov 2009 18:45:21 +0000 (10:45 -0800)
Fixes bug 597622.

vapi/gtk+-2.0.vapi
vapi/packages/gtk+-2.0/gtk+-2.0.metadata

index 43dbe6565354c823bfaa49ae9d3a54fb12b7221e..6777762090011eb7844bac878945c89863503728 100644 (file)
@@ -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 {
index 33c5f9dc0635ea2700f5fc42804de8f53fc128ed..dd3f1dae14900e8e651752713261886bfc8294be 100644 (file)
@@ -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"