aboutsummaryrefslogtreecommitdiffstats
path: root/src/bookmarks/ephy-bookmark-factory-action.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bookmarks/ephy-bookmark-factory-action.c')
-rw-r--r--src/bookmarks/ephy-bookmark-factory-action.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bookmarks/ephy-bookmark-factory-action.c b/src/bookmarks/ephy-bookmark-factory-action.c
index 43c4683a0..8d684afa1 100644
--- a/src/bookmarks/ephy-bookmark-factory-action.c
+++ b/src/bookmarks/ephy-bookmark-factory-action.c
@@ -123,7 +123,9 @@ build_menu_for_topic (GtkWidget *placeholder, EggToolbarsModel *model, EphyNode
name = ephy_node_get_property_string (node, EPHY_NODE_BMK_PROP_TITLE);
item = gtk_menu_item_new_with_label (name);
- g_object_set_data_full (G_OBJECT (item), "ephy-action", (gpointer) action, g_free);
+ /* FIXME: set the |node| instead here! */
+ g_object_set_data_full (G_OBJECT (item), "ephy-action",
+ g_strdup (action), g_free);
g_signal_connect (item, "activate", G_CALLBACK (activate_item_cb), placeholder);
gtk_widget_show (item);