From 8cd13d09e822e2fea02c4125397b326cfde2bc09 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 22 Oct 2010 16:52:08 +0200 Subject: [PATCH] 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 434866014..57ab5c709 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. 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. diff --git a/gtk/gtkalignment.c b/gtk/gtkalignment.c index 44adfa107..b3e0b85c7 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" -- 2.43.2