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/gtkaccellabel.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/gtkaccellabel.c')
-rw-r--r-- | gtk/gtkaccellabel.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/gtk/gtkaccellabel.c b/gtk/gtkaccellabel.c index 462aeac2e4..d37a7c5a64 100644 --- a/gtk/gtkaccellabel.c +++ b/gtk/gtkaccellabel.c @@ -72,21 +72,20 @@ * GtkWidget *save_item; * GtkAccelGroup *accel_group; * - * /* Create a GtkAccelGroup and add it to the window. */ + * // Create a GtkAccelGroup and add it to the window. * accel_group = gtk_accel_group_new (); * gtk_window_add_accel_group (GTK_WINDOW (window), accel_group); * - * /* Create the menu item using the convenience function. */ + * // Create the menu item using the convenience function. * save_item = gtk_menu_item_new_with_label ("Save"); * gtk_widget_show (save_item); * gtk_container_add (GTK_CONTAINER (menu), save_item); * - * /* Now add the accelerator to the GtkMenuItem. Note that since we - * * called gtk_menu_item_new_with_label() to create the GtkMenuItem - * * the GtkAccelLabel is automatically set up to display the - * * GtkMenuItem accelerators. We just need to make sure we use - * * GTK_ACCEL_VISIBLE here. - * */ + * // Now add the accelerator to the GtkMenuItem. Note that since we + * // called gtk_menu_item_new_with_label() to create the GtkMenuItem + * // the GtkAccelLabel is automatically set up to display the + * // GtkMenuItem accelerators. We just need to make sure we use + * // GTK_ACCEL_VISIBLE here. * gtk_widget_add_accelerator (save_item, "activate", accel_group, * GDK_KEY_s, GDK_CONTROL_MASK, GTK_ACCEL_VISIBLE); * ]| |