]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk3: annotate nullable label args
authorRico Tzschichholz <ricotz@t-online.de>
Thu, 29 Aug 2013 09:54:52 +0000 (11:54 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Thu, 29 Aug 2013 09:59:42 +0000 (11:59 +0200)
vapi/gtk+-3.0.vapi
vapi/packages/gtk+-3.0/gtk+-3.0.metadata

index 8a39a4eba3492bfac84164a448c1ef7929861a0d..58a6d9f35c558fa9ace0b6645e98252670bf13ea 100644 (file)
@@ -624,7 +624,7 @@ namespace Gtk {
        [CCode (cheader_filename = "gtk/gtk.h")]
        public class AspectFrame : Gtk.Frame, Atk.Implementor, Gtk.Buildable {
                [CCode (has_construct_function = false, type = "GtkWidget*")]
-               public AspectFrame (string label, float xalign, float yalign, float ratio, bool obey_child);
+               public AspectFrame (string? label, float xalign, float yalign, float ratio, bool obey_child);
                public void @set (float xalign, float yalign, float ratio, bool obey_child);
                [NoAccessorMethod]
                public bool obey_child { get; set; }
@@ -2151,11 +2151,11 @@ namespace Gtk {
                public virtual void compute_child_allocation (Gtk.Allocation allocation);
                public unowned string get_label ();
                public void get_label_align (float xalign, float yalign);
-               public unowned Gtk.Widget get_label_widget ();
+               public unowned Gtk.Widget? get_label_widget ();
                public Gtk.ShadowType get_shadow_type ();
-               public void set_label (string label);
+               public void set_label (string? label);
                public void set_label_align (float xalign, float yalign);
-               public void set_label_widget (Gtk.Widget label_widget);
+               public void set_label_widget (Gtk.Widget? label_widget);
                public void set_shadow_type (Gtk.ShadowType type);
                public string label { get; set; }
                public Gtk.Widget label_widget { get; set; }
index 72f5e36f99e251ea1ec9e61e4ef7377976d0bdd6..66e7292ea162033a3d2553cb72e9da790b632f86 100644 (file)
@@ -54,6 +54,7 @@ gtk_application_get_windows type_arguments="unowned Window"
 gtk_application_inhibit.window nullable="1"
 gtk_application_inhibit.reason nullable="1"
 GtkArg.d hidden="1"
+gtk_aspect_frame_new.label nullable="1"
 GtkAssistant.apply hidden="1"
 GtkAssistant.cancel hidden="1"
 GtkAssistant.close hidden="1"
@@ -313,6 +314,9 @@ gtk_font_chooser_set_filter_func.data hidden="1"
 gtk_font_chooser_set_filter_func.destroy hidden="1"
 GtkFontSelectionDialog deprecated_since="3.2" replacement="FontChooserDialog"
 gtk_frame_new.label nullable="1"
+gtk_frame_get_label_widget nullable="1"
+gtk_frame_set_label.label nullable="1"
+gtk_frame_set_label_widget.label_widget nullable="1"
 gtk_grid_attach_next_to.sibling nullable="1"
 GtkHandleBox.child_detached hidden="1"
 GtkHandleBox::child_detached hidden="1"