[gtk-doc] manual: fix 'Signal comment block' example



commit cd6cc8c785a5f615730a6fe74a00674fee1d766c
Author: Will Thompson <wjt endlessm com>
Date:   Fri Oct 27 10:24:28 2017 +0100

    manual: fix 'Signal comment block' example
    
    Previously, the comment block and code were inconsistent: the former
    referred to a 'foobarized' signal, but the latter used 'foobarize'.
    Adjust the code to match the comment.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=789545

 help/manual/C/index.docbook |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/help/manual/C/index.docbook b/help/manual/C/index.docbook
index 338f2ac..d13bfb1 100644
--- a/help/manual/C/index.docbook
+++ b/help/manual/C/index.docbook
@@ -1316,8 +1316,8 @@ g_object_class_install_property (object_class, PROP_SOME_PROPERTY, ...);
  *
  * The ::foobarized signal is emitted each time someone tries to foobarize @widget.
  */
-foo_signals[FOOBARIZE] =
-  g_signal_new ("foobarize",
+foo_signals[FOOBARIZED] =
+  g_signal_new ("foobarized",
                 ...
 ]]></programlisting>
         </example>


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