discomfitor pushed a commit to branch master.

commit 1bd7fc8d73527e959689352a26b704ffb7e31faf
Author: Mike Blumenkrantz <[email protected]>
Date:   Tue May 21 11:58:08 2013 +0100

    block popup showing when content not set
---
 src/bin/e_popup.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/e_popup.c b/src/bin/e_popup.c
index 2c62409..33b6b47 100644
--- a/src/bin/e_popup.c
+++ b/src/bin/e_popup.c
@@ -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;
 

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may

Reply via email to