changeset 6116:de49cfd8fd59

[gaim-migrate @ 6579] This fixes "perl plugin handling event_buddy_signon called twice" http://sourceforge.net/tracker/index.php?func=detail&aid=727796&group_id=235&atid=100235 Also cleaned up history.c a tad bit and removed a printf--thanks to SimGuy. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 13 Jul 2003 23:26:06 +0000
parents 11bedb793a44
children ffd0cc625432
files plugins/spellchk.c src/blist.c
diffstat 2 files changed, 1 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/spellchk.c	Sun Jul 13 21:40:24 2003 +0000
+++ b/plugins/spellchk.c	Sun Jul 13 23:26:06 2003 +0000
@@ -1,12 +1,6 @@
 /*
  * A lot of this code (especially the config code) was taken directly
  * or nearly directly from xchat, version 1.4.2 by Peter Zelezny and others.
- *
- * TODO:
- *	? I think i did everything i want to with it.
- *
- * BUGS:
- *	? I think i fixed them all.
  */
 #include "internal.h"
 
@@ -225,9 +219,7 @@
 static void save_list();
 
 static void on_edited(GtkCellRendererText *cellrenderertext,
-	gchar *path,
-	gchar *arg2,
-	gpointer data)
+					  gchar *path, gchar *arg2, gpointer data)
 {
 	GtkTreeIter iter;
 	GValue val;
@@ -241,7 +233,6 @@
 	if(strcmp(arg2, g_value_get_string(&val))) {
 		gtk_list_store_set(model, &iter, GPOINTER_TO_INT(data), arg2, -1);
 		save_list();
-		printf("Editado! %s, %s\n", path, arg2);
 	}
 	g_value_unset(&val);
 }
--- a/src/blist.c	Sun Jul 13 21:40:24 2003 +0000
+++ b/src/blist.c	Sun Jul 13 23:26:06 2003 +0000
@@ -170,7 +170,6 @@
 
 	if(buddy->present == GAIM_BUDDY_SIGNING_ON) {
 		buddy->present = GAIM_BUDDY_ONLINE;
-		gaim_event_broadcast(event_buddy_signon, buddy->account->gc, buddy->name);
 	} else if(buddy->present == GAIM_BUDDY_SIGNING_OFF) {
 		buddy->present = GAIM_BUDDY_OFFLINE;
 	}