From 2cbd97026448e81bbf538c269accf1560cf0ed09 Mon Sep 17 00:00:00 2001 From: Jens Georg Date: Thu, 17 Nov 2011 10:09:18 +0100 Subject: [PATCH] gtk+-3.0: Adjustment in gtk_scale_new can be null Fixes bug 664253. --- vapi/gtk+-3.0.vapi | 2 +- vapi/packages/gtk+-3.0/gtk+-3.0.metadata | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi index bc274f1a3..8e4692d25 100644 --- a/vapi/gtk+-3.0.vapi +++ b/vapi/gtk+-3.0.vapi @@ -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 (); diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata index 901980224..38ebcf13a 100644 --- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata +++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata @@ -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" -- 2.47.2