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.
*
* Deprecated: 3.2: You can use gtk_box_new() with %GTK_ORIENTATION_HORIZONTAL instead,
* which is a quick and easy change. But the recommendation is to switch to
* #GtkGrid, since #GtkBox is going to go away eventually.
* See [Migrating from other containers to GtkGrid][gtk-migrating-GtkGrid].
* Deprecated: 3.2: You should use gtk_box_new() with a %GTK_ORIENTATION_HORIZONTAL
* #GtkOrientable:orientation instead
*/
GtkWidget *
gtk_hbox_new (gboolean homogeneous,

View File

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