Mercurial > pidgin.yaz
diff src/multi.c @ 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 | e49ab50736bf |
| children | 2ced57c58653 |
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 */
