[evolution] e_menu_tool_action_new: Remove unused stock_id parameter
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] e_menu_tool_action_new: Remove unused stock_id parameter
- Date: Thu, 13 Feb 2014 16:12:05 +0000 (UTC)
commit 0d52e3157191ff28b1b7426691973610d3752cb8
Author: Milan Crha <mcrha redhat com>
Date: Thu Feb 13 17:11:47 2014 +0100
e_menu_tool_action_new: Remove unused stock_id parameter
e-util/e-menu-tool-action.c | 5 ++---
e-util/e-menu-tool-action.h | 3 +--
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 87a2750..29fe4d5 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 c820a61..1cb16a7 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 815e041..f82baff 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");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]