aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-11 00:38:32 +0800
committerPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-11 17:25:22 +0800
commitccad7f9df7f97342731733cc7027054b693e240b (patch)
tree5a7c038f3fd1acb652552b0fb927576287647b55
parent105ef42a1690c3c092879995767584b640741e12 (diff)
downloadgsoc2013-empathy-ccad7f9df7f97342731733cc7027054b693e240b.tar
gsoc2013-empathy-ccad7f9df7f97342731733cc7027054b693e240b.tar.gz
gsoc2013-empathy-ccad7f9df7f97342731733cc7027054b693e240b.tar.bz2
gsoc2013-empathy-ccad7f9df7f97342731733cc7027054b693e240b.tar.lz
gsoc2013-empathy-ccad7f9df7f97342731733cc7027054b693e240b.tar.xz
gsoc2013-empathy-ccad7f9df7f97342731733cc7027054b693e240b.tar.zst
gsoc2013-empathy-ccad7f9df7f97342731733cc7027054b693e240b.zip
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.
-rw-r--r--src/empathy-ft-manager.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/empathy-ft-manager.c b/src/empathy-ft-manager.c
index 14f67e51a..6b9e5372c 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 ();
}