summaryrefslogtreecommitdiff
path: root/gtk/gtkvbox.c
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2011-06-08 13:25:54 +0100
committerJavier Jardón <jjardon@gnome.org>2011-06-08 13:51:20 +0100
commit17ae6b2e0d745b47758583684ed36cf456f2fb4c (patch)
tree9cada79da6bf723c58b71a997d6623913528e686 /gtk/gtkvbox.c
parent18c8fe52f0ee21c9d35a9f04d5389ee7a6872d55 (diff)
downloadgtk+-17ae6b2e0d745b47758583684ed36cf456f2fb4c.tar.gz
gtk[h/v]box: Recommend the use of GtkGrid.
Diffstat (limited to 'gtk/gtkvbox.c')
-rw-r--r--gtk/gtkvbox.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/gtk/gtkvbox.c b/gtk/gtkvbox.c
index f7f91f6088..ea05e99742 100644
--- a/gtk/gtkvbox.c
+++ b/gtk/gtkvbox.c
@@ -44,7 +44,10 @@
*
* All children are allocated the same width.
*
- * GtkVBox has been deprecated, use #GtkBox instead.
+ * GtkVBox has been deprecated, you can use #GtkBox instead, which is a very
+ * quick and easy change. But the recommendation is to switch to #GtkGrid, since
+ * #GtkBox is going to go away eventually.
+ * See <xref linkend="gtk-migrating-GtkGrid"/>
*/
G_DEFINE_TYPE (GtkVBox, gtk_vbox, GTK_TYPE_BOX)
@@ -72,7 +75,10 @@ gtk_vbox_init (GtkVBox *vbox)
*
* Returns: a new #GtkVBox.
*
- * Deprecated: 3.2: Use gtk_box_new() with %GTK_ORIENTATION_VERTICAL instead
+ * Deprecated: 3.2: You can use gtk_box_new() with %GTK_ORIENTATION_VERTICAL instead,
+ * wich is a very quick and easy change. But the recommendation is to switch to
+ * #GtkGrid, since #GtkBox is going to go away eventually.
+ * See <xref linkend="gtk-migrating-GtkGrid"/>.
*/
GtkWidget *
gtk_vbox_new (gboolean homogeneous,