Commit 1785f6ab authored by Rico Tzschichholz's avatar Rico Tzschichholz Committed by Stefan Sauer

gtk3: annotate nullable label args

parent bd539e03
......@@ -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; }
......
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment