Remove outdated docs
authorBenjamin Otte <otte.benjamin@googlemail.com>
Mon, 3 Oct 2022 21:12:42 +0000 (21:12 +0000)
committerBenjamin Otte <otte.benjamin@googlemail.com>
Mon, 3 Oct 2022 21:12:42 +0000 (21:12 +0000)
There are a lot of automatic conversions in the blame log.

gtk/gtkscrolledwindow.c

index 8620fbdf6c870b11b306c57614578d17823010d3..bf581109a08ea84fffb2fb818746133efeccb893 100644 (file)
  * just add any child widget and not worry about the details.
  *
  * If [method@Gtk.ScrolledWindow.set_child] has added a `GtkViewport` for you,
- * you can remove both your added child widget from the `GtkViewport`, and the
- * `GtkViewport` from the `GtkScrolledWindow`, like this:
- *
- * ```c
- * GtkWidget *scrolled_window = gtk_scrolled_window_new ();
- * GtkWidget *child_widget = gtk_button_new ();
- *
- * // GtkButton is not a GtkScrollable, so GtkScrolledWindow will automatically
- * // add a GtkViewport.
- * gtk_box_append (GTK_BOX (scrolled_window), child_widget);
- *
- * // Either of these will result in child_widget being unparented:
- * gtk_box_remove (GTK_BOX (scrolled_window), child_widget);
- * // or
- * gtk_box_remove (GTK_BOX (scrolled_window),
- *                       gtk_bin_get_child (GTK_BIN (scrolled_window)));
- * ```
- *
+ * it will be automatically removed hen you unset the child.
  * Unless [property@Gtk.ScrolledWindow:hscrollbar-policy] and
  * [property@Gtk.ScrolledWindow:vscrollbar-policy] are %GTK_POLICY_NEVER or
  * %GTK_POLICY_EXTERNAL, `GtkScrolledWindow` adds internal `GtkScrollbar` widgets