changeset 6312:5e5959d7a85e

[gaim-migrate @ 6811] I'm picky about a lot of things it seems. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 27 Jul 2003 09:33:23 +0000
parents eaeac660c17c
children 18e965f3a4aa
files src/conversation.c
diffstat 1 files changed, 13 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/src/conversation.c	Sun Jul 27 09:28:08 2003 +0000
+++ b/src/conversation.c	Sun Jul 27 09:33:23 2003 +0000
@@ -2232,14 +2232,15 @@
 	}
 }
 
-GList *gaim_conv_placement_get_options(void)
+GList *
+gaim_conv_placement_get_options(void)
 {
 	GList *n, *list = NULL;
 	ConvPlacementData *data;
 
 	ensure_default_funcs();
 
-	for(n = conv_placement_fncs; n; n = n->next) {
+	for (n = conv_placement_fncs; n; n = n->next) {
 		data = n->data;
 		list = g_list_append(list, data->name);
 		list = g_list_append(list, data->id);
@@ -2250,9 +2251,10 @@
 
 
 void
-gaim_conv_placement_add_fnc(const char *id, const char *name, GaimConvPlacementFunc fnc)
+gaim_conv_placement_add_fnc(const char *id, const char *name,
+							GaimConvPlacementFunc fnc)
 {
-	g_return_if_fail(id != NULL);
+	g_return_if_fail(id   != NULL);
 	g_return_if_fail(name != NULL);
 	g_return_if_fail(fnc  != NULL);
 
@@ -2266,7 +2268,7 @@
 {
 	ConvPlacementData *data = get_conv_placement_data(id);
 
-	if(!data)
+	if (data == NULL)
 		return;
 
 	conv_placement_fncs = g_list_remove(conv_placement_fncs, data);
@@ -2285,7 +2287,7 @@
 
 	data = get_conv_placement_data(id);
 
-	if (!data)
+	if (data == NULL)
 		return NULL;
 
 	return data->name;
@@ -2307,12 +2309,12 @@
 }
 
 static void
-conv_placement_pref_cb(const char *name, GaimPrefType type, gpointer value,
-		gpointer data)
+conv_placement_pref_cb(const char *name, GaimPrefType type,
+					   gpointer value, gpointer data)
 {
 	GaimConvPlacementFunc fnc;
 
-	if(strcmp(name, "/core/conversations/placement"))
+	if (strcmp(name, "/core/conversations/placement"))
 		return;
 
 	ensure_default_funcs();
@@ -2326,8 +2328,8 @@
 }
 
 static void
-update_titles_pref_cb(const char *name, GaimPrefType type, gpointer value,
-		gpointer data)
+update_titles_pref_cb(const char *name, GaimPrefType type,
+					  gpointer value, gpointer data)
 {
 	/*
 	 * If the use_server_alias option was changed, and use_alias_for_title