Mercurial > pidgin.yaz
changeset 4640:951204c08b13
[gaim-migrate @ 4949]
we can stop looping after we find the user we're looking for
kills off another gtk warning
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Sun, 02 Mar 2003 23:47:37 +0000 |
parents | 2c9f1ac20b36 |
children | 94635db7c6af |
files | src/gtkconv.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkconv.c Sun Mar 02 23:12:54 2003 +0000 +++ b/src/gtkconv.c Sun Mar 02 23:47:37 2003 +0000 @@ -4012,8 +4012,10 @@ gtk_tree_model_get(GTK_TREE_MODEL(model), &iter, 1, &val, -1); - if (!g_strcasecmp(old_name, val)) + if (!g_strcasecmp(old_name, val)) { gtk_list_store_remove(GTK_LIST_STORE(model), &iter); + break; + } f = gtk_tree_model_iter_next(GTK_TREE_MODEL(model), &iter);