From 29c293014e6d9f213b44bf52a06cca913c07b57c Mon Sep 17 00:00:00 2001
From: Denis Fomin <fominde@gmail.com>
Date: Mon, 29 Nov 2010 13:25:17 +0300
Subject: [PATCH] Fix gtk warning again. Fixed #6053

---
 src/roster_window.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/roster_window.py b/src/roster_window.py
index 75c08e9dd4..5392605f22 100644
--- a/src/roster_window.py
+++ b/src/roster_window.py
@@ -1102,6 +1102,9 @@ class RosterWindow:
         return False
 
     def draw_contact(self, jid, account, selected=False, focus=False):
+        gobject.idle_add(self._draw_contact, jid, account, selected, focus)
+
+    def _draw_contact(self, jid, account, selected=False, focus=False):
         """
         Draw the correct state image, name BUT not avatar
         """
-- 
GitLab