[Pidgin] #5447: Buddy list sort by recent activity

Pidgin trac at pidgin.im
Thu Jan 1 14:05:43 EST 2009


#5447: Buddy list sort by recent activity
-------------------------------------+--------------------------------------
 Reporter:  cconnett                 |        Owner:  rlaager     
     Type:  patch                    |       Status:  new         
Milestone:                           |    Component:  pidgin (gtk)
  Version:  2.5.2                    |   Resolution:              
 Keywords:  buddylist sort activity  |  
-------------------------------------+--------------------------------------

Comment(by cagray):

 In `purple_log_get_activity_score`, line 307 in `libpurple/log.c`, `score`
 (a `double`) needs to be cast to an `int` for storing in a `gpointer`:

 {{{
 #!c
 g_hash_table_replace(logsize_users_decayed, lu,
 GINT_TO_POINTER((int)score));
 }}}

-- 
Ticket URL: <http://developer.pidgin.im/ticket/5447#comment:15>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list