[gtk/gi-fixes: 5/6] gi: Skip gtk_custom_layout_new()
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gi-fixes: 5/6] gi: Skip gtk_custom_layout_new()
- Date: Tue, 11 Feb 2020 17:45:32 +0000 (UTC)
commit c9d26f8e61b61f111aa4869b8b75132866f3b535
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]