comparison plugins/chatlist.c @ 4327:da5e1b57adb0

[gaim-migrate @ 4583] the chatlist plugin didn't get the memo about the new grab_url parameter. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 17 Jan 2003 16:52:32 +0000
parents 59751fe608c5
children 2427d847e39c
comparison
equal deleted inserted replaced
4326:eb63f9960d07 4327:da5e1b57adb0
135 } 135 }
136 fclose(f); 136 fclose(f);
137 setup_buddy_chats(); 137 setup_buddy_chats();
138 } 138 }
139 139
140 static void ref_list_callback(gpointer data, char *text) 140 static void ref_list_callback(gpointer data, char *text, unsigned long len)
141 { 141 {
142 char *c; 142 char *c;
143 int len;
144 GtkWidget *item; 143 GtkWidget *item;
145 GList *items = GTK_LIST(cp->list1)->children; 144 GList *items = GTK_LIST(cp->list1)->children;
146 struct chat_room *cr; 145 struct chat_room *cr;
147 c = text; 146 c = text;
148 147
149 if (!text) 148 if (!text)
150 return; 149 return;
151
152 len = strlen(text);
153 150
154 while (items) { 151 while (items) {
155 g_free(gtk_object_get_user_data(GTK_OBJECT(items->data))); 152 g_free(gtk_object_get_user_data(GTK_OBJECT(items->data)));
156 items = items->next; 153 items = items->next;
157 } 154 }