block popup showing when content not set

This commit is contained in:
Mike Blumenkrantz 2013-05-21 11:58:08 +01:00
parent 9836d657d2
commit 1bd7fc8d73
1 changed files with 1 additions and 0 deletions

View File

@ -152,6 +152,7 @@ e_popup_show(E_Popup *pop)
{
E_OBJECT_CHECK(pop);
E_OBJECT_TYPE_CHECK(pop, E_POPUP_TYPE);
EINA_SAFETY_ON_NULL_RETURN(pop->content);
if (pop->visible) return;