[empathy] Don't abort when closing the FT dialogue
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] Don't abort when closing the FT dialogue
- Date: Wed, 11 Aug 2010 09:25:55 +0000 (UTC)
commit ccad7f9df7f97342731733cc7027054b693e240b
Author: Philip Withnall <philip withnall collabora co uk>
Date: Tue Aug 10 17:38:32 2010 +0100
Don't abort when closing the FT dialogue
Ensure we handle the case where the dialogue is closed by the window
manager or programmatically gracefully.
src/empathy-ft-manager.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-ft-manager.c b/src/empathy-ft-manager.c
index 14f67e5..6b9e537 100644
--- a/src/empathy-ft-manager.c
+++ b/src/empathy-ft-manager.c
@@ -881,6 +881,10 @@ ft_manager_response_cb (GtkWidget *widget,
case RESPONSE_STOP:
ft_manager_stop (manager);
break;
+ case GTK_RESPONSE_NONE:
+ case GTK_RESPONSE_DELETE_EVENT:
+ /* Do nothing */
+ break;
default:
g_assert_not_reached ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]