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/gtkinfobar.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/gtkinfobar.c')
-rw-r--r-- | gtk/gtkinfobar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/gtkinfobar.c b/gtk/gtkinfobar.c index 1b485bcb47..804776d80b 100644 --- a/gtk/gtkinfobar.c +++ b/gtk/gtkinfobar.c @@ -74,7 +74,7 @@ * * A simple example for using a GtkInfoBar: * |[<!-- language="C" --> - * /* set up info bar */ + * // set up info bar * GtkWidget *widget; * GtkInfoBar *bar; * @@ -98,9 +98,9 @@ * widget, * 0, 2, 1, 1); * - * /* ... */ + * ... * - * /* show an error message */ + * // show an error message * gtk_label_set_text (GTK_LABEL (message_label), message); * gtk_info_bar_set_message_type (bar, * GTK_MESSAGE_ERROR); |