Mercurial > pidgin.yaz
changeset 11889:04c2c3d84849
[gaim-migrate @ 14180]
Did I ever claim to know C? well then.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 29 Oct 2005 15:25:22 +0000 |
parents | 7d2d926704aa |
children | fdb78734e2ae |
files | src/gtksavedstatuses.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtksavedstatuses.c Sat Oct 29 14:45:15 2005 +0000 +++ b/src/gtksavedstatuses.c Sat Oct 29 15:25:22 2005 +0000 @@ -143,8 +143,8 @@ list_selected_helper(GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer user_data) { - GList *list = (GList *)user_data; - list = g_list_append(list, path); + GList **list = (GList **)user_data; + *list = g_list_append(*list, gtk_tree_path_copy(path)); } #endif @@ -154,7 +154,7 @@ GtkTreeSelection *selection; GtkTreeIter iter; GaimSavedStatus *saved_status; - GList *list; + GList *list = NULL; int num_selected = 0; selection = gtk_tree_view_get_selection(GTK_TREE_VIEW(dialog->treeview));