From 32fb5404bf0ee01ce2b7b369a59c32c849b4374a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 3 Feb 2006 17:34:25 +0000 Subject: [PATCH] Add deprecation notes. 2006-02-03 Matthias Clasen * gtk/tmpl/gtkmenushell.sgml: * gtk/tmpl/gtkmenu.sgml: Add deprecation notes. --- docs/reference/ChangeLog | 5 +++++ docs/reference/gtk/tmpl/gtkmenu.sgml | 12 ++++-------- docs/reference/gtk/tmpl/gtkmenubar.sgml | 4 +++- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 815a28f218..3189d5ee93 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,8 @@ +2006-02-03 Matthias Clasen + + * gtk/tmpl/gtkmenushell.sgml: + * gtk/tmpl/gtkmenu.sgml: Add deprecation notes. + 2006-01-31 Matthias Clasen * gtk/gtk-sections.txt: Add new functions diff --git a/docs/reference/gtk/tmpl/gtkmenu.sgml b/docs/reference/gtk/tmpl/gtkmenu.sgml index fd7570a2a0..0cc1baa82c 100644 --- a/docs/reference/gtk/tmpl/gtkmenu.sgml +++ b/docs/reference/gtk/tmpl/gtkmenu.sgml @@ -168,9 +168,7 @@ Adds a new #GtkMenuItem to the end of the menu's item list. @menu: a #GtkMenu. @child: The #GtkMenuItem to add. - -@m: -@c: +@Deprecated: Use gtk_menu_shell_append() instead. @@ -180,10 +178,7 @@ Adds a new #GtkMenuItem to the beginning of the menu's item list. @menu: a #GtkMenu. @child: The #GtkMenuItem to add. - -@menu_child: -@m: -@c: +@Deprecated: Use gtk_menu_shell_prepend() instead. @@ -195,7 +190,8 @@ indicated by @position. @menu: a #GtkMenu. @child: The #GtkMenuItem to add. @pos: The position in the item list where @child is added. -Positions are numbered from 0 to n-1. + Positions are numbered from 0 to n-1. +@Deprecated: Use gtk_menu_shell_insert() instead. diff --git a/docs/reference/gtk/tmpl/gtkmenubar.sgml b/docs/reference/gtk/tmpl/gtkmenubar.sgml index 40063f6a9f..ca622160e4 100644 --- a/docs/reference/gtk/tmpl/gtkmenubar.sgml +++ b/docs/reference/gtk/tmpl/gtkmenubar.sgml @@ -58,6 +58,7 @@ Adds a new #GtkMenuItem to the end of the GtkMenuBar @menu: a #GtkMenuBar @child: the #GtkMenuItem to add +@Deprecated: Use gtk_menu_shell_append() instead. @@ -67,7 +68,7 @@ Adds a new #GtkMenuItem to the beginning of the GtkMenuBar @menu: a #GtkMenuBar @child: the #GtkMenuItem to add - +@Deprecated: Use gtk_menu_shell_prepend() instead. @@ -77,6 +78,7 @@ Adds a new #GtkMenuItem to the GtkMenuBar at the position defined by @position @menu: a #GtkMenuBar @child: the #GtkMenuItem to add @pos: the position in the item list where the @child is added. +@Deprecated: Use gtk_menu_shell_insert() instead.