Commit f5bf23da authored by Matthias Clasen's avatar Matthias Clasen

Fix some docs

parent eee3d974
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
......
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
......
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
......
......@@ -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>
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment