Avoid crashing if there was no clipper set.

Oh, and the two exciting icon patches were by Fabiano Fidencio


SVN revision: 45453
This commit is contained in:
Iván Briano 2010-01-22 20:21:46 +00:00
parent 8aadedaaec
commit 5e3f56bafc
1 changed files with 1 additions and 1 deletions

View File

@ -1933,7 +1933,7 @@ edje_edit_part_clip_to_set(Evas_Object *obj, const char *part, const char *clip_
{
//printf("UnSet clip_to for part: %s\n", part);
if (rp->clip_to->object)
if (rp->clip_to && rp->clip_to->object)
{
evas_object_pointer_mode_set(rp->clip_to->object,
EVAS_OBJECT_POINTER_MODE_AUTOGRAB);