Avoid crashing if there was no clipper set.
authorsachiel <sachiel>
Fri, 22 Jan 2010 20:21:46 +0000 (20:21 +0000)
committersachiel <sachiel@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 22 Jan 2010 20:21:46 +0000 (20:21 +0000)
Oh, and the two exciting icon patches were by Fabiano Fidencio

git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@45453 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/edje_edit.c

index 4b06084..7199f3e 100644 (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);