[gtk/ci-custom-layout] Fix annotations for GtkCustomLayout



commit c0d18ebff2f24bdd1386d9fba8eddc3b100ed0c8
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Apr 22 19:24:45 2020 +0100

    Fix annotations for GtkCustomLayout
    
    Silence the warnings from the introspection scanner.

 gtk/gtkcustomlayout.c | 8 ++++----
 gtk/meson.build       | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkcustomlayout.c b/gtk/gtkcustomlayout.c
index 13f14488ec..42714359c5 100644
--- a/gtk/gtkcustomlayout.c
+++ b/gtk/gtkcustomlayout.c
@@ -96,12 +96,12 @@ gtk_custom_layout_init (GtkCustomLayout *self)
 }
 
 /**
- * gtk_custom_layout_new: (constructor) (skip)
- * @request_mode: (nullable): a function to retrieve
+ * gtk_custom_layout_new:
+ * @request_mode: (nullable) (scope call): a function to retrieve
  *   the #GtkSizeRequestMode of the widget using the layout; the
  *   default request mode is %GTK_SIZE_REQUEST_CONSTANT_SIZE
- * @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
+ * @measure: (not nullable) (scope call): a function to measure the widget using the layout manager
+ * @allocate: (not nullable) (scope call): a function to allocate the children of the widget using
  *   the layout manager
  *
  * Creates a new legacy layout manager.
diff --git a/gtk/meson.build b/gtk/meson.build
index 71fb901e21..aa61d4417b 100644
--- a/gtk/meson.build
+++ b/gtk/meson.build
@@ -97,7 +97,6 @@ gtk_private_sources = files([
   'gtkcssunsetvalue.c',
   'gtkcssvalue.c',
   'gtkcsswidgetnode.c',
-  'gtkcustomlayout.c',
   'gtkdrop.c',
   'gtkfilechooserembed.c',
   'gtkfilechooserentry.c',
@@ -203,6 +202,7 @@ gtk_public_sources = files([
   'gtkconstraint.c',
   'gtkcontainer.c',
   'gtkcssprovider.c',
+  'gtkcustomlayout.c',
   'gtkdialog.c',
   'gtkdragicon.c',
   'gtkdragsource.c',


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