summaryrefslogtreecommitdiff
path: root/gtk/deprecated
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2015-06-10 17:06:46 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2015-06-11 11:45:03 +0100
commit5a612469460d99f8f1d9b695b3d4e42822bc4513 (patch)
tree644470c09c2ec834bb45e8b8ce3b00ef1eafe7aa /gtk/deprecated
parent715777154bfa493d16639922f2216f09042e58e9 (diff)
downloadgtk+-5a612469460d99f8f1d9b695b3d4e42822bc4513.tar.gz
docs: Improve deprecation notices for GtkImageMenuItem properties
Should help porting code away from the deprecated GtkImageMenuItem class. https://bugzilla.gnome.org/show_bug.cgi?id=750718
Diffstat (limited to 'gtk/deprecated')
-rw-r--r--gtk/deprecated/gtkimagemenuitem.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/gtk/deprecated/gtkimagemenuitem.c b/gtk/deprecated/gtkimagemenuitem.c
index b79647c76d..f52eb3c9de 100644
--- a/gtk/deprecated/gtkimagemenuitem.c
+++ b/gtk/deprecated/gtkimagemenuitem.c
@@ -188,7 +188,8 @@ gtk_image_menu_item_class_init (GtkImageMenuItemClass *klass)
*
* Child widget to appear next to the menu text.
*
- * Deprecated: 3.10
+ * Deprecated: 3.10: Use a #GtkMenuItem containing a #GtkBox with
+ * a #GtkAccelLabel and a #GtkImage instead
*/
g_object_class_install_property (gobject_class,
PROP_IMAGE,
@@ -205,7 +206,7 @@ gtk_image_menu_item_class_init (GtkImageMenuItemClass *klass)
*
* Since: 2.16
*
- * Deprecated: 3.10
+ * Deprecated: 3.10: Use a named icon from the #GtkIconTheme instead
*/
g_object_class_install_property (gobject_class,
PROP_USE_STOCK,
@@ -225,7 +226,8 @@ gtk_image_menu_item_class_init (GtkImageMenuItemClass *klass)
*
* Since: 2.16
*
- * Deprecated: 3.10
+ * Deprecated: 3.10: Use a #GtkMenuItem containing a #GtkBox with
+ * a #GtkAccelLabel and a #GtkImage instead
*/
g_object_class_install_property (gobject_class,
PROP_ALWAYS_SHOW_IMAGE,
@@ -242,7 +244,7 @@ gtk_image_menu_item_class_init (GtkImageMenuItemClass *klass)
*
* Since: 2.16
*
- * Deprecated: 3.10
+ * Deprecated: 3.10: Use gtk_widget_add_accelerator() instead
*/
g_object_class_install_property (gobject_class,
PROP_ACCEL_GROUP,