[gtksourceview] Fix gtk-doc warning about <b> inside an example



commit 2319e852bdf2371f427c1a12c0f28b5b7f078d1d
Author: Paolo Borelli <pborelli gnome org>
Date:   Mon Aug 17 14:05:48 2009 +0200

    Fix gtk-doc warning about <b> inside an example

 gtksourceview/gtksourceview.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtksourceview/gtksourceview.c b/gtksourceview/gtksourceview.c
index 107d50b..b25552f 100644
--- a/gtksourceview/gtksourceview.c
+++ b/gtksourceview/gtksourceview.c
@@ -3171,7 +3171,7 @@ set_mark_category_tooltip_func (GtkSourceView   *view,
  * will not be shown for marks from @category. If @markup_func is not %NULL
  * @markup_func is going to be used instead of @func.
  *
- * <informalexample><programlisting>
+ * <informalexample><programlisting><![CDATA[
  * static gchar *
  * tooltip_func (GtkSourceMark *mark,
  *               gpointer       user_data)
@@ -3191,7 +3191,7 @@ set_mark_category_tooltip_func (GtkSourceView   *view,
  *                                                 g_strdup ("<b>my string</b>"), g_free);
  * gtk_source_view_set_mark_category_tooltip_func (view, "other-mark", tooltip_func, NULL,
  *                                                 NULL, NULL);
- * </programlisting></informalexample>
+ * ]]></programlisting></informalexample>
  *
  * Since: 2.8
  */



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