summaryrefslogtreecommitdiff
path: root/src/edje_externals/elm.c
diff options
context:
space:
mode:
authorAharon Hillel <a.hillel@partner.samsung.com>2012-02-23 13:58:49 +0000
committerTom Hacohen <tom@stosb.com>2012-02-23 13:58:49 +0000
commitef7b4410343c4863611728f923dffc0a1e81ad1b (patch)
treed73a5128cffdbfdfc38a4bee2eadf83d9643bd11 /src/edje_externals/elm.c
parent7507e2f5255c94f15d90b1d55ba159183588f0ae (diff)
elementary: updated sources to fix warnings.
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com> SVN revision: 68336
Diffstat (limited to 'src/edje_externals/elm.c')
-rw-r--r--src/edje_externals/elm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/edje_externals/elm.c b/src/edje_externals/elm.c
index b400d12d5..4f9a8f3ad 100644
--- a/src/edje_externals/elm.c
+++ b/src/edje_externals/elm.c
@@ -36,9 +36,9 @@ _external_obj_del(void *data __UNUSED__, Evas *evas __UNUSED__, Evas_Object *obj
36} 36}
37 37
38void 38void
39external_signal(void *data __UNUSED__, Evas_Object *obj, const char *signal, const char *source) 39external_signal(void *data __UNUSED__, Evas_Object *obj, const char *sig, const char *source)
40{ 40{
41 char *_signal = strdup(signal); 41 char *_signal = strdup(sig);
42 char *p = _signal; 42 char *p = _signal;
43 Evas_Object *content; 43 Evas_Object *content;
44 44
@@ -48,7 +48,7 @@ external_signal(void *data __UNUSED__, Evas_Object *obj, const char *signal, con
48 48
49 if((*p=='\0') || (*(p+1)!=':')) 49 if((*p=='\0') || (*(p+1)!=':'))
50 { 50 {
51 ERR("Invalid External Signal received: '%s' '%s'\n", signal, source); 51 ERR("Invalid External Signal received: '%s' '%s'\n", sig, source);
52 free(_signal); 52 free(_signal);
53 return ; 53 return ;
54 } 54 }
@@ -68,7 +68,7 @@ external_signal(void *data __UNUSED__, Evas_Object *obj, const char *signal, con
68 content = type->content_get(type->data, obj, _signal); 68 content = type->content_get(type->data, obj, _signal);
69 free(_signal); 69 free(_signal);
70 if(content) 70 if(content)
71 edje_object_signal_emit(content, signal + (p - _signal), source); 71 edje_object_signal_emit(content, sig + (p - _signal), source);
72} 72}
73 73
74const char * 74const char *