diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2014-01-27 12:12:55 -0500 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2014-01-29 12:45:49 -0500 |
commit | 768bc44081550be18ee19697ed36b5f92298ef11 (patch) | |
tree | 8a0600c37dd2cc07fb00426c76922d3e3f1085e5 /gdk/gdkevents.h | |
parent | a74ea0770dfc3c7feaa156ab26c26b44162d1820 (diff) | |
download | gtk+-768bc44081550be18ee19697ed36b5f92298ef11.tar.gz |
docs: use |[ ]| instead of <programlisting></programlisting>
https://bugzilla.gnome.org/show_bug.cgi?id=723119
Diffstat (limited to 'gdk/gdkevents.h')
-rw-r--r-- | gdk/gdkevents.h | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/gdk/gdkevents.h b/gdk/gdkevents.h index 8425466e23..d3209b7a75 100644 --- a/gdk/gdkevents.h +++ b/gdk/gdkevents.h @@ -1142,36 +1142,30 @@ struct _GdkEventDND { * The event type is always the first field in all of the event types, and * can always be accessed with the following code, no matter what type of * event it is: - * <informalexample> - * <programlisting> + * |[ * GdkEvent *event; * GdkEventType type; * * type = event->type; - * </programlisting> - * </informalexample> + * ]| * * To access other fields of the event, the pointer to the event * can be cast to the appropriate event type, or the union member * name can be used. For example if the event type is %GDK_BUTTON_PRESS * then the x coordinate of the button press can be accessed with: - * <informalexample> - * <programlisting> + * |[ * GdkEvent *event; * gdouble x; * * x = ((GdkEventButton*)event)->x; - * </programlisting> - * </informalexample> + * ]| * or: - * <informalexample> - * <programlisting> + * |[ * GdkEvent *event; * gdouble x; * * x = event->button.x; - * </programlisting> - * </informalexample> + * ]| */ union _GdkEvent { |