summaryrefslogtreecommitdiffstats
path: root/src/windows/cns
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2002-06-12 00:03:17 +0000
committerTom Yu <tlyu@mit.edu>2002-06-12 00:03:17 +0000
commit48f83d13157c2f53be30221ea895bc2b615222f2 (patch)
tree3db4f123442d488e04354d9a8d826a8950b19f83 /src/windows/cns
parent3cefec37a5dc44deadf12dfba81df432a4d855a5 (diff)
downloadkrb5-48f83d13157c2f53be30221ea895bc2b615222f2.tar.gz
krb5-48f83d13157c2f53be30221ea895bc2b615222f2.tar.xz
krb5-48f83d13157c2f53be30221ea895bc2b615222f2.zip
* cns.c: Do not use krb_get_notification_message() or
krb5_get_notification_message(). [pullup from 1-2-2-branch] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14495 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/windows/cns')
-rw-r--r--src/windows/cns/ChangeLog6
-rw-r--r--src/windows/cns/cns.c6
2 files changed, 12 insertions, 0 deletions
diff --git a/src/windows/cns/ChangeLog b/src/windows/cns/ChangeLog
index 626e52a2ac..2cd2ee87aa 100644
--- a/src/windows/cns/ChangeLog
+++ b/src/windows/cns/ChangeLog
@@ -1,3 +1,9 @@
+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.
diff --git a/src/windows/cns/cns.c b/src/windows/cns/cns.c
index 49aaa23016..13404b7366 100644
--- a/src/windows/cns/cns.c
+++ b/src/windows/cns/cns.c
@@ -41,7 +41,9 @@ HFONT hfontdialog = NULL; /* Font in which the dialog is drawn. */
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 */
@@ -1491,12 +1493,14 @@ kwin_wnd_proc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
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);
@@ -1601,6 +1605,7 @@ init_application(HINSTANCE hinstance)
{
BOOL rc;
+#if 0
#ifdef KRB4
wm_kerberos_changed = krb_get_notification_message();
#endif
@@ -1608,6 +1613,7 @@ init_application(HINSTANCE hinstance)
#ifdef KRB5
wm_kerberos_changed = krb5_get_notification_message();
#endif
+#endif
rc = kwin_init(hinstance);