Mercurial > pidgin.yaz
changeset 1130:d31fad9abb32
[gaim-migrate @ 1140]
I know, I shouldn't be working on Thanksgiving, but this was bothering me in the car the whole ride home.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 23 Nov 2000 11:35:55 +0000 |
parents | 282e6b7aef2c |
children | fb1490e8f9f8 |
files | src/prefs.c |
diffstat | 1 files changed, 11 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/prefs.c Wed Nov 22 13:56:09 2000 +0000 +++ b/src/prefs.c Thu Nov 23 11:35:55 2000 +0000 @@ -1397,7 +1397,12 @@ { GtkWidget *label; GtkWidget *list_item; - GSList *p = current_deny_gc->permit; + GSList *p; + + if (current_is_deny) + return; + + p = current_deny_gc->permit; gtk_list_remove_items(GTK_LIST(allow_list), GTK_LIST(allow_list)->children); @@ -1417,9 +1422,12 @@ { GtkWidget *label; GtkWidget *list_item; - GSList *d = current_deny_gc->deny; + GSList *d; - if (!prefs) return; + if (!current_is_deny) + return; + + d = current_deny_gc->deny; gtk_list_remove_items(GTK_LIST(block_list), GTK_LIST(block_list)->children);