forked from enlightenment/efl
evas: warn dev to clip on a rect and not on an other object
SVN revision: 60443
This commit is contained in:
parent
b73f50a97c
commit
396e256fc6
|
@ -179,7 +179,11 @@ evas_object_clip_set(Evas_Object *obj, Evas_Object *clip)
|
|||
if (obj == clip) return;
|
||||
if (evas_object_intercept_call_clip_set(obj, clip)) return;
|
||||
// illegal to set anything but a rect as a clip
|
||||
if (clip->type != o_rect_type) return;
|
||||
if (clip->type != o_rect_type)
|
||||
{
|
||||
ERR("For now a clip on other object than a rectangle is disabled\n");
|
||||
return;
|
||||
}
|
||||
if (obj->smart.smart)
|
||||
{
|
||||
if (obj->smart.smart->smart_class->clip_set)
|
||||
|
|
Loading…
Reference in New Issue