im.pidgin.pidgin: 4fa938e6f980314ccc4a44725eb809c3b5a4fcbc

sadrul at pidgin.im sadrul at pidgin.im
Mon Dec 24 05:40:46 EST 2007


-----------------------------------------------------------------
Revision: 4fa938e6f980314ccc4a44725eb809c3b5a4fcbc
Ancestor: 340fc0f3d69e64b23e09bde0066f1aca103fb7bf
Author: sadrul at pidgin.im
Date: 2007-12-24T07:04:08
Branch: im.pidgin.pidgin

Modified files:
        pidgin/gtkblist.c pidgin/pidgincombobox.c

ChangeLog: 

Plug a small leak.

-------------- next part --------------
============================================================
--- pidgin/gtkblist.c	4b0944d817e5f7c99a407bc4f6f3ad600edacbf0
+++ pidgin/gtkblist.c	590fca78d5a5b0bc0b4ce04d5a2ae08efb2ee88c
@@ -3312,7 +3312,7 @@ static char *pidgin_get_tooltip_text(Pur
 		/* Accounts with buddies in group */
 		accounts = purple_group_get_accounts(group);
 		for (; accounts != NULL;
-		     accounts = g_slist_remove_link(accounts, accounts)) {
+		     accounts = g_slist_delete_link(accounts, accounts)) {
 			PurpleAccount *account = accounts->data;
 			purple_notify_user_info_add_pair(user_info, _("Account"), purple_account_get_username(account));
 		}
============================================================
--- pidgin/pidgincombobox.c	edb0c4b1b8d96ec97a2cee7a834b8c9569863b09
+++ pidgin/pidgincombobox.c	7c2465f8154774626463d91016664bcf78108cd4
@@ -2980,7 +2980,7 @@ gtk_combo_box_cell_layout_reorder (GtkCe
 
   g_return_if_fail (link != NULL);
 
-  combo_box->priv->cells = g_slist_remove_link (combo_box->priv->cells, link);
+  combo_box->priv->cells = g_slist_delete_link (combo_box->priv->cells, link);
   combo_box->priv->cells = g_slist_insert (combo_box->priv->cells, info,
                                            position);
 


More information about the Commits mailing list