summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2009-06-15 05:09:25 (GMT)
committerMatthias Clasen <mclasen@redhat.com>2009-06-15 05:09:25 (GMT)
commit2553df615d21e68d52f1e0b45ac8b70622d2881e (patch)
tree84612ebcde1686f539775eb23289771eae281ba7
parent2c5ac901d95f28db1edad2807f842396c594a49e (diff)
downloadglib-2553df615d21e68d52f1e0b45ac8b70622d2881e.tar.gz
glib-2553df615d21e68d52f1e0b45ac8b70622d2881e.tar.xz
Refer to the correct gcc deprecation options
This oversight was pointed out in bug 585520.
-rw-r--r--docs/reference/glib/tmpl/macros_misc.sgml2
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 9b83ea9..3944557 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>