aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-topic-action.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bookmarks/ephy-topic-action.c')
-rw-r--r--src/bookmarks/ephy-topic-action.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/bookmarks/ephy-topic-action.c b/src/bookmarks/ephy-topic-action.c
index 2ce6b5f7f..3923ef793 100644
--- a/src/bookmarks/ephy-topic-action.c
+++ b/src/bookmarks/ephy-topic-action.c
@@ -583,18 +583,12 @@ ephy_topic_action_get_type (void)
return type;
}
-char *
-ephy_topic_action_name (EphyNode *node)
-{
- return g_strdup_printf("Tpc%u", ephy_node_get_id (node));
-}
-
GtkAction *
ephy_topic_action_new (EphyNode *node,
GtkUIManager *manager,
- char *name)
+ const char *name)
{
- g_return_val_if_fail (name, NULL);
+ g_assert (name != NULL);
return GTK_ACTION (g_object_new (EPHY_TYPE_TOPIC_ACTION,
"name", name,