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:
@ -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);
|
||||
* }
|
||||
* ]|
|
||||
|
||||
Reference in New Issue
Block a user