[gtk+] fontsel: Add a deprecation note in the constructor docs



commit 824776cb02af011424ad6bdaa15238a1eafcb700
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Thu May 3 08:07:13 2012 +0100

    fontsel: Add a deprecation note in the constructor docs
    
    To match the compiler attribute, otherwise the introspection scanner
    will not pick up the deprecation.

 gtk/deprecated/gtkfontsel.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gtk/deprecated/gtkfontsel.c b/gtk/deprecated/gtkfontsel.c
index c0835c2..15a311d 100644
--- a/gtk/deprecated/gtkfontsel.c
+++ b/gtk/deprecated/gtkfontsel.c
@@ -610,7 +610,9 @@ gtk_font_selection_init (GtkFontSelection *fontsel)
  *
  * Creates a new #GtkFontSelection.
  *
- * Return value: a n ew #GtkFontSelection
+ * Return value: a new #GtkFontSelection
+ *
+ * Deprecated: 3.2: Use #GtkFontChooserWidget instead
  */
 GtkWidget *
 gtk_font_selection_new (void)



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