[gtk+/gtk-3-16] gtkimagemenuitem: fix suggestion for replacement
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-16] gtkimagemenuitem: fix suggestion for replacement
- Date: Tue, 21 Jul 2015 14:20:43 +0000 (UTC)
commit 64954444aeae0dfc39c8d7a36c8ed60d66c7574f
Author: Stefan Sauer <ensonic users sf net>
Date: Mon Jul 20 20:54:52 2015 +0200
gtkimagemenuitem: fix suggestion for replacement
gtk_menu_item_new(9 would create an empty menu item. While the stock deprecation
aims to unclutter the menus, I feel this goes too far.
gtk/deprecated/gtkimagemenuitem.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/deprecated/gtkimagemenuitem.c b/gtk/deprecated/gtkimagemenuitem.c
index fe40516..e09bb9e 100644
--- a/gtk/deprecated/gtkimagemenuitem.c
+++ b/gtk/deprecated/gtkimagemenuitem.c
@@ -934,7 +934,7 @@ gtk_image_menu_item_new_with_mnemonic (const gchar *label)
*
* Returns: a new #GtkImageMenuItem.
*
- * Deprecated: 3.10: Use gtk_menu_item_new() instead.
+ * Deprecated: 3.10: Use gtk_menu_item_new_with_label() instead.
*/
GtkWidget*
gtk_image_menu_item_new_from_stock (const gchar *stock_id,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]