[gtk+] Fix character entities



commit ce8b5b45869f24a7ddf1e3bd84d547aaffa475e4
Author: Phillip Wood <phillip wood dunelm org uk>
Date:   Mon Nov 16 12:14:05 2015 +0000

    Fix character entities
    
    These are not supposed to be supported by gtk-doc¹
    
    ¹https://bugzilla.gnome.org/show_bug.cgi?id=758137
    
    https://bugzilla.gnome.org/show_bug.cgi?id=758175

 gtk/gtkrecentmanager.h |    2 +-
 gtk/gtkrender.c        |    2 +-
 gtk/gtktextview.c      |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkrecentmanager.h b/gtk/gtkrecentmanager.h
index b0a26ee..9f15abe 100644
--- a/gtk/gtkrecentmanager.h
+++ b/gtk/gtkrecentmanager.h
@@ -55,7 +55,7 @@ typedef struct _GtkRecentManagerPrivate GtkRecentManagerPrivate;
  * @app_name: the name of the application that is registering this recently
  *   used resource;
  * @app_exec: command line used to launch this resource; may contain the
- *   “&percnt;f” and “&percnt;u” escape characters which will be expanded
+ *   “\%f” and “\%u” escape characters which will be expanded
  *   to the resource file path and URI respectively when the command line
  *   is retrieved;
  * @groups: (array zero-terminated=1): a vector of strings containing
diff --git a/gtk/gtkrender.c b/gtk/gtkrender.c
index d8abadc..c5468ad 100644
--- a/gtk/gtkrender.c
+++ b/gtk/gtkrender.c
@@ -213,7 +213,7 @@ gtk_do_render_arrow (GtkStyleContext *context,
  *
  * Renders an arrow pointing to @angle.
  *
- * Typical arrow rendering at 0, 1&solidus;2 &pi;, &pi; and 3&solidus;2 &pi;:
+ * Typical arrow rendering at 0, 1⁄2 π;, π; and 3⁄2 π:
  *
  * ![](arrows.png)
  *
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index f68fb2f..2fca666 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -10328,7 +10328,7 @@ gtk_text_view_get_css_node (GtkTextView       *text_view,
  *
  * Usually used to find out which window an event corresponds to.
  * If you connect to an event signal on @text_view, this function
- * should be called on `event-&gt;window` to
+ * should be called on `event->window` to
  * see which window it was.
  *
  * Returns: the window type.


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