diff plugins/history.c @ 11338:17142948653e

[gaim-migrate @ 13551] Change the GAIM_CONV_IM and GAIM_CONV_CHAT enums to GAIM_CONV_TYPE_IM and GAIM_CONV_TYPE_CHAT. This touched A LOT of files. Also combined two oscar header files (one of them was small and dorky). committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 25 Aug 2005 02:33:44 +0000
parents 519dc2186438
children f36471a3c258
line wrap: on
line diff
--- a/plugins/history.c	Thu Aug 25 00:27:12 2005 +0000
+++ b/plugins/history.c	Thu Aug 25 02:33:44 2005 +0000
@@ -45,7 +45,7 @@
 	char *header;
 
 	convtype = gaim_conversation_get_type(c);
-	if (convtype == GAIM_CONV_IM)
+	if (convtype == GAIM_CONV_TYPE_IM)
 	{
 		GSList *buddies;
 		GSList *cur;
@@ -92,7 +92,7 @@
 		else
         		logs = g_list_sort(logs, gaim_log_compare);
 	}
-	else if (convtype == GAIM_CONV_CHAT)
+	else if (convtype == GAIM_CONV_TYPE_CHAT)
 	{
 		/* If we're not logging, don't show anything.
 		 * Otherwise, we might show a very old log. */