changeset 11734:2f6b4c544d5b

[gaim-migrate @ 14025] Is there a reason these were done using a g_timeout? It was causing a crash for me. To reproduce: 1. Sign on an IRC account on freenode with a nick that is registered with nickserv 2. You are sent messages from 2 people: nickserv and I think memoserv 3. Without looking at the second tab, close the conversation window From the bt, it looked like the window would get closed, then a g_timeout would be called and passed a pointer to the now non-existant GaimGtkWindow committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 23 Oct 2005 02:41:51 +0000
parents ef511dec9903
children 8d7c99f20e4c
files src/gtkconv.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkconv.c	Sun Oct 23 02:25:25 2005 +0000
+++ b/src/gtkconv.c	Sun Oct 23 02:41:51 2005 +0000
@@ -4720,7 +4720,7 @@
 		prpl_info = GAIM_PLUGIN_PROTOCOL_INFO(gc->prpl);
 
 	if (win->menu.send_to != NULL)
-		g_timeout_add(0, (GSourceFunc)update_send_to_selection, win);
+		update_send_to_selection(win);
 
 	/*
 	 * Handle hiding and showing stuff based on what type of conv this is.
@@ -4909,7 +4909,7 @@
 
 		gaim_gtkconv_update_buttons_by_protocol(conv);
 
-		g_timeout_add(0, (GSourceFunc)update_send_to_selection, win);
+		update_send_to_selection(win);
 
 		gaim_gtkthemes_smiley_themeize(gtkconv->imhtml);
 
@@ -6427,7 +6427,7 @@
 	gtk_widget_grab_focus(focus_gtkconv->entry);
 
 	if (gaim_gtk_conv_window_get_gtkconv_count(win) == 1)
-		g_timeout_add(0, (GSourceFunc)update_send_to_selection, win);
+		update_send_to_selection(win);
 }
 
 void