summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-18 20:14:11 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-18 20:14:11 +0000
commitb5197eb128f965d58dbb9659bc96bda65f8c4fa5 (patch)
tree879be067a5a8b246f61d38d0187e4c83aea3c443 /src/lib/ecore_evas
parentb6724ed9cec94ae8fe350a508a1a9b034f5b2be3 (diff)
efl/ecore_evas: be loud on errors.
SVN revision: 81302
Diffstat (limited to 'src/lib/ecore_evas')
-rw-r--r--src/lib/ecore_evas/ecore_evas.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index 2808c61bde..e3de861083 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -74,7 +74,8 @@ _ecore_evas_interface_get(const Ecore_Evas *ee, const char *iname)
74 Eina_List *l; 74 Eina_List *l;
75 Ecore_Evas_Interface *i; 75 Ecore_Evas_Interface *i;
76 76
77 if (!ee || !iname) return NULL; 77 EINA_SAFETY_ON_NULL_RETURN_VAL(ee, NULL);
78 EINA_SAFETY_ON_NULL_RETURN_VAL(iname, NULL);
78 79
79 EINA_LIST_FOREACH(ee->engine.ifaces, l, i) 80 EINA_LIST_FOREACH(ee->engine.ifaces, l, i)
80 { 81 {
@@ -82,6 +83,9 @@ _ecore_evas_interface_get(const Ecore_Evas *ee, const char *iname)
82 return i; 83 return i;
83 } 84 }
84 85
86 CRIT("Ecore_Evas %p (engine: %s) does not have interface '%s'",
87 ee, ee->driver, iname);
88
85 return NULL; 89 return NULL;
86} 90}
87 91