summaryrefslogtreecommitdiff
path: root/gtk/gtkwidget.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/gtkwidget.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/gtkwidget.c')
-rw-r--r--gtk/gtkwidget.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 838e4ca8b3..e44e60341f 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -2988,10 +2988,10 @@ G_GNUC_END_IGNORE_DEPRECATIONS
* {
* private_data->suggested_action = 0;
*
- * /&ast; We are getting this data due to a request in
- * drag_motion, rather than due to a request in drag_drop,
- * so we are just supposed to call gdk_drag_status(), not
- * actually paste in the data. &ast;/
+ * // We are getting this data due to a request in drag_motion,
+ * // rather than due to a request in drag_drop, so we are just
+ * // supposed to call gdk_drag_status(), not actually paste in
+ * // the data.
*
* str = gtk_selection_data_get_text (selection_data);
* if (!data_is_acceptable (str))
@@ -3003,7 +3003,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
* }
* else
* {
- * /&ast; accept the drop &ast;/
+ * // accept the drop
* }
* }
* ]|
@@ -3127,7 +3127,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
* {
* GdkDragAction action;
*
- * /&ast; handle data here &ast;/
+ * // handle data here
*
* action = gdk_drag_context_get_selected_action (context);
* if (action == GDK_ACTION_ASK)
@@ -10782,7 +10782,7 @@ gtk_widget_add_device_events (GtkWidget *widget,
* GtkWidget *toplevel = gtk_widget_get_toplevel (widget);
* if (gtk_widget_is_toplevel (toplevel))
* {
- * /&ast; Perform action on toplevel. &ast;/
+ * // Perform action on toplevel.
* }
* ]|
*