aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanielle Madeley <danielle.madeley@collabora.co.uk>2011-09-21 06:32:59 +0800
committerDanielle Madeley <danielle.madeley@collabora.co.uk>2011-09-21 06:33:21 +0800
commite3598826ad6ede2f72fbee91c528e621f6dce926 (patch)
treec15aaa8a64537c299463acc580f833a572f24e4c
parentf9c3f78251f24515f8c667142d278641b608e260 (diff)
parent378393285bb5de21c4da85b2e64e044faef6f5b6 (diff)
downloadgsoc2013-empathy-e3598826ad6ede2f72fbee91c528e621f6dce926.tar
gsoc2013-empathy-e3598826ad6ede2f72fbee91c528e621f6dce926.tar.gz
gsoc2013-empathy-e3598826ad6ede2f72fbee91c528e621f6dce926.tar.bz2
gsoc2013-empathy-e3598826ad6ede2f72fbee91c528e621f6dce926.tar.lz
gsoc2013-empathy-e3598826ad6ede2f72fbee91c528e621f6dce926.tar.xz
gsoc2013-empathy-e3598826ad6ede2f72fbee91c528e621f6dce926.tar.zst
gsoc2013-empathy-e3598826ad6ede2f72fbee91c528e621f6dce926.zip
Merge branch 'crash-659118'
Freeze exception signed off by Andre Klapper <ak-47@gmx.net> and Matthias Clasen <matthias.clasen@gmail.com>
-rw-r--r--src/empathy-main-window.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index ad771b0d9..f3722524b 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -2122,6 +2122,10 @@ empathy_main_window_init (EmpathyMainWindow *window)
gtk_window_set_role (GTK_WINDOW (window), "contact_list");
gtk_window_set_default_size (GTK_WINDOW (window), 225, 325);
+ /* don't finalize the widget on delete-event, just hide it */
+ g_signal_connect (window, "delete-event",
+ G_CALLBACK (gtk_widget_hide_on_delete), NULL);
+
/* Set up interface */
filename = empathy_file_lookup ("empathy-main-window.ui", "src");
gui = empathy_builder_get_file (filename,