m_isbusy = (XP_Bool)(int)clientData;
XFE_Frame *f = (XFE_Frame*)obj;   { D(printf ("Unregistering frame : ");)   Widget w = f->getBaseWidget(); if (XtWindow(w)) XUnmapWindow(XtDisplay(w), XtWindow(w));  fe_WindowCount --;  XP_ListRemoveObject(m_frameList, f);  switch (f->getType()) { case FRAME_MAILNEWS_MSG: D(printf ("type=MailNewsMsg\n");) XP_ListRemoveObject(m_msgFrameList, f); fe_MNWindowCount--; break; case FRAME_MAILNEWS_THREAD: D(printf ("type=MailNewsThread\n");) XP_ListRemoveObject(m_threadFrameList, f); fe_MNWindowCount--; break; case FRAME_MAILNEWS_FOLDER: D(printf ("type=MailNewsFolder\n");) XP_ListRemoveObject(m_folderFrameList, f); fe_MNWindowCount--; break; case FRAME_MAILNEWS_COMPOSE: D(printf ("type=MailNewsCompose\n");) XP_ListRemoveObject(m_composeFrameList, f); break; case FRAME_MAILNEWS_SEARCH: D(printf ("type=MailNewsSearch\n");) XP_ListRemoveObject(m_searchFrameList, f); break; case FRAME_MAILNEWS_DOWNLOAD: D(printf ("type=MailNewsDownload\n");) XP_ListRemoveObject(m_maildownloadFrameList, f); break; case FRAME_LDAP_SEARCH: D(printf ("type=LdapSearch\n");) XP_ListRemoveObject(m_ldapFrameList, f); break; case FRAME_EDITOR: D(printf ("type=Editor\n");) XP_ListRemoveObject(m_editorFrameList, f); break; case FRAME_BROWSER: D(printf ("type=Browser\n");) XP_ListRemoveObject(m_browserFrameList, f); break; case FRAME_ADDRESSBOOK: D(printf ("type=AddressBook\n");) XP_ListRemoveObject(m_addressbookFrameList, f); break; case FRAME_BOOKMARK: D(printf ("type=Bookmark\n");) XP_ListRemoveObject(m_bookmarkFrameList, f); break; case FRAME_MAILFILTER: D(printf ("type=MailFilter\n");) XP_ListRemoveObject(m_mailfilterFrameList, f); break; case FRAME_HISTORY: D(printf ("type=History\n");) XP_ListRemoveObject(m_historyFrameList, f); break; case FRAME_DOWNLOAD: D(printf ("type=Download\n");) XP_ListRemoveObject(m_downloadFrameList, f); break; case FRAME_HTML_DIALOG: D(printf ("type=HtmlDialog\n");) XP_ListRemoveObject(m_htmldialogFrameList, f); break; case FRAME_NAVCENTER: D(printf ("type=navcenter\n");) XP_ListRemoveObject(m_navcenterFrameList, f); break; }    if (fe_WindowCount == 0 && (!m_exiting)) exit(0);        notifyInterested(changeInToplevelFrames, (void*)fe_WindowCount); }
XFE_CALLBACK_DEFN(XFE_MozillaApp, updateBusyState)(XFE_NotificationCenter */*obj*/,												   void *clientData,												   void */*callData*/){	m_isbusy = (XP_Bool)(int)clientData;}