# HG changeset patch # User Rob Flynn # Date 1003693760 0 # Node ID c2abbf94b93d304a96cc178435bd80c0fcbdea97 # Parent f0e8cf09d8a32822d266d5df8ea85f33a3333b23 [gaim-migrate @ 2581] I forgot to commit this file. This removes the warning when exiting. committer: Tailor Script diff -r f0e8cf09d8a3 -r c2abbf94b93d src/multi.c --- 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 */