mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
dtfile/IconWindow: CID 88242,88702,89030
This commit is contained in:
parent
19d824c2cc
commit
32e8827cbc
1 changed files with 5 additions and 4 deletions
|
@ -296,7 +296,7 @@ FileWindowInputCallback(
|
||||||
FileViewData * fileViewData = NULL;
|
FileViewData * fileViewData = NULL;
|
||||||
Arg args[10];
|
Arg args[10];
|
||||||
DesktopRec * desktopRec;
|
DesktopRec * desktopRec;
|
||||||
KeySym keysym;
|
KeySym keysym = 0;
|
||||||
Modifiers modif;
|
Modifiers modif;
|
||||||
int offset;
|
int offset;
|
||||||
Boolean found;
|
Boolean found;
|
||||||
|
@ -624,8 +624,8 @@ FileWindowInputCallback(
|
||||||
{
|
{
|
||||||
case osfXK_Delete:
|
case osfXK_Delete:
|
||||||
{
|
{
|
||||||
DtActionArg * action_args;
|
DtActionArg * action_args = NULL;
|
||||||
int arg_count;
|
int arg_count = 0;
|
||||||
|
|
||||||
if( desktopRec == NULL
|
if( desktopRec == NULL
|
||||||
&& file_mgr_rec != NULL )
|
&& file_mgr_rec != NULL )
|
||||||
|
@ -669,7 +669,8 @@ FileWindowInputCallback(
|
||||||
action_args, arg_count, NULL, NULL,
|
action_args, arg_count, NULL, NULL,
|
||||||
trash_dir, True, NULL, NULL );
|
trash_dir, True, NULL, NULL );
|
||||||
}
|
}
|
||||||
_DtFreeActionArgs( action_args, arg_count );
|
if (action_args && arg_count)
|
||||||
|
_DtFreeActionArgs( action_args, arg_count );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case osfXK_Menu:
|
case osfXK_Menu:
|
||||||
|
|
Loading…
Reference in a new issue