From: Rob F. <rob...@us...> - 2001-10-21 19:49:23
|
Update of /cvsroot/gaim/gaim/src In directory usw-pr-cvs1:/tmp/cvs-serv19000 Modified Files: multi.c Log Message: I forgot to commit this file. This removes the warning when exiting. Index: multi.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/multi.c,v retrieving revision 1.95 retrieving revision 1.96 diff -u -d -r1.95 -r1.96 --- multi.c 2001/10/19 21:55:46 1.95 +++ multi.c 2001/10/21 19:49:20 1.96 @@ -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 */ |