aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-09-28 04:39:38 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2006-09-28 04:39:38 +0000
commit41c9a97e743d179f2990d47cf19a6a3a6e88a841 (patch)
tree7ca357e3c3493d86fe80feccb3d166e1c4a6f485 /src/main.c
parent9201eff5cf8f1df79d52842b653e0f465bdb850a (diff)
cleanup trayicon on exit.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1198 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 37e8088e..5fd89c2b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -79,6 +79,7 @@
#include "gtkutils.h"
#include "socket.h"
#include "stock_pixmap.h"
+#include "trayicon.h"
#if USE_GPGME
# include "rfc2015.h"
@@ -654,6 +655,8 @@ void app_will_exit(gboolean force)
procmsg_remove_all_cached_messages(FOLDER(ac->folder));
}
+ trayicon_destroy(mainwin->tray_icon);
+
/* save all state before exiting */
folder_write_list();
summary_write_cache(mainwin->summaryview);