elementary: let's not explicitely test for NULL and trigger a segv.

SVN revision: 80306
This commit is contained in:
Cedric BAIL 2012-12-06 07:55:59 +00:00
parent 4c54fc7f9e
commit 53bec88358
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ _port_indicator_connect_cb(void *data)
Elm_Conformant_Smart_Data *sd = data;
int rot;
if (!sd || (sd->indmode != ELM_WIN_INDICATOR_SHOW))
if (!sd && (sd->indmode != ELM_WIN_INDICATOR_SHOW))
{
sd->port_indi_timer = NULL;
return ECORE_CALLBACK_CANCEL;