diff src/gtklog.c @ 9917:e74eb0d11f86

[gaim-migrate @ 10809] view chat logs curtesy of datallah committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Tue, 31 Aug 2004 01:45:12 +0000
parents 4a15962c344a
children 53410b84336f
line wrap: on
line diff
--- a/src/gtklog.c	Mon Aug 30 23:13:28 2004 +0000
+++ b/src/gtklog.c	Tue Aug 31 01:45:12 2004 +0000
@@ -248,7 +248,7 @@
 	}
 }
 
-void gaim_gtk_log_show(const char *screenname, GaimAccount *account) {
+void gaim_gtk_log_show(GaimLogType type, const char *screenname, GaimAccount *account) {
 	/* if (log_viewers && g_hash_table */
 	GtkWidget *hbox, *vbox;
 	GdkPixbuf *pixbuf, *scale;
@@ -272,7 +272,7 @@
 	}
 
 	lv = g_new0(GaimGtkLogViewer, 1);
-	lv->logs = logs = gaim_log_get_logs(GAIM_LOG_IM, screenname, account);
+	lv->logs = logs = gaim_log_get_logs(type, screenname, account);
 	g_hash_table_insert(log_viewers, ht, lv);
 
 	/* Window ***********/