changeset 5937:3034a6ea2d89

[gaim-migrate @ 6377] New buddy pounces was crashing gaim. I decided to take this out of the feature list. There was heavy debate, and I thought having it crash was a good idea for 0.65. You know, kind of a "Surprise!!" I was eventually overruled by common sense, but I promise you, proud users of gaim, I only have so much common sense left, and soon it will no longer interfere! committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 21 Jun 2003 09:11:53 +0000
parents 1b56a833d665
children 023c5f380b5c
files src/gtkpounce.c
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkpounce.c	Sat Jun 21 08:38:33 2003 +0000
+++ b/src/gtkpounce.c	Sat Jun 21 09:11:53 2003 +0000
@@ -708,7 +708,10 @@
 static void
 new_pounce_cb(GtkWidget *w, struct buddy *b)
 {
-	gaim_gtkpounce_dialog_show(b->account, b->name, NULL);
+	if (b == NULL)
+		gaim_gtkpounce_dialog_show(NULL, NULL, NULL);
+	else
+		gaim_gtkpounce_dialog_show(b->account, b->name, NULL);
 }
 
 static void