Hi, I am a beginner writing an extension for epiphany.
My code is as below: static void impl_attach_window (EphyExtension *ext, EphyWindow *window) { EphyBookmarks *bookmarks; EphyNode *smart_bmks, *bmk; GPtrArray *children; guint id; int i; bookmarks = ephy_shell_get_bookmarks (ephy_shell_get_default ()); smart_bmks = ephy_bookmarks_get_bookmarks (bookmarks); if (smart_bmks != NULL) { children = ephy_node_get_children (smart_bmks); for (i=0; i < children->len; i++) { bmk = g_ptr_array_index (children, i); LOG ("i value is :%d", i); id = ephy_node_get_id (bmk); LOG ("the id is %d", id); } } } I use ephy_node_get_id to get the id of the bookmarks. How to print the bookmarks itself? Thanks and Best Regards, Maitrey
_______________________________________________ epiphany-list mailing list epiphany-list@gnome.org http://mail.gnome.org/mailman/listinfo/epiphany-list