Fix some docs

This commit is contained in:
Matthias Clasen 2005-06-15 04:20:11 +00:00
parent eee3d97477
commit f5bf23dafd
4 changed files with 30 additions and 9 deletions

View File

@ -1,3 +1,8 @@
2005-06-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwindow.c (gtk_window_parse_geometry):
Fix up the example. (#307699, Michal Suchanek)
2005-06-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcalendar.c: Update num_marked_dates as we

View File

@ -1,3 +1,8 @@
2005-06-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwindow.c (gtk_window_parse_geometry):
Fix up the example. (#307699, Michal Suchanek)
2005-06-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcalendar.c: Update num_marked_dates as we

View File

@ -1,3 +1,8 @@
2005-06-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkwindow.c (gtk_window_parse_geometry):
Fix up the example. (#307699, Michal Suchanek)
2005-06-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkcalendar.c: Update num_marked_dates as we

View File

@ -7044,11 +7044,21 @@ gtk_XParseGeometry (const char *string,
* on the window.
*
* <informalexample><programlisting>
* #include &lt;gtk/gtk.h&gt;
*
* static void
* fill_with_content (GtkWidget *vbox)
* {
* /<!-- -->* fill with content... *<!-- -->/
* }
*
* int
* main (int argc, char *argv[])
* {
* GtkWidget *window, vbox;
* GdkGeometry size_hints;
* GtkWidget *window, *vbox;
* GdkGeometry size_hints = {
* 100, 50, 0, 0, 100, 50, 10, 10, 0.0, 0.0, GDK_GRAVITY_NORTH_WEST
* };
*
* gtk_init (&amp;argc, &amp;argv);
*
@ -7059,10 +7069,6 @@ gtk_XParseGeometry (const char *string,
* fill_with_content (vbox);
* gtk_widget_show_all (vbox);
*
* size_hints = {
* 100, 50, 0, 0, 100, 50, 10, 10, 0.0, 0.0, GDK_GRAVITY_NORTH_WEST
* };
*
* gtk_window_set_geometry_hints (GTK_WINDOW (window),
* window,
* &amp;size_hints,
@ -7076,10 +7082,10 @@ gtk_XParseGeometry (const char *string,
* fprintf (stderr, "Failed to parse '&percnt;s'\n", argv[1]);
* }
*
* gtk_widget_show_all (window);
* gtk_main ();
* gtk_widget_show_all (window);
* gtk_main ();
*
* return 0;
* return 0;
* }
* </programlisting></informalexample>
*