here is a patch for version 2.0.0beta4, 2.0.0beta5, perphaps it has secundary effects..
Thanks.
Javi.
--- gtkblist.c  2006-11-12 04:23:09.000000000 +0100
+++ ../gtkblist.c       2006-11-12 04:20:08.000000000 +0100
@@ -2847,7 +2847,7 @@
        GString *key = g_string_sized_new(16);
        const char *protoname = NULL;
        struct _gaim_gtk_blist_node *gtknode = node->ui_data;
-       struct _gaim_gtk_blist_node *gtkbuddynode = NULL;
+       struct _gaim_gtk_blist_node *gtkbuddynode = node->ui_data;
        struct _emblem_data emblems[4] = {{NULL, 15, 15}, {NULL, 0, 15},
                {NULL, 0, 0}, {NULL, 15, 0}};
        GaimPresence *presence = NULL;
@@ -2855,17 +2855,17 @@
        GaimChat *chat = NULL;
 
        if(GAIM_BLIST_NODE_IS_CONTACT(node)) {
-               if(!gtknode->contact_expanded) {
-                       buddy = 
gaim_contact_get_priority_buddy((GaimContact*)node);
-                       gtkbuddynode = ((GaimBlistNode*)buddy)->ui_data;
-               }
+         if(!gtknode->contact_expanded) {
+           buddy = gaim_contact_get_priority_buddy((GaimContact*)node);
+           gtkbuddynode = node->ui_data;
+         }
        } else if(GAIM_BLIST_NODE_IS_BUDDY(node)) {
-               buddy = (GaimBuddy*)node;
-               gtkbuddynode = node->ui_data;
+         buddy = (GaimBuddy*)node;
+         gtkbuddynode = node->ui_data;
        } else if(GAIM_BLIST_NODE_IS_CHAT(node)) {
-               chat = (GaimChat*)node;
+         chat = (GaimChat*)node;
        } else {
-               return NULL;
+         return NULL;
        }
 
        if (!status_icon_hash_table) {

Reply via email to