summaryrefslogtreecommitdiff
path: root/gtk/gtkeditable.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2014-01-27 15:42:15 -0500
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2014-01-29 12:45:49 -0500
commite31ebda1d72d2b2182d3a3415939ea1761027428 (patch)
treea9142c20c8b68925c171e2d8231d320463960a85 /gtk/gtkeditable.c
parent48b359ea534457933fb43f62025c17db474b2611 (diff)
downloadgtk+-e31ebda1d72d2b2182d3a3415939ea1761027428.tar.gz
docs: don't escape entities in example code
https://bugzilla.gnome.org/show_bug.cgi?id=723119
Diffstat (limited to 'gtk/gtkeditable.c')
-rw-r--r--gtk/gtkeditable.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkeditable.c b/gtk/gtkeditable.c
index 94b592592b..e57efdd63e 100644
--- a/gtk/gtkeditable.c
+++ b/gtk/gtkeditable.c
@@ -40,16 +40,16 @@
* <example>
* <title>Forcing entry to uppercase.</title>
* |[<!-- language="C" -->
- * #include &lt;ctype.h&gt;
+ * #include <ctype.h>;
*
* void
- * insert_text_handler (GtkEditable &ast;editable,
- * const gchar &ast;text,
+ * insert_text_handler (GtkEditable *editable,
+ * const gchar *text,
* gint length,
- * gint &ast;position,
+ * gint *position,
* gpointer data)
* {
- * gchar &ast;result = g_utf8_strup (text, length);
+ * gchar *result = g_utf8_strup (text, length);
*
* g_signal_handlers_block_by_func (editable,
* (gpointer) insert_text_handler, data);