From: Benjamin Otte Date: Mon, 3 Oct 2022 21:12:42 +0000 (+0000) Subject: Remove outdated docs X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~22^2~9^2~212^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=9af3bb8dc15255bfbc481504dc67a26a87c8d116;p=gtk4.git Remove outdated docs There are a lot of automatic conversions in the blame log. --- diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c index 8620fbdf6c..bf581109a0 100644 --- a/gtk/gtkscrolledwindow.c +++ b/gtk/gtkscrolledwindow.c @@ -72,24 +72,7 @@ * 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