Mercurial > pidgin.yaz
changeset 2568:c2abbf94b93d
[gaim-migrate @ 2581]
I forgot to commit this file. This removes the warning when exiting.
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Sun, 21 Oct 2001 19:49:20 +0000 |
parents | f0e8cf09d8a3 |
children | a714b8223228 |
files | src/multi.c |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/multi.c Sun Oct 21 19:38:13 2001 +0000 +++ b/src/multi.c Sun Oct 21 19:49:20 2001 +0000 @@ -1266,8 +1266,12 @@ #ifdef USE_APPLET set_user_state(offline); applet_buddy_show = FALSE; - applet_widget_unregister_callback(APPLET_WIDGET(applet), "signoff"); - remove_applet_away(); + + if (applet) { + /* These don't have any purpose if the applet is gone :-P */ + applet_widget_unregister_callback(APPLET_WIDGET(applet), "signoff"); + remove_applet_away(); + } #else show_login(); #endif /* USE_APPLET */