summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-18 20:10:48 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-18 20:10:48 +0000
commitb6724ed9cec94ae8fe350a508a1a9b034f5b2be3 (patch)
treed505db49ff1ed7ae1284c6470db4b28ee9bdb985 /src/lib/ecore_evas
parentbe79115198b27a8d0f6d38dfc73b8e07c46debc1 (diff)
efl/ecore_evas: abort when object does not contain Ecore_Evas.
SVN revision: 81301
Diffstat (limited to 'src/lib/ecore_evas')
-rw-r--r--src/lib/ecore_evas/ecore_evas.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/ecore_evas/ecore_evas.c b/src/lib/ecore_evas/ecore_evas.c
index c71e5a3fc7..2808c61bde 100644
--- a/src/lib/ecore_evas/ecore_evas.c
+++ b/src/lib/ecore_evas/ecore_evas.c
@@ -3113,6 +3113,8 @@ ecore_evas_extn_plug_object_data_lock(Evas_Object *obj)
3113 Ecore_Evas *ee; 3113 Ecore_Evas *ee;
3114 3114
3115 ee = ecore_evas_object_ecore_evas_get(obj); 3115 ee = ecore_evas_object_ecore_evas_get(obj);
3116 EINA_SAFETY_ON_NULL_RETURN(ee);
3117
3116 iface = (Ecore_Evas_Interface_Extn *)_ecore_evas_interface_get(ee, "extn"); 3118 iface = (Ecore_Evas_Interface_Extn *)_ecore_evas_interface_get(ee, "extn");
3117 EINA_SAFETY_ON_NULL_RETURN(iface); 3119 EINA_SAFETY_ON_NULL_RETURN(iface);
3118 3120
@@ -3126,6 +3128,8 @@ ecore_evas_extn_plug_object_data_unlock(Evas_Object *obj)
3126 Ecore_Evas *ee; 3128 Ecore_Evas *ee;
3127 3129
3128 ee = ecore_evas_object_ecore_evas_get(obj); 3130 ee = ecore_evas_object_ecore_evas_get(obj);
3131 EINA_SAFETY_ON_NULL_RETURN(ee);
3132
3129 iface = (Ecore_Evas_Interface_Extn *)_ecore_evas_interface_get(ee, "extn"); 3133 iface = (Ecore_Evas_Interface_Extn *)_ecore_evas_interface_get(ee, "extn");
3130 EINA_SAFETY_ON_NULL_RETURN(iface); 3134 EINA_SAFETY_ON_NULL_RETURN(iface);
3131 3135
@@ -3152,6 +3156,8 @@ ecore_evas_extn_plug_connect(Evas_Object *obj, const char *svcname, int svcnum,
3152 Ecore_Evas *ee; 3156 Ecore_Evas *ee;
3153 3157
3154 ee = ecore_evas_object_ecore_evas_get(obj); 3158 ee = ecore_evas_object_ecore_evas_get(obj);
3159 EINA_SAFETY_ON_NULL_RETURN(ee);
3160
3155 iface = (Ecore_Evas_Interface_Extn *)_ecore_evas_interface_get(ee, "extn"); 3161 iface = (Ecore_Evas_Interface_Extn *)_ecore_evas_interface_get(ee, "extn");
3156 EINA_SAFETY_ON_NULL_RETURN_VAL(iface, EINA_FALSE); 3162 EINA_SAFETY_ON_NULL_RETURN_VAL(iface, EINA_FALSE);
3157 3163