aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2014-02-14 00:11:47 +0800
committerMilan Crha <mcrha@redhat.com>2014-02-14 00:12:31 +0800
commit0d52e3157191ff28b1b7426691973610d3752cb8 (patch)
treefa129038870db986570a399ceb25089146d0ba7a /e-util
parent9e28ee3baffa3afc475da07e831ed9c17b44ccc3 (diff)
downloadgsoc2013-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
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