summaryrefslogtreecommitdiff
path: root/gtk/gtklabel.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-02-14 23:34:22 -0500
committerMatthias Clasen <mclasen@redhat.com>2014-02-14 23:34:22 -0500
commitc779b42476ef0e33a22c13104b0b9351c370d71c (patch)
treef6bd9f652cdedad52b54168ebbacc69f7261e541 /gtk/gtklabel.c
parente179c65da037a2354cc8db4f824590014ef8bc87 (diff)
downloadgtk+-c779b42476ef0e33a22c13104b0b9351c370d71c.tar.gz
Docs: use // for comments in examples
Without sgml mode, we can't escape /* as /&ast; anymore, so just switch to // for comments in examples.
Diffstat (limited to 'gtk/gtklabel.c')
-rw-r--r--gtk/gtklabel.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index 10f6c8cae0..27e202ebf9 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -107,7 +107,7 @@
* the label is inside a button:
*
* |[<!-- language="C" -->
- * /&ast; Pressing Alt+H will activate this button &ast;/
+ * // Pressing Alt+H will activate this button
* button = gtk_button_new ();
* label = gtk_label_new_with_mnemonic ("_Hello");
* gtk_container_add (GTK_CONTAINER (button), label);
@@ -117,7 +117,7 @@
* already inside:
*
* |[<!-- language="C" -->
- * /&ast; Pressing Alt+H will activate this button &ast;/
+ * // Pressing Alt+H will activate this button
* button = gtk_button_new_with_mnemonic ("_Hello");
* ]|
*
@@ -126,7 +126,7 @@
* gtk_label_set_mnemonic_widget():
*
* |[<!-- language="C" -->
- * /&ast; Pressing Alt+H will focus the entry &ast;/
+ * // Pressing Alt+H will focus the entry
* entry = gtk_entry_new ();
* label = gtk_label_new_with_mnemonic ("_Hello");
* gtk_label_set_mnemonic_widget (GTK_LABEL (label), entry);