diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-09-28 04:44:37 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2006-09-28 04:44:37 +0000 |
commit | c044d6e3c39e28d98ea4d815df84835e366aa442 (patch) | |
tree | bf50873b57382600197a41b1d7cc0fb322ef54e9 /src | |
parent | 41c9a97e743d179f2990d47cf19a6a3a6e88a841 (diff) |
trayicon.c: fixed trayicon_destroy().
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1199 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r-- | src/trayicon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trayicon.c b/src/trayicon.c index fb33f0a1..f87eec7d 100644 --- a/src/trayicon.c +++ b/src/trayicon.c @@ -257,9 +257,9 @@ void trayicon_hide(TrayIcon *tray_icon) void trayicon_destroy(TrayIcon *tray_icon) { - g_signal_handlers_disconnect_by_func(G_OBJECT(trayicon->widget), + g_signal_handlers_disconnect_by_func(G_OBJECT(tray_icon->widget), G_CALLBACK(trayicon_destroy_cb), - mainwin); + main_window_get()); gtk_widget_destroy(tray_icon->widget); tray_icon->widget = NULL; } |