[Pidgin] #3191: Fixes group searching when adding chats and buddies with empty groups

Pidgin trac at pidgin.im
Tue Sep 18 19:13:51 EDT 2007


#3191: Fixes group searching when adding chats and buddies with empty groups
---------------------------------------------+------------------------------
 Reporter:  db42                             |       Type:  patch
   Status:  new                              |   Priority:  minor
Component:  pidgin (gtk)                     |    Version:  2.2.0
 Keywords:  pidgin add chat buddy assertion  |    Pending:  0    
---------------------------------------------+------------------------------
 When adding a buddy / chat when no item is selected on buddy list (happens
 at least when you startup and don't click on any item and directly trying
 to add a new buddy for example) you get an empty selection in the group
 list, and when adding the person without selecting a group, the debug
 window shows:

 (19:05:11) g_log: purple_find_group: assertion `(name != NULL) && (*name
 != '\0')' failed
 (19:05:11) g_log: purple_group_new: assertion `*name != '\0'' failed
 (19:05:11) g_log: purple_blist_add_group: assertion `group != NULL' failed

 Although the process finishes correctly. This patch does some checkup to
 make this assertion failures go away.

 Thanks to deryni for pointing me in the right direction.

-- 
Ticket URL: <https://developer.pidgin.im/ticket/3191>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list