]> 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)
committerLuca Bruno <lucabru@src.gnome.org>
Thu, 17 Nov 2011 09:39:07 +0000 (10:39 +0100)
Fixes bug 664253.

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

index 08a744c685905029e560118e0a766bbe4dea614b..1413773021f23716f3bf847c3c26579e32555627 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 f00819433f7164827e069ba22c01e333d8d99d24..2aedc8031617df9f44b529dc49aa0d178569ff04 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"