diff src/gtkutils.c @ 6236:7ff81c01d238

[gaim-migrate @ 6729] This should fix "Buddy pounce causes segfault in 0.66," although I have no idea how that could possibly be happening. http://sourceforge.net/tracker/index.php?func=detail&aid=774295&group_id=235&atid=100235 committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 19 Jul 2003 20:01:32 +0000
parents 156953fe3e14
children 8f94cce8faa5
line wrap: on
line diff
--- a/src/gtkutils.c	Sat Jul 19 19:42:55 2003 +0000
+++ b/src/gtkutils.c	Sat Jul 19 20:01:32 2003 +0000
@@ -777,7 +777,8 @@
 		gtk_widget_show(image);
 
 		g_snprintf(buf, sizeof(buf), "%s (%s)",
-				   gaim_account_get_username(account), plugin->info->name);
+				   gaim_account_get_username(account), 
+				   (plugin != NULL) ? plugin->info->name : _("Unknown"));
 
 		/* Create the label. */
 		label = gtk_label_new(buf);