From 2f2d6455e3a98b27dfabfcb41970d1fb96689c7f Mon Sep 17 00:00:00 2001 From: "slamm%netscape.com" Date: Mon, 14 Sep 1998 19:51:50 +0000 Subject: [PATCH] Kill reference to url_label in fe_data. Quiet a compiler warning. --- cmd/xfe/mozilla.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/cmd/xfe/mozilla.c b/cmd/xfe/mozilla.c index 0661c3d6fcb..9dd133a369c 100644 --- a/cmd/xfe/mozilla.c +++ b/cmd/xfe/mozilla.c @@ -4709,12 +4709,6 @@ fe_AbortCallback (Widget widget, XtPointer closure, XtPointer call_data) { MWContext *context = (MWContext *) closure; XP_InterruptContext (context); - - /* If we were downloading, cleanup the file we downloaded to. */ - if (context->type == MWContextSaveToDisk) { - char *filename = fe_GetTextField (CONTEXT_DATA(context)->url_label); - XP_FileRemove(filename, xpTemporary); - } } @@ -4934,7 +4928,7 @@ fe_add_session_manager(MWContext *context) &WM_SAVE_YOURSELF,1); XmAddWMProtocolCallback(shell, WM_SAVE_YOURSELF, - fe_wm_save_self_cb, someGlobalContext); + fe_wm_save_self_cb, (XtPointer)someGlobalContext); return True; }