forked from enlightenment/enlightenment
fix possible segv with pager, caught by clang.
If no pager exists on given zone and popup is urgent, it would segfault. SVN revision: 38558
This commit is contained in:
parent
8dbd947272
commit
22df734bfc
|
@ -1365,6 +1365,7 @@ _pager_cb_event_border_urgent_change(void *data, int type, void *event)
|
|||
if (pp && !pager_config->popup_urgent_stick)
|
||||
pp->timer = ecore_timer_add(pager_config->popup_urgent_speed,
|
||||
_pager_popup_cb_timeout, pp);
|
||||
if (pp)
|
||||
pp->urgent = 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue