diff options
Diffstat (limited to 'gtk/gtkwindow.c')
-rw-r--r-- | gtk/gtkwindow.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 78b34011c6..43d19d1a55 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -7663,14 +7663,13 @@ gtk_XParseGeometry (const char *string, * to be called when the window has its "final" size, i.e. after calling * gtk_widget_show_all() on the contents and gtk_window_set_geometry_hints() * on the window. - * - * <informalexample><programlisting> - * #include <gtk/gtk.h> + * |[ + * #include <gtk/gtk.h> * * static void * fill_with_content (GtkWidget *vbox) * { - * /<!-- -->* fill with content... *<!-- -->/ + * /* fill with content... */ * } * * int @@ -7681,7 +7680,7 @@ gtk_XParseGeometry (const char *string, * 100, 50, 0, 0, 100, 50, 10, 10, 0.0, 0.0, GDK_GRAVITY_NORTH_WEST * }; * - * gtk_init (&argc, &argv); + * gtk_init (&argc, &argv); * * window = gtk_window_new (GTK_WINDOW_TOPLEVEL); * vbox = gtk_vbox_new (FALSE, 0); @@ -7692,7 +7691,7 @@ gtk_XParseGeometry (const char *string, * * gtk_window_set_geometry_hints (GTK_WINDOW (window), * window, - * &size_hints, + * &size_hints, * GDK_HINT_MIN_SIZE | * GDK_HINT_BASE_SIZE | * GDK_HINT_RESIZE_INC); @@ -7700,7 +7699,7 @@ gtk_XParseGeometry (const char *string, * if (argc > 1) * { * if (!gtk_window_parse_geometry (GTK_WINDOW (window), argv[1])) - * fprintf (stderr, "Failed to parse '%s'\n", argv[1]); + * fprintf (stderr, "Failed to parse '%s'\n", argv[1]); * } * * gtk_widget_show_all (window); @@ -7708,7 +7707,7 @@ gtk_XParseGeometry (const char *string, * * return 0; * } - * </programlisting></informalexample> + * ]| * * Return value: %TRUE if string was parsed successfully **/ |