diff src/roomlist.c @ 8584:058efd3cb86f

[gaim-migrate @ 9334] " This is definitely not the most critical fix, but every time i see the text "catagory" my eyes bleed a little bit. This should remedy this unnecessary loss of blood - hopefully this way i can make my visits to the Red Cross more frequent." --Daniel Atallah committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Mon, 05 Apr 2004 17:33:34 +0000
parents 77baefe979c6
children fd1a4ff1f7ed
line wrap: on
line diff
--- a/src/roomlist.c	Mon Apr 05 07:11:24 2004 +0000
+++ b/src/roomlist.c	Mon Apr 05 17:33:34 2004 +0000
@@ -216,14 +216,14 @@
 		prpl_info->roomlist_cancel(list);
 }
 
-void gaim_roomlist_expand_catagory(GaimRoomlist *list, GaimRoomlistRoom *catagory)
+void gaim_roomlist_expand_category(GaimRoomlist *list, GaimRoomlistRoom *category)
 {
 	GaimPluginProtocolInfo *prpl_info = NULL;
 	GaimConnection *gc;
 
 	g_return_if_fail(list != NULL);
-	g_return_if_fail(catagory != NULL);
-	g_return_if_fail(catagory->type & GAIM_ROOMLIST_ROOMTYPE_CATAGORY);
+	g_return_if_fail(category != NULL);
+	g_return_if_fail(category->type & GAIM_ROOMLIST_ROOMTYPE_CATEGORY);
 
 	gc = gaim_account_get_connection(list->account);
 	g_return_if_fail(gc != NULL);
@@ -231,8 +231,8 @@
 	if (gc->prpl != NULL)
 		prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl);
 
-	if (prpl_info && prpl_info->roomlist_expand_catagory)
-		prpl_info->roomlist_expand_catagory(list, catagory);
+	if (prpl_info && prpl_info->roomlist_expand_category)
+		prpl_info->roomlist_expand_category(list, category);
 }
 
 /*@}*/