From 5e3f56bafca0dc843cc669e78c117aa7872a82da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Briano?= Date: Fri, 22 Jan 2010 20:21:46 +0000 Subject: [PATCH] Avoid crashing if there was no clipper set. Oh, and the two exciting icon patches were by Fabiano Fidencio SVN revision: 45453 --- legacy/edje/src/lib/edje_edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/edje/src/lib/edje_edit.c b/legacy/edje/src/lib/edje_edit.c index 4b06084ff4..7199f3edaf 100644 --- a/legacy/edje/src/lib/edje_edit.c +++ b/legacy/edje/src/lib/edje_edit.c @@ -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);