[gtk+] Emphasize that GtkBox and GtkTable can be replaced by GtkGrid



commit 73bac5af3b95b5b5c539a8f8700bfe2ae796dd25
Author: Javier Jardón <jjardon gnome org>
Date:   Sat Oct 30 06:53:44 2010 +0200

    Emphasize that GtkBox and GtkTable can be replaced by GtkGrid

 docs/reference/gtk/tmpl/gtktable.sgml |    2 ++
 gtk/gtkbox.c                          |    4 ++++
 2 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/docs/reference/gtk/tmpl/gtktable.sgml b/docs/reference/gtk/tmpl/gtktable.sgml
index 22503ea..6264b6e 100644
--- a/docs/reference/gtk/tmpl/gtktable.sgml
+++ b/docs/reference/gtk/tmpl/gtktable.sgml
@@ -32,11 +32,13 @@ either side</emphasis> of the widget it belongs to.
 gtk_table_set_homogeneous(), can be used to set whether all cells in the
 table will resize themselves to the size of the largest widget in the table.
 </para>
+<note>
 <para>
 Note that #GtkGrid provides the same capabilities as GtkTable for arranging
 widgets in a rectangular grid, and additionally supports height-for-width
 geometry management.
 </para>
+</note>
 
 <!-- ##### SECTION See_Also ##### -->
 <para>
diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c
index 50e827d..ef51968 100644
--- a/gtk/gtkbox.c
+++ b/gtk/gtkbox.c
@@ -75,8 +75,12 @@
  * #GtkBox:fill and #GtkBox:padding child properties.
  * Use gtk_box_query_child_packing() to query these fields.
  *
+ * <note>
+ * <para>
  * Note that a single-row or single-column #GtkGrid provides exactly the
  * same functionality as #GtkBox.
+ * </para>
+ * </note>
  */
 
 #include "config.h"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]