diff src/log.c @ 5676:dae79aefac8d

[gaim-migrate @ 6094] I've been meaning to do this for a LONG time. The conversation API now follows the naming convention of the rest of the new APIs. I'll get some g_return_*_if_fail() checks in there soon. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 02 Jun 2003 21:51:06 +0000
parents b07aa997ddd8
children 5e685e42931e
line wrap: on
line diff
--- a/src/log.c	Mon Jun 02 21:14:50 2003 +0000
+++ b/src/log.c	Mon Jun 02 21:51:06 2003 +0000
@@ -27,7 +27,7 @@
 
 void rm_log(struct log_conversation *a)
 {
-	struct gaim_conversation *cnv = gaim_find_conversation(a->name);
+	GaimConversation *cnv = gaim_find_conversation(a->name);
 
 	/* Added the following if statements for sanity check */
 	if (!a)
@@ -69,12 +69,12 @@
 void update_log_convs()
 {
 	GList *cnv;
-	struct gaim_conversation *c;
-	struct gaim_gtk_conversation *gtkconv;
+	GaimConversation *c;
+	GaimGtkConversation *gtkconv;
 
 	for (cnv = gaim_get_conversations(); cnv != NULL; cnv = cnv->next) {
 
-		c = (struct gaim_conversation *)cnv->data;
+		c = (GaimConversation *)cnv->data;
 
 		if (!GAIM_IS_GTK_CONVERSATION(c))
 			continue;
@@ -94,7 +94,7 @@
 
 static void do_save_convo(GObject *obj, GtkWidget *wid)
 {
-	struct gaim_conversation *c = g_object_get_data(obj, "gaim_conversation");
+	GaimConversation *c = g_object_get_data(obj, "gaim_conversation");
 	const char *filename = gtk_file_selection_get_filename(GTK_FILE_SELECTION(wid));
 	FILE *f;
 
@@ -122,7 +122,7 @@
 }
 
 
-void save_convo(GtkWidget *save, struct gaim_conversation *c)
+void save_convo(GtkWidget *save, GaimConversation *c)
 {
 	char buf[BUF_LONG];
 	GtkWidget *window = gtk_file_selection_new(_("Gaim - Save Conversation"));