[epiphany] add-bookmark-popover: Fix bookmark ids collisions



commit 79e8eef4a5ec06eac4d6cd28d559b4a875486c10
Author: Yetizone <andreii lisita gmail com>
Date:   Tue Jan 28 21:29:12 2020 +0200

    add-bookmark-popover: Fix bookmark ids collisions

 src/bookmarks/ephy-add-bookmark-popover.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/bookmarks/ephy-add-bookmark-popover.c b/src/bookmarks/ephy-add-bookmark-popover.c
index ccca1b717..1fd476c83 100644
--- a/src/bookmarks/ephy-add-bookmark-popover.c
+++ b/src/bookmarks/ephy-add-bookmark-popover.c
@@ -219,7 +219,7 @@ ephy_add_bookmark_popover_show (EphyAddBookmarkPopover *self)
     g_autofree char *id = NULL;
     g_autoptr (EphyBookmark) new_bookmark = NULL;
 
-    id = ephy_sync_utils_get_random_sync_id ();
+    id = ephy_bookmark_generate_random_id ();
     new_bookmark = ephy_bookmark_new (address,
                                       ephy_embed_get_title (embed),
                                       g_sequence_new (g_free),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]