+2002-06-11 Danilo Almeida <dalmeida@mit.edu>
+
+ * cns.c: Do not use krb_get_notification_message() or
+ krb5_get_notification_message().
+ [pullup from 1-2-2-branch]
+
2001-10-03 Ken Raeburn <raeburn@mit.edu>
* cns.c: Don't declare pointers or functions FAR any more.
static HFONT hfonticon = NULL; /* Font for icon label */
HINSTANCE hinstance;
static int dlgncmdshow; /* ncmdshow from WinMain */
+#if 0
static UINT wm_kerberos_changed; /* message for cache changing */
+#endif
static int action; /* After login actions */
static UINT kwin_timer_id; /* Timer being used for update */
BOOL alert; /* Actions on ticket expiration */
{
int n;
+#if 0
if (message == wm_kerberos_changed) { /* Message from the ccache */
n = ticket_init_list(GetDlgItem(hwnd, IDD_TICKET_LIST));
EnableWindow(GetDlgItem(hwnd, IDD_TICKET_DELETE), n > 0);
return 0;
}
+#endif
switch (message) {
HANDLE_MSG(hwnd, WM_GETMINMAXINFO, kwin_getminmaxinfo);
{
BOOL rc;
+#if 0
#ifdef KRB4
wm_kerberos_changed = krb_get_notification_message();
#endif
#ifdef KRB5
wm_kerberos_changed = krb5_get_notification_message();
+#endif
#endif
rc = kwin_init(hinstance);