clean up screen_send_to action: no functional changes

SVN revision: 73980
This commit is contained in:
Mike Blumenkrantz 2012-07-17 14:11:38 +00:00
parent eccf13058a
commit 2abb446f08
1 changed files with 26 additions and 31 deletions

View File

@ -1641,19 +1641,17 @@ ACT_FN_GO(desk_linear_flip_to_all, )
/***************************************************************************/ /***************************************************************************/
ACT_FN_GO(screen_send_to, ) ACT_FN_GO(screen_send_to, )
{ {
E_Zone *zone; E_Zone *zone, *zone2;
int scr;
zone = _e_actions_zone_get(obj); zone = _e_actions_zone_get(obj);
if (!zone) zone = e_util_zone_current_get(e_manager_current_get()); if (!zone) zone = e_util_zone_current_get(e_manager_current_get());
if (zone) if (!zone) return;
{ if (!params) return;
if (params)
{
int scr = 0;
if (sscanf(params, "%i", &scr) == 1) errno = 0;
{ scr = strtol(params, NULL, 10);
E_Zone *zone2 = NULL; if (errno) return;
if (eina_list_count(e_manager_list()) > 1) if (eina_list_count(e_manager_list()) > 1)
{ {
@ -1675,9 +1673,6 @@ ACT_FN_GO(screen_send_to, )
e_desk_last_focused_focus(e_desk_current_get(zone2)); e_desk_last_focused_focus(e_desk_current_get(zone2));
} }
} }
}
}
}
ACT_FN_GO(screen_send_by, ) ACT_FN_GO(screen_send_by, )
{ {