Don't needlessly update fields if we never actually found an icon.

Eliminates some infinite loops on callbacks.


SVN revision: 27401
This commit is contained in:
metrics 2006-12-10 09:27:33 +00:00 committed by metrics
parent ab7dbef8d2
commit 04d05abd07
1 changed files with 3 additions and 2 deletions

View File

@ -2198,9 +2198,10 @@ _e_app_icon_type(E_App *a)
}
a->dirty_icon = 1;
free(v);
/* Copy the new found icon data to the original. */
_e_app_fields_save_others(a);
}
/* Copy the new found icon data to the original. */
_e_app_fields_save_others(a);
}
}