mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Fix some docs
This commit is contained in:
parent
eee3d97477
commit
f5bf23dafd
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -7044,11 +7044,21 @@ gtk_XParseGeometry (const char *string,
|
||||
* on the window.
|
||||
*
|
||||
* <informalexample><programlisting>
|
||||
* #include <gtk/gtk.h>
|
||||
*
|
||||
* 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 (&argc, &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,
|
||||
* &size_hints,
|
||||
@ -7076,10 +7082,10 @@ gtk_XParseGeometry (const char *string,
|
||||
* fprintf (stderr, "Failed to parse '%s'\n", argv[1]);
|
||||
* }
|
||||
*
|
||||
* gtk_widget_show_all (window);
|
||||
* gtk_main ();
|
||||
* gtk_widget_show_all (window);
|
||||
* gtk_main ();
|
||||
*
|
||||
* return 0;
|
||||
* return 0;
|
||||
* }
|
||||
* </programlisting></informalexample>
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user