[glib/glib-2-20] Refer to the correct gcc deprecation options



commit 4ab9132735d99c036ceaa7850e21af5ca8659167
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Jun 15 01:09:25 2009 -0400

    Refer to the correct gcc deprecation options
    
    This oversight was pointed out in bug 585520.

 docs/reference/glib/tmpl/macros_misc.sgml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/docs/reference/glib/tmpl/macros_misc.sgml b/docs/reference/glib/tmpl/macros_misc.sgml
index fa3c6ec..4c805a0 100644
--- a/docs/reference/glib/tmpl/macros_misc.sgml
+++ b/docs/reference/glib/tmpl/macros_misc.sgml
@@ -217,7 +217,7 @@ See the GNU C documentation for details.
 Expands to the GNU C <literal>deprecated</literal> attribute if the compiler 
 is <command>gcc</command>.
 It can be used to mark typedefs, variables and functions as deprecated. 
-When called with the <option>-Wdeprecated</option> option, the compiler will 
+When called with the <option>-Wdeprecated-declarations</option> option, the compiler will 
 generate warnings when deprecated interfaces are used.
 See the GNU C documentation for details. 
 </para>



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