[gtk/ebassi/hvbox-docs] docs: Remove any reference to GtkGrid in Gtk[HV]Box
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/hvbox-docs] docs: Remove any reference to GtkGrid in Gtk[HV]Box
- Date: Sat, 10 Apr 2021 22:58:32 +0000 (UTC)
commit 3377dc7d40ab48caed730c32b63ed6b6908492f6
Author: Emmanuele Bassi <ebassi gnome org>
Date: Sat Apr 10 23:57:03 2021 +0100
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
gtk/deprecated/gtkhbox.c | 6 ++----
gtk/deprecated/gtkvbox.c | 6 ++----
2 files changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/gtk/deprecated/gtkhbox.c b/gtk/deprecated/gtkhbox.c
index 7844d81bb8..f06a42277b 100644
--- a/gtk/deprecated/gtkhbox.c
+++ b/gtk/deprecated/gtkhbox.c
@@ -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,
diff --git a/gtk/deprecated/gtkvbox.c b/gtk/deprecated/gtkvbox.c
index b8ef2e445b..55143fd1b1 100644
--- a/gtk/deprecated/gtkvbox.c
+++ b/gtk/deprecated/gtkvbox.c
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]