Use hash table for bookmarks
This commit is contained in:
@@ -126,8 +126,6 @@ void cmd_bookmark_list_shows_bookmarks(void **state)
|
||||
|
||||
gboolean result = cmd_bookmark(&window, CMD_BOOKMARK, args);
|
||||
assert_true(result);
|
||||
|
||||
g_list_free_full(bookmarks, (GDestroyNotify)_free_bookmark);
|
||||
}
|
||||
|
||||
void cmd_bookmark_add_shows_message_when_invalid_jid(void **state)
|
||||
|
||||
@@ -244,7 +244,7 @@ gboolean bookmark_join(const char *jid)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
const GList * bookmark_get_list(void)
|
||||
GList * bookmark_get_list(void)
|
||||
{
|
||||
return (GList *)mock();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user