From d2019aaaf9a4f591194fcdc59161b96daca07388 Mon Sep 17 00:00:00 2001
From: Tristan Matthews <le.businessman@gmail.com>
Date: Fri, 30 Mar 2012 07:36:24 -0400
Subject: [PATCH] gnome: fix compilation for older glib

---
 gnome/src/accountlist.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gnome/src/accountlist.c b/gnome/src/accountlist.c
index 8d7844eb54..91b649826b 100644
--- a/gnome/src/accountlist.c
+++ b/gnome/src/accountlist.c
@@ -238,8 +238,7 @@ void account_list_remove(const gchar *accountID)
         if (!g_queue_remove(accountQueue, target))
             ERROR("Could not remove account with ID %s", accountID);
 #else
-        else
-            g_queue_remove(accountQueue, target);
+        g_queue_remove(accountQueue, target);
 #endif
     }
 
-- 
GitLab