changeset 26002:9a8876493f3f

Fix crash on exit during media session.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Wed, 07 Jan 2009 05:23:58 +0000
parents f671d406f62c
children ba22c9420221 2d76bee4a98c
files pidgin/gtkconv.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkconv.c	Wed Jan 07 05:07:43 2009 +0000
+++ b/pidgin/gtkconv.c	Wed Jan 07 05:23:58 2009 +0000
@@ -7810,7 +7810,7 @@
 pidgin_conv_gtkmedia_destroyed(GtkWidget *widget, PidginConversation *gtkconv)
 {
 	gtk_widget_destroyed(widget, &(gtkconv->gtkmedia));
-	gray_stuff_out(gtkconv);
+	pidgin_conv_update_buttons_by_protocol((PurpleConversation*)gtkconv);
 }
 
 static gboolean
@@ -7846,7 +7846,7 @@
 	gtk_paned_pack2(GTK_PANED(gtkconv->middle_hpaned),
 			pidgin_media_get_display_widget(gtkmedia), FALSE, TRUE);
 
-	gray_stuff_out(gtkconv);
+	pidgin_conv_update_buttons_by_protocol(conv);
 	return TRUE;
 }