aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-menu-tool-action.c5
-rw-r--r--e-util/e-menu-tool-action.h3
2 files changed, 3 insertions, 5 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