[gtk+] Docs: Update an example to use current API



commit 298f76e6a3fb00f1dce5c1bd0710e05da072af81
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri May 16 08:24:37 2014 -0400

    Docs: Update an example to use current API

 gtk/gtkwindow.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 80e96d8..bc3d884 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -11487,8 +11487,7 @@ gtk_XParseGeometry (const char   *string,
  *   gtk_init (&argc, &argv);
  *
  *   window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
- *   vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL,
- *                       FALSE, 0);
+ *   vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
  *
  *   gtk_container_add (GTK_CONTAINER (window), vbox);
  *   fill_with_content (vbox);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]