]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-3.0: Gtk.Scrollbar constructor allows null adjustment
authorRobert Ancell <robert.ancell@canonical.com>
Fri, 8 Jun 2012 01:07:06 +0000 (18:07 -0700)
committerEvan Nemerson <evan@coeus-group.com>
Fri, 8 Jun 2012 01:07:06 +0000 (18:07 -0700)
Fixes bug 669516.

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

index 3be6e008e7bf8b9efcc80a4cbf4a7fb74fe0dd1d..8dde0eeef81d0f4a88add0c52827c834bcaeb8a4 100644 (file)
@@ -3562,7 +3562,7 @@ namespace Gtk {
        [CCode (cheader_filename = "gtk/gtk.h")]
        public class Scrollbar : Gtk.Range, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
-               public Scrollbar (Gtk.Orientation orientation, Gtk.Adjustment adjustment);
+               public Scrollbar (Gtk.Orientation orientation, Gtk.Adjustment? adjustment);
        }
        [CCode (cheader_filename = "gtk/gtk.h")]
        public class ScrolledWindow : Gtk.Bin, Atk.Implementor, Gtk.Buildable {
index 77f187e34a9fffd7fc4400a18c0d3bb3164f0ae3..13ead856ab22de609108a4f7143ed1de01946bc8 100644 (file)
@@ -582,6 +582,7 @@ gtk_scale_get_layout_offsets.x is_out="1"
 gtk_scale_get_layout_offsets.y is_out="1"
 GtkScale::format_value transfer_ownership="1"
 GtkScrollable type_cname="GtkScrollableInterface"
+gtk_scrollbar_new.adjustment nullable="1"
 gtk_scrolled_window_new.hadjustment nullable="1"
 gtk_scrolled_window_new.vadjustment nullable="1"
 gtk_selection_add_targets.targets is_array="1"