summaryrefslogtreecommitdiff
path: root/gtk/gtkinfobar.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/gtkinfobar.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/gtkinfobar.c')
-rw-r--r--gtk/gtkinfobar.c6
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" -->
- * /&ast; set up info bar &ast;/
+ * // set up info bar
* GtkWidget *widget;
* GtkInfoBar *bar;
*
@@ -98,9 +98,9 @@
* widget,
* 0, 2, 1, 1);
*
- * /&ast; ... &ast;/
+ * ...
*
- * /&ast; show an error message &ast;/
+ * // show an error message
* gtk_label_set_text (GTK_LABEL (message_label), message);
* gtk_info_bar_set_message_type (bar,
* GTK_MESSAGE_ERROR);