forked from enlightenment/enlightenment
In all these whitespace cleanups, I did actually remove a few unused variables, and some dead code.
SVN revision: 32223
This commit is contained in:
parent
0c7f4eb2c9
commit
a6aac74094
|
@ -18,7 +18,6 @@ static int
|
|||
_e_init_cb_exe_event_del(void *data, int type, void *event)
|
||||
{
|
||||
Ecore_Exe_Event_Del *ev;
|
||||
Evas_List *l;
|
||||
|
||||
ev = event;
|
||||
if (ev->exe == init_exe)
|
||||
|
|
|
@ -1008,7 +1008,6 @@ _e_border_menu_cb_kbdshrtct_add(void *data, E_Menu *m, E_Menu_Item *mi)
|
|||
{
|
||||
E_Border *bd;
|
||||
E_Zone *zone;
|
||||
char buf[4096];
|
||||
|
||||
bd = data;
|
||||
if (!bd) return;
|
||||
|
|
|
@ -113,9 +113,6 @@ _e_place_coverage_shelf_add(E_Zone *zone, int ar, int x, int y, int w, int h)
|
|||
Evas_List *l;
|
||||
E_Shelf *es;
|
||||
int x2, y2, w2, h2;
|
||||
int iw, ih;
|
||||
int x0, x00, y0, y00;
|
||||
int tmp;
|
||||
|
||||
for (l = e_shelf_list(); l; l = l->next)
|
||||
{
|
||||
|
@ -125,26 +122,6 @@ _e_place_coverage_shelf_add(E_Zone *zone, int ar, int x, int y, int w, int h)
|
|||
x2 = es->x; y2 = es->y; w2 = es->w; h2 = es->h;
|
||||
if (E_INTERSECTS(x, y, w, h, x2, y2, w2, h2))
|
||||
return 0x7fffffff;
|
||||
/*
|
||||
{
|
||||
x0 = x;
|
||||
if (x < x2) x0 = x2;
|
||||
x00 = (x + w);
|
||||
if ((x2 + w2) < (x + w)) x00 = (x2 + w2);
|
||||
y0 = y;
|
||||
if (y < y2) y0 = y2;
|
||||
y00 = (y + h);
|
||||
if ((y2 + h2) < (y + h)) y00 = (y2 + h2);
|
||||
iw = x00 - x0;
|
||||
ih = y00 - y0;
|
||||
tmp = (iw * ih);
|
||||
// 100 times the weight for avoidance
|
||||
if (tmp > (0x7ffffff / 100)) tmp = 0x7fffffff;
|
||||
else tmp *= 100;
|
||||
if ((0x7fffffff - ar) <= tmp) ar = 0x7fffffff;
|
||||
else ar += tmp;
|
||||
}
|
||||
*/
|
||||
}
|
||||
return ar;
|
||||
}
|
||||
|
|
|
@ -87,7 +87,6 @@ _e_xinerama_update(void)
|
|||
int n;
|
||||
Ecore_X_Window *roots;
|
||||
Evas_List *l;
|
||||
int sorted;
|
||||
|
||||
roots = ecore_x_window_root_list(&n);
|
||||
if (roots)
|
||||
|
|
Loading…
Reference in New Issue