[gtk+] Discourage use of GtkMisc and GtkAlignment
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Discourage use of GtkMisc and GtkAlignment
- Date: Fri, 22 Oct 2010 14:53:51 +0000 (UTC)
commit 8cd13d09e822e2fea02c4125397b326cfde2bc09
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Oct 22 16:52:08 2010 +0200
Discourage use of GtkMisc and GtkAlignment
docs/reference/gtk/tmpl/gtkmisc.sgml | 2 +-
gtk/gtkalignment.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/docs/reference/gtk/tmpl/gtkmisc.sgml b/docs/reference/gtk/tmpl/gtkmisc.sgml
index 4348660..57ab5c7 100644
--- a/docs/reference/gtk/tmpl/gtkmisc.sgml
+++ b/docs/reference/gtk/tmpl/gtkmisc.sgml
@@ -22,7 +22,7 @@ allocated area, the alignment settings will not alter the widgets position.
<para>
Note that the desired effect can in most cases be achieved by using the
#GtkWidget:halign, #GtkWidget:valign and #GtkWidget:margin properties
-on the child widget.
+on the child widget, so GtkMisc should not be used in new code.
</para>
<!-- ##### SECTION See_Also ##### -->
diff --git a/gtk/gtkalignment.c b/gtk/gtkalignment.c
index 44adfa1..b3e0b85 100644
--- a/gtk/gtkalignment.c
+++ b/gtk/gtkalignment.c
@@ -44,7 +44,7 @@
*
* Note that the desired effect can in most cases be achieved by using the
* #GtkWidget:halign, #GtkWidget:valign and #GtkWidget:margin properties
- * on the child widget.
+ * on the child widget, so #GtkAlignment should not be used in new code.
*/
#include "config.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]