[vala/0.14] gtk+-3.0: Adjustment in gtk_scale_new can be null



commit 2cbd97026448e81bbf538c269accf1560cf0ed09
Author: Jens Georg <mail jensge org>
Date:   Thu Nov 17 10:09:18 2011 +0100

    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 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index bc274f1..8e4692d 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 9019802..38ebcf1 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"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]