Docs: use // for comments in examples

Without sgml mode, we can't escape /* as /* anymore,
so just switch to // for comments in examples.
This commit is contained in:
Matthias Clasen
2014-02-14 23:34:22 -05:00
parent e179c65da0
commit c779b42476
39 changed files with 179 additions and 171 deletions

View File

@ -104,9 +104,8 @@
* GtkCellRenderer *cell;
*
* cell = gtk_cell_renderer_pixbuf_new ();
* /* The following call causes the default cell area for combo boxes,
* * a GtkCellAreaBox, to be instantiated
* */
* // The following call causes the default cell area for combo boxes,
* // a GtkCellAreaBox, to be instantiated
* gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (b), cell, FALSE);
* ...
* }
@ -114,9 +113,7 @@
* GtkWidget *
* my_combo_box_new (GtkCellArea *area)
* {
* /* This call is going to cause a warning
* * about area being ignored
* */
* // This call is going to cause a warning about area being ignored
* return g_object_new (MY_TYPE_COMBO_BOX, "cell-area", area, NULL);
* }
* ]|