diff options
author | Milan Crha <mcrha@redhat.com> | 2014-02-14 00:11:47 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2014-02-14 00:12:31 +0800 |
commit | 0d52e3157191ff28b1b7426691973610d3752cb8 (patch) | |
tree | fa129038870db986570a399ceb25089146d0ba7a | |
parent | 9e28ee3baffa3afc475da07e831ed9c17b44ccc3 (diff) | |
download | gsoc2013-evolution-0d52e3157191ff28b1b7426691973610d3752cb8.tar gsoc2013-evolution-0d52e3157191ff28b1b7426691973610d3752cb8.tar.gz gsoc2013-evolution-0d52e3157191ff28b1b7426691973610d3752cb8.tar.bz2 gsoc2013-evolution-0d52e3157191ff28b1b7426691973610d3752cb8.tar.lz gsoc2013-evolution-0d52e3157191ff28b1b7426691973610d3752cb8.tar.xz gsoc2013-evolution-0d52e3157191ff28b1b7426691973610d3752cb8.tar.zst gsoc2013-evolution-0d52e3157191ff28b1b7426691973610d3752cb8.zip |
e_menu_tool_action_new: Remove unused stock_id parameter
-rw-r--r-- | e-util/e-menu-tool-action.c | 5 | ||||
-rw-r--r-- | e-util/e-menu-tool-action.h | 3 | ||||
-rw-r--r-- | mail/e-mail-reader.c | 4 |
3 files changed, 5 insertions, 7 deletions
diff --git a/e-util/e-menu-tool-action.c b/e-util/e-menu-tool-action.c index 87a2750c75..29fe4d5a74 100644 --- a/e-util/e-menu-tool-action.c +++ b/e-util/e-menu-tool-action.c @@ -46,13 +46,12 @@ e_menu_tool_action_init (EMenuToolAction *action) EMenuToolAction * e_menu_tool_action_new (const gchar *name, const gchar *label, - const gchar *tooltip, - const gchar *stock_id) + const gchar *tooltip) { g_return_val_if_fail (name != NULL, NULL); return g_object_new ( E_TYPE_MENU_TOOL_ACTION, "name", name, "label", label, "tooltip", - tooltip, "stock-id", stock_id, NULL); + tooltip, NULL); } diff --git a/e-util/e-menu-tool-action.h b/e-util/e-menu-tool-action.h index c820a610d9..1cb16a77aa 100644 --- a/e-util/e-menu-tool-action.h +++ b/e-util/e-menu-tool-action.h @@ -66,8 +66,7 @@ GType e_menu_tool_action_get_type (void) G_GNUC_CONST; EMenuToolAction * e_menu_tool_action_new (const gchar *name, const gchar *label, - const gchar *tooltip, - const gchar *stock_id); + const gchar *tooltip); G_END_DECLS diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c index 815e041cf4..f82baff928 100644 --- a/mail/e-mail-reader.c +++ b/mail/e-mail-reader.c @@ -3769,7 +3769,7 @@ e_mail_reader_init (EMailReader *reader, menu_tool_action = e_menu_tool_action_new ( "mail-forward", _("_Forward"), - _("Forward the selected message to someone"), NULL); + _("Forward the selected message to someone")); gtk_action_set_icon_name ( GTK_ACTION (menu_tool_action), "mail-forward"); @@ -3789,7 +3789,7 @@ e_mail_reader_init (EMailReader *reader, * either of those, without too strongly implying one or the other. */ menu_tool_action = e_menu_tool_action_new ( "mail-reply-group", _("Group Reply"), - _("Reply to the mailing list, or to all recipients"), NULL); + _("Reply to the mailing list, or to all recipients")); gtk_action_set_icon_name ( GTK_ACTION (menu_tool_action), "mail-reply-all"); |