[Pidgin] #13249: Refactor pidgin_prefs_dropdown_from_list()

Pidgin trac at pidgin.im
Sat Jan 22 19:24:31 EST 2011


#13249: Refactor pidgin_prefs_dropdown_from_list()
-------------------+--------------------------------------------------------
Reporter:  haakon  |        Type:  patch                       
  Status:  new     |   Component:  pidgin (gtk)                
 Version:  2.7.9   |    Keywords:  remove leaks obsolete widget
-------------------+--------------------------------------------------------
 pidgin_prefs_dropdown_from_list() uses GtkOptionMenu that has been
 deprecated in favor of GtkComboBox since GTK+ 2.4. I rewrote the function
 to use combo box instead. There was also some potential memory leak on
 error condition inside while loop, where NULL is returned but created
 option menu is not freed.

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


More information about the Tracker mailing list