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/gtkradiobutton.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/gtkradiobutton.c')
-rw-r--r-- | gtk/gtkradiobutton.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkradiobutton.c b/gtk/gtkradiobutton.c index a80175c094..8fcd760197 100644 --- a/gtk/gtkradiobutton.c +++ b/gtk/gtkradiobutton.c @@ -78,17 +78,17 @@ * box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 2); * gtk_box_set_homogeneous (GTK_BOX (box), TRUE); * - * /* Create a radio button with a GtkEntry widget */ + * // Create a radio button with a GtkEntry widget * radio1 = gtk_radio_button_new (NULL); * entry = gtk_entry_new (); * gtk_container_add (GTK_CONTAINER (radio1), entry); * * - * /* Create a radio button with a label */ + * // Create a radio button with a label * radio2 = gtk_radio_button_new_with_label_from_widget (GTK_RADIO_BUTTON (radio1), * "I’m the second radio button."); * - * /* Pack them into a box, then show all the widgets */ + * // Pack them into a box, then show all the widgets * gtk_box_pack_start (GTK_BOX (box), radio1, TRUE, TRUE, 2); * gtk_box_pack_start (GTK_BOX (box), radio2, TRUE, TRUE, 2); * gtk_container_add (GTK_CONTAINER (window), box); @@ -358,7 +358,7 @@ gtk_radio_button_set_group (GtkRadioButton *radio_button, * GtkRadioButton *radio_button; * GtkRadioButton *last_button; * - * while (/* more buttons to add */) + * while ( ...more buttons to add... ) * { * radio_button = gtk_radio_button_new (...); * |