]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-3.0: Adjustment in gtk_scale_new can be null
authorJens Georg <mail@jensge.org>
Thu, 17 Nov 2011 09:09:18 +0000 (10:09 +0100)
committerJürg Billeter <j@bitron.ch>
Wed, 30 Nov 2011 14:01:54 +0000 (15:01 +0100)
Fixes bug 664253.

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

index bc274f1a3566ba1f0cfbd70d63de8c37e71176a7..8e4692d2570b300b34ebf9701ed05b40bd612483 100644 (file)
@@ -3492,7 +3492,7 @@ namespace Gtk {
        [CCode (cheader_filename = "gtk/gtk.h")]
        public class Scale : Gtk.Range, Atk.Implementor, Gtk.Buildable, Gtk.Orientable {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
-               public Scale (Gtk.Orientation orientation, Gtk.Adjustment adjustment);
+               public Scale (Gtk.Orientation orientation, Gtk.Adjustment? adjustment);
                public void add_mark (double value, Gtk.PositionType position, string? markup);
                public void clear_marks ();
                public int get_digits ();
index 901980224503df99293a54d500ce1d731dfd966b..38ebcf13aed5e07df31bc4854530a5a2256df386 100644 (file)
@@ -560,6 +560,7 @@ gtk_rc_get_style_by_paths.widget_path nullable="1"
 gtk_rc_get_style_by_paths.class_path nullable="1"
 gtk_rc_style_copy transfer_ownership="1"
 gtk_rc_style_create_style transfer_ownership="1"
+gtk_scale_new.adjustment nullable="1"
 gtk_scale_add_mark.markup nullable="1"
 gtk_scale_button_new.icons is_array="1" no_array_length="1"
 gtk_scale_button_set_icons.icons is_array="1" no_array_length="1"