diff options
Diffstat (limited to 'src/bookmarks/ephy-bookmarks-editor.c')
-rw-r--r-- | src/bookmarks/ephy-bookmarks-editor.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c index c97d953c4..c447cb65b 100644 --- a/src/bookmarks/ephy-bookmarks-editor.c +++ b/src/bookmarks/ephy-bookmarks-editor.c @@ -1317,17 +1317,19 @@ delete_event_cb (EphyBookmarksEditor *editor) } static void -node_dropped_cb (EphyNodeView *view, EphyNode *node, - GList *nodes, EphyBookmarksEditor *editor) +node_dropped_cb (EphyNodeView *view, + EphyNode *node, + const char * const *uris, + EphyBookmarksEditor *editor) { - GList *l; + EphyNode *bmk; + int i; - for (l = nodes; l != NULL; l = l->next) - { - const char *url = (const char *) l->data; - EphyNode *bmk; + g_return_if_fail (uris != NULL); - bmk = ephy_bookmarks_find_bookmark (editor->priv->bookmarks, url); + for (i = 0; uris[i] != NULL; i++) + { + bmk = ephy_bookmarks_find_bookmark (editor->priv->bookmarks, uris[i]); if (bmk != NULL) { |