Fix up GtkBuilderScope docs
authorMatthias Clasen <mclasen@redhat.com>
Thu, 12 Dec 2019 23:18:49 +0000 (18:18 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 12 Dec 2019 23:18:49 +0000 (18:18 -0500)
They were not hooked into the document generation.

docs/reference/gtk/gtk4-docs.xml
docs/reference/gtk/gtk4.types.in
gtk/gtkbuilderscope.c

index 68940e40b062b928858cbd92ed6371a76b7dd74c..271b68153e63e3003ee6bdb0a3fa8be06d7b63e5 100644 (file)
@@ -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">
index 7db1dbb3452414317240b4ab5bdddc61cdaf2bb9..2db6ce2348740db54f4496763bc6bb90d5be2995 100644 (file)
@@ -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
index b539a31361c78f42fac66870fee067d7456d9247..31022a38c0695d9c30e5f99ab36015482fe647df 100644 (file)
@@ -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
  */