Commit 4f774530 authored by Tristan Matthews's avatar Tristan Matthews
parents b965c5d5 d2019aaa
......@@ -233,8 +233,15 @@ const gchar* account_list_get_current_id(void)
void account_list_remove(const gchar *accountID)
account_t *target = account_list_get_by_id(accountID);
if (target && !g_queue_remove(accountQueue, target))
if (target) {
#if GLIB_CHECK_VERSION(2, 30, 0)
if (!g_queue_remove(accountQueue, target))
ERROR("Could not remove account with ID %s", accountID);
g_queue_remove(accountQueue, target);
gchar * account_list_get_ordered_list(void)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment