[gtk/gi-fixes: 57/58] gi: Skip gtk_custom_layout_new()



commit 40852ea95207f72115f634a4d3f4c2f2ec9bd50e
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Tue Feb 11 17:29:56 2020 +0000

    gi: Skip gtk_custom_layout_new()
    
    The whole GtkCustomLayout class is mostly a C convenience API, and
    there's no reason why high level languages should use it.

 gtk/gtkcustomlayout.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkcustomlayout.c b/gtk/gtkcustomlayout.c
index 2616a21df4..13f14488ec 100644
--- a/gtk/gtkcustomlayout.c
+++ b/gtk/gtkcustomlayout.c
@@ -96,12 +96,12 @@ gtk_custom_layout_init (GtkCustomLayout *self)
 }
 
 /**
- * gtk_custom_layout_new:
+ * gtk_custom_layout_new: (constructor) (skip)
  * @request_mode: (nullable): a function to retrieve
  *   the #GtkSizeRequestMode of the widget using the layout; the
  *   default request mode is %GTK_SIZE_REQUEST_CONSTANT_SIZE
- * @measure: a function to measure the widget using the layout manager
- * @allocate:  a function to allocate the children of the widget using
+ * @measure: (not nullable): a function to measure the widget using the layout manager
+ * @allocate: (not nullable): a function to allocate the children of the widget using
  *   the layout manager
  *
  * Creates a new legacy layout manager.


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