mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
Kill reference to url_label in fe_data. Quiet a compiler warning.
This commit is contained in:
parent
3ee566232c
commit
0ec26e39bd
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user