Mercurial > pidgin.yaz
comparison src/prefs.c @ 5986:96e0ac28d933
[gaim-migrate @ 6434]
We weren't calling the callbacks when setting a string list in prefs.
Fixed.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Wed, 02 Jul 2003 08:57:43 +0000 |
parents | 90d0849abd3c |
children | 80e3641ee9eb |
comparison
equal
deleted
inserted
replaced
5985:60d9cbfb6bf8 | 5986:96e0ac28d933 |
---|---|
467 | 467 |
468 for(tmp = value; tmp; tmp = tmp->next) | 468 for(tmp = value; tmp; tmp = tmp->next) |
469 pref->value.stringlist = g_list_append(pref->value.stringlist, | 469 pref->value.stringlist = g_list_append(pref->value.stringlist, |
470 g_strdup(tmp->data)); | 470 g_strdup(tmp->data)); |
471 | 471 |
472 do_callbacks(name, pref); | |
473 | |
472 } else { | 474 } else { |
473 gaim_prefs_add_string_list(name, value); | 475 gaim_prefs_add_string_list(name, value); |
474 } | 476 } |
475 } | 477 } |
476 | 478 |