diff options
Diffstat (limited to 'gtk/gtkmain.c')
-rw-r--r-- | gtk/gtkmain.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c index 0c32f13b23..c1205444c2 100644 --- a/gtk/gtkmain.c +++ b/gtk/gtkmain.c @@ -55,7 +55,7 @@ * </para> * <example> * <title>Typical main() function for a GTK+ application</title> - * <programlisting> + * |[ * int * main (int argc, char **argv) * { @@ -80,7 +80,7 @@ * /* The user lost interest */ * return 0; * } - * </programlisting> + * ]| * </example> * <para> * It's OK to use the GLib main loop directly instead of gtk_main(), though it @@ -1253,14 +1253,14 @@ gtk_main_quit (void) * * <example> * <title>Updating the UI during a long computation</title> - * <programlisting> + * |[ * /* computation going on... */ * * while (gtk_events_pending ()) * gtk_main_iteration (); * * /* ...computation continued */ - * </programlisting> + * ]| * </example> * * Returns: %TRUE if any events are pending, %FALSE otherwise @@ -1828,7 +1828,7 @@ gtk_main_do_event (GdkEvent *event) * * <example> * <title>A persistent window</title> - * <programlisting> + * |[ * #include <gtk/gtk.h>< * * int @@ -1855,7 +1855,7 @@ gtk_main_do_event (GdkEvent *event) * * return 0; * } - * </programlisting> + * ]| * </example> * * Returns: %TRUE |