summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/lib/emotion_smart.c
diff options
context:
space:
mode:
authorsebastid <sebastid>2005-08-30 23:40:34 +0000
committersebastid <sebastid@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2005-08-30 23:40:34 +0000
commit1f0a680d7f0d0b6e816e7d6443d27cf168a01eb5 (patch)
tree6fddba7e0408bcd175634a5a5d3748ae8cc010b3 /legacy/emotion/src/lib/emotion_smart.c
parent5fc8d291e193da81fae81294f9f31218753f8a7f (diff)
Add return values.
Formatting. Right macro. SVN revision: 16438
Diffstat (limited to '')
-rw-r--r--legacy/emotion/src/lib/emotion_smart.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/legacy/emotion/src/lib/emotion_smart.c b/legacy/emotion/src/lib/emotion_smart.c
index a5596cb685..b9c6be3ead 100644
--- a/legacy/emotion/src/lib/emotion_smart.c
+++ b/legacy/emotion/src/lib/emotion_smart.c
@@ -141,7 +141,7 @@ emotion_object_init(Evas_Object *obj)
141{ 141{
142 Smart_Data *sd; 142 Smart_Data *sd;
143 143
144 E_SMART_OBJ_GET(sd, obj, E_OBJ_NAME); 144 E_SMART_OBJ_GET_RETURN(sd, obj, E_OBJ_NAME, 0);
145 145
146 if (sd->file) free(sd->file); 146 if (sd->file) free(sd->file);
147 sd->file = NULL; 147 sd->file = NULL;
@@ -247,7 +247,6 @@ void
247emotion_object_position_set(Evas_Object *obj, double sec) 247emotion_object_position_set(Evas_Object *obj, double sec)
248{ 248{
249 Smart_Data *sd; 249 Smart_Data *sd;
250 int frame;
251 250
252 E_SMART_OBJ_GET(sd, obj, E_OBJ_NAME); 251 E_SMART_OBJ_GET(sd, obj, E_OBJ_NAME);
253 if (!sd->module) return; 252 if (!sd->module) return;