Add deprecation notes for GtkItem

This commit is contained in:
Matthias Clasen 2010-09-09 00:02:18 -04:00
parent eb77f20c52
commit 15df889204
2 changed files with 8 additions and 2 deletions

View File

@ -9,6 +9,9 @@ Abstract base class for GtkMenuItem, GtkListItem and GtkTreeItem
The #GtkItem widget is an abstract base class for #GtkMenuItem, #GtkListItem
and #GtkTreeItem.
</para>
<para>
#GtkItem is deprecated and will be removed in GTK+ 3.
</para>
<!-- ##### SECTION See_Also ##### -->
<para>
@ -55,6 +58,7 @@ Emits the "select" signal on the given item.
</para>
@item: a #GtkItem.
@Deprecated: 2.22: Use gtk_menu_item_select() instead
<!-- ##### FUNCTION gtk_item_deselect ##### -->
@ -63,6 +67,7 @@ Emits the "deselect" signal on the given item.
</para>
@item: a #GtkItem.
@Deprecated: 2.22: Use gtk_menu_item_deselect() instead
<!-- ##### FUNCTION gtk_item_toggle ##### -->
@ -71,5 +76,4 @@ Emits the "toggle" signal on the given item.
</para>
@item: a #GtkItem.
@Deprecated: 2.22: This function will be removed in GTK+ 3

View File

@ -70,9 +70,11 @@ struct _GtkItemClass
GType gtk_item_get_type (void) G_GNUC_CONST;
#if !defined(GTK_DISABLE_DEPRECATED) && !defined(GTK_COMPILATION)
void gtk_item_select (GtkItem *item);
void gtk_item_deselect (GtkItem *item);
void gtk_item_toggle (GtkItem *item);
#endif
G_END_DECLS