changeset 13416:7d1ebac854ba

[gaim-migrate @ 15791] Assuming that a converation has a valid gc is a fair assumption, I think. If you disagree, we can add a g_return_if_fail() higher up instead. Resolves CID 65 committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Tue, 07 Mar 2006 01:54:09 +0000
parents 3038ab2eff72
children dc05405864bd
files src/gtkconv.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Tue Mar 07 01:50:00 2006 +0000
+++ b/src/gtkconv.c	Tue Mar 07 01:54:09 2006 +0000
@@ -4670,9 +4670,8 @@
 			mdate = g_strdup(gaim_time_format(&tm));
 	}
 
-	if(gc)
-		sml_attrib = g_strdup_printf("sml=\"%s\"",
-									 gaim_account_get_protocol_name(conv->account));
+	sml_attrib = g_strdup_printf("sml=\"%s\"",
+								 gaim_account_get_protocol_name(account));
 
 	gtk_font_options |= GTK_IMHTML_NO_COMMENTS;