[gaim-migrate @ 6729]

Sat, 19 Jul 2003 20:01:32 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Sat, 19 Jul 2003 20:01:32 +0000
changeset 6236
7c1b45b7ff04
parent 6235
8293e7d4c050
child 6237
bb7d39c3d049

[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

src/gtkutils.c file | annotate | diff | comparison | revisions
--- 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);

mercurial