diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-02-14 23:34:22 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-02-14 23:34:22 -0500 |
commit | c779b42476ef0e33a22c13104b0b9351c370d71c (patch) | |
tree | f6bd9f652cdedad52b54168ebbacc69f7261e541 /gtk/gtklabel.c | |
parent | e179c65da037a2354cc8db4f824590014ef8bc87 (diff) | |
download | gtk+-c779b42476ef0e33a22c13104b0b9351c370d71c.tar.gz |
Docs: use // for comments in examples
Without sgml mode, we can't escape /* as /* anymore,
so just switch to // for comments in examples.
Diffstat (limited to 'gtk/gtklabel.c')
-rw-r--r-- | gtk/gtklabel.c | 6 |
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" --> - * /* Pressing Alt+H will activate this button */ + * // 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" --> - * /* Pressing Alt+H will activate this button */ + * // 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" --> - * /* Pressing Alt+H will focus the entry */ + * // 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); |