summaryrefslogtreecommitdiff
path: root/gtk/gtkmain.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2014-02-04 16:57:57 -0500
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2014-02-04 16:58:54 -0500
commit63e887e165a308cfc5899123d9572ffc3b6da92a (patch)
treeda5a3489443cde66aceeeb77a29e69004b6842c1 /gtk/gtkmain.c
parent28376c26002cd7e9d353a9aadb880a54b7d3374d (diff)
downloadgtk+-63e887e165a308cfc5899123d9572ffc3b6da92a.tar.gz
docs: replace all <examples> with markdown headings
Diffstat (limited to 'gtk/gtkmain.c')
-rw-r--r--gtk/gtkmain.c15
1 files changed, 6 insertions, 9 deletions
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index a2d019efec..fe19e42655 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -53,8 +53,8 @@
* #GtkFileChooserDialog. After a callback finishes, GTK+ will return to the
* main loop and await more user input.
*
- * <example>
- * <title>Typical main() function for a GTK+ application</title>
+ * ## Typical main() function for a GTK+ application
+ *
* |[<!-- language="C" -->
* int
* main (int argc, char **argv)
@@ -81,7 +81,6 @@
* return 0;
* }
* ]|
- * </example>
*
* It's OK to use the GLib main loop directly instead of gtk_main(), though it
* involves slightly more typing. See #GMainLoop in the GLib documentation.
@@ -1247,8 +1246,8 @@ gtk_main_quit (void)
* This can be used to update the UI and invoke timeouts etc.
* while doing some time intensive computation.
*
- * <example>
- * <title>Updating the UI during a long computation</title>
+ * ## Updating the UI during a long computation
+ *
* |[<!-- language="C" -->
* /&ast; computation going on... &ast;/
*
@@ -1257,7 +1256,6 @@ gtk_main_quit (void)
*
* /&ast; ...computation continued &ast;/
* ]|
- * </example>
*
* Returns: %TRUE if any events are pending, %FALSE otherwise
*/
@@ -1804,8 +1802,8 @@ gtk_main_do_event (GdkEvent *event)
* of a window. Of course you should not do this as the user expects
* a reaction from clicking the close icon of the window...
*
- * <example>
- * <title>A persistent window</title>
+ * ## A persistent window
+ *
* |[<!-- language="C" -->
* #include <gtk/gtk.h>
*
@@ -1834,7 +1832,6 @@ gtk_main_do_event (GdkEvent *event)
* return 0;
* }
* ]|
- * </example>
*
* Returns: %TRUE
*/