diff src/blist.c @ 6371:8f94cce8faa5

[gaim-migrate @ 6876] I think I touched almost every file. Here's what happened. I started off fixing up the Makefile.am and configure.ac files to help with the core/UI split some. Then I got annoyed with the build_{allow,deny}_list() functions that everything used, and decided to core/UI split privacy. While doing that, I decided to redesign the dialog. So now, a lot has changed, but not really so much. Just that most files got affected. Oh yeah, and the UI stuff was taken out of internal.h and moved to gtkinternal.h. If you use this, please be aware of this change. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 05 Aug 2003 10:55:04 +0000
parents aeb8c2119a58
children 01289157fc37
line wrap: on
line diff
--- a/src/blist.c	Tue Aug 05 03:21:40 2003 +0000
+++ b/src/blist.c	Tue Aug 05 10:55:04 2003 +0000
@@ -1959,74 +1959,6 @@
 	g_free(filename_real);
 }
 
-gboolean gaim_privacy_permit_add(GaimAccount *account, const char *who) {
-	GSList *d = account->permit;
-	char *n = g_strdup(normalize(who));
-	while(d) {
-		if(!gaim_utf8_strcasecmp(n, normalize(d->data)))
-			break;
-		d = d->next;
-	}
-	g_free(n);
-	if(!d) {
-		account->permit = g_slist_append(account->permit, g_strdup(who));
-		return TRUE;
-	}
-
-	return FALSE;
-}
-
-gboolean gaim_privacy_permit_remove(GaimAccount *account, const char *who) {
-	GSList *d = account->permit;
-	char *n = g_strdup(normalize(who));
-	while(d) {
-		if(!gaim_utf8_strcasecmp(n, normalize(d->data)))
-			break;
-		d = d->next;
-	}
-	g_free(n);
-	if(d) {
-		account->permit = g_slist_remove(account->permit, d->data);
-		g_free(d->data);
-		return TRUE;
-	}
-	return FALSE;
-}
-
-gboolean gaim_privacy_deny_add(GaimAccount *account, const char *who) {
-	GSList *d = account->deny;
-	char *n = g_strdup(normalize(who));
-	while(d) {
-		if(!gaim_utf8_strcasecmp(n, normalize(d->data)))
-			break;
-		d = d->next;
-	}
-	g_free(n);
-	if(!d) {
-		account->deny = g_slist_append(account->deny, g_strdup(who));
-		return TRUE;
-	}
-
-	return FALSE;
-}
-
-gboolean gaim_privacy_deny_remove(GaimAccount *account, const char *who) {
-	GSList *d = account->deny;
-	char *n = g_strdup(normalize(who));
-	while(d) {
-		if(!gaim_utf8_strcasecmp(n, normalize(d->data)))
-			break;
-		d = d->next;
-	}
-	g_free(n);
-	if(d) {
-		account->deny = g_slist_remove(account->deny, d->data);
-		g_free(d->data);
-		return TRUE;
-	}
-	return FALSE;
-}
-
 void gaim_group_set_setting(struct group *g, const char *key,
 		const char *value) {
 	if(!g)