docs: Remove any reference to GtkGrid in Gtk[HV]Box

GtkBox is not going away, so there's not point in making things more
confusing for those who are still porting their code from GTK2 to GTK3
10 years after GTK 3.0 was released.

Fixes: #3854
This commit is contained in:
Emmanuele Bassi 2021-04-10 23:57:03 +01:00
parent 3cfd1e1f52
commit 3377dc7d40
2 changed files with 4 additions and 8 deletions

View File

@ -83,10 +83,8 @@ gtk_hbox_init (GtkHBox *hbox)
* *
* Returns: a new #GtkHBox. * Returns: a new #GtkHBox.
* *
* Deprecated: 3.2: You can use gtk_box_new() with %GTK_ORIENTATION_HORIZONTAL instead, * Deprecated: 3.2: You should use gtk_box_new() with a %GTK_ORIENTATION_HORIZONTAL
* which is a quick and easy change. But the recommendation is to switch to * #GtkOrientable:orientation instead
* #GtkGrid, since #GtkBox is going to go away eventually.
* See [Migrating from other containers to GtkGrid][gtk-migrating-GtkGrid].
*/ */
GtkWidget * GtkWidget *
gtk_hbox_new (gboolean homogeneous, gtk_hbox_new (gboolean homogeneous,

View File

@ -90,10 +90,8 @@ gtk_vbox_init (GtkVBox *vbox)
* *
* Returns: a new #GtkVBox. * Returns: a new #GtkVBox.
* *
* Deprecated: 3.2: You can use gtk_box_new() with %GTK_ORIENTATION_VERTICAL instead, * Deprecated: 3.2: You should use gtk_box_new() with a %GTK_ORIENTATION_VERTICAL
* which is a quick and easy change. But the recommendation is to switch to * #GtkOrientable:orientation instead
* #GtkGrid, since #GtkBox is going to go away eventually.
* See [Migrating from other containers to GtkGrid][gtk-migrating-GtkGrid].
*/ */
GtkWidget * GtkWidget *
gtk_vbox_new (gboolean homogeneous, gtk_vbox_new (gboolean homogeneous,