[gtk] Fix up GtkBuilderScope docs



commit 050eb9ba73e1f1e001dc2bccf64336942d78de59
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Dec 12 18:18:49 2019 -0500

    Fix up GtkBuilderScope docs
    
    They were not hooked into the document generation.

 docs/reference/gtk/gtk4-docs.xml | 1 +
 docs/reference/gtk/gtk4.types.in | 2 ++
 gtk/gtkbuilderscope.c            | 8 ++++----
 3 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/docs/reference/gtk/gtk4-docs.xml b/docs/reference/gtk/gtk4-docs.xml
index 68940e40b0..271b68153e 100644
--- a/docs/reference/gtk/gtk4-docs.xml
+++ b/docs/reference/gtk/gtk4-docs.xml
@@ -66,6 +66,7 @@
       <title>Interface builder</title>
       <xi:include href="xml/gtkbuilder.xml" />
       <xi:include href="xml/gtkbuildable.xml" />
+      <xi:include href="xml/gtkbuilderscope.xml" />
     </chapter>
 
     <chapter id="WindowWidgets">
diff --git a/docs/reference/gtk/gtk4.types.in b/docs/reference/gtk/gtk4.types.in
index 7db1dbb345..2db6ce2348 100644
--- a/docs/reference/gtk/gtk4.types.in
+++ b/docs/reference/gtk/gtk4.types.in
@@ -22,7 +22,9 @@ gtk_bin_get_type
 gtk_bin_layout_get_type
 gtk_box_get_type
 gtk_box_layout_get_type
+gtk_builder_cscope_get_type
 gtk_builder_get_type
+gtk_builder_scope_get_type
 gtk_buildable_get_type
 gtk_button_get_type
 gtk_calendar_get_type
diff --git a/gtk/gtkbuilderscope.c b/gtk/gtkbuilderscope.c
index b539a31361..31022a38c0 100644
--- a/gtk/gtkbuilderscope.c
+++ b/gtk/gtkbuilderscope.c
@@ -44,7 +44,7 @@
  * language which can be created via gtk_builder_cscope_new().
  *
  * #GtkBuilderCScope instances use symbols explicitly added to @builder
- * with prior calls to gtk_builder_scope_add_callback_symbol(). If developers want
+ * with prior calls to gtk_builder_cscope_add_callback_symbol(). If developers want
  * to do that, they are encouraged to create their own scopes for that purpose.
  *
  * In the case that symbols are not explicitly added; GTK will uses #GModule’s
@@ -52,7 +52,7 @@
  * symbol table. From here it tries to match the signal function names given in the
  * interface description with symbols in the application.
  *
- * Note that unless gtk_builder_scope_add_callback_symbol() is called for
+ * Note that unless gtk_builder_cscope_add_callback_symbol() is called for
  * all signal callbacks which are referenced by the loaded XML, this
  * functionality will require that #GModule be supported on the platform.
  */
@@ -449,7 +449,7 @@ gtk_builder_cscope_add_callback_symbol (GtkBuilderCScope *self,
  * @...: A list of callback name and callback symbol pairs terminated with %NULL
  *
  * A convenience function to add many callbacks instead of calling
- * gtk_builder_add_callback_symbol() for each symbol.
+ * gtk_builder_cscope_add_callback_symbol() for each symbol.
  */
 void
 gtk_builder_cscope_add_callback_symbols (GtkBuilderCScope *self,
@@ -490,7 +490,7 @@ gtk_builder_cscope_add_callback_symbols (GtkBuilderCScope *self,
  * @callback_name: The name of the callback
  *
  * Fetches a symbol previously added to @self
- * with gtk_builder_add_callback_symbols().
+ * with gtk_builder_cscope_add_callback_symbol().
  *
  * Returns: (nullable): The callback symbol in @builder for @callback_name, or %NULL
  */


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